Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.ThermalZones.ReducedOrder.Validation.RoomWithoutLatentGain.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.RoomWithoutLatentGain,fileNamePrefix="Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_RoomWithoutLatentGain",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.ReducedOrder.Validation.RoomWithoutLatentGain,fileNamePrefix="Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_RoomWithoutLatentGain",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 1.763/1.763, allocations: 289.9 MB / 297.4 MB, free: 6.398 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.001907/0.001908, allocations: 172.9 kB / 366.7 MB, free: 1.652 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.318/2.318, allocations: 205.2 MB / 0.626 GB, free: 7.184 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.00102/0.00102, allocations: 89.33 kB / 0.74 GB, free: 39.56 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.228e-05/4.238e-05, allocations: 4 kB / 0.8598 GB, free: 13.01 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.938/0.9381, allocations: 116.3 MB / 0.9733 GB, free: 76.41 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.151/8.089, allocations: 2.355 GB / 3.328 GB, free: 85.92 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003147/8.09, allocations: 91 kB / 3.328 GB, free: 85.87 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 2.757/10.85, allocations: 0.6229 GB / 3.951 GB, free: 197.7 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.582e-06/10.85, allocations: 3.719 kB / 3.951 GB, free: 197.7 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001964/10.85, allocations: 53.81 kB / 3.951 GB, free: 197.7 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: 314 * Number of variables: 314 Notification: Performance of Generate backend data structure: time 0.005489/10.85, allocations: 2.645 MB / 3.954 GB, free: 195.8 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.225e-05/10.85, allocations: 17.2 kB / 3.954 GB, free: 195.8 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001956/10.85, allocations: 457.8 kB / 3.954 GB, free: 195.6 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006224/10.86, allocations: 2.653 MB / 3.957 GB, free: 194 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001638/10.86, allocations: 98.05 kB / 3.957 GB, free: 193.9 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000181/10.86, allocations: 82.22 kB / 3.957 GB, free: 193.9 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001901/10.86, allocations: 1.045 MB / 3.958 GB, free: 193.4 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00197/10.86, allocations: 1.224 MB / 3.959 GB, free: 192.1 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.384e-05/10.86, allocations: 0 / 3.959 GB, free: 192.1 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001009/10.86, allocations: 3.984 kB / 3.959 GB, free: 192.1 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.599e-05/10.87, allocations: 42.44 kB / 3.959 GB, free: 192.1 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.008734/10.87, allocations: 6.426 MB / 3.965 GB, free: 185.3 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001451/10.88, allocations: 1.036 MB / 3.966 GB, free: 184.3 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007537/10.88, allocations: 0.563 MB / 3.967 GB, free: 183.7 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004065/10.88, allocations: 292.6 kB / 3.967 GB, free: 183.4 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008199/10.88, allocations: 0.5738 MB / 3.968 GB, free: 182.8 MB / 0.948 GB Notification: Performance of pre-optimization done (n=112): time 3.888e-06/10.88, allocations: 0 / 3.968 GB, free: 182.8 MB / 0.948 GB Notification: Performance of matching and sorting (n=112): time 0.003018/10.88, allocations: 1.401 MB / 3.969 GB, free: 181.4 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.015e-05/10.88, allocations: 64.72 kB / 3.969 GB, free: 181.3 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005214/10.89, allocations: 3.374 MB / 3.973 GB, free: 177.9 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002162/10.89, allocations: 33.7 kB / 3.973 GB, free: 177.9 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001032/10.89, allocations: 1.31 MB / 3.974 GB, free: 176.6 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003684/10.89, allocations: 358.6 kB / 3.974 GB, free: 176.2 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.362e-05/10.89, allocations: 0 / 3.974 GB, free: 176.2 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.000105/10.89, allocations: 353.9 kB / 3.974 GB, free: 175.9 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006153/10.89, allocations: 406.5 kB / 3.975 GB, free: 175.5 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007063/10.89, allocations: 0.6622 MB / 3.976 GB, free: 174.7 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009441/10.89, allocations: 0.5232 MB / 3.976 GB, free: 174.2 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.071e-06/10.89, allocations: 0 / 3.976 GB, free: 174.2 MB / 0.948 GB Notification: Performance of matching and sorting (n=156) (initialization): time 0.003176/10.89, allocations: 1.557 MB / 3.978 GB, free: 172.6 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 3.977e-05/10.89, allocations: 11.98 kB / 3.978 GB, free: 172.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.834e-05/10.89, allocations: 8 kB / 3.978 GB, free: 172.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006246/10.89, allocations: 207.9 kB / 3.978 GB, free: 172.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008919/10.89, allocations: 251.6 kB / 3.978 GB, free: 172.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003611/10.9, allocations: 4.049 MB / 3.982 GB, free: 167.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001891/10.9, allocations: 174.9 kB / 3.982 GB, free: 167.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001087/10.9, allocations: 47.98 kB / 3.982 GB, free: 167.6 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.000285/10.9, allocations: 149.9 kB / 3.982 GB, free: 167.5 MB / 0.948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002396/10.9, allocations: 1.366 MB / 3.984 GB, free: 166.1 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003422/10.9, allocations: 292.5 kB / 3.984 GB, free: 165.8 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002792/10.91, allocations: 1.497 MB / 3.985 GB, free: 164.3 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.238e-06/10.91, allocations: 12 kB / 3.985 GB, free: 164.3 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.412e-06/10.91, allocations: 7.938 kB / 3.985 GB, free: 164.3 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001753/10.91, allocations: 1.299 MB / 3.987 GB, free: 162.9 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006082/10.91, allocations: 3.818 MB / 3.99 GB, free: 159.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.523e-06/10.91, allocations: 0 / 3.99 GB, free: 159.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007539/10.91, allocations: 187.9 kB / 3.991 GB, free: 158.9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004638/10.92, allocations: 199.2 kB / 3.991 GB, free: 158.7 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.222e-05/10.92, allocations: 15.98 kB / 3.991 GB, free: 158.7 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003558/10.92, allocations: 4.026 MB / 3.995 GB, free: 154.4 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.833e-06/10.92, allocations: 0 / 3.995 GB, free: 154.4 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003937/10.92, allocations: 2.287 MB / 3.997 GB, free: 152 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001686/10.92, allocations: 0.63 MB / 3.998 GB, free: 151.4 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000709/10.93, allocations: 16 kB / 3.998 GB, free: 151.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001419/10.93, allocations: 99.89 kB / 3.998 GB, free: 151.3 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002424/10.93, allocations: 101.2 kB / 3.998 GB, free: 151.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.598e-05/10.93, allocations: 43.98 kB / 3.998 GB, free: 151.1 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.004203/10.93, allocations: 2.634 MB / 4 GB, free: 148.5 MB / 0.948 GB Notification: Performance of sort global known variables: time 2.11e-07/10.93, allocations: 0 / 4 GB, free: 148.5 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002862/10.93, allocations: 0.7174 MB / 4.001 GB, free: 147.8 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 (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.00742/10.94, allocations: 4.868 MB / 4.006 GB, free: 143.1 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002382/10.94, allocations: 1.314 MB / 4.007 GB, free: 141.7 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 6.292e-06/10.94, allocations: 0 / 4.007 GB, free: 141.7 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.001141/10.95, allocations: 0.8376 MB / 4.008 GB, free: 140.9 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003424/10.95, allocations: 0.5195 MB / 4.008 GB, free: 140.4 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01246/10.96, allocations: 5.593 MB / 4.014 GB, free: 134.7 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00247/10.96, allocations: 1.974 MB / 4.016 GB, free: 132.7 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.001957/10.97, allocations: 426.1 kB / 4.016 GB, free: 132.3 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001808/10.97, allocations: 1.101 MB / 4.017 GB, free: 131.2 MB / 0.948 GB Notification: Performance of SimCode: time 1.813e-06/10.97, allocations: 0 / 4.017 GB, free: 131.2 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1138/11.08, allocations: 59.71 MB / 4.076 GB, free: 71.58 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002162/11.08, allocations: 194.2 kB / 4.076 GB, free: 71.38 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_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_8_Buildings_ThermalZones_ReducedOrder_Validation_RoomWithoutLatentGain_FMU.o Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_RoomWithoutLatentGain_FMU.c In file included from Buildings_8_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_8_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_8_Buildings_ThermalZones_ReducedOrder_Validation_RoomWithoutLatentGain_FMU.c:961: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_RoomWithoutLatentGain_FMU.c:961:82: error: expected expression Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_RoomWithoutLatentGain_FMU.c:962:61: warning: missing terminating '"' character [-Winvalid-pp-token] Check output 'satisfied' for when violation(s) happened."); ^ Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_RoomWithoutLatentGain_FMU.c:1915:68: error: function definition is not allowed here fmi2Real getReal(ModelInstance* comp, const fmi2ValueReference vr) { ^ Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_RoomWithoutLatentGain_FMU.c:1929:92: error: function definition is not allowed here fmi2Status setReal(ModelInstance* comp, const fmi2ValueReference vr, const fmi2Real value) { ^ Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_RoomWithoutLatentGain_FMU.c:1945:74: error: function definition is not allowed here fmi2Integer getInteger(ModelInstance* comp, const fmi2ValueReference vr) { ^ Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_RoomWithoutLatentGain_FMU.c:1955:98: error: function definition is not allowed here fmi2Status setInteger(ModelInstance* comp, const fmi2ValueReference vr, const fmi2Integer value) { ^ Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_RoomWithoutLatentGain_FMU.c:1966:74: error: function definition is not allowed here fmi2Boolean getBoolean(ModelInstance* comp, const fmi2ValueReference vr) { ^ Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_RoomWithoutLatentGain_FMU.c:2029:98: error: function definition is not allowed here fmi2Status setBoolean(ModelInstance* comp, const fmi2ValueReference vr, const fmi2Boolean value) { ^ Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_RoomWithoutLatentGain_FMU.c:2093:72: error: function definition is not allowed here fmi2String getString(ModelInstance* comp, const fmi2ValueReference vr) { ^ Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_RoomWithoutLatentGain_FMU.c:2114:90: error: function definition is not allowed here fmi2Status setString(ModelInstance* comp, const fmi2ValueReference vr, fmi2String value) { ^ Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_RoomWithoutLatentGain_FMU.c:2136:97: error: function definition is not allowed here fmi2Status setExternalFunction(ModelInstance* c, const fmi2ValueReference vr, const void* value){ ^ Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_RoomWithoutLatentGain_FMU.c:2145:79: error: function definition is not allowed here fmi2ValueReference mapInputReference2InputNumber(const fmi2ValueReference vr) { ^ Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_RoomWithoutLatentGain_FMU.c:2152:81: error: function definition is not allowed here fmi2ValueReference mapOutputReference2OutputNumber(const fmi2ValueReference vr) { ^ Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_RoomWithoutLatentGain_FMU.c:2162:1: error: expected '}' ^ Buildings_8_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_8_Buildings_ThermalZones_ReducedOrder_Validation_RoomWithoutLatentGain_FMU.o] Error 1