Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.ThermalZones.ReducedOrder.Validation.RoomWithLatentGain.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.ThermalZones.ReducedOrder.Validation.RoomWithLatentGain,fileNamePrefix="IDEAS_IDEAS_ThermalZones_ReducedOrder_Validation_RoomWithLatentGain",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.ThermalZones.ReducedOrder.Validation.RoomWithLatentGain,fileNamePrefix="IDEAS_IDEAS_ThermalZones_ReducedOrder_Validation_RoomWithLatentGain",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001697/0.001697, allocations: 173.7 kB / 7.646 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8311/0.8311, allocations: 133.6 MB / 141.6 MB, free: 2.871 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.641/1.641, allocations: 221.5 MB / 395.4 MB, free: 10.75 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009222/0.0009219, allocations: 99.11 kB / 478.2 MB, free: 1.262 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.877e-05/1.88e-05, allocations: 0 / 0.5535 GB, free: 8.93 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6729/0.6729, allocations: 82.31 MB / 0.6339 GB, free: 40.87 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.342/7.015, allocations: 2.157 GB / 2.791 GB, free: 155 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003284/7.015, allocations: 83.95 kB / 2.791 GB, free: 155 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 2.478/9.494, allocations: 0.633 GB / 3.424 GB, free: 40.62 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.485e-06/9.494, allocations: 0 / 3.424 GB, free: 40.62 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0002303/9.494, allocations: 63.92 kB / 3.424 GB, free: 40.56 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 314 * Number of variables: 314 Notification: Performance of Generate backend data structure: time 0.006903/9.501, allocations: 2.64 MB / 3.427 GB, free: 37.85 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.965e-05/9.501, allocations: 8.031 kB / 3.427 GB, free: 37.84 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002276/9.503, allocations: 463.7 kB / 3.427 GB, free: 37.38 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006465/9.51, allocations: 2.676 MB / 3.43 GB, free: 34.64 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001473/9.51, allocations: 104.1 kB / 3.43 GB, free: 34.54 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001695/9.51, allocations: 83.89 kB / 3.43 GB, free: 34.45 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001819/9.512, allocations: 1.04 MB / 3.431 GB, free: 33.41 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001861/9.514, allocations: 1.222 MB / 3.432 GB, free: 32.14 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.524e-05/9.514, allocations: 7.875 kB / 3.432 GB, free: 32.14 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.801e-05/9.514, allocations: 0 / 3.432 GB, free: 32.14 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.57e-05/9.514, allocations: 54.42 kB / 3.432 GB, free: 32.08 MB / 0.6823 GB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009279/9.523, allocations: 6.429 MB / 3.439 GB, free: 25.26 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001504/9.525, allocations: 1.048 MB / 3.44 GB, free: 24.18 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006997/9.526, allocations: 0.5742 MB / 3.44 GB, free: 23.6 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004045/9.526, allocations: 300.6 kB / 3.44 GB, free: 23.25 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007931/9.527, allocations: 0.578 MB / 3.441 GB, free: 22.66 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=113): time 4.288e-06/9.527, allocations: 0 / 3.441 GB, free: 22.66 MB / 0.6823 GB Notification: Performance of matching and sorting (n=113): time 0.003312/9.53, allocations: 1.405 MB / 3.442 GB, free: 21.24 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.59e-05/9.53, allocations: 68.72 kB / 3.442 GB, free: 21.16 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00609/9.536, allocations: 3.366 MB / 3.446 GB, free: 17.78 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0003466/9.537, allocations: 37.69 kB / 3.446 GB, free: 17.74 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.001026/9.538, allocations: 1.294 MB / 3.447 GB, free: 16.43 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004086/9.538, allocations: 362.8 kB / 3.447 GB, free: 16.07 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.327e-05/9.538, allocations: 0 / 3.447 GB, free: 16.07 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001145/9.538, allocations: 349.9 kB / 3.448 GB, free: 15.73 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005845/9.539, allocations: 410.5 kB / 3.448 GB, free: 15.33 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006876/9.54, allocations: 0.655 MB / 3.449 GB, free: 14.57 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009936/9.541, allocations: 0.5332 MB / 3.449 GB, free: 14.04 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.853e-06/9.541, allocations: 0 / 3.449 GB, free: 14.04 MB / 0.6823 GB Notification: Performance of matching and sorting (n=156) (initialization): time 0.003192/9.544, allocations: 1.555 MB / 3.451 GB, free: 12.46 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.883e-05/9.544, allocations: 4 kB / 3.451 GB, free: 12.46 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.611e-05/9.544, allocations: 11.98 kB / 3.451 GB, free: 12.45 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005715/9.545, allocations: 218 kB / 3.451 GB, free: 12.23 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008824/9.546, allocations: 247.6 kB / 3.451 GB, free: 11.99 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00341/9.549, allocations: 4.021 MB / 3.455 GB, free: 7.73 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00218/9.551, allocations: 170.9 kB / 3.455 GB, free: 7.562 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001444/9.551, allocations: 59.98 kB / 3.455 GB, free: 7.504 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 35 ($PRE.assEqu.nFai,assEqu.nFai,$whenCondition8,$whenCondition7,$PRE.intGai.nextTimeEvent,$whenCondition6,$PRE.reference.nextTimeEvent,$whenCondition5,$PRE.outdoorTemp.nextTimeEvent,$whenCondition4,$PRE.tableSolRadWindow.nextTimeEvent,$whenCondition3,$PRE.ventRate.nextTimeEvent,$whenCondition1,$whenCondition2,reference.nextTimeEvent,$PRE.reference.nextTimeEventScaled,reference.nextTimeEventScaled,$PRE.assEqu.satisfied,assEqu.satisfied,$PRE.mean.y_last,mean.y_last,intGai.nextTimeEvent,$PRE.intGai.nextTimeEventScaled,intGai.nextTimeEventScaled,outdoorTemp.nextTimeEvent,$PRE.outdoorTemp.nextTimeEventScaled,outdoorTemp.nextTimeEventScaled,tableSolRadWindow.nextTimeEvent,$PRE.tableSolRadWindow.nextTimeEventScaled,tableSolRadWindow.nextTimeEventScaled,greaterThreshold1.y,ventRate.nextTimeEvent,$PRE.ventRate.nextTimeEventScaled,ventRate.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (137): * Single equations (assignments): 135 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 15,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003198/9.552, allocations: 145.9 kB / 3.455 GB, free: 7.355 MB / 0.6823 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.003021/9.555, allocations: 1.385 MB / 3.457 GB, free: 5.953 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004898/9.555, allocations: 280.5 kB / 3.457 GB, free: 5.676 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00312/9.558, allocations: 1.518 MB / 3.459 GB, free: 4.148 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.102e-05/9.558, allocations: 11.94 kB / 3.459 GB, free: 4.137 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.713e-06/9.558, allocations: 4 kB / 3.459 GB, free: 4.133 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001777/9.56, allocations: 1.303 MB / 3.46 GB, free: 2.773 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.7227/10.28, allocations: 3.831 MB / 3.464 GB, free: 126.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-05/10.28, allocations: 2.328 kB / 3.464 GB, free: 126.3 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001142/10.28, allocations: 179.7 kB / 3.464 GB, free: 126.3 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008091/10.28, allocations: 207.2 kB / 3.464 GB, free: 126.2 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001114/10.29, allocations: 16.16 kB / 3.464 GB, free: 126.2 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005603/10.29, allocations: 4.038 MB / 3.468 GB, free: 123.7 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.111e-05/10.29, allocations: 2.562 kB / 3.468 GB, free: 123.7 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006084/10.3, allocations: 2.302 MB / 3.47 GB, free: 123.3 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001798/10.3, allocations: 0.6263 MB / 3.471 GB, free: 123.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003124/10.3, allocations: 29.28 kB / 3.471 GB, free: 123.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001047/10.3, allocations: 96.94 kB / 3.471 GB, free: 123 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003786/10.3, allocations: 106.6 kB / 3.471 GB, free: 123 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001078/10.3, allocations: 37.91 kB / 3.471 GB, free: 123 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.00591/10.31, allocations: 2.635 MB / 3.474 GB, free: 122.9 MB / 0.6823 GB Notification: Performance of sort global known variables: time 5.31e-07/10.31, allocations: 0 / 3.474 GB, free: 122.9 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.005036/10.31, allocations: 0.7163 MB / 3.474 GB, free: 122.9 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 7 (thermalZoneTwoElements.volMoiAir.dynBal.U,thermalZoneTwoElements.volMoiAir.dynBal.m,thermalZoneTwoElements.volMoiAir.dynBal.mXi[1],thermalZoneTwoElements.extWallRC.thermCapExt[1].T,thermalZoneTwoElements.intWallRC.thermCapInt[1].T,assEqu.diff,mean.x) * Number of discrete variables: 22 ($whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,intGai.nextTimeEvent,intGai.nextTimeEventScaled,reference.nextTimeEvent,reference.nextTimeEventScaled,outdoorTemp.nextTimeEvent,outdoorTemp.nextTimeEventScaled,tableSolRadWindow.nextTimeEvent,tableSolRadWindow.nextTimeEventScaled,greaterThreshold1.y,ventRate.nextTimeEvent,ventRate.nextTimeEventScaled,assEqu.satisfied,assEqu.nFai,mean.y_last) * Number of discrete states: 13 (intGai.nextTimeEvent,reference.nextTimeEvent,outdoorTemp.nextTimeEvent,tableSolRadWindow.nextTimeEvent,ventRate.nextTimeEvent,mean.x,assEqu.satisfied,assEqu.nFai,ventRate.nextTimeEventScaled,tableSolRadWindow.nextTimeEventScaled,outdoorTemp.nextTimeEventScaled,reference.nextTimeEventScaled,intGai.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (101): * Single equations (assignments): 87 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 12 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 15,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01094/10.32, allocations: 4.876 MB / 3.479 GB, free: 121.3 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.003067/10.33, allocations: 1.345 MB / 3.48 GB, free: 121 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.211e-05/10.33, allocations: 3.5 kB / 3.48 GB, free: 121 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.00156/10.33, allocations: 0.8326 MB / 3.481 GB, free: 120.8 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00451/10.33, allocations: 0.5157 MB / 3.482 GB, free: 120.8 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0168/10.35, allocations: 5.594 MB / 3.487 GB, free: 119.8 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003385/10.35, allocations: 1.979 MB / 3.489 GB, free: 119 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.002561/10.35, allocations: 429.1 kB / 3.49 GB, free: 119 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00247/10.36, allocations: 1.106 MB / 3.491 GB, free: 119 MB / 0.6823 GB Notification: Performance of SimCode: time 1.583e-06/10.36, allocations: 0 / 3.491 GB, free: 119 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.125/10.48, allocations: 59.79 MB / 3.549 GB, free: 116.6 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001964/10.48, allocations: 173 kB / 3.549 GB, free: 116.4 MB / 0.6823 GB Error: Error building simulator. Build log: clang -Os -fPIC -falign-functions -mfpmath=sse -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -DOMC_MODEL_PREFIX=IDEAS_IDEAS_ThermalZones_ReducedOrder_Validation_RoomWithLatentGain -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=4 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o IDEAS_IDEAS_ThermalZones_ReducedOrder_Validation_RoomWithLatentGain_FMU.o IDEAS_IDEAS_ThermalZones_ReducedOrder_Validation_RoomWithLatentGain_FMU.c In file included from IDEAS_IDEAS_ThermalZones_ReducedOrder_Validation_RoomWithLatentGain_FMU.c:9: In file included from include/openmodelica.h:69: In file included from include/openmodelica_types.h:110: include/gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ include/gc/omc_gc.h:221:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ In file included from IDEAS_IDEAS_ThermalZones_ReducedOrder_Validation_RoomWithLatentGain_FMU.c:54: include/fmi2/fmu2_model_interface.c:73:11: warning: enumeration value 'modelSlaveInitialized' not handled in switch [-Wswitch] switch (comp->state) ^ include/fmi2/fmu2_model_interface.c:162:16: warning: passing 'char **' to parameter of type 'const char **' discards qualifiers in nested pointer types [-Wincompatible-pointer-types-discards-qualifiers] GC_vasprintf(&str, msg, args); ^~~~ include/util/modelica_string.h:71:31: note: passing argument to parameter 'strp' here int GC_vasprintf(const char **strp, const char *fmt, va_list ap); ^ IDEAS_IDEAS_ThermalZones_ReducedOrder_Validation_RoomWithLatentGain_FMU.c:963:82: warning: missing terminating '"' character [-Winvalid-pp-token] comp->fmuData->modelData->stringParameterData[0].attribute.start = mmc_mk_scon("Inputs differ by more than threShold. ^ IDEAS_IDEAS_ThermalZones_ReducedOrder_Validation_RoomWithLatentGain_FMU.c:963:82: error: expected expression IDEAS_IDEAS_ThermalZones_ReducedOrder_Validation_RoomWithLatentGain_FMU.c:964:61: warning: missing terminating '"' character [-Winvalid-pp-token] Check output 'satisfied' for when violation(s) happened."); ^ IDEAS_IDEAS_ThermalZones_ReducedOrder_Validation_RoomWithLatentGain_FMU.c:1919:68: error: function definition is not allowed here fmi2Real getReal(ModelInstance* comp, const fmi2ValueReference vr) { ^ IDEAS_IDEAS_ThermalZones_ReducedOrder_Validation_RoomWithLatentGain_FMU.c:1933:92: error: function definition is not allowed here fmi2Status setReal(ModelInstance* comp, const fmi2ValueReference vr, const fmi2Real value) { ^ IDEAS_IDEAS_ThermalZones_ReducedOrder_Validation_RoomWithLatentGain_FMU.c:1949:74: error: function definition is not allowed here fmi2Integer getInteger(ModelInstance* comp, const fmi2ValueReference vr) { ^ IDEAS_IDEAS_ThermalZones_ReducedOrder_Validation_RoomWithLatentGain_FMU.c:1959:98: error: function definition is not allowed here fmi2Status setInteger(ModelInstance* comp, const fmi2ValueReference vr, const fmi2Integer value) { ^ IDEAS_IDEAS_ThermalZones_ReducedOrder_Validation_RoomWithLatentGain_FMU.c:1970:74: error: function definition is not allowed here fmi2Boolean getBoolean(ModelInstance* comp, const fmi2ValueReference vr) { ^ IDEAS_IDEAS_ThermalZones_ReducedOrder_Validation_RoomWithLatentGain_FMU.c:2036:98: error: function definition is not allowed here fmi2Status setBoolean(ModelInstance* comp, const fmi2ValueReference vr, const fmi2Boolean value) { ^ IDEAS_IDEAS_ThermalZones_ReducedOrder_Validation_RoomWithLatentGain_FMU.c:2103:72: error: function definition is not allowed here fmi2String getString(ModelInstance* comp, const fmi2ValueReference vr) { ^ IDEAS_IDEAS_ThermalZones_ReducedOrder_Validation_RoomWithLatentGain_FMU.c:2124:90: error: function definition is not allowed here fmi2Status setString(ModelInstance* comp, const fmi2ValueReference vr, fmi2String value) { ^ IDEAS_IDEAS_ThermalZones_ReducedOrder_Validation_RoomWithLatentGain_FMU.c:2146:97: error: function definition is not allowed here fmi2Status setExternalFunction(ModelInstance* c, const fmi2ValueReference vr, const void* value){ ^ IDEAS_IDEAS_ThermalZones_ReducedOrder_Validation_RoomWithLatentGain_FMU.c:2155:79: error: function definition is not allowed here fmi2ValueReference mapInputReference2InputNumber(const fmi2ValueReference vr) { ^ IDEAS_IDEAS_ThermalZones_ReducedOrder_Validation_RoomWithLatentGain_FMU.c:2162:81: error: function definition is not allowed here fmi2ValueReference mapOutputReference2OutputNumber(const fmi2ValueReference vr) { ^ IDEAS_IDEAS_ThermalZones_ReducedOrder_Validation_RoomWithLatentGain_FMU.c:2172:1: error: expected '}' ^ IDEAS_IDEAS_ThermalZones_ReducedOrder_Validation_RoomWithLatentGain_FMU.c:58:49: note: to match this '{' void setDefaultStartValues(ModelInstance *comp) { ^ 6 warnings and 13 errors generated. make: *** [: IDEAS_IDEAS_ThermalZones_ReducedOrder_Validation_RoomWithLatentGain_FMU.o] Error 1