Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.ThermalZones.ReducedOrder.Validation.RoomWithLatentGain.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.ThermalZones.ReducedOrder.Validation.RoomWithLatentGain,fileNamePrefix="Buildings_maint_8_0_x_Buildings_ThermalZones_ReducedOrder_Validation_RoomWithLatentGain",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.ReducedOrder.Validation.RoomWithLatentGain,fileNamePrefix="Buildings_maint_8_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 8.0.1-maint.8.0.x/package.mo): time 1.896/1.896, allocations: 285.6 MB / 293.1 MB, free: 10.23 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.001458/0.001458, allocations: 176.9 kB / 361.4 MB, free: 6.828 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.147/2.147, allocations: 205.3 MB / 0.62 GB, free: 11.67 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.0009783/0.0009782, allocations: 93.44 kB / 0.733 GB, free: 44.18 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.725e-05/2.742e-05, allocations: 0 / 0.8518 GB, free: 2.676 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7743/0.7744, allocations: 115.3 MB / 0.9644 GB, free: 78.85 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.728/7.502, allocations: 2.354 GB / 3.318 GB, free: 171.9 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002709/7.503, allocations: 86.25 kB / 3.318 GB, free: 171.8 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 2.916/10.42, allocations: 0.6229 GB / 3.941 GB, free: 206.4 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.074e-06/10.42, allocations: 0 / 3.941 GB, free: 206.4 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.000248/10.42, allocations: 66.27 kB / 3.941 GB, free: 206.4 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.007824/10.43, allocations: 2.641 MB / 3.944 GB, free: 205.3 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 6.137e-05/10.43, allocations: 8.469 kB / 3.944 GB, free: 205.3 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002732/10.43, allocations: 471.2 kB / 3.944 GB, free: 205.1 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008162/10.44, allocations: 2.649 MB / 3.947 GB, free: 204.6 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000189/10.44, allocations: 101.2 kB / 3.947 GB, free: 204.6 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002259/10.44, allocations: 80.16 kB / 3.947 GB, free: 204.6 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002225/10.44, allocations: 1.044 MB / 3.948 GB, free: 204.6 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002218/10.44, allocations: 1.219 MB / 3.949 GB, free: 204.4 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.592e-05/10.44, allocations: 3.844 kB / 3.949 GB, free: 204.4 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001051/10.44, allocations: 6.484 kB / 3.949 GB, free: 204.4 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.844e-05/10.44, allocations: 43.3 kB / 3.949 GB, free: 204.4 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.01095/10.45, allocations: 6.421 MB / 3.955 GB, free: 201.9 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001747/10.46, allocations: 1.044 MB / 3.956 GB, free: 201.8 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008496/10.46, allocations: 0.5724 MB / 3.957 GB, free: 201.8 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004409/10.46, allocations: 299.2 kB / 3.957 GB, free: 201.5 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009258/10.46, allocations: 0.5759 MB / 3.958 GB, free: 201.4 MB / 0.948 GB Notification: Performance of pre-optimization done (n=113): time 4.589e-06/10.46, allocations: 3.5 kB / 3.958 GB, free: 201.4 MB / 0.948 GB Notification: Performance of matching and sorting (n=113): time 0.00342/10.46, allocations: 1.402 MB / 3.959 GB, free: 201.2 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.353e-05/10.46, allocations: 66.34 kB / 3.959 GB, free: 201.1 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00619/10.47, allocations: 3.37 MB / 3.963 GB, free: 200.9 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0003202/10.47, allocations: 29.64 kB / 3.963 GB, free: 200.8 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001134/10.47, allocations: 1.29 MB / 3.964 GB, free: 200.6 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004544/10.47, allocations: 358.8 kB / 3.964 GB, free: 200.3 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.247e-05/10.47, allocations: 2.875 kB / 3.964 GB, free: 200.3 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001131/10.47, allocations: 354.7 kB / 3.965 GB, free: 200 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006514/10.47, allocations: 406 kB / 3.965 GB, free: 200 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008393/10.47, allocations: 0.66 MB / 3.966 GB, free: 199.8 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001128/10.47, allocations: 0.5296 MB / 3.966 GB, free: 199.7 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.574e-06/10.47, allocations: 0 / 3.966 GB, free: 199.7 MB / 0.948 GB Notification: Performance of matching and sorting (n=156) (initialization): time 0.003675/10.48, allocations: 1.551 MB / 3.968 GB, free: 199.5 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 3.595e-05/10.48, allocations: 7.938 kB / 3.968 GB, free: 199.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.25e-05/10.48, allocations: 7.719 kB / 3.968 GB, free: 199.5 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007571/10.48, allocations: 209.9 kB / 3.968 GB, free: 199.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000988/10.48, allocations: 251.1 kB / 3.968 GB, free: 199.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00463/10.48, allocations: 4.026 MB / 3.972 GB, free: 196.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00223/10.48, allocations: 181.2 kB / 3.972 GB, free: 196.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001843/10.49, allocations: 50.38 kB / 3.972 GB, free: 196.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.0003627/10.49, allocations: 158.7 kB / 3.972 GB, free: 196.7 MB / 0.948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.003301/10.49, allocations: 1.38 MB / 3.974 GB, free: 196.5 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000864/10.49, allocations: 283.1 kB / 3.974 GB, free: 196.3 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003345/10.49, allocations: 1.513 MB / 3.975 GB, free: 196.2 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.27e-05/10.49, allocations: 21.14 kB / 3.975 GB, free: 196.2 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.27e-05/10.49, allocations: 3.906 kB / 3.976 GB, free: 196.2 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002083/10.5, allocations: 1.299 MB / 3.977 GB, free: 195.8 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008909/10.5, allocations: 3.829 MB / 3.981 GB, free: 194.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.748e-06/10.5, allocations: 3.219 kB / 3.981 GB, free: 194.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008275/10.5, allocations: 183.7 kB / 3.981 GB, free: 194.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005444/10.51, allocations: 198.2 kB / 3.981 GB, free: 194.3 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001095/10.51, allocations: 29.73 kB / 3.981 GB, free: 194.3 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004228/10.51, allocations: 4.042 MB / 3.985 GB, free: 191 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.051e-06/10.51, allocations: 3.609 kB / 3.985 GB, free: 191 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004857/10.51, allocations: 2.301 MB / 3.987 GB, free: 189.9 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001991/10.52, allocations: 0.6277 MB / 3.988 GB, free: 189.6 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008731/10.52, allocations: 21.77 kB / 3.988 GB, free: 189.6 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001707/10.52, allocations: 94.36 kB / 3.988 GB, free: 189.6 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003096/10.52, allocations: 101.1 kB / 3.988 GB, free: 189.5 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001045/10.52, allocations: 47.77 kB / 3.988 GB, free: 189.5 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.005535/10.53, allocations: 2.631 MB / 3.991 GB, free: 188.6 MB / 0.948 GB Notification: Performance of sort global known variables: time 3e-07/10.53, allocations: 0 / 3.991 GB, free: 188.6 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.003947/10.53, allocations: 0.7171 MB / 3.991 GB, free: 188.4 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.008733/10.54, allocations: 4.878 MB / 3.996 GB, free: 186.1 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.003105/10.54, allocations: 1.339 MB / 3.997 GB, free: 185.5 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 7.515e-06/10.54, allocations: 0 / 3.997 GB, free: 185.5 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.001509/10.54, allocations: 0.8262 MB / 3.998 GB, free: 185.1 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004351/10.55, allocations: 0.5064 MB / 3.999 GB, free: 184.9 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01722/10.56, allocations: 5.583 MB / 4.004 GB, free: 183.3 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003364/10.57, allocations: 1.982 MB / 4.006 GB, free: 182.4 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.002204/10.57, allocations: 425.3 kB / 4.006 GB, free: 182.4 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002396/10.57, allocations: 1.098 MB / 4.007 GB, free: 181.5 MB / 0.948 GB Notification: Performance of SimCode: time 1.973e-06/10.57, allocations: 0 / 4.007 GB, free: 181.5 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1435/10.72, allocations: 59.71 MB / 4.066 GB, free: 152 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002869/10.72, allocations: 195.1 kB / 4.066 GB, free: 151.8 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_maint_8_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_8_0_x_Buildings_ThermalZones_ReducedOrder_Validation_RoomWithLatentGain_FMU.o Buildings_maint_8_0_x_Buildings_ThermalZones_ReducedOrder_Validation_RoomWithLatentGain_FMU.c In file included from Buildings_maint_8_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_8_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_8_0_x_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_maint_8_0_x_Buildings_ThermalZones_ReducedOrder_Validation_RoomWithLatentGain_FMU.c:960:82: error: expected expression Buildings_maint_8_0_x_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_maint_8_0_x_Buildings_ThermalZones_ReducedOrder_Validation_RoomWithLatentGain_FMU.c:1913:68: error: function definition is not allowed here fmi2Real getReal(ModelInstance* comp, const fmi2ValueReference vr) { ^ Buildings_maint_8_0_x_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_maint_8_0_x_Buildings_ThermalZones_ReducedOrder_Validation_RoomWithLatentGain_FMU.c:1943:74: error: function definition is not allowed here fmi2Integer getInteger(ModelInstance* comp, const fmi2ValueReference vr) { ^ Buildings_maint_8_0_x_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_maint_8_0_x_Buildings_ThermalZones_ReducedOrder_Validation_RoomWithLatentGain_FMU.c:1964:74: error: function definition is not allowed here fmi2Boolean getBoolean(ModelInstance* comp, const fmi2ValueReference vr) { ^ Buildings_maint_8_0_x_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_maint_8_0_x_Buildings_ThermalZones_ReducedOrder_Validation_RoomWithLatentGain_FMU.c:2091:72: error: function definition is not allowed here fmi2String getString(ModelInstance* comp, const fmi2ValueReference vr) { ^ Buildings_maint_8_0_x_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_maint_8_0_x_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_maint_8_0_x_Buildings_ThermalZones_ReducedOrder_Validation_RoomWithLatentGain_FMU.c:2143:79: error: function definition is not allowed here fmi2ValueReference mapInputReference2InputNumber(const fmi2ValueReference vr) { ^ Buildings_maint_8_0_x_Buildings_ThermalZones_ReducedOrder_Validation_RoomWithLatentGain_FMU.c:2150:81: error: function definition is not allowed here fmi2ValueReference mapOutputReference2OutputNumber(const fmi2ValueReference vr) { ^ Buildings_maint_8_0_x_Buildings_ThermalZones_ReducedOrder_Validation_RoomWithLatentGain_FMU.c:2160:1: error: expected '}' ^ Buildings_maint_8_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_8_0_x_Buildings_ThermalZones_ReducedOrder_Validation_RoomWithLatentGain_FMU.o] Error 1