Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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_dev_IDEAS_ThermalZones_ReducedOrder_Validation_RoomWithLatentGain",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.ThermalZones.ReducedOrder.Validation.RoomWithLatentGain,fileNamePrefix="IDEAS_dev_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.001349/0.001349, allocations: 172 kB / 7.647 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.8832/0.8832, allocations: 133.6 MB / 141.6 MB, free: 2.855 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.99/1.99, allocations: 221.5 MB / 395.5 MB, free: 10.81 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.0009884/0.0009886, allocations: 106.6 kB / 478.2 MB, free: 1.324 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.882e-05/2.938e-05, allocations: 0 / 0.5535 GB, free: 8.973 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6558/0.6559, allocations: 82.3 MB / 0.6339 GB, free: 40.78 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.418/7.074, allocations: 2.157 GB / 2.791 GB, free: 98.88 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002417/7.074, allocations: 83.27 kB / 2.791 GB, free: 98.84 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 2.995/10.07, allocations: 0.633 GB / 3.424 GB, free: 124.2 MB / 0.6823 GB Notification: Performance of FrontEnd: time 4.829e-06/10.07, allocations: 0 / 3.424 GB, free: 124.2 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0005162/10.07, allocations: 64.19 kB / 3.424 GB, free: 124.2 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.009834/10.08, allocations: 2.645 MB / 3.427 GB, free: 123.2 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.928e-05/10.08, allocations: 11.25 kB / 3.427 GB, free: 123.2 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002932/10.08, allocations: 463.2 kB / 3.427 GB, free: 123 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007848/10.09, allocations: 2.686 MB / 3.43 GB, free: 122.6 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001731/10.09, allocations: 94.08 kB / 3.43 GB, free: 122.6 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001775/10.09, allocations: 89.33 kB / 3.43 GB, free: 122.6 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002031/10.09, allocations: 1.043 MB / 3.431 GB, free: 122.6 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002088/10.09, allocations: 1.227 MB / 3.432 GB, free: 122.5 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.673e-05/10.09, allocations: 0 / 3.432 GB, free: 122.5 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001037/10.09, allocations: 10.03 kB / 3.432 GB, free: 122.5 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.737e-05/10.1, allocations: 41.56 kB / 3.432 GB, free: 122.5 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.01002/10.11, allocations: 6.423 MB / 3.438 GB, free: 120 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001656/10.11, allocations: 1.052 MB / 3.44 GB, free: 119.9 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001339/10.11, allocations: 0.5778 MB / 3.44 GB, free: 119.8 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005548/10.11, allocations: 291.8 kB / 3.44 GB, free: 119.6 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00148/10.11, allocations: 0.5804 MB / 3.441 GB, free: 119.5 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=113): time 5.831e-06/10.11, allocations: 0 / 3.441 GB, free: 119.5 MB / 0.6823 GB Notification: Performance of matching and sorting (n=113): time 0.004064/10.11, allocations: 1.404 MB / 3.442 GB, free: 119.3 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.431e-05/10.11, allocations: 68.91 kB / 3.442 GB, free: 119.2 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008071/10.12, allocations: 3.366 MB / 3.446 GB, free: 119 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0004014/10.12, allocations: 33.05 kB / 3.446 GB, free: 118.9 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.001448/10.12, allocations: 1.301 MB / 3.447 GB, free: 118.7 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005386/10.12, allocations: 357.8 kB / 3.447 GB, free: 118.5 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.33e-05/10.12, allocations: 3.656 kB / 3.447 GB, free: 118.5 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.000145/10.13, allocations: 359.5 kB / 3.448 GB, free: 118.2 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007317/10.13, allocations: 402 kB / 3.448 GB, free: 118.2 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008681/10.13, allocations: 0.6607 MB / 3.449 GB, free: 117.9 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001162/10.13, allocations: 0.5211 MB / 3.449 GB, free: 117.9 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.137e-06/10.13, allocations: 5.531 kB / 3.449 GB, free: 117.9 MB / 0.6823 GB Notification: Performance of matching and sorting (n=156) (initialization): time 0.003683/10.13, allocations: 1.553 MB / 3.451 GB, free: 117.7 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.99e-05/10.13, allocations: 10.22 kB / 3.451 GB, free: 117.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.922e-05/10.13, allocations: 13.8 kB / 3.451 GB, free: 117.7 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000584/10.13, allocations: 203.3 kB / 3.451 GB, free: 117.7 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009352/10.13, allocations: 252.8 kB / 3.451 GB, free: 117.7 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003992/10.14, allocations: 4.03 MB / 3.455 GB, free: 115.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002218/10.14, allocations: 172 kB / 3.455 GB, free: 115 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00012/10.14, allocations: 50.45 kB / 3.455 GB, free: 115 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.0003269/10.14, allocations: 149.9 kB / 3.455 GB, free: 114.9 MB / 0.6823 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002799/10.14, allocations: 1.384 MB / 3.457 GB, free: 114.7 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000381/10.14, allocations: 282.5 kB / 3.457 GB, free: 114.5 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002984/10.15, allocations: 1.513 MB / 3.459 GB, free: 114.4 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.215e-05/10.15, allocations: 14.86 kB / 3.459 GB, free: 114.4 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.651e-06/10.15, allocations: 3.844 kB / 3.459 GB, free: 114.4 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001821/10.15, allocations: 1.301 MB / 3.46 GB, free: 114.1 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006918/10.15, allocations: 3.835 MB / 3.464 GB, free: 113.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.658e-06/10.15, allocations: 8.344 kB / 3.464 GB, free: 113.7 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008225/10.16, allocations: 184 kB / 3.464 GB, free: 113.7 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005501/10.16, allocations: 201.9 kB / 3.464 GB, free: 113.6 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.884e-05/10.16, allocations: 15.39 kB / 3.464 GB, free: 113.6 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004141/10.16, allocations: 4.054 MB / 3.468 GB, free: 111 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.652e-06/10.16, allocations: 3.953 kB / 3.468 GB, free: 111 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004959/10.17, allocations: 2.29 MB / 3.47 GB, free: 110.5 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001718/10.17, allocations: 0.6288 MB / 3.471 GB, free: 110.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003133/10.17, allocations: 22.38 kB / 3.471 GB, free: 110.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009954/10.17, allocations: 95.77 kB / 3.471 GB, free: 110.2 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002752/10.17, allocations: 109.3 kB / 3.471 GB, free: 110.2 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.745e-05/10.17, allocations: 40.16 kB / 3.471 GB, free: 110.2 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.003904/10.17, allocations: 2.637 MB / 3.474 GB, free: 110.1 MB / 0.6823 GB Notification: Performance of sort global known variables: time 5.81e-07/10.17, allocations: 0 / 3.474 GB, free: 110.1 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.003035/10.18, allocations: 0.7183 MB / 3.474 GB, free: 110 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.006721/10.18, allocations: 4.883 MB / 3.479 GB, free: 108.4 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.00232/10.19, allocations: 1.337 MB / 3.48 GB, free: 108.2 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 5.661e-06/10.19, allocations: 0 / 3.48 GB, free: 108.2 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001173/10.19, allocations: 0.834 MB / 3.481 GB, free: 107.9 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003534/10.19, allocations: 0.512 MB / 3.482 GB, free: 107.9 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01304/10.2, allocations: 5.601 MB / 3.487 GB, free: 106.9 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002356/10.21, allocations: 1.98 MB / 3.489 GB, free: 106.1 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0019/10.21, allocations: 426.7 kB / 3.49 GB, free: 106.1 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001811/10.21, allocations: 1.1 MB / 3.491 GB, free: 106.1 MB / 0.6823 GB Notification: Performance of SimCode: time 2.234e-06/10.21, allocations: 0 / 3.491 GB, free: 106.1 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1229/10.33, allocations: 59.78 MB / 3.549 GB, free: 103.4 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001857/10.33, allocations: 173.8 kB / 3.549 GB, free: 103.2 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_dev_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_dev_IDEAS_ThermalZones_ReducedOrder_Validation_RoomWithLatentGain_FMU.o IDEAS_dev_IDEAS_ThermalZones_ReducedOrder_Validation_RoomWithLatentGain_FMU.c In file included from IDEAS_dev_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_dev_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_dev_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_dev_IDEAS_ThermalZones_ReducedOrder_Validation_RoomWithLatentGain_FMU.c:963:82: error: expected expression IDEAS_dev_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_dev_IDEAS_ThermalZones_ReducedOrder_Validation_RoomWithLatentGain_FMU.c:1919:68: error: function definition is not allowed here fmi2Real getReal(ModelInstance* comp, const fmi2ValueReference vr) { ^ IDEAS_dev_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_dev_IDEAS_ThermalZones_ReducedOrder_Validation_RoomWithLatentGain_FMU.c:1949:74: error: function definition is not allowed here fmi2Integer getInteger(ModelInstance* comp, const fmi2ValueReference vr) { ^ IDEAS_dev_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_dev_IDEAS_ThermalZones_ReducedOrder_Validation_RoomWithLatentGain_FMU.c:1970:74: error: function definition is not allowed here fmi2Boolean getBoolean(ModelInstance* comp, const fmi2ValueReference vr) { ^ IDEAS_dev_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_dev_IDEAS_ThermalZones_ReducedOrder_Validation_RoomWithLatentGain_FMU.c:2103:72: error: function definition is not allowed here fmi2String getString(ModelInstance* comp, const fmi2ValueReference vr) { ^ IDEAS_dev_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_dev_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_dev_IDEAS_ThermalZones_ReducedOrder_Validation_RoomWithLatentGain_FMU.c:2155:79: error: function definition is not allowed here fmi2ValueReference mapInputReference2InputNumber(const fmi2ValueReference vr) { ^ IDEAS_dev_IDEAS_ThermalZones_ReducedOrder_Validation_RoomWithLatentGain_FMU.c:2162:81: error: function definition is not allowed here fmi2ValueReference mapOutputReference2OutputNumber(const fmi2ValueReference vr) { ^ IDEAS_dev_IDEAS_ThermalZones_ReducedOrder_Validation_RoomWithLatentGain_FMU.c:2172:1: error: expected '}' ^ IDEAS_dev_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_dev_IDEAS_ThermalZones_ReducedOrder_Validation_RoomWithLatentGain_FMU.o] Error 1