Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase8.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.TestCase8,fileNamePrefix="BuildingSystems_BuildingSystems_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase8",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase8,fileNamePrefix="BuildingSystems_BuildingSystems_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase8",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.8956/0.8956, allocations: 141.8 MB / 149.3 MB, free: 9.234 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.001253/0.001253, allocations: 165 kB / 182.2 MB, free: 9.469 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.667/1.667, allocations: 221.5 MB / 436.4 MB, free: 13.4 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.001101/0.001101, allocations: 92.09 kB / 0.5074 GB, free: 10.23 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001927/0.001927, allocations: 275.3 kB / 0.5889 GB, free: 54.7 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 2.176e-05/2.182e-05, allocations: 4 kB / 0.6766 GB, free: 12.76 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5041/0.5041, allocations: 82.77 MB / 0.7575 GB, free: 31.94 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.112/6.616, allocations: 2.15 GB / 2.908 GB, free: 187.6 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003667/6.616, allocations: 102.8 kB / 2.908 GB, free: 187.5 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.1687/6.785, allocations: 79.98 MB / 2.986 GB, free: 106.9 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.013e-06/6.785, allocations: 0 / 2.986 GB, free: 106.9 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0002347/6.785, allocations: 51.94 kB / 2.986 GB, free: 106.9 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: 205 * Number of variables: 205 Notification: Performance of Generate backend data structure: time 0.005439/6.791, allocations: 2.294 MB / 2.988 GB, free: 104.5 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 6.91e-05/6.791, allocations: 12.03 kB / 2.988 GB, free: 104.5 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00112/6.792, allocations: 312.2 kB / 2.989 GB, free: 104.2 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006613/6.799, allocations: 2.431 MB / 2.991 GB, free: 101.7 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001575/6.799, allocations: 79.69 kB / 2.991 GB, free: 101.6 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001547/6.799, allocations: 56 kB / 2.991 GB, free: 101.6 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001378/6.8, allocations: 0.6872 MB / 2.992 GB, free: 100.9 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001362/6.802, allocations: 0.7821 MB / 2.993 GB, free: 100.1 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.227e-05/6.802, allocations: 0 / 2.993 GB, free: 100.1 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.166e-05/6.802, allocations: 7.922 kB / 2.993 GB, free: 100.1 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.939e-05/6.802, allocations: 20 kB / 2.993 GB, free: 100.1 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008149/6.81, allocations: 4.528 MB / 2.997 GB, free: 95.25 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001408/6.811, allocations: 0.8436 MB / 2.998 GB, free: 94.4 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006563/6.812, allocations: 467 kB / 2.998 GB, free: 93.94 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 5.666e-05/6.812, allocations: 12.78 kB / 2.998 GB, free: 93.93 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007391/6.813, allocations: 0.4924 MB / 2.999 GB, free: 93.42 MB / 0.698 GB Notification: Performance of pre-optimization done (n=94): time 4.298e-06/6.813, allocations: 0 / 2.999 GB, free: 93.42 MB / 0.698 GB Notification: Performance of matching and sorting (n=94): time 0.002706/6.816, allocations: 1.315 MB / 3 GB, free: 92.09 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.712e-05/6.816, allocations: 60.19 kB / 3 GB, free: 92.02 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006135/6.822, allocations: 3.753 MB / 3.004 GB, free: 88.25 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001841/6.822, allocations: 25.7 kB / 3.004 GB, free: 88.22 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009885/6.823, allocations: 1.167 MB / 3.005 GB, free: 87.05 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002896/6.823, allocations: 291.8 kB / 3.005 GB, free: 86.76 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.291e-05/6.823, allocations: 0 / 3.005 GB, free: 86.76 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 9.009e-05/6.824, allocations: 341.9 kB / 3.006 GB, free: 86.42 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004691/6.824, allocations: 326.5 kB / 3.006 GB, free: 86.1 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005561/6.825, allocations: 489.7 kB / 3.006 GB, free: 85.56 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005739/6.825, allocations: 394.6 kB / 3.007 GB, free: 85.18 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.192e-06/6.825, allocations: 0 / 3.007 GB, free: 85.18 MB / 0.698 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.002493/6.828, allocations: 1.394 MB / 3.008 GB, free: 83.77 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.676e-05/6.828, allocations: 4 kB / 3.008 GB, free: 83.77 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.2e-05/6.828, allocations: 4 kB / 3.008 GB, free: 83.77 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008566/6.829, allocations: 332.1 kB / 3.008 GB, free: 83.44 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006189/6.829, allocations: 163.8 kB / 3.009 GB, free: 83.28 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004508/6.834, allocations: 4.806 MB / 3.013 GB, free: 78.24 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001576/6.835, allocations: 127.2 kB / 3.013 GB, free: 78.12 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.644e-05/6.835, allocations: 32 kB / 3.013 GB, free: 78.09 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: 36 ($PRE.assEqu.nFai,assEqu.nFai,$whenCondition8,$whenCondition7,$PRE.intGai.nextTimeEvent,$whenCondition6,$PRE.reference.nextTimeEvent,$whenCondition5,$PRE.outdoorTemp1.nextTimeEvent,$whenCondition4,$PRE.tableSolRadWindow.nextTimeEvent,$whenCondition3,$PRE.tableSolRadWall.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,outdoorTemp1.nextTimeEvent,$PRE.outdoorTemp1.nextTimeEventScaled,outdoorTemp1.nextTimeEventScaled,tableSolRadWindow.nextTimeEvent,$PRE.tableSolRadWindow.nextTimeEventScaled,tableSolRadWindow.nextTimeEventScaled,greaterThreshold1.y,greaterThreshold2.y,tableSolRadWall.nextTimeEvent,$PRE.tableSolRadWall.nextTimeEventScaled,tableSolRadWall.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (92): * Single equations (assignments): 90 * 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 {(1,100.0%) 3,(2,100.0%) 25} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003227/6.836, allocations: 138 kB / 3.014 GB, free: 77.95 MB / 0.698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002158/6.838, allocations: 1.322 MB / 3.015 GB, free: 76.61 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003587/6.838, allocations: 280.5 kB / 3.015 GB, free: 76.33 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002879/6.841, allocations: 1.479 MB / 3.017 GB, free: 74.82 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.025e-05/6.841, allocations: 11.95 kB / 3.017 GB, free: 74.81 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.127e-06/6.841, allocations: 4 kB / 3.017 GB, free: 74.81 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.547e-05/6.841, allocations: 3.984 kB / 3.017 GB, free: 74.8 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005572/6.847, allocations: 3.534 MB / 3.02 GB, free: 71.22 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.581e-06/6.847, allocations: 0 / 3.02 GB, free: 71.22 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004521/6.847, allocations: 107.9 kB / 3.02 GB, free: 71.11 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007453/6.848, allocations: 325.6 kB / 3.021 GB, free: 70.79 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.996e-05/6.848, allocations: 19.91 kB / 3.021 GB, free: 70.77 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004323/6.853, allocations: 4.79 MB / 3.025 GB, free: 65.75 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.14e-06/6.853, allocations: 0 / 3.025 GB, free: 65.75 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003363/6.856, allocations: 2.009 MB / 3.027 GB, free: 63.71 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001185/6.857, allocations: 0.6262 MB / 3.028 GB, free: 63.06 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002914/6.857, allocations: 23.94 kB / 3.028 GB, free: 63.04 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006901/6.858, allocations: 59.94 kB / 3.028 GB, free: 62.98 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002478/6.858, allocations: 105.1 kB / 3.028 GB, free: 62.88 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.177e-05/6.858, allocations: 31.98 kB / 3.028 GB, free: 62.85 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.003634/6.862, allocations: 2.953 MB / 3.031 GB, free: 59.9 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.3e-07/6.862, allocations: 0 / 3.031 GB, free: 59.9 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001923/6.864, allocations: 0.5383 MB / 3.031 GB, free: 59.36 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: 23 ($whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,intGai.nextTimeEvent,intGai.nextTimeEventScaled,reference.nextTimeEvent,reference.nextTimeEventScaled,outdoorTemp1.nextTimeEvent,outdoorTemp1.nextTimeEventScaled,tableSolRadWindow.nextTimeEvent,tableSolRadWindow.nextTimeEventScaled,greaterThreshold1.y,greaterThreshold2.y,tableSolRadWall.nextTimeEvent,tableSolRadWall.nextTimeEventScaled,assEqu.satisfied,assEqu.nFai,mean.y_last) * Number of discrete states: 13 (intGai.nextTimeEvent,reference.nextTimeEvent,outdoorTemp1.nextTimeEvent,tableSolRadWindow.nextTimeEvent,tableSolRadWall.nextTimeEvent,mean.x,assEqu.satisfied,assEqu.nFai,tableSolRadWall.nextTimeEventScaled,tableSolRadWindow.nextTimeEventScaled,outdoorTemp1.nextTimeEventScaled,reference.nextTimeEventScaled,intGai.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (74): * Single equations (assignments): 60 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 12 * 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%) 25,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004792/6.869, allocations: 3.447 MB / 3.035 GB, free: 55.97 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001904/6.871, allocations: 1.188 MB / 3.036 GB, free: 54.76 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.639e-06/6.871, allocations: 0 / 3.036 GB, free: 54.76 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0009893/6.872, allocations: 0.7857 MB / 3.037 GB, free: 53.96 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002105/6.874, allocations: 297.7 kB / 3.037 GB, free: 53.67 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008801/6.883, allocations: 5.307 MB / 3.042 GB, free: 48.3 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001288/6.884, allocations: 1.88 MB / 3.044 GB, free: 46.39 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0009243/6.885, allocations: 347.1 kB / 3.044 GB, free: 46.05 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001088/6.886, allocations: 0.9952 MB / 3.045 GB, free: 45.05 MB / 0.698 GB Notification: Performance of SimCode: time 3.046e-06/6.886, allocations: 0 / 3.045 GB, free: 45.05 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5938/7.48, allocations: 47.94 MB / 3.092 GB, free: 198.7 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002778/7.48, allocations: 199.4 kB / 3.092 GB, free: 198.5 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_TestCase8 -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_TestCase8_FMU.o BuildingSystems_BuildingSystems_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase8_FMU.c In file included from BuildingSystems_BuildingSystems_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase8_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_TestCase8_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_TestCase8_FMU.c:976: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_TestCase8_FMU.c:976:82: error: expected expression BuildingSystems_BuildingSystems_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase8_FMU.c:977:61: warning: missing terminating '"' character [-Winvalid-pp-token] Check output 'satisfied' for when violation(s) happened."); ^ BuildingSystems_BuildingSystems_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase8_FMU.c:1935:68: error: function definition is not allowed here fmi2Real getReal(ModelInstance* comp, const fmi2ValueReference vr) { ^ BuildingSystems_BuildingSystems_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase8_FMU.c:1949:92: error: function definition is not allowed here fmi2Status setReal(ModelInstance* comp, const fmi2ValueReference vr, const fmi2Real value) { ^ BuildingSystems_BuildingSystems_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase8_FMU.c:1965:74: error: function definition is not allowed here fmi2Integer getInteger(ModelInstance* comp, const fmi2ValueReference vr) { ^ BuildingSystems_BuildingSystems_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase8_FMU.c:1975:98: error: function definition is not allowed here fmi2Status setInteger(ModelInstance* comp, const fmi2ValueReference vr, const fmi2Integer value) { ^ BuildingSystems_BuildingSystems_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase8_FMU.c:1986:74: error: function definition is not allowed here fmi2Boolean getBoolean(ModelInstance* comp, const fmi2ValueReference vr) { ^ BuildingSystems_BuildingSystems_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase8_FMU.c:2028:98: error: function definition is not allowed here fmi2Status setBoolean(ModelInstance* comp, const fmi2ValueReference vr, const fmi2Boolean value) { ^ BuildingSystems_BuildingSystems_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase8_FMU.c:2071:72: error: function definition is not allowed here fmi2String getString(ModelInstance* comp, const fmi2ValueReference vr) { ^ BuildingSystems_BuildingSystems_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase8_FMU.c:2089:90: error: function definition is not allowed here fmi2Status setString(ModelInstance* comp, const fmi2ValueReference vr, fmi2String value) { ^ BuildingSystems_BuildingSystems_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase8_FMU.c:2108:97: error: function definition is not allowed here fmi2Status setExternalFunction(ModelInstance* c, const fmi2ValueReference vr, const void* value){ ^ BuildingSystems_BuildingSystems_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase8_FMU.c:2117:79: error: function definition is not allowed here fmi2ValueReference mapInputReference2InputNumber(const fmi2ValueReference vr) { ^ BuildingSystems_BuildingSystems_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase8_FMU.c:2124:81: error: function definition is not allowed here fmi2ValueReference mapOutputReference2OutputNumber(const fmi2ValueReference vr) { ^ BuildingSystems_BuildingSystems_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase8_FMU.c:2134:1: error: expected '}' ^ BuildingSystems_BuildingSystems_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase8_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_TestCase8_FMU.o] Error 1