Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.RoomWithLatentGain.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.ThermalZones.ReducedOrder.Validation.RoomWithLatentGain,fileNamePrefix="Buildings_maint_7_0_x_Buildings_ThermalZones_ReducedOrder_Validation_RoomWithLatentGain",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.ReducedOrder.Validation.RoomWithLatentGain,fileNamePrefix="Buildings_maint_7_0_x_Buildings_ThermalZones_ReducedOrder_Validation_RoomWithLatentGain",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.525/1.525, allocations: 249.5 MB / 257 MB, free: 6.883 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001354/0.001354, allocations: 180.9 kB / 316.3 MB, free: 3.316 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.038/2.038, allocations: 205.3 MB / 0.5671 GB, free: 15.87 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000923/0.000923, allocations: 94.33 kB / 0.6714 GB, free: 4.988 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.863e-05/1.866e-05, allocations: 4 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2857/0.2857, allocations: 106.3 MB / 0.8853 GB, free: 12.21 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.831/7.117, allocations: 2.473 GB / 3.358 GB, free: 223.3 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002539/7.117, allocations: 84.08 kB / 3.358 GB, free: 223.3 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 2.512/9.63, allocations: 0.6093 GB / 3.967 GB, free: 173.7 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.973e-06/9.63, allocations: 0 / 3.967 GB, free: 173.7 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0002537/9.63, allocations: 62 kB / 3.967 GB, free: 173.7 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 315 * Number of variables: 315 Notification: Performance of Generate backend data structure: time 0.007758/9.638, allocations: 2.641 MB / 3.97 GB, free: 172.6 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 6.123e-05/9.638, allocations: 6.938 kB / 3.97 GB, free: 172.6 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002669/9.64, allocations: 463.2 kB / 3.97 GB, free: 172.5 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007653/9.648, allocations: 2.663 MB / 3.973 GB, free: 172.1 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001841/9.648, allocations: 109.5 kB / 3.973 GB, free: 172 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001877/9.649, allocations: 77.19 kB / 3.973 GB, free: 172 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002083/9.651, allocations: 1.044 MB / 3.974 GB, free: 172 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002152/9.653, allocations: 1.226 MB / 3.975 GB, free: 171.9 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.76e-05/9.653, allocations: 0 / 3.975 GB, free: 171.9 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001058/9.653, allocations: 10.83 kB / 3.976 GB, free: 171.9 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.512e-05/9.653, allocations: 43.16 kB / 3.976 GB, free: 171.9 MB / 0.8698 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.01066/9.664, allocations: 6.419 MB / 3.982 GB, free: 169.4 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001703/9.665, allocations: 1.045 MB / 3.983 GB, free: 169.2 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000813/9.666, allocations: 0.5643 MB / 3.983 GB, free: 169.2 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004478/9.667, allocations: 305.1 kB / 3.984 GB, free: 168.9 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000949/9.668, allocations: 0.5797 MB / 3.984 GB, free: 168.9 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=113): time 6.021e-06/9.668, allocations: 0 / 3.984 GB, free: 168.9 MB / 0.8698 GB Notification: Performance of matching and sorting (n=113): time 0.003441/9.671, allocations: 1.406 MB / 3.986 GB, free: 168.6 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.404e-05/9.671, allocations: 72.42 kB / 3.986 GB, free: 168.6 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006834/9.678, allocations: 3.361 MB / 3.989 GB, free: 168.3 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.000417/9.679, allocations: 32.27 kB / 3.989 GB, free: 168.3 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.001199/9.68, allocations: 1.269 MB / 3.99 GB, free: 168 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004813/9.68, allocations: 356.8 kB / 3.991 GB, free: 167.8 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.111e-05/9.68, allocations: 5.188 kB / 3.991 GB, free: 167.8 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001255/9.68, allocations: 353.9 kB / 3.991 GB, free: 167.5 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006435/9.681, allocations: 399.9 kB / 3.991 GB, free: 167.5 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007478/9.682, allocations: 0.6441 MB / 3.992 GB, free: 167.2 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001043/9.683, allocations: 0.5225 MB / 3.992 GB, free: 167.2 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.834e-06/9.683, allocations: 3.469 kB / 3.992 GB, free: 167.2 MB / 0.8698 GB Notification: Performance of matching and sorting (n=156) (initialization): time 0.003016/9.686, allocations: 1.547 MB / 3.994 GB, free: 167 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.522e-05/9.686, allocations: 9.938 kB / 3.994 GB, free: 167 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.397e-05/9.686, allocations: 10.5 kB / 3.994 GB, free: 167 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005623/9.687, allocations: 210.1 kB / 3.994 GB, free: 166.9 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008844/9.688, allocations: 254.3 kB / 3.994 GB, free: 166.9 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003883/9.691, allocations: 4.036 MB / 3.998 GB, free: 164.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002146/9.694, allocations: 173 kB / 3.999 GB, free: 164.3 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001221/9.694, allocations: 52.27 kB / 3.999 GB, free: 164.3 MB / 0.8698 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.0003236/9.694, allocations: 153.5 kB / 3.999 GB, free: 164.2 MB / 0.8698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.00284/9.697, allocations: 1.377 MB / 4 GB, free: 163.9 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004151/9.697, allocations: 275.2 kB / 4 GB, free: 163.8 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003355/9.701, allocations: 1.508 MB / 4.002 GB, free: 163.7 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.878e-05/9.701, allocations: 10.25 kB / 4.002 GB, free: 163.7 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.679e-05/9.701, allocations: 3.938 kB / 4.002 GB, free: 163.7 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002173/9.703, allocations: 1.305 MB / 4.003 GB, free: 163.4 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009783/9.713, allocations: 3.827 MB / 4.007 GB, free: 162.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.271e-05/9.713, allocations: 6.875 kB / 4.007 GB, free: 162.9 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008381/9.714, allocations: 179.1 kB / 4.007 GB, free: 162.9 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005893/9.714, allocations: 205 kB / 4.007 GB, free: 162.9 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001207/9.714, allocations: 20.34 kB / 4.007 GB, free: 162.9 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004476/9.719, allocations: 4.048 MB / 4.011 GB, free: 160.3 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.236e-06/9.719, allocations: 3.344 kB / 4.011 GB, free: 160.3 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005229/9.724, allocations: 2.281 MB / 4.013 GB, free: 159.8 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002309/9.727, allocations: 0.6426 MB / 4.014 GB, free: 159.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001054/9.728, allocations: 16.41 kB / 4.014 GB, free: 159.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002029/9.73, allocations: 105.5 kB / 4.014 GB, free: 159.5 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003467/9.73, allocations: 99.58 kB / 4.014 GB, free: 159.5 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001256/9.73, allocations: 46.05 kB / 4.014 GB, free: 159.5 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.006489/9.737, allocations: 2.627 MB / 4.017 GB, free: 159.4 MB / 0.8698 GB Notification: Performance of sort global known variables: time 3.3e-07/9.737, allocations: 0 / 4.017 GB, free: 159.4 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.004795/9.741, allocations: 0.7164 MB / 4.018 GB, free: 159.3 MB / 0.8698 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 (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.01039/9.752, allocations: 4.875 MB / 4.022 GB, free: 157.6 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.003131/9.755, allocations: 1.327 MB / 4.024 GB, free: 157.4 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 9.007e-06/9.755, allocations: 3.062 kB / 4.024 GB, free: 157.4 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.001571/9.757, allocations: 0.8376 MB / 4.024 GB, free: 157.2 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004497/9.761, allocations: 0.5043 MB / 4.025 GB, free: 157.2 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02049/9.782, allocations: 5.585 MB / 4.03 GB, free: 156.1 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004335/9.786, allocations: 1.98 MB / 4.032 GB, free: 155.4 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.002536/9.789, allocations: 429.1 kB / 4.033 GB, free: 155.3 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002634/9.791, allocations: 1.091 MB / 4.034 GB, free: 155.3 MB / 0.8698 GB Notification: Performance of SimCode: time 1.362e-06/9.792, allocations: 0 / 4.034 GB, free: 155.3 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1367/9.928, allocations: 59.6 MB / 4.092 GB, free: 143.9 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002628/9.929, allocations: 207 kB / 4.092 GB, free: 143.7 MB / 0.8698 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_7_0_x_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_maint_7_0_x_Buildings_ThermalZones_ReducedOrder_Validation_RoomWithLatentGain_FMU.o Buildings_maint_7_0_x_Buildings_ThermalZones_ReducedOrder_Validation_RoomWithLatentGain_FMU.c In file included from Buildings_maint_7_0_x_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_maint_7_0_x_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_maint_7_0_x_Buildings_ThermalZones_ReducedOrder_Validation_RoomWithLatentGain_FMU.c:958: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_7_0_x_Buildings_ThermalZones_ReducedOrder_Validation_RoomWithLatentGain_FMU.c:958:82: error: expected expression Buildings_maint_7_0_x_Buildings_ThermalZones_ReducedOrder_Validation_RoomWithLatentGain_FMU.c:959:61: warning: missing terminating '"' character [-Winvalid-pp-token] Check output 'satisfied' for when violation(s) happened."); ^ Buildings_maint_7_0_x_Buildings_ThermalZones_ReducedOrder_Validation_RoomWithLatentGain_FMU.c:1905:68: error: function definition is not allowed here fmi2Real getReal(ModelInstance* comp, const fmi2ValueReference vr) { ^ Buildings_maint_7_0_x_Buildings_ThermalZones_ReducedOrder_Validation_RoomWithLatentGain_FMU.c:1919:92: error: function definition is not allowed here fmi2Status setReal(ModelInstance* comp, const fmi2ValueReference vr, const fmi2Real value) { ^ Buildings_maint_7_0_x_Buildings_ThermalZones_ReducedOrder_Validation_RoomWithLatentGain_FMU.c:1935:74: error: function definition is not allowed here fmi2Integer getInteger(ModelInstance* comp, const fmi2ValueReference vr) { ^ Buildings_maint_7_0_x_Buildings_ThermalZones_ReducedOrder_Validation_RoomWithLatentGain_FMU.c:1945:98: error: function definition is not allowed here fmi2Status setInteger(ModelInstance* comp, const fmi2ValueReference vr, const fmi2Integer value) { ^ Buildings_maint_7_0_x_Buildings_ThermalZones_ReducedOrder_Validation_RoomWithLatentGain_FMU.c:1956:74: error: function definition is not allowed here fmi2Boolean getBoolean(ModelInstance* comp, const fmi2ValueReference vr) { ^ Buildings_maint_7_0_x_Buildings_ThermalZones_ReducedOrder_Validation_RoomWithLatentGain_FMU.c:2017:98: error: function definition is not allowed here fmi2Status setBoolean(ModelInstance* comp, const fmi2ValueReference vr, const fmi2Boolean value) { ^ Buildings_maint_7_0_x_Buildings_ThermalZones_ReducedOrder_Validation_RoomWithLatentGain_FMU.c:2079:72: error: function definition is not allowed here fmi2String getString(ModelInstance* comp, const fmi2ValueReference vr) { ^ Buildings_maint_7_0_x_Buildings_ThermalZones_ReducedOrder_Validation_RoomWithLatentGain_FMU.c:2098:90: error: function definition is not allowed here fmi2Status setString(ModelInstance* comp, const fmi2ValueReference vr, fmi2String value) { ^ Buildings_maint_7_0_x_Buildings_ThermalZones_ReducedOrder_Validation_RoomWithLatentGain_FMU.c:2118:97: error: function definition is not allowed here fmi2Status setExternalFunction(ModelInstance* c, const fmi2ValueReference vr, const void* value){ ^ Buildings_maint_7_0_x_Buildings_ThermalZones_ReducedOrder_Validation_RoomWithLatentGain_FMU.c:2127:79: error: function definition is not allowed here fmi2ValueReference mapInputReference2InputNumber(const fmi2ValueReference vr) { ^ Buildings_maint_7_0_x_Buildings_ThermalZones_ReducedOrder_Validation_RoomWithLatentGain_FMU.c:2134:81: error: function definition is not allowed here fmi2ValueReference mapOutputReference2OutputNumber(const fmi2ValueReference vr) { ^ Buildings_maint_7_0_x_Buildings_ThermalZones_ReducedOrder_Validation_RoomWithLatentGain_FMU.c:2144:1: error: expected '}' ^ Buildings_maint_7_0_x_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_maint_7_0_x_Buildings_ThermalZones_ReducedOrder_Validation_RoomWithLatentGain_FMU.o] Error 1