Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.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.TestCase3,fileNamePrefix="BuildingSystems_BuildingSystems_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3,fileNamePrefix="BuildingSystems_BuildingSystems_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase3",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.9656/0.9656, allocations: 141.8 MB / 149.3 MB, free: 9.223 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.001446/0.001446, allocations: 180.9 kB / 182.2 MB, free: 9.445 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.671/1.671, allocations: 221.5 MB / 436.4 MB, free: 13.36 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.001412/0.001412, allocations: 87.84 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.001937/0.001937, allocations: 285.6 kB / 0.5889 GB, free: 54.69 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 1.823e-05/1.827e-05, allocations: 0 / 0.6766 GB, free: 12.75 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5072/0.5073, allocations: 82.77 MB / 0.7575 GB, free: 31.93 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.093/6.601, allocations: 2.148 GB / 2.905 GB, free: 190.9 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003249/6.601, allocations: 99.92 kB / 2.905 GB, free: 190.8 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.1241/6.725, allocations: 64.11 MB / 2.968 GB, free: 126.1 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.573e-06/6.725, allocations: 0 / 2.968 GB, free: 126.1 MB / 0.698 GB Notification: Performance of Transformations before backend: time 8.538e-05/6.725, allocations: 24.12 kB / 2.968 GB, free: 126.1 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.001925/6.727, allocations: 1.229 MB / 2.969 GB, free: 124.8 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.844e-05/6.727, allocations: 12.03 kB / 2.969 GB, free: 124.8 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002044/6.728, allocations: 134.3 kB / 2.969 GB, free: 124.7 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002917/6.731, allocations: 1.452 MB / 2.971 GB, free: 123.2 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000117/6.731, allocations: 59 kB / 2.971 GB, free: 123.1 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.733e-05/6.731, allocations: 31.95 kB / 2.971 GB, free: 123.1 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005436/6.731, allocations: 322.5 kB / 2.971 GB, free: 122.8 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006211/6.732, allocations: 417.1 kB / 2.971 GB, free: 122.3 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.052e-05/6.732, allocations: 4 kB / 2.971 GB, free: 122.3 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.029e-05/6.732, allocations: 7.938 kB / 2.971 GB, free: 122.3 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.222e-05/6.732, allocations: 12 kB / 2.971 GB, free: 122.3 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003135/6.735, allocations: 2.558 MB / 2.974 GB, free: 119.6 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005653/6.736, allocations: 365.3 kB / 2.974 GB, free: 119.2 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004187/6.736, allocations: 262.9 kB / 2.975 GB, free: 118.9 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.848e-05/6.736, allocations: 8.312 kB / 2.975 GB, free: 118.9 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003439/6.737, allocations: 235.8 kB / 2.975 GB, free: 118.7 MB / 0.698 GB Notification: Performance of pre-optimization done (n=44): time 3.145e-06/6.737, allocations: 0 / 2.975 GB, free: 118.7 MB / 0.698 GB Notification: Performance of matching and sorting (n=44): time 0.00102/6.738, allocations: 0.5639 MB / 2.975 GB, free: 118.1 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.626e-05/6.738, allocations: 55.41 kB / 2.975 GB, free: 118 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001954/6.74, allocations: 1.463 MB / 2.977 GB, free: 116.6 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.892e-05/6.74, allocations: 29.7 kB / 2.977 GB, free: 116.5 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003157/6.74, allocations: 0.5097 MB / 2.977 GB, free: 116 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 9.138e-05/6.74, allocations: 149.9 kB / 2.977 GB, free: 115.9 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.238e-05/6.74, allocations: 0 / 2.977 GB, free: 115.9 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 6.615e-05/6.74, allocations: 326 kB / 2.978 GB, free: 115.6 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002013/6.74, allocations: 149.1 kB / 2.978 GB, free: 115.4 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002524/6.741, allocations: 270.1 kB / 2.978 GB, free: 115.1 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002519/6.741, allocations: 176.8 kB / 2.978 GB, free: 114.9 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.346e-06/6.741, allocations: 3.938 kB / 2.978 GB, free: 114.9 MB / 0.698 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.0009293/6.742, allocations: 0.6576 MB / 2.979 GB, free: 114.2 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.68e-05/6.742, allocations: 9.562 kB / 2.979 GB, free: 114.2 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.029e-05/6.742, allocations: 4 kB / 2.979 GB, free: 114.2 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003817/6.742, allocations: 129 kB / 2.979 GB, free: 114.1 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003725/6.743, allocations: 107.9 kB / 2.979 GB, free: 114 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00217/6.745, allocations: 2.252 MB / 2.981 GB, free: 111.6 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004701/6.745, allocations: 83.55 kB / 2.982 GB, free: 111.6 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.976e-05/6.745, allocations: 23.98 kB / 2.982 GB, free: 111.5 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.0001293/6.746, allocations: 126.6 kB / 2.982 GB, free: 111.4 MB / 0.698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0008234/6.746, allocations: 0.5603 MB / 2.982 GB, free: 110.8 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001189/6.747, allocations: 122.6 kB / 2.982 GB, free: 110.7 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009806/6.748, allocations: 0.611 MB / 2.983 GB, free: 110.1 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.769e-06/6.748, allocations: 7.984 kB / 2.983 GB, free: 110.1 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.322e-06/6.748, allocations: 11.95 kB / 2.983 GB, free: 110.1 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.552e-06/6.748, allocations: 0 / 2.983 GB, free: 110.1 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002008/6.75, allocations: 1.549 MB / 2.984 GB, free: 108.5 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.537e-06/6.75, allocations: 0 / 2.984 GB, free: 108.5 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002319/6.75, allocations: 59.89 kB / 2.985 GB, free: 108.4 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003505/6.75, allocations: 155.8 kB / 2.985 GB, free: 108.2 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.794e-05/6.75, allocations: 11.98 kB / 2.985 GB, free: 108.2 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003309/6.754, allocations: 3.533 MB / 2.988 GB, free: 104.5 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.187e-06/6.754, allocations: 3.938 kB / 2.988 GB, free: 104.5 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001179/6.755, allocations: 0.8619 MB / 2.989 GB, free: 103.6 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004019/6.755, allocations: 299.5 kB / 2.989 GB, free: 103.3 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001357/6.755, allocations: 8 kB / 2.989 GB, free: 103.3 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000375/6.756, allocations: 43.95 kB / 2.989 GB, free: 103.2 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000143/6.756, allocations: 51.91 kB / 2.989 GB, free: 103.2 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.163e-05/6.756, allocations: 19.95 kB / 2.989 GB, free: 103.1 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001427/6.757, allocations: 1.151 MB / 2.99 GB, free: 102 MB / 0.698 GB Notification: Performance of sort global known variables: time 4.31e-07/6.757, allocations: 0 / 2.99 GB, free: 102 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001093/6.758, allocations: 279.6 kB / 2.991 GB, free: 101.7 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.003115/6.762, allocations: 2.289 MB / 2.993 GB, free: 99.49 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001071/6.763, allocations: 0.5695 MB / 2.994 GB, free: 98.91 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/6.763, allocations: 4.062 kB / 2.994 GB, free: 98.91 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0006427/6.763, allocations: 474.8 kB / 2.994 GB, free: 98.43 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009761/6.764, allocations: 168.6 kB / 2.994 GB, free: 98.27 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004097/6.769, allocations: 2.244 MB / 2.996 GB, free: 95.97 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007063/6.769, allocations: 1.173 MB / 2.997 GB, free: 94.77 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0003926/6.77, allocations: 144.6 kB / 2.998 GB, free: 94.63 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004776/6.77, allocations: 403.3 kB / 2.998 GB, free: 94.23 MB / 0.698 GB Notification: Performance of SimCode: time 1.112e-06/6.77, allocations: 0 / 2.998 GB, free: 94.23 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06892/6.839, allocations: 24.39 MB / 3.022 GB, free: 69.91 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001966/6.839, allocations: 199.4 kB / 3.022 GB, free: 69.72 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_TestCase3 -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_TestCase3_FMU.o BuildingSystems_BuildingSystems_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase3_FMU.c In file included from BuildingSystems_BuildingSystems_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase3_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_TestCase3_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_TestCase3_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_TestCase3_FMU.c:440:82: error: expected expression BuildingSystems_BuildingSystems_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase3_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_TestCase3_FMU.c:849:68: error: function definition is not allowed here fmi2Real getReal(ModelInstance* comp, const fmi2ValueReference vr) { ^ BuildingSystems_BuildingSystems_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase3_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_TestCase3_FMU.c:879:74: error: function definition is not allowed here fmi2Integer getInteger(ModelInstance* comp, const fmi2ValueReference vr) { ^ BuildingSystems_BuildingSystems_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase3_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_TestCase3_FMU.c:900:74: error: function definition is not allowed here fmi2Boolean getBoolean(ModelInstance* comp, const fmi2ValueReference vr) { ^ BuildingSystems_BuildingSystems_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase3_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_TestCase3_FMU.c:951:72: error: function definition is not allowed here fmi2String getString(ModelInstance* comp, const fmi2ValueReference vr) { ^ BuildingSystems_BuildingSystems_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase3_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_TestCase3_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_TestCase3_FMU.c:985:79: error: function definition is not allowed here fmi2ValueReference mapInputReference2InputNumber(const fmi2ValueReference vr) { ^ BuildingSystems_BuildingSystems_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase3_FMU.c:992:81: error: function definition is not allowed here fmi2ValueReference mapOutputReference2OutputNumber(const fmi2ValueReference vr) { ^ BuildingSystems_BuildingSystems_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase3_FMU.c:1002:1: error: expected '}' ^ BuildingSystems_BuildingSystems_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase3_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_TestCase3_FMU.o] Error 1