Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.ThermalZones.ReducedOrder.Validation.RoomWithLatentGain.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.ThermalZones.ReducedOrder.Validation.RoomWithLatentGain,fileNamePrefix="Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_RoomWithLatentGain",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.ReducedOrder.Validation.RoomWithLatentGain,fileNamePrefix="Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_RoomWithLatentGain",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 2.158/2.158, allocations: 289.9 MB / 297.4 MB, free: 6.402 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001748/0.001748, allocations: 172.8 kB / 366.7 MB, free: 1.656 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.282/2.282, allocations: 205.2 MB / 0.626 GB, free: 7.16 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001093/0.001093, allocations: 92.81 kB / 0.74 GB, free: 39.54 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.051e-05/2.052e-05, allocations: 0 / 0.8598 GB, free: 13 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8798/0.8799, allocations: 116.3 MB / 0.9733 GB, free: 76.37 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.05/7.93, allocations: 2.355 GB / 3.328 GB, free: 86 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002828/7.93, allocations: 87.14 kB / 3.328 GB, free: 85.95 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 2.809/10.74, allocations: 0.6229 GB / 3.951 GB, free: 198.1 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.945e-06/10.74, allocations: 0 / 3.951 GB, free: 198.1 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0005682/10.74, allocations: 68.34 kB / 3.951 GB, free: 198 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 313 * Number of variables: 313 Notification: Performance of Generate backend data structure: time 0.009565/10.75, allocations: 2.638 MB / 3.954 GB, free: 196.2 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 6.235e-05/10.75, allocations: 10.22 kB / 3.954 GB, free: 196.2 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003428/10.75, allocations: 462.6 kB / 3.954 GB, free: 196 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009134/10.76, allocations: 2.649 MB / 3.957 GB, free: 194.4 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002626/10.76, allocations: 98 kB / 3.957 GB, free: 194.3 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007148/10.76, allocations: 80.8 kB / 3.957 GB, free: 194.3 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00347/10.77, allocations: 1.045 MB / 3.958 GB, free: 193.6 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003981/10.77, allocations: 1.229 MB / 3.959 GB, free: 192.4 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.023e-05/10.77, allocations: 0 / 3.959 GB, free: 192.4 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002745/10.77, allocations: 0 / 3.959 GB, free: 192.4 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.034e-05/10.77, allocations: 50.36 kB / 3.959 GB, free: 192.3 MB / 0.948 GB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01343/10.78, allocations: 6.415 MB / 3.965 GB, free: 185.6 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001932/10.79, allocations: 1.054 MB / 3.966 GB, free: 184.5 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009406/10.79, allocations: 0.5747 MB / 3.967 GB, free: 183.9 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005149/10.79, allocations: 296.5 kB / 3.967 GB, free: 183.6 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001053/10.79, allocations: 0.5767 MB / 3.968 GB, free: 183 MB / 0.948 GB Notification: Performance of pre-optimization done (n=113): time 7.043e-06/10.79, allocations: 0 / 3.968 GB, free: 183 MB / 0.948 GB Notification: Performance of matching and sorting (n=113): time 0.004045/10.79, allocations: 1.413 MB / 3.969 GB, free: 181.6 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.793e-05/10.79, allocations: 68.7 kB / 3.969 GB, free: 181.5 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01013/10.8, allocations: 3.354 MB / 3.972 GB, free: 178.1 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0004492/10.8, allocations: 37.69 kB / 3.972 GB, free: 178.1 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001878/10.81, allocations: 1.29 MB / 3.974 GB, free: 176.8 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007696/10.81, allocations: 366.7 kB / 3.974 GB, free: 176.4 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001901/10.81, allocations: 0 / 3.974 GB, free: 176.4 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001919/10.81, allocations: 353.5 kB / 3.974 GB, free: 176.1 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000876/10.81, allocations: 410.4 kB / 3.975 GB, free: 175.7 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001049/10.81, allocations: 0.6583 MB / 3.975 GB, free: 174.9 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001441/10.81, allocations: 0.5254 MB / 3.976 GB, free: 174.4 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.649e-05/10.81, allocations: 4 kB / 3.976 GB, free: 174.4 MB / 0.948 GB Notification: Performance of matching and sorting (n=156) (initialization): time 0.004038/10.81, allocations: 1.554 MB / 3.977 GB, free: 172.8 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 3.971e-05/10.81, allocations: 8.938 kB / 3.977 GB, free: 172.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.271e-05/10.81, allocations: 7.984 kB / 3.977 GB, free: 172.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006831/10.82, allocations: 207 kB / 3.978 GB, free: 172.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001006/10.82, allocations: 251.8 kB / 3.978 GB, free: 172.3 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004547/10.82, allocations: 4.043 MB / 3.982 GB, free: 168.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002898/10.82, allocations: 174.9 kB / 3.982 GB, free: 167.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002808/10.82, allocations: 47.98 kB / 3.982 GB, free: 167.8 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 35 ($PRE.assEqu.nFai,assEqu.nFai,$whenCondition8,$whenCondition7,$PRE.intGai.nextTimeEvent,$whenCondition6,$PRE.reference.nextTimeEvent,$whenCondition5,$PRE.outdoorTemp.nextTimeEvent,$whenCondition4,$PRE.tableSolRadWindow.nextTimeEvent,$whenCondition3,$PRE.ventRate.nextTimeEvent,$whenCondition1,$whenCondition2,reference.nextTimeEvent,$PRE.reference.nextTimeEventScaled,reference.nextTimeEventScaled,$PRE.assEqu.satisfied,assEqu.satisfied,$PRE.mean.y,mean.y,intGai.nextTimeEvent,$PRE.intGai.nextTimeEventScaled,intGai.nextTimeEventScaled,outdoorTemp.nextTimeEvent,$PRE.outdoorTemp.nextTimeEventScaled,outdoorTemp.nextTimeEventScaled,tableSolRadWindow.nextTimeEvent,$PRE.tableSolRadWindow.nextTimeEventScaled,tableSolRadWindow.nextTimeEventScaled,greaterThreshold1.y,ventRate.nextTimeEvent,$PRE.ventRate.nextTimeEventScaled,ventRate.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (137): * Single equations (assignments): 135 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 15,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005538/10.82, allocations: 141.9 kB / 3.982 GB, free: 167.7 MB / 0.948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.004405/10.83, allocations: 1.378 MB / 3.984 GB, free: 166.3 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001425/10.83, allocations: 288.5 kB / 3.984 GB, free: 166 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004069/10.83, allocations: 1.509 MB / 3.985 GB, free: 164.5 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.704e-05/10.83, allocations: 12 kB / 3.985 GB, free: 164.5 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.849e-05/10.83, allocations: 0 / 3.985 GB, free: 164.5 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002219/10.84, allocations: 1.311 MB / 3.987 GB, free: 163.1 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01214/10.85, allocations: 3.834 MB / 3.99 GB, free: 159.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.797e-05/10.85, allocations: 3.984 kB / 3.99 GB, free: 159.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001015/10.85, allocations: 179.8 kB / 3.991 GB, free: 159.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006522/10.85, allocations: 201.8 kB / 3.991 GB, free: 158.9 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001431/10.85, allocations: 15.98 kB / 3.991 GB, free: 158.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004675/10.86, allocations: 4.046 MB / 3.995 GB, free: 154.6 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.206e-05/10.86, allocations: 4.031 kB / 3.995 GB, free: 154.6 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005831/10.86, allocations: 2.303 MB / 3.997 GB, free: 152.2 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002548/10.86, allocations: 0.6261 MB / 3.998 GB, free: 151.5 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001198/10.87, allocations: 19.98 kB / 3.998 GB, free: 151.5 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002068/10.87, allocations: 99.75 kB / 3.998 GB, free: 151.4 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003572/10.87, allocations: 109.1 kB / 3.998 GB, free: 151.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001272/10.87, allocations: 39.97 kB / 3.998 GB, free: 151.3 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.006166/10.87, allocations: 2.626 MB / 4 GB, free: 148.6 MB / 0.948 GB Notification: Performance of sort global known variables: time 3.5e-07/10.87, allocations: 4 kB / 4 GB, free: 148.6 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.004212/10.88, allocations: 0.7175 MB / 4.001 GB, free: 147.9 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 7 (thermalZoneTwoElements.volMoiAir.dynBal.U,thermalZoneTwoElements.volMoiAir.dynBal.m,thermalZoneTwoElements.volMoiAir.dynBal.mXi[1],thermalZoneTwoElements.extWallRC.thermCapExt[1].T,thermalZoneTwoElements.intWallRC.thermCapInt[1].T,assEqu.diff,mean.x) * Number of discrete variables: 22 ($whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,intGai.nextTimeEvent,intGai.nextTimeEventScaled,reference.nextTimeEvent,reference.nextTimeEventScaled,outdoorTemp.nextTimeEvent,outdoorTemp.nextTimeEventScaled,tableSolRadWindow.nextTimeEvent,tableSolRadWindow.nextTimeEventScaled,greaterThreshold1.y,ventRate.nextTimeEvent,ventRate.nextTimeEventScaled,assEqu.satisfied,assEqu.nFai,mean.y) * Number of discrete states: 13 (intGai.nextTimeEvent,reference.nextTimeEvent,outdoorTemp.nextTimeEvent,tableSolRadWindow.nextTimeEvent,ventRate.nextTimeEvent,mean.x,assEqu.satisfied,assEqu.nFai,ventRate.nextTimeEventScaled,tableSolRadWindow.nextTimeEventScaled,outdoorTemp.nextTimeEventScaled,reference.nextTimeEventScaled,intGai.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (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.008399/10.89, allocations: 4.88 MB / 4.006 GB, free: 143.2 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002436/10.89, allocations: 1.331 MB / 4.007 GB, free: 141.8 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 5.51e-06/10.89, allocations: 0 / 4.007 GB, free: 141.8 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.001229/10.89, allocations: 0.8291 MB / 4.008 GB, free: 141 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003745/10.89, allocations: 0.518 MB / 4.008 GB, free: 140.5 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01323/10.91, allocations: 5.584 MB / 4.014 GB, free: 134.8 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002546/10.91, allocations: 1.981 MB / 4.016 GB, free: 132.8 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.001866/10.91, allocations: 422.1 kB / 4.016 GB, free: 132.4 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001873/10.91, allocations: 1.093 MB / 4.017 GB, free: 131.3 MB / 0.948 GB Notification: Performance of SimCode: time 2.004e-06/10.91, allocations: 0 / 4.017 GB, free: 131.3 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1235/11.04, allocations: 59.69 MB / 4.076 GB, free: 71.73 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000271/11.04, allocations: 190.6 kB / 4.076 GB, free: 71.53 MB / 0.948 GB Error: Error building simulator. Build log: clang -Os -fPIC -falign-functions -mfpmath=sse -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. -DOMC_MODEL_PREFIX=Buildings_8_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_8_Buildings_ThermalZones_ReducedOrder_Validation_RoomWithLatentGain_FMU.o Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_RoomWithLatentGain_FMU.c In file included from Buildings_8_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_8_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_8_Buildings_ThermalZones_ReducedOrder_Validation_RoomWithLatentGain_FMU.c:960: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_8_Buildings_ThermalZones_ReducedOrder_Validation_RoomWithLatentGain_FMU.c:960:82: error: expected expression Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_RoomWithLatentGain_FMU.c:961:61: warning: missing terminating '"' character [-Winvalid-pp-token] Check output 'satisfied' for when violation(s) happened."); ^ Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_RoomWithLatentGain_FMU.c:1913:68: error: function definition is not allowed here fmi2Real getReal(ModelInstance* comp, const fmi2ValueReference vr) { ^ Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_RoomWithLatentGain_FMU.c:1927:92: error: function definition is not allowed here fmi2Status setReal(ModelInstance* comp, const fmi2ValueReference vr, const fmi2Real value) { ^ Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_RoomWithLatentGain_FMU.c:1943:74: error: function definition is not allowed here fmi2Integer getInteger(ModelInstance* comp, const fmi2ValueReference vr) { ^ Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_RoomWithLatentGain_FMU.c:1953:98: error: function definition is not allowed here fmi2Status setInteger(ModelInstance* comp, const fmi2ValueReference vr, const fmi2Integer value) { ^ Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_RoomWithLatentGain_FMU.c:1964:74: error: function definition is not allowed here fmi2Boolean getBoolean(ModelInstance* comp, const fmi2ValueReference vr) { ^ Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_RoomWithLatentGain_FMU.c:2027:98: error: function definition is not allowed here fmi2Status setBoolean(ModelInstance* comp, const fmi2ValueReference vr, const fmi2Boolean value) { ^ Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_RoomWithLatentGain_FMU.c:2091:72: error: function definition is not allowed here fmi2String getString(ModelInstance* comp, const fmi2ValueReference vr) { ^ Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_RoomWithLatentGain_FMU.c:2112:90: error: function definition is not allowed here fmi2Status setString(ModelInstance* comp, const fmi2ValueReference vr, fmi2String value) { ^ Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_RoomWithLatentGain_FMU.c:2134:97: error: function definition is not allowed here fmi2Status setExternalFunction(ModelInstance* c, const fmi2ValueReference vr, const void* value){ ^ Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_RoomWithLatentGain_FMU.c:2143:79: error: function definition is not allowed here fmi2ValueReference mapInputReference2InputNumber(const fmi2ValueReference vr) { ^ Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_RoomWithLatentGain_FMU.c:2150:81: error: function definition is not allowed here fmi2ValueReference mapOutputReference2OutputNumber(const fmi2ValueReference vr) { ^ Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_RoomWithLatentGain_FMU.c:2160:1: error: expected '}' ^ Buildings_8_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_8_Buildings_ThermalZones_ReducedOrder_Validation_RoomWithLatentGain_FMU.o] Error 1