Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.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.TestCase6,fileNamePrefix="Buildings_7_0_0_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase6",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.254/2.254, allocations: 248.7 MB / 256.2 MB, free: 7.062 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.001518/0.001518, allocations: 185.9 kB / 315.4 MB, free: 3.957 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.236/2.236, allocations: 205.3 MB / 0.5662 GB, free: 496 kB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001146/0.001145, allocations: 88.31 kB / 0.6704 GB, free: 5.695 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.518e-05/2.505e-05, allocations: 0 / 0.7803 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2703/0.2704, allocations: 106.3 MB / 0.8841 GB, free: 12.95 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 8.147/8.417, allocations: 2.466 GB / 3.35 GB, free: 213.1 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003279/8.418, allocations: 94.88 kB / 3.35 GB, free: 213 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.2233/8.641, allocations: 65.63 MB / 3.414 GB, free: 156.7 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.064e-06/8.641, allocations: 0 / 3.414 GB, free: 156.7 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0001438/8.641, allocations: 28 kB / 3.414 GB, free: 156.6 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: 119 * Number of variables: 119 Notification: Performance of Generate backend data structure: time 0.003154/8.645, allocations: 1.346 MB / 3.416 GB, free: 155.3 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.019e-05/8.645, allocations: 8.031 kB / 3.416 GB, free: 155.2 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005574/8.645, allocations: 158.5 kB / 3.416 GB, free: 155.1 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00543/8.651, allocations: 1.549 MB / 3.417 GB, free: 153.5 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001775/8.651, allocations: 63 kB / 3.417 GB, free: 153.4 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001179/8.651, allocations: 32 kB / 3.417 GB, free: 153.4 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009512/8.652, allocations: 342.5 kB / 3.418 GB, free: 153.1 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001021/8.653, allocations: 468.9 kB / 3.418 GB, free: 152.6 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.004e-05/8.653, allocations: 0 / 3.418 GB, free: 152.6 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.197e-05/8.653, allocations: 0 / 3.418 GB, free: 152.6 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.457e-05/8.653, allocations: 12 kB / 3.418 GB, free: 152.6 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005181/8.658, allocations: 2.694 MB / 3.421 GB, free: 149.7 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001276/8.66, allocations: 467.9 kB / 3.421 GB, free: 149.2 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006022/8.66, allocations: 259 kB / 3.421 GB, free: 148.9 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.798e-05/8.66, allocations: 15.98 kB / 3.421 GB, free: 148.9 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005772/8.661, allocations: 256 kB / 3.422 GB, free: 148.7 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=50): time 3.857e-06/8.661, allocations: 4 kB / 3.422 GB, free: 148.7 MB / 0.8698 GB Notification: Performance of matching and sorting (n=50): time 0.001899/8.663, allocations: 0.6636 MB / 3.422 GB, free: 148 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.906e-05/8.663, allocations: 59.84 kB / 3.422 GB, free: 147.9 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004087/8.667, allocations: 1.756 MB / 3.424 GB, free: 146.1 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001393/8.667, allocations: 37.7 kB / 3.424 GB, free: 146.1 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005994/8.668, allocations: 0.6046 MB / 3.425 GB, free: 145.5 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001894/8.668, allocations: 149.8 kB / 3.425 GB, free: 145.3 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.322e-05/8.668, allocations: 0 / 3.425 GB, free: 145.3 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 8.028e-05/8.668, allocations: 326 kB / 3.425 GB, free: 145 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003911/8.669, allocations: 157.5 kB / 3.425 GB, free: 144.9 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004404/8.669, allocations: 261.8 kB / 3.426 GB, free: 144.6 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004552/8.67, allocations: 195.2 kB / 3.426 GB, free: 144.4 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.583e-06/8.67, allocations: 0 / 3.426 GB, free: 144.4 MB / 0.8698 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001973/8.672, allocations: 0.7157 MB / 3.426 GB, free: 143.6 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.993e-05/8.672, allocations: 8 kB / 3.426 GB, free: 143.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.218e-05/8.672, allocations: 0 / 3.426 GB, free: 143.6 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007126/8.672, allocations: 164.8 kB / 3.427 GB, free: 143.5 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006191/8.673, allocations: 91.89 kB / 3.427 GB, free: 143.4 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004006/8.677, allocations: 2.532 MB / 3.429 GB, free: 140.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00101/8.678, allocations: 75.55 kB / 3.429 GB, free: 140.7 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.217e-05/8.678, allocations: 24 kB / 3.429 GB, free: 140.6 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 24 ($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) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (54): * Single equations (assignments): 53 * 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: 1 {(2,100.0%) 17} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000187/8.678, allocations: 123.2 kB / 3.429 GB, free: 140.5 MB / 0.8698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001717/8.68, allocations: 0.6559 MB / 3.43 GB, free: 139.8 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002729/8.68, allocations: 154.1 kB / 3.43 GB, free: 139.7 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001926/8.682, allocations: 0.7181 MB / 3.431 GB, free: 138.9 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.766e-06/8.682, allocations: 8 kB / 3.431 GB, free: 138.9 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.532e-06/8.682, allocations: 0 / 3.431 GB, free: 138.9 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.091e-05/8.682, allocations: 3.984 kB / 3.431 GB, free: 138.9 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003882/8.686, allocations: 1.707 MB / 3.433 GB, free: 137.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.821e-06/8.686, allocations: 3.938 kB / 3.433 GB, free: 137.2 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004497/8.687, allocations: 55.91 kB / 3.433 GB, free: 137.1 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007761/8.688, allocations: 183.3 kB / 3.433 GB, free: 136.9 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.815e-05/8.688, allocations: 7.984 kB / 3.433 GB, free: 136.9 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004688/8.692, allocations: 3.838 MB / 3.437 GB, free: 132.9 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.832e-06/8.692, allocations: 3.984 kB / 3.437 GB, free: 132.9 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002392/8.695, allocations: 1.001 MB / 3.438 GB, free: 131.8 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009178/8.696, allocations: 347.2 kB / 3.438 GB, free: 131.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002061/8.696, allocations: 12 kB / 3.438 GB, free: 131.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006899/8.697, allocations: 43.95 kB / 3.438 GB, free: 131.4 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002008/8.697, allocations: 56.34 kB / 3.438 GB, free: 131.4 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.066e-05/8.697, allocations: 19.98 kB / 3.438 GB, free: 131.3 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.002364/8.699, allocations: 1.384 MB / 3.439 GB, free: 130 MB / 0.8698 GB Notification: Performance of sort global known variables: time 7.31e-07/8.699, allocations: 4 kB / 3.439 GB, free: 129.9 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001817/8.701, allocations: 327.4 kB / 3.44 GB, free: 129.6 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (thermalZoneTwoElements.extWallRC.thermCapExt[1].T,thermalZoneTwoElements.intWallRC.thermCapInt[1].T,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 (35): * Single equations (assignments): 25 * 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: 2 {(2,100.0%) 14,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004314/8.706, allocations: 2.423 MB / 3.442 GB, free: 127.3 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.00166/8.707, allocations: 0.6151 MB / 3.443 GB, free: 126.7 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 5.26e-06/8.707, allocations: 4 kB / 3.443 GB, free: 126.7 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.001085/8.708, allocations: 0.509 MB / 3.443 GB, free: 126.1 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0017/8.71, allocations: 185.1 kB / 3.443 GB, free: 125.9 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006626/8.717, allocations: 2.667 MB / 3.446 GB, free: 123.2 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00096/8.718, allocations: 1.274 MB / 3.447 GB, free: 121.9 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0006816/8.718, allocations: 160.8 kB / 3.447 GB, free: 121.8 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007906/8.719, allocations: 487.3 kB / 3.448 GB, free: 121.3 MB / 0.8698 GB Notification: Performance of SimCode: time 1.022e-06/8.719, allocations: 4 kB / 3.448 GB, free: 121.3 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09299/8.812, allocations: 27.27 MB / 3.474 GB, free: 94.1 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001944/8.813, allocations: 181.7 kB / 3.475 GB, free: 93.91 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_TestCase6 -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=3 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Buildings_7_0_0_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase6_FMU.o Buildings_7_0_0_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase6_FMU.c In file included from Buildings_7_0_0_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase6_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_TestCase6_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_TestCase6_FMU.c:508: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_TestCase6_FMU.c:508:82: error: expected expression Buildings_7_0_0_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase6_FMU.c:509: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_TestCase6_FMU.c:989:68: error: function definition is not allowed here fmi2Real getReal(ModelInstance* comp, const fmi2ValueReference vr) { ^ Buildings_7_0_0_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase6_FMU.c:1003: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_TestCase6_FMU.c:1019:74: error: function definition is not allowed here fmi2Integer getInteger(ModelInstance* comp, const fmi2ValueReference vr) { ^ Buildings_7_0_0_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase6_FMU.c:1029: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_TestCase6_FMU.c:1040:74: error: function definition is not allowed here fmi2Boolean getBoolean(ModelInstance* comp, const fmi2ValueReference vr) { ^ Buildings_7_0_0_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase6_FMU.c:1069: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_TestCase6_FMU.c:1099:72: error: function definition is not allowed here fmi2String getString(ModelInstance* comp, const fmi2ValueReference vr) { ^ Buildings_7_0_0_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase6_FMU.c:1113: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_TestCase6_FMU.c:1128: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_TestCase6_FMU.c:1137:79: error: function definition is not allowed here fmi2ValueReference mapInputReference2InputNumber(const fmi2ValueReference vr) { ^ Buildings_7_0_0_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase6_FMU.c:1144:81: error: function definition is not allowed here fmi2ValueReference mapOutputReference2OutputNumber(const fmi2ValueReference vr) { ^ Buildings_7_0_0_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase6_FMU.c:1154:1: error: expected '}' ^ Buildings_7_0_0_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase6_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_TestCase6_FMU.o' failed make: *** [Buildings_7_0_0_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase6_FMU.o] Error 1