Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.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.TestCase4,fileNamePrefix="BuildingSystems_BuildingSystems_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4,fileNamePrefix="BuildingSystems_BuildingSystems_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4",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.9058/0.9058, 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.001458/0.001458, allocations: 176.8 kB / 182.2 MB, free: 9.441 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.578/1.578, allocations: 221.5 MB / 436.4 MB, free: 13.3 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.001037/0.001037, allocations: 86.09 kB / 0.5074 GB, free: 10.13 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00184/0.001841, allocations: 278.1 kB / 0.5889 GB, free: 54.67 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 1.934e-05/1.936e-05, allocations: 0 / 0.6766 GB, free: 12.74 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4731/0.4731, allocations: 82.79 MB / 0.7575 GB, free: 31.93 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.956/6.429, allocations: 2.148 GB / 2.905 GB, free: 135.9 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003029/6.43, allocations: 98.5 kB / 2.905 GB, free: 135.8 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.1473/6.577, allocations: 64.09 MB / 2.968 GB, free: 80.1 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.703e-06/6.577, allocations: 0 / 2.968 GB, free: 80.1 MB / 0.698 GB Notification: Performance of Transformations before backend: time 7.833e-05/6.577, allocations: 24 kB / 2.968 GB, free: 80.08 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.00178/6.579, allocations: 1.225 MB / 2.969 GB, free: 78.81 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.772e-05/6.579, allocations: 8.031 kB / 2.969 GB, free: 78.8 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001891/6.579, allocations: 138.3 kB / 2.969 GB, free: 78.66 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002894/6.582, allocations: 1.455 MB / 2.971 GB, free: 77.16 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001133/6.582, allocations: 59 kB / 2.971 GB, free: 77.09 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.163e-05/6.582, allocations: 39.94 kB / 2.971 GB, free: 77.05 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005492/6.583, allocations: 314.5 kB / 2.971 GB, free: 76.75 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006181/6.584, allocations: 417.1 kB / 2.971 GB, free: 76.32 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.026e-05/6.584, allocations: 11.88 kB / 2.971 GB, free: 76.31 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.993e-05/6.584, allocations: 4 kB / 2.971 GB, free: 76.3 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.242e-05/6.584, allocations: 8 kB / 2.971 GB, free: 76.3 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003247/6.587, allocations: 2.634 MB / 2.974 GB, free: 73.46 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005995/6.588, allocations: 360.5 kB / 2.974 GB, free: 73.11 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003338/6.588, allocations: 238.3 kB / 2.975 GB, free: 72.87 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.229e-05/6.588, allocations: 4.328 kB / 2.975 GB, free: 72.87 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003841/6.588, allocations: 250.2 kB / 2.975 GB, free: 72.61 MB / 0.698 GB Notification: Performance of pre-optimization done (n=45): time 3.076e-06/6.588, allocations: 0 / 2.975 GB, free: 72.61 MB / 0.698 GB Notification: Performance of matching and sorting (n=45): time 0.001076/6.589, allocations: 0.588 MB / 2.975 GB, free: 72.01 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.63e-05/6.59, allocations: 63.41 kB / 2.975 GB, free: 71.93 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001951/6.592, allocations: 1.451 MB / 2.977 GB, free: 70.47 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.72e-05/6.592, allocations: 33.64 kB / 2.977 GB, free: 70.43 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003258/6.592, allocations: 0.5098 MB / 2.977 GB, free: 69.92 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 9.876e-05/6.592, allocations: 138 kB / 2.978 GB, free: 69.78 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.233e-05/6.592, allocations: 0 / 2.978 GB, free: 69.78 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001043/6.592, allocations: 326 kB / 2.978 GB, free: 69.46 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002125/6.592, allocations: 149.1 kB / 2.978 GB, free: 69.31 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000249/6.593, allocations: 255.9 kB / 2.978 GB, free: 69.02 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002605/6.593, allocations: 181.2 kB / 2.978 GB, free: 68.84 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.721e-06/6.593, allocations: 3.953 kB / 2.978 GB, free: 68.84 MB / 0.698 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.0009827/6.594, allocations: 0.6675 MB / 2.979 GB, free: 68.16 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.118e-05/6.594, allocations: 9.562 kB / 2.979 GB, free: 68.15 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.026e-06/6.594, allocations: 3.953 kB / 2.979 GB, free: 68.15 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004226/6.594, allocations: 160.8 kB / 2.979 GB, free: 67.99 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003526/6.595, allocations: 99.81 kB / 2.979 GB, free: 67.89 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002478/6.597, allocations: 2.498 MB / 2.982 GB, free: 65.29 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005044/6.598, allocations: 79.61 kB / 2.982 GB, free: 65.21 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.291e-05/6.598, allocations: 20 kB / 2.982 GB, free: 65.19 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.0001451/6.598, allocations: 130.5 kB / 2.982 GB, free: 65.05 MB / 0.698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0009207/6.599, allocations: 0.5949 MB / 2.983 GB, free: 64.45 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001308/6.599, allocations: 118.6 kB / 2.983 GB, free: 64.33 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001203/6.6, allocations: 0.6495 MB / 2.983 GB, free: 63.66 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.139e-06/6.6, allocations: 4 kB / 2.983 GB, free: 63.65 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.016e-05/6.6, allocations: 8 kB / 2.983 GB, free: 63.64 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.544e-06/6.6, allocations: 0 / 2.983 GB, free: 63.64 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002383/6.603, allocations: 1.607 MB / 2.985 GB, free: 61.99 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.088e-06/6.603, allocations: 0 / 2.985 GB, free: 61.99 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002357/6.603, allocations: 59.91 kB / 2.985 GB, free: 61.93 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004498/6.603, allocations: 165.6 kB / 2.985 GB, free: 61.76 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.716e-05/6.603, allocations: 3.984 kB / 2.985 GB, free: 61.76 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003143/6.607, allocations: 3.814 MB / 2.989 GB, free: 57.72 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.781e-06/6.607, allocations: 3.938 kB / 2.989 GB, free: 57.71 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001327/6.608, allocations: 0.9067 MB / 2.99 GB, free: 56.79 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004747/6.608, allocations: 303.5 kB / 2.99 GB, free: 56.47 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001826/6.609, allocations: 11.98 kB / 2.99 GB, free: 56.46 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004097/6.609, allocations: 43.92 kB / 2.99 GB, free: 56.42 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001329/6.609, allocations: 56.34 kB / 2.99 GB, free: 56.36 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.307e-05/6.609, allocations: 19.98 kB / 2.99 GB, free: 56.34 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001562/6.611, allocations: 1.143 MB / 2.991 GB, free: 55.2 MB / 0.698 GB Notification: Performance of sort global known variables: time 2.3e-07/6.611, allocations: 0 / 2.991 GB, free: 55.2 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001156/6.612, allocations: 287.5 kB / 2.992 GB, free: 54.91 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.003121/6.615, allocations: 2.33 MB / 2.994 GB, free: 52.65 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001113/6.616, allocations: 0.5736 MB / 2.994 GB, free: 52.06 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.639e-06/6.616, allocations: 7.938 kB / 2.994 GB, free: 52.05 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0006522/6.617, allocations: 0.5004 MB / 2.995 GB, free: 51.54 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001026/6.618, allocations: 160.9 kB / 2.995 GB, free: 51.38 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004316/6.622, allocations: 2.263 MB / 2.997 GB, free: 49.07 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007951/6.623, allocations: 1.177 MB / 2.998 GB, free: 47.87 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0004004/6.623, allocations: 132.6 kB / 2.998 GB, free: 47.74 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004916/6.624, allocations: 403.2 kB / 2.999 GB, free: 47.34 MB / 0.698 GB Notification: Performance of SimCode: time 1.403e-06/6.624, allocations: 4 kB / 2.999 GB, free: 47.34 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05314/6.677, allocations: 24.59 MB / 3.023 GB, free: 22.82 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001925/6.677, allocations: 197.5 kB / 3.023 GB, free: 22.62 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_TestCase4 -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_TestCase4_FMU.o BuildingSystems_BuildingSystems_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4_FMU.c In file included from BuildingSystems_BuildingSystems_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4_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_TestCase4_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_TestCase4_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_TestCase4_FMU.c:438:82: error: expected expression BuildingSystems_BuildingSystems_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4_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_TestCase4_FMU.c:845:68: error: function definition is not allowed here fmi2Real getReal(ModelInstance* comp, const fmi2ValueReference vr) { ^ BuildingSystems_BuildingSystems_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4_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_TestCase4_FMU.c:875:74: error: function definition is not allowed here fmi2Integer getInteger(ModelInstance* comp, const fmi2ValueReference vr) { ^ BuildingSystems_BuildingSystems_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4_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_TestCase4_FMU.c:896:74: error: function definition is not allowed here fmi2Boolean getBoolean(ModelInstance* comp, const fmi2ValueReference vr) { ^ BuildingSystems_BuildingSystems_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4_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_TestCase4_FMU.c:947:72: error: function definition is not allowed here fmi2String getString(ModelInstance* comp, const fmi2ValueReference vr) { ^ BuildingSystems_BuildingSystems_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4_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_TestCase4_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_TestCase4_FMU.c:981:79: error: function definition is not allowed here fmi2ValueReference mapInputReference2InputNumber(const fmi2ValueReference vr) { ^ BuildingSystems_BuildingSystems_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4_FMU.c:988:81: error: function definition is not allowed here fmi2ValueReference mapOutputReference2OutputNumber(const fmi2ValueReference vr) { ^ BuildingSystems_BuildingSystems_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4_FMU.c:998:1: error: expected '}' ^ BuildingSystems_BuildingSystems_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4_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_TestCase4_FMU.o] Error 1