Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.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.TestCase1,fileNamePrefix="BuildingSystems_BuildingSystems_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1,fileNamePrefix="BuildingSystems_BuildingSystems_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1",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.8621/0.8621, 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.001368/0.001368, allocations: 187.7 kB / 182.2 MB, free: 9.457 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.621/1.621, 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.001222/0.001221, allocations: 84.12 kB / 0.5074 GB, free: 10.21 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001946/0.001946, allocations: 268 kB / 0.5889 GB, free: 54.71 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 2.482e-05/2.421e-05, allocations: 0 / 0.6766 GB, free: 12.77 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5813/0.5814, allocations: 82.78 MB / 0.7575 GB, free: 31.95 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.554/7.136, allocations: 2.148 GB / 2.905 GB, free: 191.2 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003321/7.136, allocations: 95.94 kB / 2.905 GB, free: 191.1 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.1295/7.266, allocations: 64.1 MB / 2.968 GB, free: 126.4 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.363e-06/7.266, allocations: 0 / 2.968 GB, free: 126.4 MB / 0.698 GB Notification: Performance of Transformations before backend: time 8.649e-05/7.266, allocations: 20 kB / 2.968 GB, free: 126.4 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.001796/7.268, allocations: 1.233 MB / 2.969 GB, free: 125.1 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.934e-05/7.268, allocations: 8.031 kB / 2.969 GB, free: 125.1 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001851/7.268, allocations: 138.3 kB / 2.969 GB, free: 125 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002863/7.271, allocations: 1.448 MB / 2.971 GB, free: 123.5 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001174/7.271, allocations: 59 kB / 2.971 GB, free: 123.4 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.364e-05/7.271, allocations: 35.95 kB / 2.971 GB, free: 123.4 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005448/7.272, allocations: 314.5 kB / 2.971 GB, free: 123.1 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006047/7.272, allocations: 425.1 kB / 2.971 GB, free: 122.7 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.081e-05/7.272, allocations: 0 / 2.971 GB, free: 122.7 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.814e-05/7.272, allocations: 0 / 2.971 GB, free: 122.7 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.038e-05/7.272, allocations: 12 kB / 2.971 GB, free: 122.7 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003093/7.275, allocations: 2.566 MB / 2.974 GB, free: 119.9 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005323/7.276, allocations: 362.4 kB / 2.974 GB, free: 119.5 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004031/7.276, allocations: 258.9 kB / 2.975 GB, free: 119.3 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.338e-05/7.276, allocations: 12.25 kB / 2.975 GB, free: 119.3 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003484/7.277, allocations: 243.4 kB / 2.975 GB, free: 119 MB / 0.698 GB Notification: Performance of pre-optimization done (n=44): time 2.755e-06/7.277, allocations: 0 / 2.975 GB, free: 119 MB / 0.698 GB Notification: Performance of matching and sorting (n=44): time 0.0009746/7.278, allocations: 0.5563 MB / 2.975 GB, free: 118.5 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.101e-05/7.278, allocations: 59.41 kB / 2.975 GB, free: 118.4 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001891/7.28, allocations: 1.459 MB / 2.977 GB, free: 116.9 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.875e-05/7.28, allocations: 33.69 kB / 2.977 GB, free: 116.9 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003091/7.28, allocations: 0.5136 MB / 2.977 GB, free: 116.4 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 9.883e-05/7.28, allocations: 142 kB / 2.977 GB, free: 116.2 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.107e-05/7.28, allocations: 0 / 2.977 GB, free: 116.2 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 8.057e-05/7.28, allocations: 334 kB / 2.978 GB, free: 115.9 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002025/7.281, allocations: 145.1 kB / 2.978 GB, free: 115.7 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002399/7.281, allocations: 274.1 kB / 2.978 GB, free: 115.4 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002466/7.281, allocations: 176.9 kB / 2.978 GB, free: 115.2 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/7.281, allocations: 0 / 2.978 GB, free: 115.2 MB / 0.698 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.0009905/7.282, allocations: 0.6505 MB / 2.979 GB, free: 114.6 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.034e-05/7.282, allocations: 8 kB / 2.979 GB, free: 114.6 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.596e-06/7.282, allocations: 4 kB / 2.979 GB, free: 114.6 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003767/7.283, allocations: 138.6 kB / 2.979 GB, free: 114.4 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003707/7.283, allocations: 107.9 kB / 2.979 GB, free: 114.3 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002128/7.285, allocations: 2.259 MB / 2.981 GB, free: 112 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000583/7.286, allocations: 79.55 kB / 2.982 GB, free: 111.9 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.43e-05/7.286, allocations: 20 kB / 2.982 GB, free: 111.9 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (54): * Single equations (assignments): 53 * 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%) 14} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001286/7.286, allocations: 118.7 kB / 2.982 GB, free: 111.8 MB / 0.698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0008681/7.287, allocations: 0.5758 MB / 2.982 GB, free: 111.2 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001291/7.287, allocations: 118.6 kB / 2.982 GB, free: 111 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001007/7.288, allocations: 0.6071 MB / 2.983 GB, free: 110.4 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.448e-06/7.288, allocations: 4 kB / 2.983 GB, free: 110.4 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.12e-06/7.288, allocations: 7.953 kB / 2.983 GB, free: 110.4 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.963e-06/7.288, allocations: 3.984 kB / 2.983 GB, free: 110.4 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002106/7.29, allocations: 1.561 MB / 2.984 GB, free: 108.8 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.076e-06/7.29, allocations: 0 / 2.984 GB, free: 108.8 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002268/7.29, allocations: 51.91 kB / 2.985 GB, free: 108.7 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003506/7.291, allocations: 157.6 kB / 2.985 GB, free: 108.6 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.067e-05/7.291, allocations: 4 kB / 2.985 GB, free: 108.6 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002489/7.293, allocations: 3.533 MB / 2.988 GB, free: 104.8 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.617e-06/7.293, allocations: 4.062 kB / 2.988 GB, free: 104.8 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001128/7.294, allocations: 0.8618 MB / 2.989 GB, free: 103.9 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003725/7.295, allocations: 303.5 kB / 2.989 GB, free: 103.6 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001105/7.295, allocations: 11.98 kB / 2.989 GB, free: 103.6 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003443/7.295, allocations: 35.97 kB / 2.989 GB, free: 103.6 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001352/7.295, allocations: 55.91 kB / 2.989 GB, free: 103.5 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.943e-05/7.295, allocations: 23.88 kB / 2.989 GB, free: 103.5 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001223/7.297, allocations: 1.151 MB / 2.99 GB, free: 102.3 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.71e-07/7.297, allocations: 0 / 2.99 GB, free: 102.3 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.00107/7.298, allocations: 283.6 kB / 2.991 GB, free: 102 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%) 12,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002844/7.3, allocations: 2.283 MB / 2.993 GB, free: 99.82 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001052/7.302, allocations: 0.5681 MB / 2.994 GB, free: 99.25 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.636e-06/7.302, allocations: 0.875 kB / 2.994 GB, free: 99.25 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0005279/7.302, allocations: 474.8 kB / 2.994 GB, free: 98.76 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009841/7.303, allocations: 173.3 kB / 2.994 GB, free: 98.59 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004182/7.307, allocations: 2.24 MB / 2.996 GB, free: 96.3 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008212/7.308, allocations: 1.173 MB / 2.997 GB, free: 95.11 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0004805/7.309, allocations: 144.6 kB / 2.998 GB, free: 94.96 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004753/7.309, allocations: 399.3 kB / 2.998 GB, free: 94.57 MB / 0.698 GB Notification: Performance of SimCode: time 1.462e-06/7.309, allocations: 0 / 2.998 GB, free: 94.57 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.072/9.381, allocations: 24.39 MB / 3.022 GB, free: 70.25 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002451/9.382, allocations: 193.5 kB / 3.022 GB, free: 70.05 MB / 0.698 GB Error: Error building simulator. Build log: clang -Os -fPIC -falign-functions -mfpmath=sse -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. -DOMC_MODEL_PREFIX=BuildingSystems_BuildingSystems_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1 -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_TestCase1_FMU.o BuildingSystems_BuildingSystems_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1_FMU.c In file included from BuildingSystems_BuildingSystems_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1_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_TestCase1_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_TestCase1_FMU.c:440: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_TestCase1_FMU.c:440:82: error: expected expression BuildingSystems_BuildingSystems_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1_FMU.c:441:61: warning: missing terminating '"' character [-Winvalid-pp-token] Check output 'satisfied' for when violation(s) happened."); ^ BuildingSystems_BuildingSystems_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1_FMU.c:849:68: error: function definition is not allowed here fmi2Real getReal(ModelInstance* comp, const fmi2ValueReference vr) { ^ BuildingSystems_BuildingSystems_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1_FMU.c:863:92: error: function definition is not allowed here fmi2Status setReal(ModelInstance* comp, const fmi2ValueReference vr, const fmi2Real value) { ^ BuildingSystems_BuildingSystems_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1_FMU.c:879:74: error: function definition is not allowed here fmi2Integer getInteger(ModelInstance* comp, const fmi2ValueReference vr) { ^ BuildingSystems_BuildingSystems_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1_FMU.c:889:98: error: function definition is not allowed here fmi2Status setInteger(ModelInstance* comp, const fmi2ValueReference vr, const fmi2Integer value) { ^ BuildingSystems_BuildingSystems_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1_FMU.c:900:74: error: function definition is not allowed here fmi2Boolean getBoolean(ModelInstance* comp, const fmi2ValueReference vr) { ^ BuildingSystems_BuildingSystems_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1_FMU.c:925:98: error: function definition is not allowed here fmi2Status setBoolean(ModelInstance* comp, const fmi2ValueReference vr, const fmi2Boolean value) { ^ BuildingSystems_BuildingSystems_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1_FMU.c:951:72: error: function definition is not allowed here fmi2String getString(ModelInstance* comp, const fmi2ValueReference vr) { ^ BuildingSystems_BuildingSystems_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1_FMU.c:963:90: error: function definition is not allowed here fmi2Status setString(ModelInstance* comp, const fmi2ValueReference vr, fmi2String value) { ^ BuildingSystems_BuildingSystems_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1_FMU.c:976:97: error: function definition is not allowed here fmi2Status setExternalFunction(ModelInstance* c, const fmi2ValueReference vr, const void* value){ ^ BuildingSystems_BuildingSystems_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1_FMU.c:985:79: error: function definition is not allowed here fmi2ValueReference mapInputReference2InputNumber(const fmi2ValueReference vr) { ^ BuildingSystems_BuildingSystems_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1_FMU.c:992:81: error: function definition is not allowed here fmi2ValueReference mapOutputReference2OutputNumber(const fmi2ValueReference vr) { ^ BuildingSystems_BuildingSystems_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1_FMU.c:1002:1: error: expected '}' ^ BuildingSystems_BuildingSystems_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1_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_TestCase1_FMU.o] Error 1