Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.ThermalZones.ReducedOrder.Validation.RoomWithLatentGain.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.ThermalZones.ReducedOrder.Validation.RoomWithLatentGain,fileNamePrefix="Buildings_8_0_0_Buildings_ThermalZones_ReducedOrder_Validation_RoomWithLatentGain",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.ReducedOrder.Validation.RoomWithLatentGain,fileNamePrefix="Buildings_8_0_0_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.0/package.mo): time 2.461/2.461, allocations: 284.9 MB / 292.4 MB, free: 10.54 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.001512/0.001512, allocations: 184.8 kB / 360.6 MB, free: 7.281 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.092/2.092, allocations: 205.2 MB / 0.6191 GB, free: 12.19 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.001094/0.001094, allocations: 98.88 kB / 0.7321 GB, free: 44.72 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.069e-05/3.092e-05, allocations: 4 kB / 0.8508 GB, free: 3.336 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8822/0.8823, allocations: 115.3 MB / 0.9634 GB, free: 78.52 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.118/8.001, allocations: 2.353 GB / 3.316 GB, free: 127.4 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002956/8.001, allocations: 87.14 kB / 3.317 GB, free: 127.3 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 3.56/11.56, allocations: 0.6215 GB / 3.938 GB, free: 209.2 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.465e-06/11.56, allocations: 0 / 3.938 GB, free: 209.2 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0004157/11.56, allocations: 57.44 kB / 3.938 GB, free: 209.2 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: 312 * Number of variables: 312 Notification: Performance of Generate backend data structure: time 0.009052/11.57, allocations: 2.606 MB / 3.941 GB, free: 207.9 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 6.388e-05/11.57, allocations: 15.41 kB / 3.941 GB, free: 207.9 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003538/11.57, allocations: 457.7 kB / 3.941 GB, free: 207.8 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01101/11.59, allocations: 2.667 MB / 3.944 GB, free: 206.8 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002365/11.59, allocations: 96.58 kB / 3.944 GB, free: 206.7 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002847/11.59, allocations: 75.72 kB / 3.944 GB, free: 206.7 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002987/11.59, allocations: 1.033 MB / 3.945 GB, free: 206.3 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0032/11.59, allocations: 1.22 MB / 3.946 GB, free: 205.8 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.342e-05/11.59, allocations: 7.531 kB / 3.946 GB, free: 205.8 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001927/11.59, allocations: 9.406 kB / 3.946 GB, free: 205.8 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.099e-05/11.59, allocations: 46.56 kB / 3.946 GB, free: 205.8 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.01433/11.61, allocations: 6.283 MB / 3.952 GB, free: 202 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002862/11.61, allocations: 1.141 MB / 3.953 GB, free: 201.4 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001326/11.61, allocations: 0.5689 MB / 3.954 GB, free: 201.2 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005678/11.61, allocations: 289.5 kB / 3.954 GB, free: 200.9 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001379/11.61, allocations: 0.5839 MB / 3.955 GB, free: 200.7 MB / 0.948 GB Notification: Performance of pre-optimization done (n=111): time 5.25e-06/11.61, allocations: 0 / 3.955 GB, free: 200.7 MB / 0.948 GB Notification: Performance of matching and sorting (n=111): time 0.004676/11.62, allocations: 1.397 MB / 3.956 GB, free: 200.1 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.841e-05/11.62, allocations: 67.19 kB / 3.956 GB, free: 200.1 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008822/11.63, allocations: 3.36 MB / 3.959 GB, free: 198.9 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0003494/11.63, allocations: 42.06 kB / 3.959 GB, free: 198.9 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.00154/11.63, allocations: 1.299 MB / 3.961 GB, free: 197.9 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005823/11.63, allocations: 350.3 kB / 3.961 GB, free: 197.6 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.706e-05/11.63, allocations: 2.812 kB / 3.961 GB, free: 197.6 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001184/11.63, allocations: 354.2 kB / 3.961 GB, free: 197.3 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009617/11.63, allocations: 391.1 kB / 3.962 GB, free: 197.2 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001122/11.63, allocations: 0.6474 MB / 3.962 GB, free: 196.7 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001586/11.63, allocations: 0.5253 MB / 3.963 GB, free: 196.5 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.238e-05/11.63, allocations: 3.938 kB / 3.963 GB, free: 196.5 MB / 0.948 GB Notification: Performance of matching and sorting (n=153) (initialization): time 0.00458/11.64, allocations: 1.533 MB / 3.964 GB, free: 195.9 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 3.116e-05/11.64, allocations: 7.406 kB / 3.964 GB, free: 195.9 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.822e-05/11.64, allocations: 7.453 kB / 3.964 GB, free: 195.9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000891/11.64, allocations: 219 kB / 3.965 GB, free: 195.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001769/11.64, allocations: 226.2 kB / 3.965 GB, free: 195.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006026/11.65, allocations: 4.044 MB / 3.969 GB, free: 192.5 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002741/11.65, allocations: 157.4 kB / 3.969 GB, free: 192.5 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002546/11.65, allocations: 44.12 kB / 3.969 GB, free: 192.5 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 (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.0003809/11.65, allocations: 154.5 kB / 3.969 GB, free: 192.3 MB / 0.948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.004232/11.65, allocations: 1.366 MB / 3.97 GB, free: 191.8 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008976/11.66, allocations: 289.2 kB / 3.971 GB, free: 191.6 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00446/11.66, allocations: 1.503 MB / 3.972 GB, free: 191.1 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.808e-05/11.66, allocations: 13.59 kB / 3.972 GB, free: 191.1 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.867e-06/11.66, allocations: 3.906 kB / 3.972 GB, free: 191.1 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003192/11.66, allocations: 1.3 MB / 3.974 GB, free: 190.5 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01133/11.67, allocations: 3.781 MB / 3.977 GB, free: 189 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.183e-05/11.67, allocations: 3.906 kB / 3.977 GB, free: 189 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001497/11.68, allocations: 168.4 kB / 3.977 GB, free: 189 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008535/11.68, allocations: 207.9 kB / 3.978 GB, free: 188.9 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001677/11.68, allocations: 19.2 kB / 3.978 GB, free: 188.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005341/11.68, allocations: 4.036 MB / 3.982 GB, free: 185.6 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.097e-06/11.68, allocations: 3.938 kB / 3.982 GB, free: 185.6 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005749/11.69, allocations: 2.293 MB / 3.984 GB, free: 184.5 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002337/11.69, allocations: 0.6191 MB / 3.984 GB, free: 184.1 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000563/11.69, allocations: 21.2 kB / 3.984 GB, free: 184.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001812/11.69, allocations: 103.3 kB / 3.984 GB, free: 184.1 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003414/11.69, allocations: 106.2 kB / 3.985 GB, free: 184.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001156/11.69, allocations: 37.72 kB / 3.985 GB, free: 184.1 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.005571/11.7, allocations: 2.629 MB / 3.987 GB, free: 183.1 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.533e-06/11.7, allocations: 0 / 3.987 GB, free: 183.1 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.003901/11.7, allocations: 0.7189 MB / 3.988 GB, free: 183 MB / 0.948 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 (99): * Single equations (assignments): 85 * 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.009559/11.71, allocations: 4.856 MB / 3.993 GB, free: 180.7 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.003442/11.72, allocations: 1.32 MB / 3.994 GB, free: 180 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 6.412e-06/11.72, allocations: 0 / 3.994 GB, free: 180 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.001818/11.72, allocations: 0.8297 MB / 3.995 GB, free: 179.6 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004556/11.72, allocations: 0.5134 MB / 3.995 GB, free: 179.4 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01439/11.74, allocations: 5.562 MB / 4.001 GB, free: 177.6 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002103/11.74, allocations: 1.972 MB / 4.003 GB, free: 176.7 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.002231/11.74, allocations: 432.2 kB / 4.003 GB, free: 176.7 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002538/11.74, allocations: 1.082 MB / 4.004 GB, free: 175.7 MB / 0.948 GB Notification: Performance of SimCode: time 1.774e-06/11.74, allocations: 0 / 4.004 GB, free: 175.7 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1596/11.9, allocations: 59.38 MB / 4.062 GB, free: 122.5 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002942/11.9, allocations: 187.2 kB / 4.062 GB, free: 122.3 MB / 0.948 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_8_0_0_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_0_0_Buildings_ThermalZones_ReducedOrder_Validation_RoomWithLatentGain_FMU.o Buildings_8_0_0_Buildings_ThermalZones_ReducedOrder_Validation_RoomWithLatentGain_FMU.c In file included from Buildings_8_0_0_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_0_0_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_0_0_Buildings_ThermalZones_ReducedOrder_Validation_RoomWithLatentGain_FMU.c:956: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_0_0_Buildings_ThermalZones_ReducedOrder_Validation_RoomWithLatentGain_FMU.c:956:82: error: expected expression Buildings_8_0_0_Buildings_ThermalZones_ReducedOrder_Validation_RoomWithLatentGain_FMU.c:957:61: warning: missing terminating '"' character [-Winvalid-pp-token] Check output 'satisfied' for when violation(s) happened."); ^ Buildings_8_0_0_Buildings_ThermalZones_ReducedOrder_Validation_RoomWithLatentGain_FMU.c:1905:68: error: function definition is not allowed here fmi2Real getReal(ModelInstance* comp, const fmi2ValueReference vr) { ^ Buildings_8_0_0_Buildings_ThermalZones_ReducedOrder_Validation_RoomWithLatentGain_FMU.c:1919:92: error: function definition is not allowed here fmi2Status setReal(ModelInstance* comp, const fmi2ValueReference vr, const fmi2Real value) { ^ Buildings_8_0_0_Buildings_ThermalZones_ReducedOrder_Validation_RoomWithLatentGain_FMU.c:1935:74: error: function definition is not allowed here fmi2Integer getInteger(ModelInstance* comp, const fmi2ValueReference vr) { ^ Buildings_8_0_0_Buildings_ThermalZones_ReducedOrder_Validation_RoomWithLatentGain_FMU.c:1945:98: error: function definition is not allowed here fmi2Status setInteger(ModelInstance* comp, const fmi2ValueReference vr, const fmi2Integer value) { ^ Buildings_8_0_0_Buildings_ThermalZones_ReducedOrder_Validation_RoomWithLatentGain_FMU.c:1956:74: error: function definition is not allowed here fmi2Boolean getBoolean(ModelInstance* comp, const fmi2ValueReference vr) { ^ Buildings_8_0_0_Buildings_ThermalZones_ReducedOrder_Validation_RoomWithLatentGain_FMU.c:2019:98: error: function definition is not allowed here fmi2Status setBoolean(ModelInstance* comp, const fmi2ValueReference vr, const fmi2Boolean value) { ^ Buildings_8_0_0_Buildings_ThermalZones_ReducedOrder_Validation_RoomWithLatentGain_FMU.c:2083:72: error: function definition is not allowed here fmi2String getString(ModelInstance* comp, const fmi2ValueReference vr) { ^ Buildings_8_0_0_Buildings_ThermalZones_ReducedOrder_Validation_RoomWithLatentGain_FMU.c:2104:90: error: function definition is not allowed here fmi2Status setString(ModelInstance* comp, const fmi2ValueReference vr, fmi2String value) { ^ Buildings_8_0_0_Buildings_ThermalZones_ReducedOrder_Validation_RoomWithLatentGain_FMU.c:2126:97: error: function definition is not allowed here fmi2Status setExternalFunction(ModelInstance* c, const fmi2ValueReference vr, const void* value){ ^ Buildings_8_0_0_Buildings_ThermalZones_ReducedOrder_Validation_RoomWithLatentGain_FMU.c:2135:79: error: function definition is not allowed here fmi2ValueReference mapInputReference2InputNumber(const fmi2ValueReference vr) { ^ Buildings_8_0_0_Buildings_ThermalZones_ReducedOrder_Validation_RoomWithLatentGain_FMU.c:2142:81: error: function definition is not allowed here fmi2ValueReference mapOutputReference2OutputNumber(const fmi2ValueReference vr) { ^ Buildings_8_0_0_Buildings_ThermalZones_ReducedOrder_Validation_RoomWithLatentGain_FMU.c:2152:1: error: expected '}' ^ Buildings_8_0_0_Buildings_ThermalZones_ReducedOrder_Validation_RoomWithLatentGain_FMU.c:58:49: note: to match this '{' void setDefaultStartValues(ModelInstance *comp) { ^ 6 warnings and 13 errors generated. : recipe for target 'Buildings_8_0_0_Buildings_ThermalZones_ReducedOrder_Validation_RoomWithLatentGain_FMU.o' failed make: *** [Buildings_8_0_0_Buildings_ThermalZones_ReducedOrder_Validation_RoomWithLatentGain_FMU.o] Error 1