Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.ThermalZones.ReducedOrder.Validation.RoomWithoutLatentGain.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.ThermalZones.ReducedOrder.Validation.RoomWithoutLatentGain,fileNamePrefix="Buildings_maint_8_0_x_Buildings_ThermalZones_ReducedOrder_Validation_RoomWithoutLatentGain",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.ReducedOrder.Validation.RoomWithoutLatentGain,fileNamePrefix="Buildings_maint_8_0_x_Buildings_ThermalZones_ReducedOrder_Validation_RoomWithoutLatentGain",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.694/1.694, allocations: 285.6 MB / 293.1 MB, free: 10.28 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001102/0.001103, allocations: 180.9 kB / 361.4 MB, free: 6.891 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.096/2.096, allocations: 205.2 MB / 0.62 GB, free: 11.66 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009872/0.0009873, allocations: 95.94 kB / 0.733 GB, free: 44.22 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.273e-05/2.276e-05, allocations: 0 / 0.8518 GB, free: 2.691 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8313/0.8313, allocations: 115.3 MB / 0.9644 GB, free: 78.77 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.687/7.519, allocations: 2.354 GB / 3.318 GB, free: 122.7 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000288/7.519, allocations: 84.77 kB / 3.318 GB, free: 122.7 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 2.733/10.25, allocations: 0.6229 GB / 3.941 GB, free: 208.4 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.665e-06/10.25, allocations: 7.094 kB / 3.941 GB, free: 208.4 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0002218/10.25, allocations: 59.53 kB / 3.941 GB, free: 208.4 MB / 0.948 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.006671/10.26, allocations: 2.645 MB / 3.944 GB, free: 206.9 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.174e-05/10.26, allocations: 7.562 kB / 3.944 GB, free: 206.9 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002248/10.26, allocations: 463.7 kB / 3.944 GB, free: 206.8 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007838/10.27, allocations: 2.657 MB / 3.947 GB, free: 205.7 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001993/10.27, allocations: 94.89 kB / 3.947 GB, free: 205.7 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001996/10.27, allocations: 80.88 kB / 3.947 GB, free: 205.7 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00227/10.27, allocations: 1.049 MB / 3.948 GB, free: 205.3 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002193/10.27, allocations: 1.216 MB / 3.949 GB, free: 204.8 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.93e-05/10.27, allocations: 6.5 kB / 3.949 GB, free: 204.8 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001088/10.27, allocations: 3.516 kB / 3.949 GB, free: 204.8 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.775e-05/10.27, allocations: 51.44 kB / 3.949 GB, free: 204.8 MB / 0.948 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.01138/10.29, allocations: 6.41 MB / 3.956 GB, free: 200.9 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001674/10.29, allocations: 1.041 MB / 3.957 GB, free: 200.4 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008053/10.29, allocations: 0.5634 MB / 3.957 GB, free: 200.2 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004463/10.29, allocations: 299.4 kB / 3.957 GB, free: 199.9 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008967/10.29, allocations: 0.5636 MB / 3.958 GB, free: 199.6 MB / 0.948 GB Notification: Performance of pre-optimization done (n=112): time 4.689e-06/10.29, allocations: 0 / 3.958 GB, free: 199.6 MB / 0.948 GB Notification: Performance of matching and sorting (n=112): time 0.003402/10.29, allocations: 1.403 MB / 3.959 GB, free: 199.1 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.822e-05/10.29, allocations: 63.75 kB / 3.959 GB, free: 199 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006114/10.3, allocations: 3.373 MB / 3.963 GB, free: 197.9 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002627/10.3, allocations: 33.39 kB / 3.963 GB, free: 197.8 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001283/10.3, allocations: 1.318 MB / 3.964 GB, free: 196.8 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006181/10.3, allocations: 355 kB / 3.964 GB, free: 196.6 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.611e-05/10.3, allocations: 0 / 3.964 GB, free: 196.6 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.000177/10.3, allocations: 351.8 kB / 3.965 GB, free: 196.2 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008205/10.3, allocations: 405.8 kB / 3.965 GB, free: 196.1 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001069/10.3, allocations: 0.657 MB / 3.966 GB, free: 195.6 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001394/10.31, allocations: 0.5235 MB / 3.966 GB, free: 195.4 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.557e-05/10.31, allocations: 6.516 kB / 3.966 GB, free: 195.4 MB / 0.948 GB Notification: Performance of matching and sorting (n=156) (initialization): time 0.003849/10.31, allocations: 1.555 MB / 3.968 GB, free: 194.8 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 3.32e-05/10.31, allocations: 8.281 kB / 3.968 GB, free: 194.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.164e-05/10.31, allocations: 11.23 kB / 3.968 GB, free: 194.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006557/10.31, allocations: 210.9 kB / 3.968 GB, free: 194.7 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009809/10.31, allocations: 249.2 kB / 3.968 GB, free: 194.7 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004363/10.32, allocations: 4.041 MB / 3.972 GB, free: 191.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002362/10.32, allocations: 172.5 kB / 3.972 GB, free: 191.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002148/10.32, allocations: 56.25 kB / 3.972 GB, free: 191.3 MB / 0.948 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,mean.y,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.0004209/10.32, allocations: 154.9 kB / 3.972 GB, free: 191.2 MB / 0.948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.003532/10.32, allocations: 1.368 MB / 3.974 GB, free: 190.6 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001025/10.32, allocations: 279.7 kB / 3.974 GB, free: 190.5 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00377/10.33, allocations: 1.506 MB / 3.976 GB, free: 189.9 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.852e-05/10.33, allocations: 13.72 kB / 3.976 GB, free: 189.9 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.5e-05/10.33, allocations: 1.688 kB / 3.976 GB, free: 189.9 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002424/10.33, allocations: 1.303 MB / 3.977 GB, free: 189.3 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01046/10.34, allocations: 3.82 MB / 3.981 GB, free: 187.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.113e-05/10.34, allocations: 0 / 3.981 GB, free: 187.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008457/10.34, allocations: 177 kB / 3.981 GB, free: 187.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005888/10.34, allocations: 203.2 kB / 3.981 GB, free: 187.8 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001277/10.34, allocations: 22.09 kB / 3.981 GB, free: 187.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004666/10.35, allocations: 4.023 MB / 3.985 GB, free: 184.5 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.252e-06/10.35, allocations: 0 / 3.985 GB, free: 184.5 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004759/10.35, allocations: 2.285 MB / 3.987 GB, free: 183.3 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002032/10.35, allocations: 0.6274 MB / 3.988 GB, free: 183 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009726/10.35, allocations: 17.75 kB / 3.988 GB, free: 183 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001787/10.36, allocations: 91.77 kB / 3.988 GB, free: 183 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003158/10.36, allocations: 110.4 kB / 3.988 GB, free: 183 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001065/10.36, allocations: 43.8 kB / 3.988 GB, free: 182.9 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.006137/10.36, allocations: 2.63 MB / 3.991 GB, free: 182 MB / 0.948 GB Notification: Performance of sort global known variables: time 3.11e-07/10.36, allocations: 0 / 3.991 GB, free: 182 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.00412/10.37, allocations: 0.7254 MB / 3.991 GB, free: 181.8 MB / 0.948 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) * 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 (100): * Single equations (assignments): 86 * 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.009366/10.38, allocations: 4.865 MB / 3.996 GB, free: 179.3 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002728/10.38, allocations: 1.325 MB / 3.997 GB, free: 178.7 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 8.546e-06/10.38, allocations: 0.625 kB / 3.997 GB, free: 178.7 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.001645/10.38, allocations: 0.8359 MB / 3.998 GB, free: 178.2 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004042/10.38, allocations: 0.5204 MB / 3.999 GB, free: 178.1 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01535/10.4, allocations: 5.586 MB / 4.004 GB, free: 173.9 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002842/10.4, allocations: 1.983 MB / 4.006 GB, free: 172.3 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.002027/10.4, allocations: 424.8 kB / 4.006 GB, free: 172 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002187/10.41, allocations: 1.101 MB / 4.008 GB, free: 171 MB / 0.948 GB Notification: Performance of SimCode: time 2.073e-06/10.41, allocations: 4 kB / 4.008 GB, free: 171 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1235/10.53, allocations: 59.72 MB / 4.066 GB, free: 115 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000232/10.53, allocations: 202.2 kB / 4.066 GB, free: 114.8 MB / 0.948 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. -DOMC_MODEL_PREFIX=Buildings_maint_8_0_x_Buildings_ThermalZones_ReducedOrder_Validation_RoomWithoutLatentGain -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 Buildings_maint_8_0_x_Buildings_ThermalZones_ReducedOrder_Validation_RoomWithoutLatentGain_FMU.o Buildings_maint_8_0_x_Buildings_ThermalZones_ReducedOrder_Validation_RoomWithoutLatentGain_FMU.c In file included from Buildings_maint_8_0_x_Buildings_ThermalZones_ReducedOrder_Validation_RoomWithoutLatentGain_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 Buildings_maint_8_0_x_Buildings_ThermalZones_ReducedOrder_Validation_RoomWithoutLatentGain_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); ^ Buildings_maint_8_0_x_Buildings_ThermalZones_ReducedOrder_Validation_RoomWithoutLatentGain_FMU.c:961:82: warning: missing terminating '"' character [-Winvalid-pp-token] comp->fmuData->modelData->stringParameterData[0].attribute.start = mmc_mk_scon("Inputs differ by more than threShold. ^ Buildings_maint_8_0_x_Buildings_ThermalZones_ReducedOrder_Validation_RoomWithoutLatentGain_FMU.c:961:82: error: expected expression Buildings_maint_8_0_x_Buildings_ThermalZones_ReducedOrder_Validation_RoomWithoutLatentGain_FMU.c:962:61: warning: missing terminating '"' character [-Winvalid-pp-token] Check output 'satisfied' for when violation(s) happened."); ^ Buildings_maint_8_0_x_Buildings_ThermalZones_ReducedOrder_Validation_RoomWithoutLatentGain_FMU.c:1915:68: error: function definition is not allowed here fmi2Real getReal(ModelInstance* comp, const fmi2ValueReference vr) { ^ Buildings_maint_8_0_x_Buildings_ThermalZones_ReducedOrder_Validation_RoomWithoutLatentGain_FMU.c:1929:92: error: function definition is not allowed here fmi2Status setReal(ModelInstance* comp, const fmi2ValueReference vr, const fmi2Real value) { ^ Buildings_maint_8_0_x_Buildings_ThermalZones_ReducedOrder_Validation_RoomWithoutLatentGain_FMU.c:1945:74: error: function definition is not allowed here fmi2Integer getInteger(ModelInstance* comp, const fmi2ValueReference vr) { ^ Buildings_maint_8_0_x_Buildings_ThermalZones_ReducedOrder_Validation_RoomWithoutLatentGain_FMU.c:1955:98: error: function definition is not allowed here fmi2Status setInteger(ModelInstance* comp, const fmi2ValueReference vr, const fmi2Integer value) { ^ Buildings_maint_8_0_x_Buildings_ThermalZones_ReducedOrder_Validation_RoomWithoutLatentGain_FMU.c:1966:74: error: function definition is not allowed here fmi2Boolean getBoolean(ModelInstance* comp, const fmi2ValueReference vr) { ^ Buildings_maint_8_0_x_Buildings_ThermalZones_ReducedOrder_Validation_RoomWithoutLatentGain_FMU.c:2029:98: error: function definition is not allowed here fmi2Status setBoolean(ModelInstance* comp, const fmi2ValueReference vr, const fmi2Boolean value) { ^ Buildings_maint_8_0_x_Buildings_ThermalZones_ReducedOrder_Validation_RoomWithoutLatentGain_FMU.c:2093:72: error: function definition is not allowed here fmi2String getString(ModelInstance* comp, const fmi2ValueReference vr) { ^ Buildings_maint_8_0_x_Buildings_ThermalZones_ReducedOrder_Validation_RoomWithoutLatentGain_FMU.c:2114:90: error: function definition is not allowed here fmi2Status setString(ModelInstance* comp, const fmi2ValueReference vr, fmi2String value) { ^ Buildings_maint_8_0_x_Buildings_ThermalZones_ReducedOrder_Validation_RoomWithoutLatentGain_FMU.c:2136:97: error: function definition is not allowed here fmi2Status setExternalFunction(ModelInstance* c, const fmi2ValueReference vr, const void* value){ ^ Buildings_maint_8_0_x_Buildings_ThermalZones_ReducedOrder_Validation_RoomWithoutLatentGain_FMU.c:2145:79: error: function definition is not allowed here fmi2ValueReference mapInputReference2InputNumber(const fmi2ValueReference vr) { ^ Buildings_maint_8_0_x_Buildings_ThermalZones_ReducedOrder_Validation_RoomWithoutLatentGain_FMU.c:2152:81: error: function definition is not allowed here fmi2ValueReference mapOutputReference2OutputNumber(const fmi2ValueReference vr) { ^ Buildings_maint_8_0_x_Buildings_ThermalZones_ReducedOrder_Validation_RoomWithoutLatentGain_FMU.c:2162:1: error: expected '}' ^ Buildings_maint_8_0_x_Buildings_ThermalZones_ReducedOrder_Validation_RoomWithoutLatentGain_FMU.c:58:49: note: to match this '{' void setDefaultStartValues(ModelInstance *comp) { ^ 6 warnings and 13 errors generated. make: *** [: Buildings_maint_8_0_x_Buildings_ThermalZones_ReducedOrder_Validation_RoomWithoutLatentGain_FMU.o] Error 1