Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.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.TestCase10,fileNamePrefix="BuildingSystems_BuildingSystems_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase10",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10,fileNamePrefix="BuildingSystems_BuildingSystems_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase10",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.828/0.828, allocations: 141.8 MB / 149.3 MB, free: 9.203 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.001054/0.001054, allocations: 180.9 kB / 182.2 MB, free: 9.43 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.665/1.665, allocations: 221.5 MB / 436.4 MB, free: 13.24 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.0009896/0.00099, allocations: 99.84 kB / 0.5074 GB, free: 10.06 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001975/0.001975, allocations: 272.1 kB / 0.5889 GB, free: 54.62 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 2.394e-05/2.408e-05, allocations: 7.984 kB / 0.6766 GB, free: 12.69 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4884/0.4884, allocations: 82.78 MB / 0.7575 GB, free: 31.87 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.185/6.673, allocations: 2.15 GB / 2.907 GB, free: 187.9 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003323/6.674, allocations: 95.38 kB / 2.907 GB, free: 187.8 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.1553/6.829, allocations: 74.46 MB / 2.98 GB, free: 112.7 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.793e-06/6.829, allocations: 0 / 2.98 GB, free: 112.7 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001523/6.829, allocations: 40 kB / 2.98 GB, free: 112.7 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: 166 * Number of variables: 166 Notification: Performance of Generate backend data structure: time 0.003219/6.832, allocations: 1.86 MB / 2.982 GB, free: 110.8 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.179e-05/6.832, allocations: 8.031 kB / 2.982 GB, free: 110.8 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004514/6.833, allocations: 245 kB / 2.982 GB, free: 110.5 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004286/6.837, allocations: 1.891 MB / 2.984 GB, free: 108.6 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001506/6.837, allocations: 75 kB / 2.984 GB, free: 108.5 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001045/6.837, allocations: 43.98 kB / 2.984 GB, free: 108.5 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009227/6.838, allocations: 0.5102 MB / 2.985 GB, free: 107.9 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009967/6.839, allocations: 0.6376 MB / 2.985 GB, free: 107.3 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.372e-05/6.839, allocations: 0 / 2.985 GB, free: 107.3 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.395e-05/6.839, allocations: 0 / 2.985 GB, free: 107.3 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.426e-05/6.839, allocations: 16 kB / 2.985 GB, free: 107.3 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005405/6.845, allocations: 3.772 MB / 2.989 GB, free: 103.3 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001055/6.846, allocations: 0.6403 MB / 2.99 GB, free: 102.6 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004813/6.846, allocations: 359.9 kB / 2.99 GB, free: 102.2 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.981e-05/6.847, allocations: 4.562 kB / 2.99 GB, free: 102.2 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005978/6.847, allocations: 376.1 kB / 2.99 GB, free: 101.9 MB / 0.698 GB Notification: Performance of pre-optimization done (n=72): time 3.747e-06/6.847, allocations: 4 kB / 2.99 GB, free: 101.9 MB / 0.698 GB Notification: Performance of matching and sorting (n=72): time 0.002189/6.849, allocations: 0.9759 MB / 2.991 GB, free: 100.9 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.961e-05/6.849, allocations: 68.19 kB / 2.991 GB, free: 100.8 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004355/6.854, allocations: 2.821 MB / 2.994 GB, free: 97.95 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001039/6.854, allocations: 33.7 kB / 2.994 GB, free: 97.91 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006942/6.855, allocations: 0.9286 MB / 2.995 GB, free: 96.97 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002216/6.855, allocations: 224.8 kB / 2.995 GB, free: 96.75 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.647e-05/6.855, allocations: 4 kB / 2.995 GB, free: 96.74 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001259/6.855, allocations: 333.9 kB / 2.996 GB, free: 96.41 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003569/6.855, allocations: 242.6 kB / 2.996 GB, free: 96.18 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004395/6.856, allocations: 397.4 kB / 2.996 GB, free: 95.73 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004891/6.856, allocations: 294.5 kB / 2.997 GB, free: 95.45 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.125e-06/6.856, allocations: 4 kB / 2.997 GB, free: 95.44 MB / 0.698 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.001982/6.858, allocations: 1.058 MB / 2.998 GB, free: 94.37 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.547e-05/6.858, allocations: 8 kB / 2.998 GB, free: 94.36 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.434e-05/6.858, allocations: 7.984 kB / 2.998 GB, free: 94.35 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007738/6.859, allocations: 260 kB / 2.998 GB, free: 94.09 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005353/6.86, allocations: 143.8 kB / 2.998 GB, free: 93.95 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00455/6.864, allocations: 4.46 MB / 3.002 GB, free: 89.26 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001254/6.866, allocations: 107.3 kB / 3.002 GB, free: 89.16 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001092/6.866, allocations: 32 kB / 3.002 GB, free: 89.12 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.tableSolRadWindow.nextTimeEvent,$whenCondition3,$PRE.outdoorTemp.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,tableSolRadWindow.nextTimeEvent,$PRE.tableSolRadWindow.nextTimeEventScaled,tableSolRadWindow.nextTimeEventScaled,greaterThreshold1.y,outdoorTemp.nextTimeEvent,$PRE.outdoorTemp.nextTimeEventScaled,outdoorTemp.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (75): * Single equations (assignments): 73 * 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,(3,100.0%) 19} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002449/6.866, allocations: 137 kB / 3.003 GB, free: 88.98 MB / 0.698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.00209/6.868, allocations: 0.9754 MB / 3.004 GB, free: 87.99 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005494/6.869, allocations: 229.2 kB / 3.004 GB, free: 87.77 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002237/6.871, allocations: 1.081 MB / 3.005 GB, free: 86.67 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.518e-06/6.871, allocations: 8 kB / 3.005 GB, free: 86.66 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.187e-06/6.871, allocations: 8 kB / 3.005 GB, free: 86.66 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.166e-05/6.871, allocations: 7.938 kB / 3.005 GB, free: 86.65 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005383/6.876, allocations: 2.67 MB / 3.007 GB, free: 83.92 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.641e-06/6.876, allocations: 0 / 3.007 GB, free: 83.92 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003625/6.877, allocations: 79.84 kB / 3.008 GB, free: 83.84 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006484/6.877, allocations: 267.8 kB / 3.008 GB, free: 83.58 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.114e-05/6.877, allocations: 11.98 kB / 3.008 GB, free: 83.57 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004293/6.882, allocations: 4.448 MB / 3.012 GB, free: 78.89 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.202e-06/6.882, allocations: 7.938 kB / 3.012 GB, free: 78.88 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002665/6.884, allocations: 1.469 MB / 3.014 GB, free: 77.38 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001168/6.886, allocations: 0.4981 MB / 3.014 GB, free: 76.86 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006611/6.886, allocations: 15.94 kB / 3.014 GB, free: 76.85 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009281/6.887, allocations: 59.89 kB / 3.014 GB, free: 76.79 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002487/6.887, allocations: 72.98 kB / 3.014 GB, free: 76.72 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.066e-05/6.888, allocations: 27.98 kB / 3.014 GB, free: 76.69 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.004238/6.892, allocations: 2.22 MB / 3.016 GB, free: 74.46 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.8e-07/6.892, allocations: 0 / 3.016 GB, free: 74.46 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.002179/6.894, allocations: 443.3 kB / 3.017 GB, free: 74.02 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,tableSolRadWindow.nextTimeEvent,tableSolRadWindow.nextTimeEventScaled,greaterThreshold1.y,outdoorTemp.nextTimeEvent,outdoorTemp.nextTimeEventScaled,assEqu.satisfied,assEqu.nFai,mean.y_last) * Number of discrete states: 11 (intGai.nextTimeEvent,reference.nextTimeEvent,tableSolRadWindow.nextTimeEvent,outdoorTemp.nextTimeEvent,mean.x,assEqu.satisfied,assEqu.nFai,outdoorTemp.nextTimeEventScaled,tableSolRadWindow.nextTimeEventScaled,reference.nextTimeEventScaled,intGai.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (54): * Single equations (assignments): 42 * 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.005096/6.899, allocations: 2.922 MB / 3.02 GB, free: 71.17 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.00192/6.901, allocations: 0.9512 MB / 3.021 GB, free: 70.2 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 5.009e-06/6.901, allocations: 0 / 3.021 GB, free: 70.2 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0009983/6.902, allocations: 0.6421 MB / 3.021 GB, free: 69.54 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002206/6.904, allocations: 237.1 kB / 3.021 GB, free: 69.3 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0096/6.914, allocations: 4.066 MB / 3.025 GB, free: 65.18 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001778/6.916, allocations: 1.603 MB / 3.027 GB, free: 63.55 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.00112/6.917, allocations: 258 kB / 3.027 GB, free: 63.29 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001455/6.918, allocations: 0.7491 MB / 3.028 GB, free: 62.54 MB / 0.698 GB Notification: Performance of SimCode: time 2.314e-06/6.918, allocations: 0 / 3.028 GB, free: 62.54 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1121/7.031, allocations: 38.46 MB / 3.066 GB, free: 24.14 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001925/7.031, allocations: 191 kB / 3.066 GB, free: 23.89 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_TestCase10 -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_TestCase10_FMU.o BuildingSystems_BuildingSystems_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase10_FMU.c In file included from BuildingSystems_BuildingSystems_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase10_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_TestCase10_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_TestCase10_FMU.c:759: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_TestCase10_FMU.c:759:82: error: expected expression BuildingSystems_BuildingSystems_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase10_FMU.c:760:61: warning: missing terminating '"' character [-Winvalid-pp-token] Check output 'satisfied' for when violation(s) happened."); ^ BuildingSystems_BuildingSystems_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase10_FMU.c:1496:68: error: function definition is not allowed here fmi2Real getReal(ModelInstance* comp, const fmi2ValueReference vr) { ^ BuildingSystems_BuildingSystems_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase10_FMU.c:1510:92: error: function definition is not allowed here fmi2Status setReal(ModelInstance* comp, const fmi2ValueReference vr, const fmi2Real value) { ^ BuildingSystems_BuildingSystems_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase10_FMU.c:1526:74: error: function definition is not allowed here fmi2Integer getInteger(ModelInstance* comp, const fmi2ValueReference vr) { ^ BuildingSystems_BuildingSystems_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase10_FMU.c:1536:98: error: function definition is not allowed here fmi2Status setInteger(ModelInstance* comp, const fmi2ValueReference vr, const fmi2Integer value) { ^ BuildingSystems_BuildingSystems_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase10_FMU.c:1547:74: error: function definition is not allowed here fmi2Boolean getBoolean(ModelInstance* comp, const fmi2ValueReference vr) { ^ BuildingSystems_BuildingSystems_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase10_FMU.c:1583:98: error: function definition is not allowed here fmi2Status setBoolean(ModelInstance* comp, const fmi2ValueReference vr, const fmi2Boolean value) { ^ BuildingSystems_BuildingSystems_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase10_FMU.c:1620:72: error: function definition is not allowed here fmi2String getString(ModelInstance* comp, const fmi2ValueReference vr) { ^ BuildingSystems_BuildingSystems_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase10_FMU.c:1636:90: error: function definition is not allowed here fmi2Status setString(ModelInstance* comp, const fmi2ValueReference vr, fmi2String value) { ^ BuildingSystems_BuildingSystems_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase10_FMU.c:1653:97: error: function definition is not allowed here fmi2Status setExternalFunction(ModelInstance* c, const fmi2ValueReference vr, const void* value){ ^ BuildingSystems_BuildingSystems_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase10_FMU.c:1662:79: error: function definition is not allowed here fmi2ValueReference mapInputReference2InputNumber(const fmi2ValueReference vr) { ^ BuildingSystems_BuildingSystems_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase10_FMU.c:1669:81: error: function definition is not allowed here fmi2ValueReference mapOutputReference2OutputNumber(const fmi2ValueReference vr) { ^ BuildingSystems_BuildingSystems_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase10_FMU.c:1679:1: error: expected '}' ^ BuildingSystems_BuildingSystems_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase10_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_TestCase10_FMU.o] Error 1