Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase12.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.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 BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase12,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase12",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase12,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase12",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7577/0.7577, allocations: 127.4 MB / 134.9 MB, free: 3.469 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001081/0.001081, allocations: 176.8 kB / 164.6 MB, free: 11.62 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.813/1.813, allocations: 205.2 MB / 399.5 MB, free: 13.53 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00104/0.00104, allocations: 98.38 kB / 476.7 MB, free: 1.461 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 2.276e-05/2.272e-05, allocations: 2.531 kB / 0.5467 GB, free: 95.59 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1911/0.1911, allocations: 76.77 MB / 0.6216 GB, free: 42.98 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.472/1.664, allocations: 416 MB / 1.028 GB, free: 184.6 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003543/1.664, allocations: 93.7 kB / 1.028 GB, free: 184.6 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.3075/1.972, allocations: 156.8 MB / 1.181 GB, free: 63.72 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.723e-06/1.972, allocations: 0 / 1.181 GB, free: 63.72 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0001915/1.972, allocations: 59.92 kB / 1.181 GB, free: 63.66 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 234 * Number of variables: 234 Notification: Performance of Generate backend data structure: time 0.003653/1.976, allocations: 2.247 MB / 1.183 GB, free: 61.35 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.163e-05/1.976, allocations: 12.03 kB / 1.183 GB, free: 61.34 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005804/1.976, allocations: 312.5 kB / 1.184 GB, free: 61.03 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004861/1.981, allocations: 2.49 MB / 1.186 GB, free: 58.48 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001258/1.981, allocations: 79.69 kB / 1.186 GB, free: 58.39 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000116/1.981, allocations: 67.92 kB / 1.186 GB, free: 58.33 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001196/1.983, allocations: 0.7029 MB / 1.187 GB, free: 57.62 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001327/1.984, allocations: 0.8689 MB / 1.188 GB, free: 56.74 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.616e-05/1.984, allocations: 0 / 1.188 GB, free: 56.74 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.433e-05/1.984, allocations: 3.984 kB / 1.188 GB, free: 56.73 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.817e-05/1.984, allocations: 27.95 kB / 1.188 GB, free: 56.71 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005788/1.99, allocations: 4.291 MB / 1.192 GB, free: 52.21 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001314/1.991, allocations: 0.8534 MB / 1.193 GB, free: 51.34 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005345/1.992, allocations: 437.2 kB / 1.193 GB, free: 50.91 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003606/1.992, allocations: 0.5033 MB / 1.194 GB, free: 50.29 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006099/1.993, allocations: 463.2 kB / 1.194 GB, free: 49.83 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=90): time 2.995e-06/1.993, allocations: 4 kB / 1.194 GB, free: 49.83 MB / 0.6511 GB Notification: Performance of matching and sorting (n=90): time 0.002112/1.995, allocations: 1.152 MB / 1.195 GB, free: 48.66 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.798e-05/1.995, allocations: 68.14 kB / 1.195 GB, free: 48.58 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004618/2, allocations: 3.293 MB / 1.199 GB, free: 45.27 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 8.877e-05/2, allocations: 37.69 kB / 1.199 GB, free: 45.23 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008467/2.001, allocations: 1.157 MB / 1.2 GB, free: 44.06 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002325/2.001, allocations: 276 kB / 1.2 GB, free: 43.79 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.978e-05/2.001, allocations: 0 / 1.2 GB, free: 43.79 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 9.953e-05/2.001, allocations: 341.9 kB / 1.2 GB, free: 43.45 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004063/2.001, allocations: 294.5 kB / 1.201 GB, free: 43.16 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004624/2.002, allocations: 481.7 kB / 1.201 GB, free: 42.62 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007025/2.002, allocations: 372.3 kB / 1.201 GB, free: 42.25 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.392e-06/2.003, allocations: 0 / 1.201 GB, free: 42.25 MB / 0.6511 GB Notification: Performance of matching and sorting (n=124) (initialization): time 0.001932/2.004, allocations: 1.232 MB / 1.203 GB, free: 41.01 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.28e-05/2.004, allocations: 10.19 kB / 1.203 GB, free: 41 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.046e-05/2.005, allocations: 4 kB / 1.203 GB, free: 41 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005187/2.005, allocations: 213.8 kB / 1.203 GB, free: 40.78 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006044/2.006, allocations: 179.7 kB / 1.203 GB, free: 40.61 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003268/2.009, allocations: 4.088 MB / 1.207 GB, free: 36.29 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001052/2.01, allocations: 115.4 kB / 1.207 GB, free: 36.18 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.881e-05/2.01, allocations: 47.97 kB / 1.207 GB, free: 36.13 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (105): * Single equations (assignments): 103 * 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.0002186/2.01, allocations: 153.9 kB / 1.207 GB, free: 35.98 MB / 0.6511 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001718/2.012, allocations: 1.136 MB / 1.208 GB, free: 34.82 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002881/2.012, allocations: 272.8 kB / 1.209 GB, free: 34.55 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002303/2.015, allocations: 1.311 MB / 1.21 GB, free: 33.22 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.036e-05/2.015, allocations: 12 kB / 1.21 GB, free: 33.21 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/2.015, allocations: 4 kB / 1.21 GB, free: 33.2 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001442/2.016, allocations: 1.195 MB / 1.211 GB, free: 31.93 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004138/2.02, allocations: 3.09 MB / 1.214 GB, free: 28.78 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.709e-06/2.02, allocations: 0 / 1.214 GB, free: 28.78 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004512/2.021, allocations: 115.9 kB / 1.214 GB, free: 28.66 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005774/2.021, allocations: 242.4 kB / 1.215 GB, free: 28.42 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.446e-05/2.021, allocations: 19.86 kB / 1.215 GB, free: 28.4 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003315/2.025, allocations: 4.624 MB / 1.219 GB, free: 23.52 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/2.025, allocations: 0 / 1.219 GB, free: 23.52 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002587/2.027, allocations: 1.794 MB / 1.221 GB, free: 21.7 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009686/2.028, allocations: 0.5953 MB / 1.221 GB, free: 21.08 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002489/2.029, allocations: 16 kB / 1.221 GB, free: 21.07 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006851/2.029, allocations: 83.77 kB / 1.222 GB, free: 20.98 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001852/2.029, allocations: 101.1 kB / 1.222 GB, free: 20.88 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.546e-05/2.03, allocations: 27.98 kB / 1.222 GB, free: 20.86 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.002904/2.032, allocations: 2.588 MB / 1.224 GB, free: 18.27 MB / 0.6511 GB Notification: Performance of sort global known variables: time 2.1e-07/2.032, allocations: 0 / 1.224 GB, free: 18.27 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.001758/2.034, allocations: 0.5616 MB / 1.225 GB, free: 17.7 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (thermalZoneTwoElements.volAir.dynBal.U,thermalZoneTwoElements.volAir.dynBal.m,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 (78): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 12 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * 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: 1 {1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.003857/2.038, allocations: 2.9 MB / 1.228 GB, free: 14.82 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.001595/2.04, allocations: 1.09 MB / 1.229 GB, free: 13.71 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.095e-06/2.04, allocations: 0 / 1.229 GB, free: 13.71 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.000871/2.041, allocations: 0.7268 MB / 1.229 GB, free: 12.96 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002082/2.043, allocations: 449.1 kB / 1.23 GB, free: 12.53 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007802/2.051, allocations: 4.962 MB / 1.235 GB, free: 7.508 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001172/2.052, allocations: 1.811 MB / 1.236 GB, free: 5.668 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0008765/2.053, allocations: 352.5 kB / 1.237 GB, free: 5.32 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001011/2.054, allocations: 0.9834 MB / 1.238 GB, free: 4.336 MB / 0.6511 GB Notification: Performance of SimCode: time 1.613e-06/2.054, allocations: 3.938 kB / 1.238 GB, free: 4.332 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5286/2.582, allocations: 45.92 MB / 1.283 GB, free: 159.8 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002108/2.582, allocations: 200.1 kB / 1.283 GB, free: 159.6 MB / 0.6511 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=BuildSysPro_BuildSysPro_IBPSA_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase12 -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=4 -DOMC_NUM_NONLINEAR_SYSTEMS=1 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o BuildSysPro_BuildSysPro_IBPSA_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase12_FMU.o BuildSysPro_BuildSysPro_IBPSA_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase12_FMU.c In file included from BuildSysPro_BuildSysPro_IBPSA_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase12_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 BuildSysPro_BuildSysPro_IBPSA_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase12_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); ^ BuildSysPro_BuildSysPro_IBPSA_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase12_FMU.c:909:82: warning: missing terminating '"' character [-Winvalid-pp-token] comp->fmuData->modelData->stringParameterData[0].attribute.start = mmc_mk_scon("Inputs differ by more than threShold. ^ BuildSysPro_BuildSysPro_IBPSA_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase12_FMU.c:909:82: error: expected expression BuildSysPro_BuildSysPro_IBPSA_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase12_FMU.c:910:61: warning: missing terminating '"' character [-Winvalid-pp-token] Check output 'satisfied' for when violation(s) happened."); ^ BuildSysPro_BuildSysPro_IBPSA_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase12_FMU.c:1803:68: error: function definition is not allowed here fmi2Real getReal(ModelInstance* comp, const fmi2ValueReference vr) { ^ BuildSysPro_BuildSysPro_IBPSA_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase12_FMU.c:1817:92: error: function definition is not allowed here fmi2Status setReal(ModelInstance* comp, const fmi2ValueReference vr, const fmi2Real value) { ^ BuildSysPro_BuildSysPro_IBPSA_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase12_FMU.c:1833:74: error: function definition is not allowed here fmi2Integer getInteger(ModelInstance* comp, const fmi2ValueReference vr) { ^ BuildSysPro_BuildSysPro_IBPSA_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase12_FMU.c:1843:98: error: function definition is not allowed here fmi2Status setInteger(ModelInstance* comp, const fmi2ValueReference vr, const fmi2Integer value) { ^ BuildSysPro_BuildSysPro_IBPSA_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase12_FMU.c:1854:74: error: function definition is not allowed here fmi2Boolean getBoolean(ModelInstance* comp, const fmi2ValueReference vr) { ^ BuildSysPro_BuildSysPro_IBPSA_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase12_FMU.c:1913:98: error: function definition is not allowed here fmi2Status setBoolean(ModelInstance* comp, const fmi2ValueReference vr, const fmi2Boolean value) { ^ BuildSysPro_BuildSysPro_IBPSA_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase12_FMU.c:1973:72: error: function definition is not allowed here fmi2String getString(ModelInstance* comp, const fmi2ValueReference vr) { ^ BuildSysPro_BuildSysPro_IBPSA_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase12_FMU.c:1991:90: error: function definition is not allowed here fmi2Status setString(ModelInstance* comp, const fmi2ValueReference vr, fmi2String value) { ^ BuildSysPro_BuildSysPro_IBPSA_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase12_FMU.c:2010:97: error: function definition is not allowed here fmi2Status setExternalFunction(ModelInstance* c, const fmi2ValueReference vr, const void* value){ ^ BuildSysPro_BuildSysPro_IBPSA_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase12_FMU.c:2019:79: error: function definition is not allowed here fmi2ValueReference mapInputReference2InputNumber(const fmi2ValueReference vr) { ^ BuildSysPro_BuildSysPro_IBPSA_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase12_FMU.c:2026:81: error: function definition is not allowed here fmi2ValueReference mapOutputReference2OutputNumber(const fmi2ValueReference vr) { ^ BuildSysPro_BuildSysPro_IBPSA_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase12_FMU.c:2036:1: error: expected '}' ^ BuildSysPro_BuildSysPro_IBPSA_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase12_FMU.c:58:49: note: to match this '{' void setDefaultStartValues(ModelInstance *comp) { ^ 6 warnings and 13 errors generated. make: *** [: BuildSysPro_BuildSysPro_IBPSA_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase12_FMU.o] Error 1