Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.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.TestCase4,fileNamePrefix="Buildings_8_0_0_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4,fileNamePrefix="Buildings_8_0_0_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4",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.599/2.599, allocations: 284.9 MB / 292.4 MB, free: 10.5 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.001477/0.001477, allocations: 172.8 kB / 360.6 MB, free: 7.277 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.133/2.133, allocations: 205.3 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.001081/0.001081, allocations: 94.36 kB / 0.7321 GB, free: 44.73 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.909e-05/2.907e-05, allocations: 4 kB / 0.8509 GB, free: 3.332 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8308/0.8309, allocations: 115.3 MB / 0.9634 GB, free: 78.48 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.244/8.075, allocations: 2.346 GB / 3.31 GB, free: 134.1 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002847/8.076, allocations: 96.12 kB / 3.31 GB, free: 134 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 0.2127/8.289, allocations: 62.87 MB / 3.371 GB, free: 78.73 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.633e-06/8.289, allocations: 0 / 3.371 GB, free: 78.73 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001244/8.289, allocations: 24 kB / 3.371 GB, free: 78.7 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.002566/8.291, allocations: 1.183 MB / 3.372 GB, free: 77.48 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.013e-05/8.291, allocations: 11.97 kB / 3.372 GB, free: 77.46 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003413/8.292, allocations: 138.3 kB / 3.373 GB, free: 77.33 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005007/8.297, allocations: 1.448 MB / 3.374 GB, free: 75.83 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001705/8.297, allocations: 59 kB / 3.374 GB, free: 75.77 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.932e-05/8.297, allocations: 24 kB / 3.374 GB, free: 75.74 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008937/8.298, allocations: 311.8 kB / 3.374 GB, free: 75.44 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009446/8.299, allocations: 417.1 kB / 3.375 GB, free: 75.02 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.913e-05/8.299, allocations: 0 / 3.375 GB, free: 75.02 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.882e-05/8.299, allocations: 8 kB / 3.375 GB, free: 75.01 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.389e-05/8.299, allocations: 11.94 kB / 3.375 GB, free: 75 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00481/8.304, allocations: 2.464 MB / 3.377 GB, free: 72.34 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001266/8.305, allocations: 428 kB / 3.378 GB, free: 71.91 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005767/8.306, allocations: 229.3 kB / 3.378 GB, free: 71.68 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 3.895e-05/8.306, allocations: 12.03 kB / 3.378 GB, free: 71.67 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005488/8.306, allocations: 235.1 kB / 3.378 GB, free: 71.43 MB / 0.948 GB Notification: Performance of pre-optimization done (n=43): time 3.056e-06/8.306, allocations: 0 / 3.378 GB, free: 71.43 MB / 0.948 GB Notification: Performance of matching and sorting (n=43): time 0.0018/8.308, allocations: 0.5873 MB / 3.379 GB, free: 70.83 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.548e-05/8.308, allocations: 66.44 kB / 3.379 GB, free: 70.75 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003363/8.312, allocations: 1.45 MB / 3.38 GB, free: 69.29 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.000125/8.312, allocations: 29.7 kB / 3.38 GB, free: 69.26 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005611/8.312, allocations: 0.5097 MB / 3.381 GB, free: 68.74 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001731/8.313, allocations: 138 kB / 3.381 GB, free: 68.61 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.126e-05/8.313, allocations: 4 kB / 3.381 GB, free: 68.6 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.682e-05/8.313, allocations: 322 kB / 3.381 GB, free: 68.28 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003598/8.313, allocations: 141.1 kB / 3.381 GB, free: 68.14 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004048/8.314, allocations: 245.3 kB / 3.381 GB, free: 67.87 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004196/8.314, allocations: 170 kB / 3.382 GB, free: 67.7 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.372e-06/8.314, allocations: 7.953 kB / 3.382 GB, free: 67.7 MB / 0.948 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001759/8.316, allocations: 0.6566 MB / 3.382 GB, free: 67.03 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.318e-05/8.316, allocations: 4 kB / 3.382 GB, free: 67.03 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.122e-05/8.316, allocations: 7.984 kB / 3.382 GB, free: 67.02 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007346/8.317, allocations: 167 kB / 3.382 GB, free: 66.86 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000548/8.317, allocations: 75.89 kB / 3.383 GB, free: 66.78 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003919/8.321, allocations: 2.503 MB / 3.385 GB, free: 64.17 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008759/8.322, allocations: 63.62 kB / 3.385 GB, free: 64.11 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.949e-05/8.322, allocations: 20 kB / 3.385 GB, free: 64.09 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (47): * Single equations (assignments): 46 * 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%) 16} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001733/8.322, allocations: 130.3 kB / 3.385 GB, free: 63.96 MB / 0.948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001476/8.324, allocations: 0.5877 MB / 3.386 GB, free: 63.36 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002061/8.324, allocations: 118.5 kB / 3.386 GB, free: 63.24 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00173/8.326, allocations: 0.6397 MB / 3.386 GB, free: 62.58 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.436e-06/8.326, allocations: 4 kB / 3.386 GB, free: 62.57 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.394e-06/8.326, allocations: 4 kB / 3.386 GB, free: 62.57 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.032e-05/8.326, allocations: 3.984 kB / 3.386 GB, free: 62.57 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00329/8.329, allocations: 1.498 MB / 3.388 GB, free: 61.02 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.571e-06/8.329, allocations: 7.938 kB / 3.388 GB, free: 61.01 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004096/8.33, allocations: 43.97 kB / 3.388 GB, free: 60.97 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006758/8.33, allocations: 169.6 kB / 3.388 GB, free: 60.8 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.609e-05/8.33, allocations: 7.984 kB / 3.388 GB, free: 60.79 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004714/8.335, allocations: 3.81 MB / 3.392 GB, free: 56.75 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.022e-06/8.335, allocations: 0 / 3.392 GB, free: 56.75 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002272/8.337, allocations: 0.908 MB / 3.393 GB, free: 55.82 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000718/8.338, allocations: 295.6 kB / 3.393 GB, free: 55.51 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001767/8.338, allocations: 15.94 kB / 3.393 GB, free: 55.5 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006232/8.339, allocations: 35.97 kB / 3.393 GB, free: 55.46 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001978/8.339, allocations: 55.91 kB / 3.393 GB, free: 55.41 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.536e-05/8.339, allocations: 12 kB / 3.393 GB, free: 55.39 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.002037/8.341, allocations: 1.143 MB / 3.394 GB, free: 54.25 MB / 0.948 GB Notification: Performance of sort global known variables: time 7.61e-07/8.341, allocations: 0 / 3.394 GB, free: 54.25 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001765/8.343, allocations: 291.5 kB / 3.395 GB, free: 53.96 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%) 13,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00437/8.347, allocations: 2.334 MB / 3.397 GB, free: 51.74 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001605/8.349, allocations: 0.5593 MB / 3.397 GB, free: 51.17 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 5.992e-06/8.349, allocations: 4.062 kB / 3.397 GB, free: 51.17 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.001089/8.35, allocations: 0.4916 MB / 3.398 GB, free: 50.66 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001589/8.352, allocations: 165.3 kB / 3.398 GB, free: 50.5 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006062/8.358, allocations: 2.23 MB / 3.4 GB, free: 48.21 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008351/8.359, allocations: 1.169 MB / 3.401 GB, free: 47.02 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0006312/8.359, allocations: 136.3 kB / 3.401 GB, free: 46.89 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007238/8.36, allocations: 407.3 kB / 3.402 GB, free: 46.49 MB / 0.948 GB Notification: Performance of SimCode: time 1.684e-06/8.36, allocations: 0 / 3.402 GB, free: 46.49 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08465/8.445, allocations: 24.21 MB / 3.426 GB, free: 22.36 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002484/8.445, allocations: 193.5 kB / 3.426 GB, free: 22.16 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_TestCase4 -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_TestCase4_FMU.o Buildings_8_0_0_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4_FMU.c In file included from Buildings_8_0_0_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4_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_TestCase4_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_TestCase4_FMU.c:434: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_TestCase4_FMU.c:434:82: error: expected expression Buildings_8_0_0_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4_FMU.c:435: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_TestCase4_FMU.c:837:68: error: function definition is not allowed here fmi2Real getReal(ModelInstance* comp, const fmi2ValueReference vr) { ^ Buildings_8_0_0_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4_FMU.c:851: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_TestCase4_FMU.c:867:74: error: function definition is not allowed here fmi2Integer getInteger(ModelInstance* comp, const fmi2ValueReference vr) { ^ Buildings_8_0_0_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4_FMU.c:877: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_TestCase4_FMU.c:888:74: error: function definition is not allowed here fmi2Boolean getBoolean(ModelInstance* comp, const fmi2ValueReference vr) { ^ Buildings_8_0_0_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4_FMU.c:913: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_TestCase4_FMU.c:939:72: error: function definition is not allowed here fmi2String getString(ModelInstance* comp, const fmi2ValueReference vr) { ^ Buildings_8_0_0_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4_FMU.c:951: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_TestCase4_FMU.c:964: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_TestCase4_FMU.c:973:79: error: function definition is not allowed here fmi2ValueReference mapInputReference2InputNumber(const fmi2ValueReference vr) { ^ Buildings_8_0_0_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4_FMU.c:980:81: error: function definition is not allowed here fmi2ValueReference mapOutputReference2OutputNumber(const fmi2ValueReference vr) { ^ Buildings_8_0_0_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4_FMU.c:990:1: error: expected '}' ^ Buildings_8_0_0_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4_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_TestCase4_FMU.o' failed make: *** [Buildings_8_0_0_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4_FMU.o] Error 1