Adaptive learning of effective dynamics: Adaptive real-time, online modeling for complex systems