Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase12.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase12,fileNamePrefix="Buildings_maint_8_0_x_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase12",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase12,fileNamePrefix="Buildings_maint_8_0_x_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase12",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.636/1.636, allocations: 285.6 MB / 293.1 MB, free: 10.25 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.001213/0.001213, allocations: 184.8 kB / 361.4 MB, free: 6.852 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.893/1.893, allocations: 205.3 MB / 0.62 GB, free: 11.61 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.0009517/0.0009518, allocations: 92.45 kB / 0.733 GB, free: 44.16 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.217e-05/2.232e-05, allocations: 4 kB / 0.8518 GB, free: 2.629 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.956/0.956, allocations: 115.3 MB / 0.9645 GB, free: 78.74 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.432/7.388, allocations: 2.351 GB / 3.315 GB, free: 174.9 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003462/7.388, allocations: 92.47 kB / 3.315 GB, free: 174.8 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 1.288/8.676, allocations: 188.1 MB / 3.499 GB, free: 254.2 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.996e-06/8.676, allocations: 2.469 kB / 3.499 GB, free: 254.2 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0006715/8.677, allocations: 57.33 kB / 3.499 GB, free: 254.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: 236 * Number of variables: 236 Notification: Performance of Generate backend data structure: time 0.01138/8.688, allocations: 2.299 MB / 3.501 GB, free: 253.2 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 0.0001041/8.689, allocations: 12.81 kB / 3.501 GB, free: 253.2 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003302/8.692, allocations: 310.3 kB / 3.502 GB, free: 253.1 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01274/8.705, allocations: 2.437 MB / 3.504 GB, free: 252.6 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003126/8.705, allocations: 91.42 kB / 3.504 GB, free: 252.6 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006836/8.706, allocations: 58.22 kB / 3.504 GB, free: 252.6 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002749/8.709, allocations: 0.7095 MB / 3.505 GB, free: 252.6 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003063/8.712, allocations: 0.8787 MB / 3.506 GB, free: 252.5 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.581e-05/8.712, allocations: 0 / 3.506 GB, free: 252.5 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002097/8.712, allocations: 8.516 kB / 3.506 GB, free: 252.5 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.939e-05/8.712, allocations: 23.08 kB / 3.506 GB, free: 252.5 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01142/8.723, allocations: 4.586 MB / 3.51 GB, free: 251 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001729/8.725, allocations: 0.8013 MB / 3.511 GB, free: 251 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007755/8.726, allocations: 441.8 kB / 3.511 GB, free: 251 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005352/8.727, allocations: 0.5089 MB / 3.512 GB, free: 250.4 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009116/8.728, allocations: 468.8 kB / 3.512 GB, free: 250.4 MB / 0.948 GB Notification: Performance of pre-optimization done (n=94): time 4.598e-06/8.728, allocations: 2.844 kB / 3.512 GB, free: 250.4 MB / 0.948 GB Notification: Performance of matching and sorting (n=94): time 0.003229/8.731, allocations: 1.167 MB / 3.513 GB, free: 250.1 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.046e-05/8.731, allocations: 65.19 kB / 3.514 GB, free: 250.1 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009116/8.74, allocations: 3.305 MB / 3.517 GB, free: 249.8 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002898/8.74, allocations: 33.3 kB / 3.517 GB, free: 249.8 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001553/8.742, allocations: 1.146 MB / 3.518 GB, free: 249.6 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.000535/8.743, allocations: 300.5 kB / 3.518 GB, free: 249.4 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.638e-05/8.743, allocations: 0 / 3.518 GB, free: 249.4 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001449/8.743, allocations: 347.9 kB / 3.519 GB, free: 249.1 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006318/8.743, allocations: 303.2 kB / 3.519 GB, free: 249.1 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007658/8.744, allocations: 0.4889 MB / 3.519 GB, free: 248.9 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001118/8.745, allocations: 379.7 kB / 3.52 GB, free: 248.9 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.318e-05/8.745, allocations: 1 kB / 3.52 GB, free: 248.9 MB / 0.948 GB Notification: Performance of matching and sorting (n=128) (initialization): time 0.003925/8.749, allocations: 1.26 MB / 3.521 GB, free: 248.7 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 3.25e-05/8.749, allocations: 6.406 kB / 3.521 GB, free: 248.7 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.622e-05/8.749, allocations: 5.656 kB / 3.521 GB, free: 248.7 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000794/8.75, allocations: 209.7 kB / 3.521 GB, free: 248.7 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009318/8.751, allocations: 208.1 kB / 3.521 GB, free: 248.7 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006014/8.757, allocations: 4.08 MB / 3.525 GB, free: 246.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002212/8.759, allocations: 140.3 kB / 3.525 GB, free: 246 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002117/8.76, allocations: 37.94 kB / 3.525 GB, free: 246 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (109): * Single equations (assignments): 107 * 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.0004347/8.76, allocations: 149.9 kB / 3.526 GB, free: 245.9 MB / 0.948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.004207/8.764, allocations: 1.163 MB / 3.527 GB, free: 245.7 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001328/8.766, allocations: 270.3 kB / 3.527 GB, free: 245.6 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004404/8.77, allocations: 1.34 MB / 3.528 GB, free: 245.4 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.908e-05/8.77, allocations: 10 kB / 3.528 GB, free: 245.4 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.229e-05/8.77, allocations: 6.625 kB / 3.528 GB, free: 245.4 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002594/8.773, allocations: 1.219 MB / 3.529 GB, free: 245 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01173/8.784, allocations: 3.341 MB / 3.533 GB, free: 244.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.397e-05/8.785, allocations: 0.7031 kB / 3.533 GB, free: 244.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000786/8.785, allocations: 128.8 kB / 3.533 GB, free: 244.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001188/8.787, allocations: 248.6 kB / 3.533 GB, free: 244.6 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001502/8.787, allocations: 18.89 kB / 3.533 GB, free: 244.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007456/8.794, allocations: 4.626 MB / 3.538 GB, free: 241.5 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.174e-05/8.794, allocations: 5.109 kB / 3.538 GB, free: 241.5 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006039/8.8, allocations: 1.892 MB / 3.54 GB, free: 241 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002387/8.803, allocations: 0.5938 MB / 3.54 GB, free: 240.8 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001052/8.804, allocations: 15.06 kB / 3.54 GB, free: 240.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001605/8.805, allocations: 75.34 kB / 3.54 GB, free: 240.8 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003552/8.806, allocations: 95.66 kB / 3.54 GB, free: 240.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001302/8.806, allocations: 40.56 kB / 3.54 GB, free: 240.8 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.007188/8.813, allocations: 2.586 MB / 3.543 GB, free: 240.6 MB / 0.948 GB Notification: Performance of sort global known variables: time 4.51e-07/8.813, allocations: 0 / 3.543 GB, free: 240.6 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.004773/8.818, allocations: 0.6046 MB / 3.543 GB, free: 240.6 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 6 (thermalZoneTwoElements.volAir.dynBal.U,thermalZoneTwoElements.volAir.dynBal.m,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 (82): * Single equations (assignments): 65 * 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.01038/8.828, allocations: 3.662 MB / 3.547 GB, free: 239.4 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.003237/8.832, allocations: 1.122 MB / 3.548 GB, free: 239.1 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 9.027e-06/8.832, allocations: 0 / 3.548 GB, free: 239.1 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.002265/8.834, allocations: 0.7429 MB / 3.549 GB, free: 238.9 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005842/8.84, allocations: 456.9 kB / 3.549 GB, free: 238.9 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01872/8.859, allocations: 5.058 MB / 3.554 GB, free: 238 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004167/8.863, allocations: 1.82 MB / 3.556 GB, free: 237.2 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.002655/8.866, allocations: 348.5 kB / 3.556 GB, free: 237.2 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002746/8.868, allocations: 1.003 MB / 3.557 GB, free: 237.2 MB / 0.948 GB Notification: Performance of SimCode: time 1.684e-06/8.868, allocations: 0 / 3.557 GB, free: 237.2 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1139/8.982, allocations: 50.44 MB / 3.607 GB, free: 234 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002134/8.983, allocations: 207 kB / 3.607 GB, free: 233.8 MB / 0.948 GB Error: Error building simulator. Build log: clang -Os -fPIC -falign-functions -mfpmath=sse -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. -DOMC_MODEL_PREFIX=Buildings_maint_8_0_x_Buildings_ThermalZones_ReducedOrder_Validation_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 Buildings_maint_8_0_x_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase12_FMU.o Buildings_maint_8_0_x_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase12_FMU.c In file included from Buildings_maint_8_0_x_Buildings_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 Buildings_maint_8_0_x_Buildings_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); ^ Buildings_maint_8_0_x_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase12_FMU.c:917:82: warning: missing terminating '"' character [-Winvalid-pp-token] comp->fmuData->modelData->stringParameterData[0].attribute.start = mmc_mk_scon("Inputs differ by more than threShold. ^ Buildings_maint_8_0_x_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase12_FMU.c:917:82: error: expected expression Buildings_maint_8_0_x_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase12_FMU.c:918:61: warning: missing terminating '"' character [-Winvalid-pp-token] Check output 'satisfied' for when violation(s) happened."); ^ Buildings_maint_8_0_x_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase12_FMU.c:1819:68: error: function definition is not allowed here fmi2Real getReal(ModelInstance* comp, const fmi2ValueReference vr) { ^ Buildings_maint_8_0_x_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase12_FMU.c:1833:92: error: function definition is not allowed here fmi2Status setReal(ModelInstance* comp, const fmi2ValueReference vr, const fmi2Real value) { ^ Buildings_maint_8_0_x_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase12_FMU.c:1849:74: error: function definition is not allowed here fmi2Integer getInteger(ModelInstance* comp, const fmi2ValueReference vr) { ^ Buildings_maint_8_0_x_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase12_FMU.c:1859:98: error: function definition is not allowed here fmi2Status setInteger(ModelInstance* comp, const fmi2ValueReference vr, const fmi2Integer value) { ^ Buildings_maint_8_0_x_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase12_FMU.c:1870:74: error: function definition is not allowed here fmi2Boolean getBoolean(ModelInstance* comp, const fmi2ValueReference vr) { ^ Buildings_maint_8_0_x_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase12_FMU.c:1931:98: error: function definition is not allowed here fmi2Status setBoolean(ModelInstance* comp, const fmi2ValueReference vr, const fmi2Boolean value) { ^ Buildings_maint_8_0_x_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase12_FMU.c:1993:72: error: function definition is not allowed here fmi2String getString(ModelInstance* comp, const fmi2ValueReference vr) { ^ Buildings_maint_8_0_x_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase12_FMU.c:2011:90: error: function definition is not allowed here fmi2Status setString(ModelInstance* comp, const fmi2ValueReference vr, fmi2String value) { ^ Buildings_maint_8_0_x_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase12_FMU.c:2030:97: error: function definition is not allowed here fmi2Status setExternalFunction(ModelInstance* c, const fmi2ValueReference vr, const void* value){ ^ Buildings_maint_8_0_x_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase12_FMU.c:2039:79: error: function definition is not allowed here fmi2ValueReference mapInputReference2InputNumber(const fmi2ValueReference vr) { ^ Buildings_maint_8_0_x_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase12_FMU.c:2046:81: error: function definition is not allowed here fmi2ValueReference mapOutputReference2OutputNumber(const fmi2ValueReference vr) { ^ Buildings_maint_8_0_x_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase12_FMU.c:2056:1: error: expected '}' ^ Buildings_maint_8_0_x_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase12_FMU.c:58:49: note: to match this '{' void setDefaultStartValues(ModelInstance *comp) { ^ 6 warnings and 13 errors generated. make: *** [: Buildings_maint_8_0_x_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase12_FMU.o] Error 1