Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7.conf.json 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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7,fileNamePrefix="Buildings_7_0_0_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase7",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.181/2.181, allocations: 248.7 MB / 256.2 MB, free: 7.051 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.001503/0.001503, allocations: 184.8 kB / 315.4 MB, free: 4.023 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.016/2.016, allocations: 205.3 MB / 0.5662 GB, free: 0.6016 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001101/0.001101, allocations: 93.58 kB / 0.6704 GB, free: 5.809 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.776e-05/1.804e-05, allocations: 4 kB / 0.7803 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2046/0.2046, allocations: 106.2 MB / 0.8841 GB, free: 13 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 8.187/8.392, allocations: 2.47 GB / 3.354 GB, free: 210.5 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003322/8.392, allocations: 98.83 kB / 3.354 GB, free: 210.4 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.234/8.626, allocations: 69.22 MB / 3.421 GB, free: 150.3 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.014e-06/8.626, allocations: 0 / 3.421 GB, free: 150.3 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0001614/8.626, allocations: 39.88 kB / 3.421 GB, free: 150.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: 155 * Number of variables: 155 Notification: Performance of Generate backend data structure: time 0.003439/8.63, allocations: 1.497 MB / 3.423 GB, free: 148.7 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.026e-05/8.63, allocations: 8.031 kB / 3.423 GB, free: 148.7 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006537/8.63, allocations: 194 kB / 3.423 GB, free: 148.5 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005741/8.636, allocations: 1.664 MB / 3.425 GB, free: 146.8 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001803/8.636, allocations: 71 kB / 3.425 GB, free: 146.7 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000136/8.637, allocations: 36 kB / 3.425 GB, free: 146.7 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001246/8.638, allocations: 434.5 kB / 3.425 GB, free: 146.3 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001299/8.639, allocations: 0.5832 MB / 3.426 GB, free: 145.7 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.186e-05/8.639, allocations: 3.938 kB / 3.426 GB, free: 145.7 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.077e-05/8.639, allocations: 4 kB / 3.426 GB, free: 145.7 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.734e-05/8.639, allocations: 15.95 kB / 3.426 GB, free: 145.6 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006109/8.645, allocations: 3.313 MB / 3.429 GB, free: 142.1 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001503/8.647, allocations: 0.5868 MB / 3.43 GB, free: 141.5 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007/8.648, allocations: 298.4 kB / 3.43 GB, free: 141.2 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 6.119e-05/8.648, allocations: 12.55 kB / 3.43 GB, free: 141.2 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006787/8.649, allocations: 321.8 kB / 3.43 GB, free: 140.9 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=63): time 3.928e-06/8.649, allocations: 0 / 3.43 GB, free: 140.9 MB / 0.8698 GB Notification: Performance of matching and sorting (n=63): time 0.002586/8.651, allocations: 0.8421 MB / 3.431 GB, free: 140 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.308e-05/8.651, allocations: 115.4 kB / 3.431 GB, free: 139.9 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004076/8.655, allocations: 1.867 MB / 3.433 GB, free: 138 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001605/8.656, allocations: 25.7 kB / 3.433 GB, free: 138 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006753/8.656, allocations: 0.691 MB / 3.434 GB, free: 137.3 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002119/8.656, allocations: 205.1 kB / 3.434 GB, free: 137.1 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.164e-05/8.656, allocations: 3.938 kB / 3.434 GB, free: 137.1 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 8.321e-05/8.657, allocations: 334 kB / 3.434 GB, free: 136.7 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000497/8.657, allocations: 189.5 kB / 3.434 GB, free: 136.6 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005398/8.658, allocations: 338.1 kB / 3.435 GB, free: 136.2 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005481/8.658, allocations: 236.7 kB / 3.435 GB, free: 135.9 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.322e-06/8.658, allocations: 0 / 3.435 GB, free: 135.9 MB / 0.8698 GB Notification: Performance of matching and sorting (n=89) (initialization): time 0.002592/8.661, allocations: 0.9194 MB / 3.436 GB, free: 135 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.426e-05/8.661, allocations: 4 kB / 3.436 GB, free: 135 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.274e-05/8.661, allocations: 4 kB / 3.436 GB, free: 135 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001114/8.662, allocations: 253 kB / 3.436 GB, free: 134.8 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006913/8.663, allocations: 99.89 kB / 3.436 GB, free: 134.7 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005635/8.668, allocations: 3.148 MB / 3.439 GB, free: 131.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0012/8.67, allocations: 87.41 kB / 3.439 GB, free: 131.3 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.936e-05/8.67, allocations: 27.98 kB / 3.439 GB, free: 131.3 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 25 ($PRE.assEqu.nFai,assEqu.nFai,$whenCondition6,$whenCondition5,$PRE.intGai.nextTimeEvent,$whenCondition4,$PRE.reference.nextTimeEvent,$whenCondition3,$PRE.setTemp.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,setTemp.nextTimeEvent,$PRE.setTemp.nextTimeEventScaled,setTemp.nextTimeEventScaled,conHeaCoo.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (63): * Single equations (assignments): 62 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 25} Notification: Performance of prepare postOptimizeDAE: time 0.0002132/8.67, allocations: 127.1 kB / 3.44 GB, free: 131.2 MB / 0.8698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002304/8.672, allocations: 0.8615 MB / 3.44 GB, free: 130.3 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002925/8.673, allocations: 165.9 kB / 3.441 GB, free: 130.1 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002636/8.675, allocations: 0.9103 MB / 3.441 GB, free: 129.2 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.083e-05/8.675, allocations: 11.98 kB / 3.441 GB, free: 129.2 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.413e-06/8.675, allocations: 3.984 kB / 3.441 GB, free: 129.2 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.048e-05/8.675, allocations: 0 / 3.441 GB, free: 129.2 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004761/8.68, allocations: 2.013 MB / 3.443 GB, free: 127.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.661e-06/8.68, allocations: 4 kB / 3.443 GB, free: 127.1 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00052/8.681, allocations: 63.91 kB / 3.443 GB, free: 127 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001083/8.682, allocations: 253.6 kB / 3.444 GB, free: 126.8 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.319e-05/8.682, allocations: 7.984 kB / 3.444 GB, free: 126.8 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00615/8.688, allocations: 4.32 MB / 3.448 GB, free: 122.2 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.3e-06/8.688, allocations: 4 kB / 3.448 GB, free: 122.2 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003216/8.691, allocations: 1.252 MB / 3.449 GB, free: 120.9 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009129/8.692, allocations: 370.9 kB / 3.45 GB, free: 120.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002368/8.692, allocations: 19.92 kB / 3.45 GB, free: 120.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008818/8.693, allocations: 59.81 kB / 3.45 GB, free: 120.5 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002403/8.694, allocations: 72.39 kB / 3.45 GB, free: 120.4 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.216e-05/8.694, allocations: 23.98 kB / 3.45 GB, free: 120.4 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.002436/8.696, allocations: 1.463 MB / 3.451 GB, free: 118.9 MB / 0.8698 GB Notification: Performance of sort global known variables: time 5.41e-07/8.696, allocations: 0 / 3.451 GB, free: 118.9 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001785/8.698, allocations: 357.7 kB / 3.451 GB, free: 118.6 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,conHeaCoo.I.y,mean.x) * Number of discrete variables: 15 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,intGai.nextTimeEvent,intGai.nextTimeEventScaled,reference.nextTimeEvent,reference.nextTimeEventScaled,setTemp.nextTimeEvent,setTemp.nextTimeEventScaled,assEqu.satisfied,assEqu.nFai,mean.y) * Number of discrete states: 9 (intGai.nextTimeEvent,reference.nextTimeEvent,setTemp.nextTimeEvent,mean.x,setTemp.nextTimeEventScaled,reference.nextTimeEventScaled,assEqu.satisfied,assEqu.nFai,intGai.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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: 1 {(1,100.0%) 3} * Non-linear torn systems: 1 {3 21} Notification: Performance of Backend phase and start with SimCode phase: time 0.005083/8.703, allocations: 2.686 MB / 3.454 GB, free: 116 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.001952/8.705, allocations: 0.7324 MB / 3.455 GB, free: 115.2 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 3.977e-06/8.705, allocations: 0.875 kB / 3.455 GB, free: 115.2 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.001395/8.707, allocations: 0.6133 MB / 3.455 GB, free: 114.6 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002039/8.709, allocations: 245.7 kB / 3.456 GB, free: 114.3 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00728/8.716, allocations: 2.907 MB / 3.458 GB, free: 111.4 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001091/8.717, allocations: 1.349 MB / 3.46 GB, free: 110 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0008454/8.718, allocations: 177.8 kB / 3.46 GB, free: 109.8 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008784/8.719, allocations: 0.55 MB / 3.46 GB, free: 109.3 MB / 0.8698 GB Notification: Performance of SimCode: time 1.112e-06/8.719, allocations: 0 / 3.46 GB, free: 109.3 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1061/8.825, allocations: 32.21 MB / 3.492 GB, free: 77.2 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002829/8.825, allocations: 184.8 kB / 3.492 GB, free: 77.01 MB / 0.8698 GB Error: Error building simulator. Build log: clang -Os -fPIC -mfpmath=sse -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. -DOMC_MODEL_PREFIX=Buildings_7_0_0_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase7 -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=1 -DOMC_NUM_NONLINEAR_SYSTEMS=2 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Buildings_7_0_0_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase7_FMU.o Buildings_7_0_0_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase7_FMU.c In file included from Buildings_7_0_0_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase7_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_7_0_0_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase7_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_7_0_0_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase7_FMU.c:573: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_7_0_0_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase7_FMU.c:573:82: error: expected expression Buildings_7_0_0_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase7_FMU.c:574:61: warning: missing terminating '"' character [-Winvalid-pp-token] Check output 'satisfied' for when violation(s) happened."); ^ Buildings_7_0_0_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase7_FMU.c:1120:68: error: function definition is not allowed here fmi2Real getReal(ModelInstance* comp, const fmi2ValueReference vr) { ^ Buildings_7_0_0_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase7_FMU.c:1134:92: error: function definition is not allowed here fmi2Status setReal(ModelInstance* comp, const fmi2ValueReference vr, const fmi2Real value) { ^ Buildings_7_0_0_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase7_FMU.c:1150:74: error: function definition is not allowed here fmi2Integer getInteger(ModelInstance* comp, const fmi2ValueReference vr) { ^ Buildings_7_0_0_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase7_FMU.c:1160:98: error: function definition is not allowed here fmi2Status setInteger(ModelInstance* comp, const fmi2ValueReference vr, const fmi2Integer value) { ^ Buildings_7_0_0_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase7_FMU.c:1171:74: error: function definition is not allowed here fmi2Boolean getBoolean(ModelInstance* comp, const fmi2ValueReference vr) { ^ Buildings_7_0_0_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase7_FMU.c:1207:98: error: function definition is not allowed here fmi2Status setBoolean(ModelInstance* comp, const fmi2ValueReference vr, const fmi2Boolean value) { ^ Buildings_7_0_0_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase7_FMU.c:1244:72: error: function definition is not allowed here fmi2String getString(ModelInstance* comp, const fmi2ValueReference vr) { ^ Buildings_7_0_0_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase7_FMU.c:1258:90: error: function definition is not allowed here fmi2Status setString(ModelInstance* comp, const fmi2ValueReference vr, fmi2String value) { ^ Buildings_7_0_0_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase7_FMU.c:1273:97: error: function definition is not allowed here fmi2Status setExternalFunction(ModelInstance* c, const fmi2ValueReference vr, const void* value){ ^ Buildings_7_0_0_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase7_FMU.c:1282:79: error: function definition is not allowed here fmi2ValueReference mapInputReference2InputNumber(const fmi2ValueReference vr) { ^ Buildings_7_0_0_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase7_FMU.c:1289:81: error: function definition is not allowed here fmi2ValueReference mapOutputReference2OutputNumber(const fmi2ValueReference vr) { ^ Buildings_7_0_0_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase7_FMU.c:1299:1: error: expected '}' ^ Buildings_7_0_0_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase7_FMU.c:58:49: note: to match this '{' void setDefaultStartValues(ModelInstance *comp) { ^ 6 warnings and 13 errors generated. : recipe for target 'Buildings_7_0_0_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase7_FMU.o' failed make: *** [Buildings_7_0_0_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase7_FMU.o] Error 1