Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.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.TestCase2,fileNamePrefix="BuildingSystems_BuildingSystems_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2,fileNamePrefix="BuildingSystems_BuildingSystems_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2",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.8654/0.8654, allocations: 141.8 MB / 149.3 MB, free: 9.242 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.001111/0.00111, allocations: 187.7 kB / 182.2 MB, free: 9.473 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.582/1.582, allocations: 221.5 MB / 436.4 MB, free: 13.38 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.000968/0.0009682, allocations: 102.5 kB / 0.5074 GB, free: 10.19 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001722/0.001722, allocations: 274 kB / 0.5889 GB, free: 54.7 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 2.806e-05/2.809e-05, allocations: 4 kB / 0.6766 GB, free: 12.76 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5406/0.5407, allocations: 82.77 MB / 0.7575 GB, free: 31.95 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.179/6.719, allocations: 2.148 GB / 2.905 GB, free: 136 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003282/6.72, allocations: 92.12 kB / 2.905 GB, free: 136 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.1264/6.846, allocations: 64.11 MB / 2.968 GB, free: 80.23 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.744e-06/6.846, allocations: 0 / 2.968 GB, free: 80.23 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001012/6.846, allocations: 20.19 kB / 2.968 GB, free: 80.21 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: 107 * Number of variables: 107 Notification: Performance of Generate backend data structure: time 0.002115/6.849, allocations: 1.225 MB / 2.969 GB, free: 78.95 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.644e-05/6.849, allocations: 16.03 kB / 2.969 GB, free: 78.93 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002052/6.849, allocations: 134.3 kB / 2.969 GB, free: 78.8 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003266/6.852, allocations: 1.452 MB / 2.971 GB, free: 77.29 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001338/6.852, allocations: 63 kB / 2.971 GB, free: 77.22 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.91e-05/6.852, allocations: 35.95 kB / 2.971 GB, free: 77.19 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005871/6.853, allocations: 314.5 kB / 2.971 GB, free: 76.88 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006704/6.854, allocations: 417.1 kB / 2.971 GB, free: 76.46 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.357e-05/6.854, allocations: 7.938 kB / 2.971 GB, free: 76.45 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.179e-05/6.854, allocations: 3.984 kB / 2.971 GB, free: 76.45 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.329e-05/6.854, allocations: 16 kB / 2.971 GB, free: 76.43 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003423/6.857, allocations: 2.626 MB / 2.974 GB, free: 73.61 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006054/6.858, allocations: 363.8 kB / 2.974 GB, free: 73.24 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003416/6.858, allocations: 234.3 kB / 2.975 GB, free: 73.01 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.525e-05/6.858, allocations: 8.328 kB / 2.975 GB, free: 73 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003849/6.859, allocations: 253.8 kB / 2.975 GB, free: 72.74 MB / 0.698 GB Notification: Performance of pre-optimization done (n=45): time 4.318e-06/6.859, allocations: 0 / 2.975 GB, free: 72.74 MB / 0.698 GB Notification: Performance of matching and sorting (n=45): time 0.001143/6.86, allocations: 0.5881 MB / 2.975 GB, free: 72.14 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.015e-05/6.86, allocations: 59.41 kB / 2.975 GB, free: 72.07 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001988/6.862, allocations: 1.451 MB / 2.977 GB, free: 70.61 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 4.103e-05/6.862, allocations: 33.7 kB / 2.977 GB, free: 70.57 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003484/6.862, allocations: 0.502 MB / 2.977 GB, free: 70.06 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001014/6.862, allocations: 138 kB / 2.978 GB, free: 69.93 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.213e-05/6.862, allocations: 4 kB / 2.978 GB, free: 69.92 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 9.926e-05/6.862, allocations: 326 kB / 2.978 GB, free: 69.6 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002032/6.863, allocations: 149.1 kB / 2.978 GB, free: 69.45 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002633/6.863, allocations: 255.8 kB / 2.978 GB, free: 69.16 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002565/6.863, allocations: 178.6 kB / 2.978 GB, free: 68.98 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.769e-06/6.863, allocations: 7.891 kB / 2.978 GB, free: 68.98 MB / 0.698 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.000973/6.864, allocations: 0.6721 MB / 2.979 GB, free: 68.3 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.309e-05/6.864, allocations: 8 kB / 2.979 GB, free: 68.29 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.211e-05/6.864, allocations: 7.953 kB / 2.979 GB, free: 68.28 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004447/6.865, allocations: 157.5 kB / 2.979 GB, free: 68.12 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000348/6.865, allocations: 103.9 kB / 2.979 GB, free: 68.02 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002526/6.868, allocations: 2.5 MB / 2.982 GB, free: 65.41 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004666/6.868, allocations: 75.61 kB / 2.982 GB, free: 65.34 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.554e-05/6.868, allocations: 23.98 kB / 2.982 GB, free: 65.32 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: 19 ($PRE.assEqu.nFai,assEqu.nFai,$whenCondition5,$whenCondition4,$PRE.intGai.nextTimeEvent,$whenCondition3,$PRE.reference.nextTimeEvent,$whenCondition1,$whenCondition2,reference.nextTimeEvent,$PRE.reference.nextTimeEventScaled,reference.nextTimeEventScaled,$PRE.assEqu.satisfied,assEqu.satisfied,$PRE.mean.y_last,mean.y_last,intGai.nextTimeEvent,$PRE.intGai.nextTimeEventScaled,intGai.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (50): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 16} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001389/6.868, allocations: 131.2 kB / 2.982 GB, free: 65.18 MB / 0.698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0008772/6.869, allocations: 0.591 MB / 2.983 GB, free: 64.58 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001246/6.869, allocations: 114.6 kB / 2.983 GB, free: 64.46 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001031/6.87, allocations: 0.6456 MB / 2.983 GB, free: 63.8 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.012e-06/6.87, allocations: 11.98 kB / 2.983 GB, free: 63.79 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.78e-06/6.87, allocations: 7.984 kB / 2.983 GB, free: 63.78 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.172e-06/6.87, allocations: 0 / 2.983 GB, free: 63.78 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002147/6.873, allocations: 1.603 MB / 2.985 GB, free: 62.12 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.006e-06/6.873, allocations: 0 / 2.985 GB, free: 62.12 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002281/6.873, allocations: 55.97 kB / 2.985 GB, free: 62.07 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003812/6.873, allocations: 171.1 kB / 2.985 GB, free: 61.9 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.071e-05/6.873, allocations: 7.984 kB / 2.985 GB, free: 61.89 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002942/6.876, allocations: 3.804 MB / 2.989 GB, free: 57.86 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.048e-06/6.876, allocations: 0 / 2.989 GB, free: 57.86 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001337/6.878, allocations: 0.9144 MB / 2.99 GB, free: 56.93 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000419/6.878, allocations: 303.5 kB / 2.99 GB, free: 56.61 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001124/6.878, allocations: 11.92 kB / 2.99 GB, free: 56.6 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003469/6.878, allocations: 43.92 kB / 2.99 GB, free: 56.55 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001442/6.879, allocations: 56.34 kB / 2.99 GB, free: 56.5 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.034e-05/6.879, allocations: 16 kB / 2.99 GB, free: 56.48 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001313/6.88, allocations: 1.147 MB / 2.991 GB, free: 55.33 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.6e-07/6.88, allocations: 0 / 2.991 GB, free: 55.33 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.00115/6.881, allocations: 287.5 kB / 2.992 GB, free: 55.05 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: 12 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,intGai.nextTimeEvent,intGai.nextTimeEventScaled,reference.nextTimeEvent,reference.nextTimeEventScaled,assEqu.satisfied,assEqu.nFai,mean.y_last) * Number of discrete states: 7 (intGai.nextTimeEvent,reference.nextTimeEvent,mean.x,assEqu.satisfied,assEqu.nFai,reference.nextTimeEventScaled,intGai.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (30): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 13,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003147/6.884, allocations: 2.335 MB / 2.994 GB, free: 52.78 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001048/6.885, allocations: 0.5651 MB / 2.994 GB, free: 52.2 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.028e-06/6.885, allocations: 8.125 kB / 2.994 GB, free: 52.2 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0006181/6.886, allocations: 0.4966 MB / 2.995 GB, free: 51.68 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009332/6.887, allocations: 172.2 kB / 2.995 GB, free: 51.51 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003492/6.89, allocations: 2.257 MB / 2.997 GB, free: 49.21 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005613/6.891, allocations: 1.181 MB / 2.998 GB, free: 48 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0003383/6.891, allocations: 136.5 kB / 2.998 GB, free: 47.87 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000414/6.892, allocations: 399.3 kB / 2.999 GB, free: 47.48 MB / 0.698 GB Notification: Performance of SimCode: time 7.32e-07/6.892, allocations: 0 / 2.999 GB, free: 47.48 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05264/6.944, allocations: 24.58 MB / 3.023 GB, free: 22.96 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002227/6.945, allocations: 193.5 kB / 3.023 GB, free: 22.77 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_TestCase2 -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_TestCase2_FMU.o BuildingSystems_BuildingSystems_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2_FMU.c In file included from BuildingSystems_BuildingSystems_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2_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_TestCase2_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_TestCase2_FMU.c:438: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_TestCase2_FMU.c:438:82: error: expected expression BuildingSystems_BuildingSystems_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2_FMU.c:439:61: warning: missing terminating '"' character [-Winvalid-pp-token] Check output 'satisfied' for when violation(s) happened."); ^ BuildingSystems_BuildingSystems_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2_FMU.c:845:68: error: function definition is not allowed here fmi2Real getReal(ModelInstance* comp, const fmi2ValueReference vr) { ^ BuildingSystems_BuildingSystems_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2_FMU.c:859:92: error: function definition is not allowed here fmi2Status setReal(ModelInstance* comp, const fmi2ValueReference vr, const fmi2Real value) { ^ BuildingSystems_BuildingSystems_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2_FMU.c:875:74: error: function definition is not allowed here fmi2Integer getInteger(ModelInstance* comp, const fmi2ValueReference vr) { ^ BuildingSystems_BuildingSystems_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2_FMU.c:885:98: error: function definition is not allowed here fmi2Status setInteger(ModelInstance* comp, const fmi2ValueReference vr, const fmi2Integer value) { ^ BuildingSystems_BuildingSystems_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2_FMU.c:896:74: error: function definition is not allowed here fmi2Boolean getBoolean(ModelInstance* comp, const fmi2ValueReference vr) { ^ BuildingSystems_BuildingSystems_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2_FMU.c:921:98: error: function definition is not allowed here fmi2Status setBoolean(ModelInstance* comp, const fmi2ValueReference vr, const fmi2Boolean value) { ^ BuildingSystems_BuildingSystems_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2_FMU.c:947:72: error: function definition is not allowed here fmi2String getString(ModelInstance* comp, const fmi2ValueReference vr) { ^ BuildingSystems_BuildingSystems_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2_FMU.c:959:90: error: function definition is not allowed here fmi2Status setString(ModelInstance* comp, const fmi2ValueReference vr, fmi2String value) { ^ BuildingSystems_BuildingSystems_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2_FMU.c:972:97: error: function definition is not allowed here fmi2Status setExternalFunction(ModelInstance* c, const fmi2ValueReference vr, const void* value){ ^ BuildingSystems_BuildingSystems_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2_FMU.c:981:79: error: function definition is not allowed here fmi2ValueReference mapInputReference2InputNumber(const fmi2ValueReference vr) { ^ BuildingSystems_BuildingSystems_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2_FMU.c:988:81: error: function definition is not allowed here fmi2ValueReference mapOutputReference2OutputNumber(const fmi2ValueReference vr) { ^ BuildingSystems_BuildingSystems_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2_FMU.c:998:1: error: expected '}' ^ BuildingSystems_BuildingSystems_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2_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_TestCase2_FMU.o] Error 1