Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.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 Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1,fileNamePrefix="Buildings_8_0_0_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1,fileNamePrefix="Buildings_8_0_0_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.473/2.473, allocations: 284.9 MB / 292.4 MB, free: 10.53 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.001456/0.001456, allocations: 184.8 kB / 360.6 MB, free: 7.27 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.269/2.269, allocations: 205.2 MB / 0.6191 GB, free: 12.19 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.001164/0.001163, allocations: 106.7 kB / 0.7321 GB, free: 44.74 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.097e-05/2.096e-05, allocations: 0 / 0.8509 GB, free: 3.336 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8369/0.8369, allocations: 115.3 MB / 0.9634 GB, free: 78.48 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.169/8.006, allocations: 2.346 GB / 3.31 GB, free: 134.9 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000332/8.006, allocations: 92.95 kB / 3.31 GB, free: 134.9 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 0.2171/8.223, allocations: 62.85 MB / 3.371 GB, free: 79.59 MB / 0.948 GB Notification: Performance of FrontEnd: time 3.607e-06/8.223, allocations: 4 kB / 3.371 GB, free: 79.58 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001309/8.223, allocations: 23.98 kB / 3.371 GB, free: 79.56 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: 105 * Number of variables: 105 Notification: Performance of Generate backend data structure: time 0.002961/8.226, allocations: 1.195 MB / 3.372 GB, free: 78.32 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.659e-05/8.226, allocations: 8.031 kB / 3.372 GB, free: 78.31 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004607/8.227, allocations: 134.3 kB / 3.373 GB, free: 78.18 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005239/8.232, allocations: 1.442 MB / 3.374 GB, free: 76.69 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001832/8.232, allocations: 59 kB / 3.374 GB, free: 76.62 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001092/8.233, allocations: 28 kB / 3.374 GB, free: 76.59 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009347/8.233, allocations: 314.5 kB / 3.374 GB, free: 76.29 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009608/8.234, allocations: 417.1 kB / 3.375 GB, free: 75.86 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.054e-05/8.234, allocations: 3.984 kB / 3.375 GB, free: 75.86 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.755e-05/8.235, allocations: 0 / 3.375 GB, free: 75.86 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.43e-05/8.235, allocations: 12 kB / 3.375 GB, free: 75.85 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005061/8.24, allocations: 2.441 MB / 3.377 GB, free: 73.23 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001099/8.241, allocations: 408.6 kB / 3.378 GB, free: 72.82 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007073/8.242, allocations: 253.6 kB / 3.378 GB, free: 72.57 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 3.477e-05/8.242, allocations: 4 kB / 3.378 GB, free: 72.57 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005225/8.242, allocations: 239.8 kB / 3.378 GB, free: 72.32 MB / 0.948 GB Notification: Performance of pre-optimization done (n=42): time 3.818e-06/8.242, allocations: 0 / 3.378 GB, free: 72.32 MB / 0.948 GB Notification: Performance of matching and sorting (n=42): time 0.001692/8.244, allocations: 0.5451 MB / 3.379 GB, free: 71.76 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.939e-05/8.244, allocations: 67.17 kB / 3.379 GB, free: 71.68 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003487/8.247, allocations: 1.459 MB / 3.38 GB, free: 70.21 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001308/8.248, allocations: 39.56 kB / 3.38 GB, free: 70.17 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.000542/8.248, allocations: 0.5097 MB / 3.381 GB, free: 69.66 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001682/8.248, allocations: 134.1 kB / 3.381 GB, free: 69.52 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.025e-05/8.248, allocations: 0 / 3.381 GB, free: 69.52 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.951e-05/8.248, allocations: 322 kB / 3.381 GB, free: 69.2 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003584/8.249, allocations: 145.1 kB / 3.381 GB, free: 69.06 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004032/8.249, allocations: 263.6 kB / 3.381 GB, free: 68.76 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000422/8.25, allocations: 163.9 kB / 3.382 GB, free: 68.6 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.955e-06/8.25, allocations: 15.89 kB / 3.382 GB, free: 68.59 MB / 0.948 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001774/8.252, allocations: 0.6222 MB / 3.382 GB, free: 67.95 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.705e-05/8.252, allocations: 5.719 kB / 3.382 GB, free: 67.95 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.148e-05/8.252, allocations: 4 kB / 3.382 GB, free: 67.95 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000625/8.252, allocations: 138.6 kB / 3.382 GB, free: 67.81 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006024/8.253, allocations: 95.88 kB / 3.382 GB, free: 67.71 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003463/8.256, allocations: 2.254 MB / 3.385 GB, free: 65.35 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000936/8.257, allocations: 63.5 kB / 3.385 GB, free: 65.29 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.61e-05/8.257, allocations: 23.98 kB / 3.385 GB, free: 65.27 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 19 ($PRE.assEqu.nFai,assEqu.nFai,$whenCondition5,$whenCondition4,$PRE.intGai.nextTimeEvent,$whenCondition3,$PRE.reference.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) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (51): * Single equations (assignments): 50 * 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%) 14} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001818/8.258, allocations: 126.7 kB / 3.385 GB, free: 65.14 MB / 0.948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001477/8.259, allocations: 0.5599 MB / 3.385 GB, free: 64.56 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002366/8.259, allocations: 126.5 kB / 3.386 GB, free: 64.44 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001741/8.261, allocations: 0.5928 MB / 3.386 GB, free: 63.83 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.767e-06/8.261, allocations: 8 kB / 3.386 GB, free: 63.82 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.845e-06/8.261, allocations: 4 kB / 3.386 GB, free: 63.82 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.039e-05/8.261, allocations: 3.984 kB / 3.386 GB, free: 63.81 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003544/8.265, allocations: 1.444 MB / 3.388 GB, free: 62.32 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.055e-06/8.265, allocations: 3.984 kB / 3.388 GB, free: 62.32 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000432/8.265, allocations: 47.97 kB / 3.388 GB, free: 62.27 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006329/8.266, allocations: 161.6 kB / 3.388 GB, free: 62.11 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.913e-05/8.266, allocations: 11.94 kB / 3.388 GB, free: 62.09 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0043/8.27, allocations: 3.51 MB / 3.391 GB, free: 58.35 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.562e-06/8.27, allocations: 0 / 3.391 GB, free: 58.35 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002165/8.273, allocations: 0.8586 MB / 3.392 GB, free: 57.46 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008083/8.273, allocations: 295.5 kB / 3.392 GB, free: 57.16 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001843/8.274, allocations: 19.94 kB / 3.392 GB, free: 57.14 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006424/8.274, allocations: 39.91 kB / 3.392 GB, free: 57.1 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002132/8.274, allocations: 51.91 kB / 3.392 GB, free: 57.05 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.608e-05/8.275, allocations: 15.94 kB / 3.392 GB, free: 57.03 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.002134/8.277, allocations: 1.159 MB / 3.394 GB, free: 55.87 MB / 0.948 GB Notification: Performance of sort global known variables: time 6.41e-07/8.277, allocations: 0 / 3.394 GB, free: 55.87 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001689/8.278, allocations: 279.5 kB / 3.394 GB, free: 55.59 MB / 0.948 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: 12 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,intGai.nextTimeEvent,intGai.nextTimeEventScaled,reference.nextTimeEvent,reference.nextTimeEventScaled,assEqu.satisfied,assEqu.nFai,mean.y) * Number of discrete states: 7 (intGai.nextTimeEvent,reference.nextTimeEvent,mean.x,reference.nextTimeEventScaled,assEqu.satisfied,assEqu.nFai,intGai.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * 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%) 12,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004205/8.283, allocations: 2.27 MB / 3.396 GB, free: 53.44 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001676/8.284, allocations: 0.5486 MB / 3.397 GB, free: 52.88 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 5.05e-06/8.284, allocations: 0 / 3.397 GB, free: 52.88 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0009605/8.285, allocations: 483 kB / 3.397 GB, free: 52.39 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001623/8.287, allocations: 173.7 kB / 3.397 GB, free: 52.23 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006307/8.293, allocations: 2.202 MB / 3.399 GB, free: 49.98 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008479/8.294, allocations: 1.173 MB / 3.4 GB, free: 48.77 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.000679/8.295, allocations: 152 kB / 3.401 GB, free: 48.62 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006892/8.296, allocations: 411.3 kB / 3.401 GB, free: 48.22 MB / 0.948 GB Notification: Performance of SimCode: time 1.323e-06/8.296, allocations: 0 / 3.401 GB, free: 48.22 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08501/8.381, allocations: 24.04 MB / 3.424 GB, free: 24.26 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002837/8.381, allocations: 185.7 kB / 3.425 GB, free: 24.07 MB / 0.948 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_8_0_0_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1 -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_8_0_0_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1_FMU.o Buildings_8_0_0_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1_FMU.c In file included from Buildings_8_0_0_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1_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_8_0_0_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1_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_8_0_0_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1_FMU.c:436: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_8_0_0_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1_FMU.c:436:82: error: expected expression Buildings_8_0_0_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1_FMU.c:437:61: warning: missing terminating '"' character [-Winvalid-pp-token] Check output 'satisfied' for when violation(s) happened."); ^ Buildings_8_0_0_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1_FMU.c:841:68: error: function definition is not allowed here fmi2Real getReal(ModelInstance* comp, const fmi2ValueReference vr) { ^ Buildings_8_0_0_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1_FMU.c:855:92: error: function definition is not allowed here fmi2Status setReal(ModelInstance* comp, const fmi2ValueReference vr, const fmi2Real value) { ^ Buildings_8_0_0_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1_FMU.c:871:74: error: function definition is not allowed here fmi2Integer getInteger(ModelInstance* comp, const fmi2ValueReference vr) { ^ Buildings_8_0_0_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1_FMU.c:881:98: error: function definition is not allowed here fmi2Status setInteger(ModelInstance* comp, const fmi2ValueReference vr, const fmi2Integer value) { ^ Buildings_8_0_0_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1_FMU.c:892:74: error: function definition is not allowed here fmi2Boolean getBoolean(ModelInstance* comp, const fmi2ValueReference vr) { ^ Buildings_8_0_0_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1_FMU.c:917:98: error: function definition is not allowed here fmi2Status setBoolean(ModelInstance* comp, const fmi2ValueReference vr, const fmi2Boolean value) { ^ Buildings_8_0_0_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1_FMU.c:943:72: error: function definition is not allowed here fmi2String getString(ModelInstance* comp, const fmi2ValueReference vr) { ^ Buildings_8_0_0_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1_FMU.c:955:90: error: function definition is not allowed here fmi2Status setString(ModelInstance* comp, const fmi2ValueReference vr, fmi2String value) { ^ Buildings_8_0_0_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1_FMU.c:968:97: error: function definition is not allowed here fmi2Status setExternalFunction(ModelInstance* c, const fmi2ValueReference vr, const void* value){ ^ Buildings_8_0_0_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1_FMU.c:977:79: error: function definition is not allowed here fmi2ValueReference mapInputReference2InputNumber(const fmi2ValueReference vr) { ^ Buildings_8_0_0_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1_FMU.c:984:81: error: function definition is not allowed here fmi2ValueReference mapOutputReference2OutputNumber(const fmi2ValueReference vr) { ^ Buildings_8_0_0_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1_FMU.c:994:1: error: expected '}' ^ Buildings_8_0_0_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1_FMU.c:58:49: note: to match this '{' void setDefaultStartValues(ModelInstance *comp) { ^ 6 warnings and 13 errors generated. : recipe for target 'Buildings_8_0_0_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1_FMU.o' failed make: *** [Buildings_8_0_0_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1_FMU.o] Error 1