Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.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.TestCase6,fileNamePrefix="BuildingSystems_BuildingSystems_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase6",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6,fileNamePrefix="BuildingSystems_BuildingSystems_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase6",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.9312/0.9312, allocations: 141.8 MB / 149.3 MB, free: 9.207 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.001206/0.001206, allocations: 175.6 kB / 182.2 MB, free: 9.453 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.35 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.001115/0.001115, allocations: 80.08 kB / 0.5074 GB, free: 10.18 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001968/0.001968, allocations: 277.5 kB / 0.5889 GB, free: 54.68 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 2.423e-05/2.421e-05, allocations: 4 kB / 0.6766 GB, free: 12.75 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4825/0.4825, allocations: 82.78 MB / 0.7575 GB, free: 31.92 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.989/6.472, allocations: 2.148 GB / 2.906 GB, free: 135.7 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003639/6.472, allocations: 90.39 kB / 2.906 GB, free: 135.7 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.1366/6.609, allocations: 67.23 MB / 2.971 GB, free: 76.75 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.943e-06/6.609, allocations: 3.938 kB / 2.971 GB, free: 76.74 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.000106/6.609, allocations: 24 kB / 2.971 GB, free: 76.72 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: 121 * Number of variables: 121 Notification: Performance of Generate backend data structure: time 0.002249/6.611, allocations: 1.373 MB / 2.973 GB, free: 75.3 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.832e-05/6.611, allocations: 12.03 kB / 2.973 GB, free: 75.29 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002998/6.612, allocations: 166 kB / 2.973 GB, free: 75.12 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00332/6.615, allocations: 1.56 MB / 2.974 GB, free: 73.51 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000128/6.615, allocations: 62.95 kB / 2.974 GB, free: 73.44 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.151e-05/6.615, allocations: 36 kB / 2.974 GB, free: 73.41 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006453/6.616, allocations: 342.5 kB / 2.975 GB, free: 73.07 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007048/6.617, allocations: 461.1 kB / 2.975 GB, free: 72.61 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.336e-05/6.617, allocations: 3.938 kB / 2.975 GB, free: 72.6 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.47e-05/6.617, allocations: 8 kB / 2.975 GB, free: 72.59 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.145e-05/6.617, allocations: 8 kB / 2.975 GB, free: 72.59 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003603/6.62, allocations: 2.858 MB / 2.978 GB, free: 69.51 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000667/6.621, allocations: 400.8 kB / 2.978 GB, free: 69.11 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003845/6.621, allocations: 261.5 kB / 2.979 GB, free: 68.86 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.554e-05/6.621, allocations: 4.375 kB / 2.979 GB, free: 68.85 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004141/6.622, allocations: 272.2 kB / 2.979 GB, free: 68.57 MB / 0.698 GB Notification: Performance of pre-optimization done (n=52): time 3.997e-06/6.622, allocations: 8 kB / 2.979 GB, free: 68.57 MB / 0.698 GB Notification: Performance of matching and sorting (n=52): time 0.001165/6.623, allocations: 0.6521 MB / 2.98 GB, free: 67.9 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.734e-05/6.623, allocations: 59.84 kB / 2.98 GB, free: 67.83 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002395/6.625, allocations: 1.768 MB / 2.981 GB, free: 66.05 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 4.609e-05/6.625, allocations: 33.7 kB / 2.981 GB, free: 66.01 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004354/6.626, allocations: 0.5969 MB / 2.982 GB, free: 65.4 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001216/6.626, allocations: 161.7 kB / 2.982 GB, free: 65.24 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.538e-05/6.626, allocations: 0.5469 kB / 2.982 GB, free: 65.24 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 8.376e-05/6.626, allocations: 333.9 kB / 2.982 GB, free: 64.91 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002353/6.626, allocations: 165.5 kB / 2.983 GB, free: 64.75 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002978/6.627, allocations: 273.6 kB / 2.983 GB, free: 64.44 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002911/6.627, allocations: 194.3 kB / 2.983 GB, free: 64.25 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.247e-06/6.627, allocations: 3.938 kB / 2.983 GB, free: 64.25 MB / 0.698 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001104/6.628, allocations: 0.7297 MB / 2.984 GB, free: 63.51 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.464e-05/6.628, allocations: 8 kB / 2.984 GB, free: 63.5 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.117e-05/6.628, allocations: 4 kB / 2.984 GB, free: 63.5 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004664/6.629, allocations: 153.7 kB / 2.984 GB, free: 63.34 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004085/6.629, allocations: 119.8 kB / 2.984 GB, free: 63.23 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002752/6.632, allocations: 2.54 MB / 2.986 GB, free: 60.58 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006004/6.632, allocations: 87.55 kB / 2.987 GB, free: 60.5 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.254e-05/6.633, allocations: 23.98 kB / 2.987 GB, free: 60.47 MB / 0.698 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_last,mean.y_last,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 (57): * Single equations (assignments): 56 * 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.0001748/6.633, allocations: 135 kB / 2.987 GB, free: 60.34 MB / 0.698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001045/6.634, allocations: 0.6676 MB / 2.987 GB, free: 59.65 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001607/6.634, allocations: 146.2 kB / 2.988 GB, free: 59.51 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001294/6.635, allocations: 0.7212 MB / 2.988 GB, free: 58.76 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.541e-06/6.635, allocations: 4 kB / 2.988 GB, free: 58.75 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/6.635, allocations: 4 kB / 2.988 GB, free: 58.75 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.147e-06/6.635, allocations: 7.938 kB / 2.988 GB, free: 58.74 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002664/6.638, allocations: 1.828 MB / 2.99 GB, free: 56.86 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.088e-06/6.638, allocations: 0 / 2.99 GB, free: 56.86 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002596/6.638, allocations: 59.91 kB / 2.99 GB, free: 56.8 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003878/6.639, allocations: 177.5 kB / 2.99 GB, free: 56.62 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.545e-05/6.639, allocations: 7.984 kB / 2.99 GB, free: 56.61 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002998/6.642, allocations: 3.87 MB / 2.994 GB, free: 52.52 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.588e-06/6.642, allocations: 0 / 2.994 GB, free: 52.52 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001515/6.643, allocations: 1.021 MB / 2.995 GB, free: 51.47 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004859/6.644, allocations: 351.1 kB / 2.995 GB, free: 51.11 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001412/6.644, allocations: 19.98 kB / 2.995 GB, free: 51.09 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004009/6.644, allocations: 39.97 kB / 2.995 GB, free: 51.05 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001377/6.644, allocations: 60.45 kB / 2.995 GB, free: 50.99 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.418e-05/6.644, allocations: 16 kB / 2.995 GB, free: 50.98 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001581/6.646, allocations: 1.392 MB / 2.997 GB, free: 49.59 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.4e-07/6.646, allocations: 0 / 2.997 GB, free: 49.59 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001125/6.647, allocations: 327.4 kB / 2.997 GB, free: 49.27 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: 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_last) * Number of discrete states: 9 (intGai.nextTimeEvent,reference.nextTimeEvent,setTemp.nextTimeEvent,mean.x,assEqu.satisfied,assEqu.nFai,setTemp.nextTimeEventScaled,reference.nextTimeEventScaled,intGai.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 27 * 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.003184/6.65, allocations: 2.434 MB / 3 GB, free: 46.9 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001152/6.652, allocations: 0.6331 MB / 3 GB, free: 46.25 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.057e-06/6.652, allocations: 0 / 3 GB, free: 46.25 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0006277/6.652, allocations: 0.5059 MB / 3.001 GB, free: 45.73 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001392/6.654, allocations: 190.3 kB / 3.001 GB, free: 45.54 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005542/6.659, allocations: 2.67 MB / 3.003 GB, free: 42.82 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001022/6.66, allocations: 1.274 MB / 3.005 GB, free: 41.52 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.000592/6.661, allocations: 172.9 kB / 3.005 GB, free: 41.35 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006923/6.662, allocations: 491.3 kB / 3.005 GB, free: 40.88 MB / 0.698 GB Notification: Performance of SimCode: time 1.873e-06/6.662, allocations: 0 / 3.005 GB, free: 40.88 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06878/6.73, allocations: 27.7 MB / 3.032 GB, free: 13.24 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001876/6.731, allocations: 189.6 kB / 3.033 GB, free: 13.05 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_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 BuildingSystems_BuildingSystems_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase6_FMU.o BuildingSystems_BuildingSystems_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase6_FMU.c In file included from BuildingSystems_BuildingSystems_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 BuildingSystems_BuildingSystems_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); ^ BuildingSystems_BuildingSystems_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase6_FMU.c:512: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_TestCase6_FMU.c:512:82: error: expected expression BuildingSystems_BuildingSystems_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase6_FMU.c:513:61: warning: missing terminating '"' character [-Winvalid-pp-token] Check output 'satisfied' for when violation(s) happened."); ^ BuildingSystems_BuildingSystems_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase6_FMU.c:997:68: error: function definition is not allowed here fmi2Real getReal(ModelInstance* comp, const fmi2ValueReference vr) { ^ BuildingSystems_BuildingSystems_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase6_FMU.c:1011:92: error: function definition is not allowed here fmi2Status setReal(ModelInstance* comp, const fmi2ValueReference vr, const fmi2Real value) { ^ BuildingSystems_BuildingSystems_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase6_FMU.c:1027:74: error: function definition is not allowed here fmi2Integer getInteger(ModelInstance* comp, const fmi2ValueReference vr) { ^ BuildingSystems_BuildingSystems_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase6_FMU.c:1037:98: error: function definition is not allowed here fmi2Status setInteger(ModelInstance* comp, const fmi2ValueReference vr, const fmi2Integer value) { ^ BuildingSystems_BuildingSystems_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase6_FMU.c:1048:74: error: function definition is not allowed here fmi2Boolean getBoolean(ModelInstance* comp, const fmi2ValueReference vr) { ^ BuildingSystems_BuildingSystems_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase6_FMU.c:1077:98: error: function definition is not allowed here fmi2Status setBoolean(ModelInstance* comp, const fmi2ValueReference vr, const fmi2Boolean value) { ^ BuildingSystems_BuildingSystems_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase6_FMU.c:1107:72: error: function definition is not allowed here fmi2String getString(ModelInstance* comp, const fmi2ValueReference vr) { ^ BuildingSystems_BuildingSystems_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase6_FMU.c:1121:90: error: function definition is not allowed here fmi2Status setString(ModelInstance* comp, const fmi2ValueReference vr, fmi2String value) { ^ BuildingSystems_BuildingSystems_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase6_FMU.c:1136:97: error: function definition is not allowed here fmi2Status setExternalFunction(ModelInstance* c, const fmi2ValueReference vr, const void* value){ ^ BuildingSystems_BuildingSystems_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase6_FMU.c:1145:79: error: function definition is not allowed here fmi2ValueReference mapInputReference2InputNumber(const fmi2ValueReference vr) { ^ BuildingSystems_BuildingSystems_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase6_FMU.c:1152:81: error: function definition is not allowed here fmi2ValueReference mapOutputReference2OutputNumber(const fmi2ValueReference vr) { ^ BuildingSystems_BuildingSystems_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase6_FMU.c:1162:1: error: expected '}' ^ BuildingSystems_BuildingSystems_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase6_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_TestCase6_FMU.o] Error 1