Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.RoomWithoutLatentGain.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.RoomWithoutLatentGain,fileNamePrefix="Buildings_maint_7_0_x_Buildings_ThermalZones_ReducedOrder_Validation_RoomWithoutLatentGain",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.ReducedOrder.Validation.RoomWithoutLatentGain,fileNamePrefix="Buildings_maint_7_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 7.0.3-maint.7.0.x/package.mo): time 1.556/1.556, allocations: 249.5 MB / 257 MB, free: 7.039 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.001052/0.001052, allocations: 176.8 kB / 316.3 MB, free: 3.293 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.114/2.114, allocations: 205.3 MB / 0.5671 GB, free: 15.89 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.001068/0.001069, allocations: 81.92 kB / 0.6714 GB, free: 5.012 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.903e-05/1.908e-05, allocations: 0 / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2338/0.2339, allocations: 106.3 MB / 0.8853 GB, free: 12.19 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.797/7.031, allocations: 2.473 GB / 3.358 GB, free: 279.2 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004024/7.032, allocations: 86.98 kB / 3.358 GB, free: 279.1 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 2.621/9.653, allocations: 0.6093 GB / 3.968 GB, free: 163.1 MB / 0.8698 GB Notification: Performance of FrontEnd: time 3.386e-06/9.653, allocations: 1.422 kB / 3.968 GB, free: 163.1 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0002704/9.653, allocations: 65.62 kB / 3.968 GB, free: 163.1 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: 316 * Number of variables: 316 Notification: Performance of Generate backend data structure: time 0.007725/9.661, allocations: 2.637 MB / 3.97 GB, free: 162.1 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.465e-05/9.661, allocations: 10.31 kB / 3.97 GB, free: 162.1 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002348/9.663, allocations: 459.1 kB / 3.971 GB, free: 162 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008011/9.671, allocations: 2.662 MB / 3.973 GB, free: 161.6 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001991/9.671, allocations: 100.6 kB / 3.973 GB, free: 161.5 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002118/9.672, allocations: 80.47 kB / 3.973 GB, free: 161.5 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002282/9.674, allocations: 1.045 MB / 3.974 GB, free: 161.5 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002524/9.676, allocations: 1.231 MB / 3.976 GB, free: 161.4 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.126e-05/9.676, allocations: 10.62 kB / 3.976 GB, free: 161.4 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001113/9.677, allocations: 5.312 kB / 3.976 GB, free: 161.4 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.633e-05/9.677, allocations: 43.73 kB / 3.976 GB, free: 161.4 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.01278/9.689, allocations: 6.423 MB / 3.982 GB, free: 158.9 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001888/9.691, allocations: 1.023 MB / 3.983 GB, free: 158.8 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009677/9.692, allocations: 0.5631 MB / 3.983 GB, free: 158.8 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004388/9.693, allocations: 296.7 kB / 3.984 GB, free: 158.5 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001029/9.694, allocations: 0.5828 MB / 3.984 GB, free: 158.4 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=112): time 5.119e-06/9.694, allocations: 0 / 3.984 GB, free: 158.4 MB / 0.8698 GB Notification: Performance of matching and sorting (n=112): time 0.003925/9.698, allocations: 1.39 MB / 3.986 GB, free: 158.2 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.621e-05/9.698, allocations: 68.05 kB / 3.986 GB, free: 158.1 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007095/9.705, allocations: 3.365 MB / 3.989 GB, free: 157.9 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0003041/9.705, allocations: 39.66 kB / 3.989 GB, free: 157.9 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.001285/9.707, allocations: 1.268 MB / 3.99 GB, free: 157.6 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004496/9.707, allocations: 356.7 kB / 3.991 GB, free: 157.5 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.25e-05/9.707, allocations: 0 / 3.991 GB, free: 157.5 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001245/9.707, allocations: 354.9 kB / 3.991 GB, free: 157.2 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007703/9.708, allocations: 401.1 kB / 3.991 GB, free: 157.1 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000885/9.709, allocations: 0.645 MB / 3.992 GB, free: 156.9 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001205/9.71, allocations: 0.527 MB / 3.993 GB, free: 156.9 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.386e-06/9.71, allocations: 0.9688 kB / 3.993 GB, free: 156.9 MB / 0.8698 GB Notification: Performance of matching and sorting (n=156) (initialization): time 0.003745/9.714, allocations: 1.545 MB / 3.994 GB, free: 156.6 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 3.121e-05/9.714, allocations: 7.188 kB / 3.994 GB, free: 156.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.015e-05/9.714, allocations: 6.531 kB / 3.994 GB, free: 156.6 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006409/9.715, allocations: 207.6 kB / 3.994 GB, free: 156.6 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009712/9.716, allocations: 252.4 kB / 3.994 GB, free: 156.6 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004176/9.72, allocations: 4.051 MB / 3.998 GB, free: 154 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002317/9.722, allocations: 172.9 kB / 3.999 GB, free: 154 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001297/9.722, allocations: 47.66 kB / 3.999 GB, free: 154 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.0003338/9.723, allocations: 165.5 kB / 3.999 GB, free: 153.9 MB / 0.8698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.003073/9.726, allocations: 1.362 MB / 4 GB, free: 153.7 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005847/9.726, allocations: 283.2 kB / 4 GB, free: 153.5 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002946/9.729, allocations: 1.498 MB / 4.002 GB, free: 153.4 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.122e-05/9.729, allocations: 10.59 kB / 4.002 GB, free: 153.4 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.726e-06/9.729, allocations: 7.766 kB / 4.002 GB, free: 153.4 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001858/9.731, allocations: 1.296 MB / 4.003 GB, free: 153.1 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007156/9.738, allocations: 3.82 MB / 4.007 GB, free: 152.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.011e-06/9.738, allocations: 3.25 kB / 4.007 GB, free: 152.7 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007478/9.739, allocations: 172.3 kB / 4.007 GB, free: 152.7 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004788/9.74, allocations: 207.1 kB / 4.007 GB, free: 152.7 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.462e-05/9.74, allocations: 16.39 kB / 4.007 GB, free: 152.7 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003489/9.743, allocations: 4.026 MB / 4.011 GB, free: 150.1 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.559e-06/9.743, allocations: 3.469 kB / 4.011 GB, free: 150.1 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004037/9.747, allocations: 2.275 MB / 4.013 GB, free: 149.5 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001887/9.749, allocations: 0.6333 MB / 4.014 GB, free: 149.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009432/9.75, allocations: 24.83 kB / 4.014 GB, free: 149.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00175/9.752, allocations: 93.8 kB / 4.014 GB, free: 149.3 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002789/9.752, allocations: 109.1 kB / 4.014 GB, free: 149.3 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001134/9.752, allocations: 43.42 kB / 4.014 GB, free: 149.3 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.005472/9.758, allocations: 2.63 MB / 4.017 GB, free: 149.1 MB / 0.8698 GB Notification: Performance of sort global known variables: time 2.4e-07/9.758, allocations: 0 / 4.017 GB, free: 149.1 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.003779/9.762, allocations: 0.7148 MB / 4.018 GB, free: 149.1 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 (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.00823/9.77, allocations: 4.877 MB / 4.022 GB, free: 147.5 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.002661/9.773, allocations: 1.318 MB / 4.024 GB, free: 147.2 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 9.668e-06/9.773, allocations: 3.875 kB / 4.024 GB, free: 147.2 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.00136/9.774, allocations: 0.823 MB / 4.024 GB, free: 147 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004247/9.778, allocations: 0.5208 MB / 4.025 GB, free: 147 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01584/9.794, allocations: 5.59 MB / 4.03 GB, free: 146 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003014/9.797, allocations: 1.978 MB / 4.032 GB, free: 145.2 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.002155/9.799, allocations: 421.3 kB / 4.033 GB, free: 145.2 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002227/9.802, allocations: 1.099 MB / 4.034 GB, free: 145.2 MB / 0.8698 GB Notification: Performance of SimCode: time 1.332e-06/9.802, allocations: 0 / 4.034 GB, free: 145.2 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.123/9.925, allocations: 59.63 MB / 4.092 GB, free: 143 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001957/9.925, allocations: 194.8 kB / 4.092 GB, free: 142.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_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_7_0_x_Buildings_ThermalZones_ReducedOrder_Validation_RoomWithoutLatentGain_FMU.o Buildings_maint_7_0_x_Buildings_ThermalZones_ReducedOrder_Validation_RoomWithoutLatentGain_FMU.c In file included from Buildings_maint_7_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_7_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_7_0_x_Buildings_ThermalZones_ReducedOrder_Validation_RoomWithoutLatentGain_FMU.c:959: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_RoomWithoutLatentGain_FMU.c:959:82: error: expected expression Buildings_maint_7_0_x_Buildings_ThermalZones_ReducedOrder_Validation_RoomWithoutLatentGain_FMU.c:960: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_RoomWithoutLatentGain_FMU.c:1907:68: error: function definition is not allowed here fmi2Real getReal(ModelInstance* comp, const fmi2ValueReference vr) { ^ Buildings_maint_7_0_x_Buildings_ThermalZones_ReducedOrder_Validation_RoomWithoutLatentGain_FMU.c:1921: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_RoomWithoutLatentGain_FMU.c:1937:74: error: function definition is not allowed here fmi2Integer getInteger(ModelInstance* comp, const fmi2ValueReference vr) { ^ Buildings_maint_7_0_x_Buildings_ThermalZones_ReducedOrder_Validation_RoomWithoutLatentGain_FMU.c:1947: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_RoomWithoutLatentGain_FMU.c:1958:74: error: function definition is not allowed here fmi2Boolean getBoolean(ModelInstance* comp, const fmi2ValueReference vr) { ^ Buildings_maint_7_0_x_Buildings_ThermalZones_ReducedOrder_Validation_RoomWithoutLatentGain_FMU.c:2019: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_RoomWithoutLatentGain_FMU.c:2081:72: error: function definition is not allowed here fmi2String getString(ModelInstance* comp, const fmi2ValueReference vr) { ^ Buildings_maint_7_0_x_Buildings_ThermalZones_ReducedOrder_Validation_RoomWithoutLatentGain_FMU.c:2100: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_RoomWithoutLatentGain_FMU.c:2120: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_RoomWithoutLatentGain_FMU.c:2129:79: error: function definition is not allowed here fmi2ValueReference mapInputReference2InputNumber(const fmi2ValueReference vr) { ^ Buildings_maint_7_0_x_Buildings_ThermalZones_ReducedOrder_Validation_RoomWithoutLatentGain_FMU.c:2136:81: error: function definition is not allowed here fmi2ValueReference mapOutputReference2OutputNumber(const fmi2ValueReference vr) { ^ Buildings_maint_7_0_x_Buildings_ThermalZones_ReducedOrder_Validation_RoomWithoutLatentGain_FMU.c:2146:1: error: expected '}' ^ Buildings_maint_7_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_7_0_x_Buildings_ThermalZones_ReducedOrder_Validation_RoomWithoutLatentGain_FMU.o] Error 1