diff --git a/HopsanGenerator/templates/fmu1_model.c b/HopsanGenerator/templates/fmu1_model.c index 3491bfa38..e878cb661 100644 --- a/HopsanGenerator/templates/fmu1_model.c +++ b/HopsanGenerator/templates/fmu1_model.c @@ -211,6 +211,8 @@ fmiStatus fmiInitializeSlave(fmiComponent c, get_all_hopsan_messages(fmu); state = Initialized; + + return fmiOK; } void fmiFreeSlaveInstance(fmiComponent c)