Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.ThermalZones.ReducedOrder.Validation.RoomWithoutLatentGain.conf.json 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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.ThermalZones.ReducedOrder.Validation.RoomWithoutLatentGain,fileNamePrefix="Buildings_7_0_0_Buildings_ThermalZones_ReducedOrder_Validation_RoomWithoutLatentGain",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.191/2.191, allocations: 248.7 MB / 256.2 MB, free: 7.051 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.001461/0.001461, allocations: 180.4 kB / 315.4 MB, free: 4 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.003/2.003, allocations: 205.3 MB / 0.5662 GB, free: 0.5469 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00112/0.00112, allocations: 93.97 kB / 0.6704 GB, free: 5.75 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.612e-05/1.64e-05, allocations: 0 / 0.7803 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2228/0.2229, allocations: 106.3 MB / 0.8841 GB, free: 12.99 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 8.229/8.452, allocations: 2.472 GB / 3.356 GB, free: 222.7 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003286/8.452, allocations: 83.77 kB / 3.356 GB, free: 222.7 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 3.326/11.78, allocations: 0.608 GB / 3.964 GB, free: 172.6 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.994e-06/11.78, allocations: 0 / 3.964 GB, free: 172.6 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0003196/11.78, allocations: 62.3 kB / 3.964 GB, free: 172.6 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.008923/11.79, allocations: 2.605 MB / 3.967 GB, free: 171.5 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.991e-05/11.79, allocations: 7.5 kB / 3.967 GB, free: 171.5 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003027/11.79, allocations: 465 kB / 3.967 GB, free: 171.4 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0104/11.8, allocations: 2.663 MB / 3.97 GB, free: 170.9 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002454/11.8, allocations: 93.48 kB / 3.97 GB, free: 170.9 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003954/11.8, allocations: 81.11 kB / 3.97 GB, free: 170.9 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003156/11.81, allocations: 1.048 MB / 3.971 GB, free: 170.9 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003322/11.81, allocations: 1.225 MB / 3.972 GB, free: 170.8 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.991e-05/11.81, allocations: 3.281 kB / 3.972 GB, free: 170.8 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001959/11.81, allocations: 0 / 3.972 GB, free: 170.8 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.511e-05/11.81, allocations: 45.97 kB / 3.972 GB, free: 170.8 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.01383/11.82, allocations: 6.292 MB / 3.979 GB, free: 168.2 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002835/11.83, allocations: 1.127 MB / 3.98 GB, free: 168.1 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001332/11.83, allocations: 0.5599 MB / 3.98 GB, free: 168.1 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005602/11.83, allocations: 297.9 kB / 3.98 GB, free: 167.8 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001378/11.83, allocations: 0.5699 MB / 3.981 GB, free: 167.8 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=110): time 5.239e-06/11.83, allocations: 0 / 3.981 GB, free: 167.8 MB / 0.8698 GB Notification: Performance of matching and sorting (n=110): time 0.004802/11.83, allocations: 1.389 MB / 3.982 GB, free: 167.5 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.559e-05/11.83, allocations: 67.72 kB / 3.982 GB, free: 167.5 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009071/11.84, allocations: 3.371 MB / 3.986 GB, free: 167.2 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0003304/11.84, allocations: 30.19 kB / 3.986 GB, free: 167.2 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.001497/11.85, allocations: 1.274 MB / 3.987 GB, free: 166.9 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005555/11.85, allocations: 353.1 kB / 3.987 GB, free: 166.7 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.748e-05/11.85, allocations: 0 / 3.987 GB, free: 166.7 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001106/11.85, allocations: 351.6 kB / 3.988 GB, free: 166.4 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009376/11.85, allocations: 395.1 kB / 3.988 GB, free: 166.4 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001073/11.85, allocations: 0.6313 MB / 3.989 GB, free: 166.1 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001492/11.85, allocations: 0.5194 MB / 3.989 GB, free: 166.1 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.708e-06/11.85, allocations: 3.469 kB / 3.989 GB, free: 166.1 MB / 0.8698 GB Notification: Performance of matching and sorting (n=153) (initialization): time 0.004345/11.85, allocations: 1.521 MB / 3.991 GB, free: 165.9 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 3.128e-05/11.85, allocations: 11.05 kB / 3.991 GB, free: 165.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.77e-05/11.85, allocations: 11.81 kB / 3.991 GB, free: 165.9 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000863/11.85, allocations: 215.7 kB / 3.991 GB, free: 165.8 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001637/11.86, allocations: 228.6 kB / 3.991 GB, free: 165.8 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005329/11.86, allocations: 4.054 MB / 3.995 GB, free: 163.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002562/11.86, allocations: 160.7 kB / 3.995 GB, free: 163.2 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000171/11.86, allocations: 50.05 kB / 3.995 GB, free: 163.2 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 (134): * Single equations (assignments): 132 * 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.0003683/11.86, allocations: 153.1 kB / 3.995 GB, free: 163.1 MB / 0.8698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.003967/11.87, allocations: 1.354 MB / 3.997 GB, free: 162.8 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007794/11.87, allocations: 285.4 kB / 3.997 GB, free: 162.7 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004239/11.87, allocations: 1.489 MB / 3.998 GB, free: 162.6 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.697e-05/11.87, allocations: 10.53 kB / 3.998 GB, free: 162.6 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.285e-06/11.87, allocations: 3.156 kB / 3.998 GB, free: 162.6 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003015/11.88, allocations: 1.289 MB / 4 GB, free: 162.3 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01033/11.89, allocations: 3.765 MB / 4.003 GB, free: 161.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.326e-06/11.89, allocations: 3.156 kB / 4.003 GB, free: 161.8 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00143/11.89, allocations: 174.5 kB / 4.004 GB, free: 161.8 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000802/11.89, allocations: 209.1 kB / 4.004 GB, free: 161.8 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000121/11.89, allocations: 16.16 kB / 4.004 GB, free: 161.8 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005169/11.9, allocations: 4.043 MB / 4.008 GB, free: 159.2 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.015e-06/11.9, allocations: 3.438 kB / 4.008 GB, free: 159.2 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005346/11.9, allocations: 2.271 MB / 4.01 GB, free: 158.7 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002118/11.9, allocations: 0.6246 MB / 4.011 GB, free: 158.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004936/11.9, allocations: 21.31 kB / 4.011 GB, free: 158.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001755/11.9, allocations: 93.83 kB / 4.011 GB, free: 158.4 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003127/11.91, allocations: 107.8 kB / 4.011 GB, free: 158.4 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001173/11.91, allocations: 39.88 kB / 4.011 GB, free: 158.4 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.005063/11.91, allocations: 2.631 MB / 4.013 GB, free: 158.3 MB / 0.8698 GB Notification: Performance of sort global known variables: time 8.72e-07/11.91, allocations: 0 / 4.013 GB, free: 158.3 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.003527/11.91, allocations: 0.7175 MB / 4.014 GB, free: 158.2 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 6 (thermalZoneTwoElements.volMoiAir.dynBal.U,thermalZoneTwoElements.volMoiAir.dynBal.m,thermalZoneTwoElements.volMoiAir.dynBal.mXi[1],thermalZoneTwoElements.extWallRC.thermCapExt[1].T,thermalZoneTwoElements.intWallRC.thermCapInt[1].T,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,ventRate.nextTimeEventScaled,tableSolRadWindow.nextTimeEventScaled,outdoorTemp.nextTimeEventScaled,reference.nextTimeEventScaled,assEqu.satisfied,assEqu.nFai,intGai.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (98): * Single equations (assignments): 84 * 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.008876/11.92, allocations: 4.846 MB / 4.019 GB, free: 156.5 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.003164/11.93, allocations: 1.289 MB / 4.02 GB, free: 156.3 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 7.144e-06/11.93, allocations: 3.906 kB / 4.02 GB, free: 156.3 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.001695/11.93, allocations: 0.8266 MB / 4.021 GB, free: 156.1 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004529/11.93, allocations: 0.5156 MB / 4.021 GB, free: 156.1 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01432/11.95, allocations: 5.561 MB / 4.027 GB, free: 155 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002004/11.95, allocations: 1.976 MB / 4.029 GB, free: 154.3 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.002101/11.95, allocations: 430.4 kB / 4.029 GB, free: 154.3 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002262/11.95, allocations: 1.08 MB / 4.03 GB, free: 154.2 MB / 0.8698 GB Notification: Performance of SimCode: time 1.363e-06/11.95, allocations: 0 / 4.03 GB, free: 154.2 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1608/12.11, allocations: 59.34 MB / 4.088 GB, free: 146.3 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002501/12.11, allocations: 191 kB / 4.088 GB, free: 146.1 MB / 0.8698 GB Error: Error building simulator. Build log: clang -Os -fPIC -mfpmath=sse -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. -DOMC_MODEL_PREFIX=Buildings_7_0_0_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_7_0_0_Buildings_ThermalZones_ReducedOrder_Validation_RoomWithoutLatentGain_FMU.o Buildings_7_0_0_Buildings_ThermalZones_ReducedOrder_Validation_RoomWithoutLatentGain_FMU.c In file included from Buildings_7_0_0_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_7_0_0_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_7_0_0_Buildings_ThermalZones_ReducedOrder_Validation_RoomWithoutLatentGain_FMU.c:955: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_7_0_0_Buildings_ThermalZones_ReducedOrder_Validation_RoomWithoutLatentGain_FMU.c:955:82: error: expected expression Buildings_7_0_0_Buildings_ThermalZones_ReducedOrder_Validation_RoomWithoutLatentGain_FMU.c:956:61: warning: missing terminating '"' character [-Winvalid-pp-token] Check output 'satisfied' for when violation(s) happened."); ^ Buildings_7_0_0_Buildings_ThermalZones_ReducedOrder_Validation_RoomWithoutLatentGain_FMU.c:1899:68: error: function definition is not allowed here fmi2Real getReal(ModelInstance* comp, const fmi2ValueReference vr) { ^ Buildings_7_0_0_Buildings_ThermalZones_ReducedOrder_Validation_RoomWithoutLatentGain_FMU.c:1913:92: error: function definition is not allowed here fmi2Status setReal(ModelInstance* comp, const fmi2ValueReference vr, const fmi2Real value) { ^ Buildings_7_0_0_Buildings_ThermalZones_ReducedOrder_Validation_RoomWithoutLatentGain_FMU.c:1929:74: error: function definition is not allowed here fmi2Integer getInteger(ModelInstance* comp, const fmi2ValueReference vr) { ^ Buildings_7_0_0_Buildings_ThermalZones_ReducedOrder_Validation_RoomWithoutLatentGain_FMU.c:1939:98: error: function definition is not allowed here fmi2Status setInteger(ModelInstance* comp, const fmi2ValueReference vr, const fmi2Integer value) { ^ Buildings_7_0_0_Buildings_ThermalZones_ReducedOrder_Validation_RoomWithoutLatentGain_FMU.c:1950:74: error: function definition is not allowed here fmi2Boolean getBoolean(ModelInstance* comp, const fmi2ValueReference vr) { ^ Buildings_7_0_0_Buildings_ThermalZones_ReducedOrder_Validation_RoomWithoutLatentGain_FMU.c:2011:98: error: function definition is not allowed here fmi2Status setBoolean(ModelInstance* comp, const fmi2ValueReference vr, const fmi2Boolean value) { ^ Buildings_7_0_0_Buildings_ThermalZones_ReducedOrder_Validation_RoomWithoutLatentGain_FMU.c:2073:72: error: function definition is not allowed here fmi2String getString(ModelInstance* comp, const fmi2ValueReference vr) { ^ Buildings_7_0_0_Buildings_ThermalZones_ReducedOrder_Validation_RoomWithoutLatentGain_FMU.c:2092:90: error: function definition is not allowed here fmi2Status setString(ModelInstance* comp, const fmi2ValueReference vr, fmi2String value) { ^ Buildings_7_0_0_Buildings_ThermalZones_ReducedOrder_Validation_RoomWithoutLatentGain_FMU.c:2112:97: error: function definition is not allowed here fmi2Status setExternalFunction(ModelInstance* c, const fmi2ValueReference vr, const void* value){ ^ Buildings_7_0_0_Buildings_ThermalZones_ReducedOrder_Validation_RoomWithoutLatentGain_FMU.c:2121:79: error: function definition is not allowed here fmi2ValueReference mapInputReference2InputNumber(const fmi2ValueReference vr) { ^ Buildings_7_0_0_Buildings_ThermalZones_ReducedOrder_Validation_RoomWithoutLatentGain_FMU.c:2128:81: error: function definition is not allowed here fmi2ValueReference mapOutputReference2OutputNumber(const fmi2ValueReference vr) { ^ Buildings_7_0_0_Buildings_ThermalZones_ReducedOrder_Validation_RoomWithoutLatentGain_FMU.c:2138:1: error: expected '}' ^ Buildings_7_0_0_Buildings_ThermalZones_ReducedOrder_Validation_RoomWithoutLatentGain_FMU.c:58:49: note: to match this '{' void setDefaultStartValues(ModelInstance *comp) { ^ 6 warnings and 13 errors generated. : recipe for target 'Buildings_7_0_0_Buildings_ThermalZones_ReducedOrder_Validation_RoomWithoutLatentGain_FMU.o' failed make: *** [Buildings_7_0_0_Buildings_ThermalZones_ReducedOrder_Validation_RoomWithoutLatentGain_FMU.o] Error 1