Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5,fileNamePrefix="BuildingSystems_BuildingSystems_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5,fileNamePrefix="BuildingSystems_BuildingSystems_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase5",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.865/0.865, allocations: 141.8 MB / 149.3 MB, free: 9.223 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001156/0.001156, allocations: 188.8 kB / 182.2 MB, free: 9.445 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.629/1.629, allocations: 221.5 MB / 436.4 MB, free: 13.31 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001079/0.00108, allocations: 91.8 kB / 0.5074 GB, free: 10.14 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001958/0.001958, allocations: 278.2 kB / 0.5889 GB, free: 54.68 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 2.25e-05/2.254e-05, allocations: 8 kB / 0.6766 GB, free: 12.75 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4825/0.4825, allocations: 82.77 MB / 0.7575 GB, free: 31.91 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.734/6.217, allocations: 2.148 GB / 2.906 GB, free: 189.6 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003206/6.217, allocations: 91.94 kB / 2.906 GB, free: 189.5 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.1425/6.36, allocations: 72.61 MB / 2.977 GB, free: 116.4 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.222e-06/6.36, allocations: 0 / 2.977 GB, free: 116.4 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001293/6.36, allocations: 39.94 kB / 2.977 GB, free: 116.3 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 153 * Number of variables: 153 Notification: Performance of Generate backend data structure: time 0.00269/6.363, allocations: 1.805 MB / 2.979 GB, free: 114.5 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.123e-05/6.363, allocations: 8.031 kB / 2.979 GB, free: 114.5 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003091/6.363, allocations: 237.1 kB / 2.979 GB, free: 114.2 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003717/6.367, allocations: 1.859 MB / 2.981 GB, free: 112.3 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001345/6.367, allocations: 70.95 kB / 2.981 GB, free: 112.2 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.836e-05/6.367, allocations: 47.97 kB / 2.981 GB, free: 112.2 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008009/6.368, allocations: 486.5 kB / 2.981 GB, free: 111.7 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008922/6.369, allocations: 0.586 MB / 2.982 GB, free: 111.1 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.329e-05/6.369, allocations: 0 / 2.982 GB, free: 111.1 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.324e-05/6.369, allocations: 0 / 2.982 GB, free: 111.1 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.532e-05/6.369, allocations: 16 kB / 2.982 GB, free: 111.1 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004662/6.374, allocations: 3.568 MB / 2.985 GB, free: 107.3 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009682/6.375, allocations: 0.589 MB / 2.986 GB, free: 106.7 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000454/6.375, allocations: 340.5 kB / 2.986 GB, free: 106.3 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.901e-05/6.375, allocations: 4.562 kB / 2.986 GB, free: 106.3 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005443/6.376, allocations: 369.7 kB / 2.987 GB, free: 106 MB / 0.698 GB Notification: Performance of pre-optimization done (n=69): time 2.866e-06/6.376, allocations: 0 / 2.987 GB, free: 106 MB / 0.698 GB Notification: Performance of matching and sorting (n=69): time 0.001836/6.378, allocations: 0.9436 MB / 2.988 GB, free: 105 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.075e-05/6.378, allocations: 67.89 kB / 2.988 GB, free: 104.9 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003845/6.381, allocations: 2.794 MB / 2.99 GB, free: 102.1 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 6.614e-05/6.382, allocations: 37.64 kB / 2.99 GB, free: 102.1 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006314/6.382, allocations: 0.8856 MB / 2.991 GB, free: 101.2 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001612/6.382, allocations: 217 kB / 2.992 GB, free: 100.9 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.207e-05/6.382, allocations: 0 / 2.992 GB, free: 100.9 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001003/6.382, allocations: 334.7 kB / 2.992 GB, free: 100.6 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003094/6.383, allocations: 229.5 kB / 2.992 GB, free: 100.4 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003764/6.383, allocations: 351.6 kB / 2.992 GB, free: 100 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004017/6.384, allocations: 274 kB / 2.993 GB, free: 99.73 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.633e-06/6.384, allocations: 3.953 kB / 2.993 GB, free: 99.73 MB / 0.698 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001566/6.385, allocations: 1.027 MB / 2.994 GB, free: 98.69 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.277e-05/6.385, allocations: 8 kB / 2.994 GB, free: 98.68 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.049e-05/6.385, allocations: 4 kB / 2.994 GB, free: 98.68 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006858/6.386, allocations: 270.2 kB / 2.994 GB, free: 98.41 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004784/6.386, allocations: 147.7 kB / 2.994 GB, free: 98.27 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00403/6.39, allocations: 4.464 MB / 2.998 GB, free: 93.57 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009419/6.391, allocations: 95.39 kB / 2.999 GB, free: 93.48 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.483e-05/6.391, allocations: 28 kB / 2.999 GB, free: 93.45 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 30 ($PRE.assEqu.nFai,assEqu.nFai,$whenCondition7,$whenCondition6,$PRE.intGai.nextTimeEvent,$whenCondition5,$PRE.reference.nextTimeEvent,$whenCondition4,$PRE.outdoorTemp.nextTimeEvent,$whenCondition3,$PRE.tableSolRadWindow.nextTimeEvent,$whenCondition1,$whenCondition2,reference.nextTimeEvent,$PRE.reference.nextTimeEventScaled,reference.nextTimeEventScaled,$PRE.assEqu.satisfied,assEqu.satisfied,$PRE.mean.y_last,mean.y_last,intGai.nextTimeEvent,$PRE.intGai.nextTimeEventScaled,intGai.nextTimeEventScaled,outdoorTemp.nextTimeEvent,$PRE.outdoorTemp.nextTimeEventScaled,outdoorTemp.nextTimeEventScaled,tableSolRadWindow.nextTimeEvent,$PRE.tableSolRadWindow.nextTimeEventScaled,tableSolRadWindow.nextTimeEventScaled,greaterThreshold1.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (71): * Single equations (assignments): 69 * 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 {(3,100.0%) 19,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002087/6.392, allocations: 141.1 kB / 2.999 GB, free: 93.3 MB / 0.698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001626/6.393, allocations: 0.9547 MB / 3 GB, free: 92.34 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002497/6.394, allocations: 217.3 kB / 3 GB, free: 92.12 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00208/6.396, allocations: 1.057 MB / 3.001 GB, free: 91.05 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.192e-06/6.396, allocations: 4 kB / 3.001 GB, free: 91.04 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.352e-06/6.396, allocations: 8 kB / 3.001 GB, free: 91.04 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.448e-06/6.396, allocations: 3.984 kB / 3.001 GB, free: 91.03 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004606/6.4, allocations: 2.599 MB / 3.003 GB, free: 88.38 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.588e-06/6.4, allocations: 0 / 3.003 GB, free: 88.38 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003244/6.401, allocations: 79.91 kB / 3.003 GB, free: 88.3 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006519/6.401, allocations: 271.9 kB / 3.004 GB, free: 88.03 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.398e-05/6.401, allocations: 15.92 kB / 3.004 GB, free: 88.01 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004342/6.406, allocations: 4.459 MB / 3.008 GB, free: 83.32 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.188e-06/6.406, allocations: 0 / 3.008 GB, free: 83.32 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002599/6.408, allocations: 1.433 MB / 3.01 GB, free: 81.86 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001046/6.409, allocations: 490.2 kB / 3.01 GB, free: 81.36 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005118/6.41, allocations: 15.98 kB / 3.01 GB, free: 81.34 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007863/6.411, allocations: 55.89 kB / 3.01 GB, free: 81.29 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00021/6.411, allocations: 76.66 kB / 3.01 GB, free: 81.21 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.008e-05/6.411, allocations: 23.98 kB / 3.01 GB, free: 81.19 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.003857/6.415, allocations: 2.196 MB / 3.012 GB, free: 78.98 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.7e-07/6.415, allocations: 0 / 3.012 GB, free: 78.98 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001886/6.417, allocations: 444.1 kB / 3.013 GB, free: 78.55 MB / 0.698 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,assEqu.diff,mean.x) * Number of discrete variables: 19 ($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,assEqu.satisfied,assEqu.nFai,mean.y_last) * Number of discrete states: 11 (intGai.nextTimeEvent,reference.nextTimeEvent,outdoorTemp.nextTimeEvent,tableSolRadWindow.nextTimeEvent,mean.x,assEqu.satisfied,assEqu.nFai,tableSolRadWindow.nextTimeEventScaled,outdoorTemp.nextTimeEventScaled,reference.nextTimeEventScaled,intGai.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (51): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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 {(3,100.0%) 19,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004522/6.421, allocations: 2.86 MB / 3.016 GB, free: 75.76 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.00169/6.423, allocations: 0.9159 MB / 3.016 GB, free: 74.82 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.428e-06/6.423, allocations: 0.8125 kB / 3.016 GB, free: 74.82 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0009095/6.424, allocations: 0.6336 MB / 3.017 GB, free: 74.16 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001874/6.426, allocations: 240.2 kB / 3.017 GB, free: 73.93 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008563/6.434, allocations: 3.997 MB / 3.021 GB, free: 69.87 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001491/6.436, allocations: 1.567 MB / 3.023 GB, free: 68.27 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0007753/6.437, allocations: 257.7 kB / 3.023 GB, free: 68.01 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001051/6.438, allocations: 0.7374 MB / 3.024 GB, free: 67.27 MB / 0.698 GB Notification: Performance of SimCode: time 1.533e-06/6.438, allocations: 0 / 3.024 GB, free: 67.27 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07559/6.514, allocations: 37.58 MB / 3.06 GB, free: 29.74 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000217/6.514, allocations: 197.6 kB / 3.061 GB, free: 29.55 MB / 0.698 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=BuildingSystems_BuildingSystems_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase5 -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=4 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o BuildingSystems_BuildingSystems_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase5_FMU.o BuildingSystems_BuildingSystems_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase5_FMU.c In file included from BuildingSystems_BuildingSystems_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase5_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 BuildingSystems_BuildingSystems_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase5_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); ^ BuildingSystems_BuildingSystems_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase5_FMU.c:743:82: warning: missing terminating '"' character [-Winvalid-pp-token] comp->fmuData->modelData->stringParameterData[0].attribute.start = mmc_mk_scon("Inputs differ by more than threShold. ^ BuildingSystems_BuildingSystems_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase5_FMU.c:743:82: error: expected expression BuildingSystems_BuildingSystems_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase5_FMU.c:744:61: warning: missing terminating '"' character [-Winvalid-pp-token] Check output 'satisfied' for when violation(s) happened."); ^ BuildingSystems_BuildingSystems_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase5_FMU.c:1464:68: error: function definition is not allowed here fmi2Real getReal(ModelInstance* comp, const fmi2ValueReference vr) { ^ BuildingSystems_BuildingSystems_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase5_FMU.c:1478:92: error: function definition is not allowed here fmi2Status setReal(ModelInstance* comp, const fmi2ValueReference vr, const fmi2Real value) { ^ BuildingSystems_BuildingSystems_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase5_FMU.c:1494:74: error: function definition is not allowed here fmi2Integer getInteger(ModelInstance* comp, const fmi2ValueReference vr) { ^ BuildingSystems_BuildingSystems_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase5_FMU.c:1504:98: error: function definition is not allowed here fmi2Status setInteger(ModelInstance* comp, const fmi2ValueReference vr, const fmi2Integer value) { ^ BuildingSystems_BuildingSystems_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase5_FMU.c:1515:74: error: function definition is not allowed here fmi2Boolean getBoolean(ModelInstance* comp, const fmi2ValueReference vr) { ^ BuildingSystems_BuildingSystems_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase5_FMU.c:1550:98: error: function definition is not allowed here fmi2Status setBoolean(ModelInstance* comp, const fmi2ValueReference vr, const fmi2Boolean value) { ^ BuildingSystems_BuildingSystems_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase5_FMU.c:1586:72: error: function definition is not allowed here fmi2String getString(ModelInstance* comp, const fmi2ValueReference vr) { ^ BuildingSystems_BuildingSystems_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase5_FMU.c:1602:90: error: function definition is not allowed here fmi2Status setString(ModelInstance* comp, const fmi2ValueReference vr, fmi2String value) { ^ BuildingSystems_BuildingSystems_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase5_FMU.c:1619:97: error: function definition is not allowed here fmi2Status setExternalFunction(ModelInstance* c, const fmi2ValueReference vr, const void* value){ ^ BuildingSystems_BuildingSystems_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase5_FMU.c:1628:79: error: function definition is not allowed here fmi2ValueReference mapInputReference2InputNumber(const fmi2ValueReference vr) { ^ BuildingSystems_BuildingSystems_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase5_FMU.c:1635:81: error: function definition is not allowed here fmi2ValueReference mapOutputReference2OutputNumber(const fmi2ValueReference vr) { ^ BuildingSystems_BuildingSystems_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase5_FMU.c:1645:1: error: expected '}' ^ BuildingSystems_BuildingSystems_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase5_FMU.c:58:49: note: to match this '{' void setDefaultStartValues(ModelInstance *comp) { ^ 6 warnings and 13 errors generated. make: *** [: BuildingSystems_BuildingSystems_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase5_FMU.o] Error 1