Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10,fileNamePrefix="Buildings_maint_7_0_x_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase10",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10,fileNamePrefix="Buildings_maint_7_0_x_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase10",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.466/1.466, allocations: 249.5 MB / 257 MB, free: 6.91 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001117/0.001117, allocations: 172.9 kB / 316.3 MB, free: 3.262 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.886/1.886, allocations: 205.3 MB / 0.5671 GB, free: 15.8 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009548/0.0009548, allocations: 102.4 kB / 0.6714 GB, free: 4.918 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.781e-05/1.783e-05, allocations: 4 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2417/0.2418, allocations: 106.3 MB / 0.8853 GB, free: 12.16 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.594/7.836, allocations: 2.468 GB / 3.354 GB, free: 283.6 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002239/7.836, allocations: 101.3 kB / 3.354 GB, free: 283.5 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.143/7.979, allocations: 73.52 MB / 3.426 GB, free: 209.4 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.062e-06/7.979, allocations: 0 / 3.426 GB, free: 209.4 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0001477/7.98, allocations: 40 kB / 3.426 GB, free: 209.3 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 165 * Number of variables: 165 Notification: Performance of Generate backend data structure: time 0.00275/7.982, allocations: 1.864 MB / 3.427 GB, free: 207.4 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.974e-05/7.982, allocations: 8.031 kB / 3.427 GB, free: 207.4 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003774/7.983, allocations: 245.3 kB / 3.428 GB, free: 207.1 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003689/7.987, allocations: 1.875 MB / 3.43 GB, free: 205.2 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001166/7.987, allocations: 67 kB / 3.43 GB, free: 205.1 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.875e-05/7.987, allocations: 48 kB / 3.43 GB, free: 205.1 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000836/7.988, allocations: 0.5063 MB / 3.43 GB, free: 204.6 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008944/7.989, allocations: 0.6297 MB / 3.431 GB, free: 203.9 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.264e-05/7.989, allocations: 0 / 3.431 GB, free: 203.9 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.416e-05/7.989, allocations: 8 kB / 3.431 GB, free: 203.9 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.157e-05/7.989, allocations: 12 kB / 3.431 GB, free: 203.9 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004511/7.993, allocations: 3.772 MB / 3.434 GB, free: 199.9 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009009/7.994, allocations: 0.6274 MB / 3.435 GB, free: 199.2 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004462/7.995, allocations: 358.4 kB / 3.435 GB, free: 198.9 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.552e-05/7.995, allocations: 12.55 kB / 3.435 GB, free: 198.9 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004779/7.995, allocations: 376.1 kB / 3.436 GB, free: 198.5 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=72): time 2.414e-06/7.995, allocations: 0 / 3.436 GB, free: 198.5 MB / 0.8698 GB Notification: Performance of matching and sorting (n=72): time 0.00157/7.997, allocations: 0.9837 MB / 3.437 GB, free: 197.5 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.691e-05/7.997, allocations: 64.12 kB / 3.437 GB, free: 197.4 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003727/8, allocations: 2.832 MB / 3.44 GB, free: 194.6 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 9.763e-05/8.001, allocations: 29.7 kB / 3.44 GB, free: 194.5 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005652/8.001, allocations: 0.9209 MB / 3.441 GB, free: 193.6 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001596/8.001, allocations: 224.8 kB / 3.441 GB, free: 193.4 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.334e-05/8.001, allocations: 0 / 3.441 GB, free: 193.4 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 6.268e-05/8.001, allocations: 334 kB / 3.441 GB, free: 193.1 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003249/8.002, allocations: 242.6 kB / 3.441 GB, free: 192.8 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003862/8.002, allocations: 395.1 kB / 3.442 GB, free: 192.4 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004007/8.003, allocations: 292.6 kB / 3.442 GB, free: 192.1 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.458e-06/8.003, allocations: 4 kB / 3.442 GB, free: 192.1 MB / 0.8698 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.001576/8.004, allocations: 1.072 MB / 3.443 GB, free: 191 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.89e-05/8.004, allocations: 8 kB / 3.443 GB, free: 191 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.454e-06/8.004, allocations: 0 / 3.443 GB, free: 191 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006308/8.005, allocations: 265 kB / 3.443 GB, free: 190.7 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004868/8.005, allocations: 143.8 kB / 3.443 GB, free: 190.6 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003506/8.009, allocations: 4.457 MB / 3.448 GB, free: 185.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007091/8.01, allocations: 111.3 kB / 3.448 GB, free: 185.8 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.746e-05/8.01, allocations: 28 kB / 3.448 GB, free: 185.8 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 30 ($PRE.assEqu.nFai,assEqu.nFai,$whenCondition7,$whenCondition6,$PRE.intGai.nextTimeEvent,$whenCondition5,$PRE.reference.nextTimeEvent,$whenCondition4,$PRE.tableSolRadWindow.nextTimeEvent,$whenCondition3,$PRE.outdoorTemp.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,tableSolRadWindow.nextTimeEvent,$PRE.tableSolRadWindow.nextTimeEventScaled,tableSolRadWindow.nextTimeEventScaled,greaterThreshold1.y,outdoorTemp.nextTimeEvent,$PRE.outdoorTemp.nextTimeEventScaled,outdoorTemp.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (75): * Single equations (assignments): 73 * 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 {(1,100.0%) 3,(3,100.0%) 19} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001484/8.01, allocations: 136.4 kB / 3.448 GB, free: 185.6 MB / 0.8698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001337/8.011, allocations: 0.9832 MB / 3.449 GB, free: 184.6 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002189/8.011, allocations: 225.3 kB / 3.449 GB, free: 184.4 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001653/8.013, allocations: 1.077 MB / 3.45 GB, free: 183.3 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.969e-06/8.013, allocations: 8 kB / 3.45 GB, free: 183.3 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/8.013, allocations: 4 kB / 3.45 GB, free: 183.3 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.845e-06/8.013, allocations: 3.984 kB / 3.45 GB, free: 183.3 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003379/8.016, allocations: 2.677 MB / 3.453 GB, free: 180.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.477e-06/8.016, allocations: 0 / 3.453 GB, free: 180.6 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003101/8.017, allocations: 83.83 kB / 3.453 GB, free: 180.5 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005486/8.017, allocations: 265.5 kB / 3.453 GB, free: 180.2 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.212e-05/8.017, allocations: 7.984 kB / 3.453 GB, free: 180.2 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00339/8.021, allocations: 4.449 MB / 3.458 GB, free: 175.5 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.956e-06/8.021, allocations: 3.938 kB / 3.458 GB, free: 175.5 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001892/8.023, allocations: 1.481 MB / 3.459 GB, free: 174 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006289/8.023, allocations: 0.4943 MB / 3.459 GB, free: 173.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001927/8.024, allocations: 19.98 kB / 3.46 GB, free: 173.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005159/8.024, allocations: 55.86 kB / 3.46 GB, free: 173.4 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000142/8.024, allocations: 76.66 kB / 3.46 GB, free: 173.4 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.184e-05/8.024, allocations: 23.98 kB / 3.46 GB, free: 173.3 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.002216/8.026, allocations: 2.217 MB / 3.462 GB, free: 171.1 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.7e-07/8.026, allocations: 4 kB / 3.462 GB, free: 171.1 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001246/8.028, allocations: 447.3 kB / 3.462 GB, free: 170.7 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (thermalZoneTwoElements.extWallRC.thermCapExt[1].T,thermalZoneTwoElements.intWallRC.thermCapInt[1].T,assEqu.diff,mean.x) * Number of discrete variables: 19 ($whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,intGai.nextTimeEvent,intGai.nextTimeEventScaled,reference.nextTimeEvent,reference.nextTimeEventScaled,tableSolRadWindow.nextTimeEvent,tableSolRadWindow.nextTimeEventScaled,greaterThreshold1.y,outdoorTemp.nextTimeEvent,outdoorTemp.nextTimeEventScaled,assEqu.satisfied,assEqu.nFai,mean.y) * Number of discrete states: 11 (intGai.nextTimeEvent,reference.nextTimeEvent,tableSolRadWindow.nextTimeEvent,outdoorTemp.nextTimeEvent,mean.x,assEqu.satisfied,assEqu.nFai,outdoorTemp.nextTimeEventScaled,tableSolRadWindow.nextTimeEventScaled,reference.nextTimeEventScaled,intGai.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (54): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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 {(3,100.0%) 19,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00328/8.031, allocations: 2.912 MB / 3.465 GB, free: 167.8 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.001322/8.032, allocations: 0.9554 MB / 3.466 GB, free: 166.8 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/8.032, allocations: 0 / 3.466 GB, free: 166.8 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0006868/8.033, allocations: 0.646 MB / 3.467 GB, free: 166.1 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00126/8.034, allocations: 239.7 kB / 3.467 GB, free: 165.9 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00526/8.04, allocations: 4.059 MB / 3.471 GB, free: 161.8 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008631/8.04, allocations: 1.599 MB / 3.472 GB, free: 160.2 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0004731/8.041, allocations: 258 kB / 3.473 GB, free: 159.9 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006707/8.042, allocations: 0.7531 MB / 3.473 GB, free: 159.2 MB / 0.8698 GB Notification: Performance of SimCode: time 4.51e-07/8.042, allocations: 0 / 3.473 GB, free: 159.2 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06526/8.107, allocations: 38.44 MB / 3.511 GB, free: 120.8 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001845/8.107, allocations: 194.8 kB / 3.511 GB, free: 120.5 MB / 0.8698 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_7_0_x_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase10 -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_7_0_x_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase10_FMU.o Buildings_maint_7_0_x_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase10_FMU.c In file included from Buildings_maint_7_0_x_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase10_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_7_0_x_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase10_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_7_0_x_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase10_FMU.c:759: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_7_0_x_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase10_FMU.c:759:82: error: expected expression Buildings_maint_7_0_x_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase10_FMU.c:760:61: warning: missing terminating '"' character [-Winvalid-pp-token] Check output 'satisfied' for when violation(s) happened."); ^ Buildings_maint_7_0_x_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase10_FMU.c:1496:68: error: function definition is not allowed here fmi2Real getReal(ModelInstance* comp, const fmi2ValueReference vr) { ^ Buildings_maint_7_0_x_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase10_FMU.c:1510:92: error: function definition is not allowed here fmi2Status setReal(ModelInstance* comp, const fmi2ValueReference vr, const fmi2Real value) { ^ Buildings_maint_7_0_x_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase10_FMU.c:1526:74: error: function definition is not allowed here fmi2Integer getInteger(ModelInstance* comp, const fmi2ValueReference vr) { ^ Buildings_maint_7_0_x_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase10_FMU.c:1536:98: error: function definition is not allowed here fmi2Status setInteger(ModelInstance* comp, const fmi2ValueReference vr, const fmi2Integer value) { ^ Buildings_maint_7_0_x_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase10_FMU.c:1547:74: error: function definition is not allowed here fmi2Boolean getBoolean(ModelInstance* comp, const fmi2ValueReference vr) { ^ Buildings_maint_7_0_x_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase10_FMU.c:1583:98: error: function definition is not allowed here fmi2Status setBoolean(ModelInstance* comp, const fmi2ValueReference vr, const fmi2Boolean value) { ^ Buildings_maint_7_0_x_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase10_FMU.c:1620:72: error: function definition is not allowed here fmi2String getString(ModelInstance* comp, const fmi2ValueReference vr) { ^ Buildings_maint_7_0_x_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase10_FMU.c:1636:90: error: function definition is not allowed here fmi2Status setString(ModelInstance* comp, const fmi2ValueReference vr, fmi2String value) { ^ Buildings_maint_7_0_x_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase10_FMU.c:1653:97: error: function definition is not allowed here fmi2Status setExternalFunction(ModelInstance* c, const fmi2ValueReference vr, const void* value){ ^ Buildings_maint_7_0_x_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase10_FMU.c:1662:79: error: function definition is not allowed here fmi2ValueReference mapInputReference2InputNumber(const fmi2ValueReference vr) { ^ Buildings_maint_7_0_x_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase10_FMU.c:1669:81: error: function definition is not allowed here fmi2ValueReference mapOutputReference2OutputNumber(const fmi2ValueReference vr) { ^ Buildings_maint_7_0_x_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase10_FMU.c:1679:1: error: expected '}' ^ Buildings_maint_7_0_x_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase10_FMU.c:58:49: note: to match this '{' void setDefaultStartValues(ModelInstance *comp) { ^ 6 warnings and 13 errors generated. make: *** [: Buildings_maint_7_0_x_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase10_FMU.o] Error 1