Software Engineering for Self-Adaptive Systems: A Second Research Roadmap