Completing physics-based model by learning hidden dynamics through data assimilation