Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.RoomWithLatentGain.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo", uses=false) 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/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.ThermalZones.ReducedOrder.Validation.RoomWithLatentGain,fileNamePrefix="Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_RoomWithLatentGain",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.ReducedOrder.Validation.RoomWithLatentGain,fileNamePrefix="Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_RoomWithLatentGain",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.112/2.112, allocations: 390.5 MB / 398 MB, free: 10.95 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009768/0.0009767, allocations: 180.6 kB / 491.2 MB, free: 1.559 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.685/1.685, allocations: 221.5 MB / 0.7868 GB, free: 13.32 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001028/0.001028, allocations: 91.62 kB / 0.9269 GB, free: 13.81 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.703e-05/1.704e-05, allocations: 0 / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2823/0.2823, allocations: 143 MB / 1.212 GB, free: 39.47 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.18/7.462, allocations: 2.195 GB / 3.408 GB, free: 105.9 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003928/7.463, allocations: 87.95 kB / 3.408 GB, free: 105.9 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 2.931/10.39, allocations: 0.6379 GB / 4.046 GB, free: 281 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.713e-06/10.39, allocations: 2.781 kB / 4.046 GB, free: 281 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0002093/10.39, allocations: 60.39 kB / 4.046 GB, free: 281 MB / 1.151 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.004859/10.4, allocations: 2.649 MB / 4.048 GB, free: 279.9 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.887e-05/10.4, allocations: 14.53 kB / 4.048 GB, free: 279.9 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001654/10.4, allocations: 463.8 kB / 4.049 GB, free: 279.7 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0061/10.41, allocations: 2.685 MB / 4.051 GB, free: 279.2 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001683/10.41, allocations: 97.94 kB / 4.051 GB, free: 279.1 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001913/10.41, allocations: 81.33 kB / 4.051 GB, free: 279.1 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002037/10.41, allocations: 1.044 MB / 4.052 GB, free: 279.1 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002101/10.41, allocations: 1.229 MB / 4.054 GB, free: 279 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.671e-05/10.41, allocations: 0 / 4.054 GB, free: 279 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001022/10.41, allocations: 9.422 kB / 4.054 GB, free: 279 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.368e-05/10.41, allocations: 43.19 kB / 4.054 GB, free: 279 MB / 1.151 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.01019/10.42, allocations: 6.44 MB / 4.06 GB, free: 276.5 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001647/10.42, allocations: 1.035 MB / 4.061 GB, free: 276.3 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008226/10.42, allocations: 0.5673 MB / 4.062 GB, free: 276.3 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000449/10.42, allocations: 294.5 kB / 4.062 GB, free: 276.1 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009312/10.43, allocations: 0.5859 MB / 4.062 GB, free: 276 MB / 1.151 GB Notification: Performance of pre-optimization done (n=113): time 3.788e-06/10.43, allocations: 0 / 4.062 GB, free: 276 MB / 1.151 GB Notification: Performance of matching and sorting (n=113): time 0.003167/10.43, allocations: 1.41 MB / 4.064 GB, free: 275.8 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.673e-05/10.43, allocations: 64.5 kB / 4.064 GB, free: 275.7 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005311/10.43, allocations: 3.365 MB / 4.067 GB, free: 275.4 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0001307/10.43, allocations: 33.08 kB / 4.067 GB, free: 275.4 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.001121/10.44, allocations: 1.302 MB / 4.068 GB, free: 275.1 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003412/10.44, allocations: 360.7 kB / 4.069 GB, free: 274.9 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.368e-05/10.44, allocations: 0 / 4.069 GB, free: 274.9 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001216/10.44, allocations: 351.7 kB / 4.069 GB, free: 274.6 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006031/10.44, allocations: 405.4 kB / 4.069 GB, free: 274.6 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007461/10.44, allocations: 0.6609 MB / 4.07 GB, free: 274.3 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001036/10.44, allocations: 0.5284 MB / 4.071 GB, free: 274.3 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.663e-06/10.44, allocations: 3.828 kB / 4.071 GB, free: 274.3 MB / 1.151 GB Notification: Performance of matching and sorting (n=156) (initialization): time 0.002699/10.44, allocations: 1.556 MB / 4.072 GB, free: 274.1 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 2.778e-05/10.44, allocations: 8.375 kB / 4.072 GB, free: 274.1 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.489e-05/10.44, allocations: 8.844 kB / 4.072 GB, free: 274.1 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005803/10.44, allocations: 214.8 kB / 4.072 GB, free: 274.1 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008689/10.44, allocations: 257.2 kB / 4.073 GB, free: 274.1 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003585/10.45, allocations: 4.027 MB / 4.077 GB, free: 271.5 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00166/10.45, allocations: 181.6 kB / 4.077 GB, free: 271.4 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001056/10.45, allocations: 51.86 kB / 4.077 GB, free: 271.4 MB / 1.151 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.0002611/10.45, allocations: 152.8 kB / 4.077 GB, free: 271.3 MB / 1.151 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002325/10.45, allocations: 1.379 MB / 4.078 GB, free: 270.9 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003422/10.45, allocations: 284.8 kB / 4.079 GB, free: 270.7 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002861/10.45, allocations: 1.523 MB / 4.08 GB, free: 270.2 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.737e-06/10.45, allocations: 10.75 kB / 4.08 GB, free: 270.2 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.762e-06/10.45, allocations: 2.844 kB / 4.08 GB, free: 270.2 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001784/10.46, allocations: 1.314 MB / 4.081 GB, free: 269.5 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006132/10.46, allocations: 3.842 MB / 4.085 GB, free: 268.1 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.58e-06/10.46, allocations: 0 / 4.085 GB, free: 268.1 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007329/10.46, allocations: 171.8 kB / 4.085 GB, free: 268.1 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004671/10.46, allocations: 207 kB / 4.085 GB, free: 268 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.331e-05/10.46, allocations: 21.5 kB / 4.085 GB, free: 268 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00332/10.47, allocations: 4.046 MB / 4.089 GB, free: 264.7 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.537e-06/10.47, allocations: 0 / 4.089 GB, free: 264.7 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003523/10.47, allocations: 2.26 MB / 4.092 GB, free: 263.6 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001132/10.47, allocations: 0.6245 MB / 4.092 GB, free: 263.3 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002841/10.47, allocations: 25.16 kB / 4.092 GB, free: 263.3 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009212/10.47, allocations: 97.45 kB / 4.092 GB, free: 263.2 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000221/10.47, allocations: 109.8 kB / 4.092 GB, free: 263.2 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.573e-05/10.47, allocations: 36.56 kB / 4.093 GB, free: 263.2 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.003595/10.48, allocations: 2.634 MB / 4.095 GB, free: 262.3 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.8e-07/10.48, allocations: 0 / 4.095 GB, free: 262.3 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.002812/10.48, allocations: 0.7155 MB / 4.096 GB, free: 262.1 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 7 (thermalZoneTwoElements.volMoiAir.dynBal.medium.Xi[1],thermalZoneTwoElements.volMoiAir.dynBal.U,thermalZoneTwoElements.volMoiAir.dynBal.m,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.006636/10.49, allocations: 4.848 MB / 4.101 GB, free: 259.9 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.002332/10.49, allocations: 1.334 MB / 4.102 GB, free: 259.2 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 5.02e-06/10.49, allocations: 0 / 4.102 GB, free: 259.2 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.001094/10.49, allocations: 0.8407 MB / 4.103 GB, free: 258.8 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003256/10.49, allocations: 0.5084 MB / 4.103 GB, free: 258.7 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009774/10.5, allocations: 5.595 MB / 4.109 GB, free: 257 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00148/10.5, allocations: 1.982 MB / 4.111 GB, free: 256.2 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.001327/10.51, allocations: 423.9 kB / 4.111 GB, free: 256.1 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001175/10.51, allocations: 1.104 MB / 4.112 GB, free: 255.2 MB / 1.151 GB Notification: Performance of SimCode: time 1.523e-06/10.51, allocations: 0 / 4.112 GB, free: 255.2 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1095/10.62, allocations: 59.78 MB / 4.17 GB, free: 216.2 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002307/10.62, allocations: 199.2 kB / 4.171 GB, free: 216 MB / 1.151 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=Buildings_latest_Buildings_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 Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_RoomWithLatentGain_FMU.o Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_RoomWithLatentGain_FMU.c In file included from Buildings_latest_Buildings_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 Buildings_latest_Buildings_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); ^ Buildings_latest_Buildings_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. ^ Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_RoomWithLatentGain_FMU.c:963:82: error: expected expression Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_RoomWithLatentGain_FMU.c:964:61: warning: missing terminating '"' character [-Winvalid-pp-token] Check output 'satisfied' for when violation(s) happened."); ^ Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_RoomWithLatentGain_FMU.c:1919:68: error: function definition is not allowed here fmi2Real getReal(ModelInstance* comp, const fmi2ValueReference vr) { ^ Buildings_latest_Buildings_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) { ^ Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_RoomWithLatentGain_FMU.c:1949:74: error: function definition is not allowed here fmi2Integer getInteger(ModelInstance* comp, const fmi2ValueReference vr) { ^ Buildings_latest_Buildings_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) { ^ Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_RoomWithLatentGain_FMU.c:1970:74: error: function definition is not allowed here fmi2Boolean getBoolean(ModelInstance* comp, const fmi2ValueReference vr) { ^ Buildings_latest_Buildings_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) { ^ Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_RoomWithLatentGain_FMU.c:2103:72: error: function definition is not allowed here fmi2String getString(ModelInstance* comp, const fmi2ValueReference vr) { ^ Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_RoomWithLatentGain_FMU.c:2124:90: error: function definition is not allowed here fmi2Status setString(ModelInstance* comp, const fmi2ValueReference vr, fmi2String value) { ^ Buildings_latest_Buildings_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){ ^ Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_RoomWithLatentGain_FMU.c:2155:79: error: function definition is not allowed here fmi2ValueReference mapInputReference2InputNumber(const fmi2ValueReference vr) { ^ Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_RoomWithLatentGain_FMU.c:2162:81: error: function definition is not allowed here fmi2ValueReference mapOutputReference2OutputNumber(const fmi2ValueReference vr) { ^ Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_RoomWithLatentGain_FMU.c:2172:1: error: expected '}' ^ Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_RoomWithLatentGain_FMU.c:58:49: note: to match this '{' void setDefaultStartValues(ModelInstance *comp) { ^ 6 warnings and 13 errors generated. make: *** [: Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_RoomWithLatentGain_FMU.o] Error 1