Running command: "" <> buildModelFMU(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6,fileNamePrefix="Buildings_5_0_1_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase6",fmuType="me",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(Buildings): time 4.93/4.93, allocations: 404.1 MB / 411.3 MB, free: 436 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 2.231e-05/2.239e-05, allocations: 0 / 0.4945 GB, free: 1.285 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6911/0.6912, allocations: 92.69 MB / 0.5851 GB, free: 2.348 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.525/2.216, allocations: 426.8 MB / 1.002 GB, free: 2.574 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003689/2.216, allocations: 96.06 kB / 1.002 GB, free: 2.523 MB / 0.7136 GB [/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2346:7-2347:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$intGai.getDerTableValue. [/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2312:7-2313:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$intGai.getTableValue. [/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2358:7-2359:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$intGai.getTableTimeTmin. [/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2369:7-2370:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$intGai.getTableTimeTmax. [/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2331:7-2332:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$reference.getTableValueNoDer. [/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2358:7-2359:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$reference.getTableTimeTmin. [/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2369:7-2370:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$reference.getTableTimeTmax. [/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2346:7-2347:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$setTemp.getDerTableValue. [/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2312:7-2313:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$setTemp.getTableValue. [/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2358:7-2359:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$setTemp.getTableTimeTmin. [/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2369:7-2370:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$setTemp.getTableTimeTmax. Notification: Performance of FrontEnd - DAE generated: time 0.1828/2.399, allocations: 39.13 MB / 1.04 GB, free: 2.512 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.545e-06/2.399, allocations: 0 / 1.04 GB, free: 2.512 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 0.0002081/2.399, allocations: 28 kB / 1.04 GB, free: 2.484 MB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 118 * Number of variables: 118 Notification: Performance of Generate backend data structure: time 0.004434/2.404, allocations: 1.502 MB / 1.042 GB, free: 0.9766 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.997e-05/2.404, allocations: 8.031 kB / 1.042 GB, free: 0.9688 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000803/2.405, allocations: 162.1 kB / 1.042 GB, free: 0.8086 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007027/2.412, allocations: 1.509 MB / 1.043 GB, free: 15.52 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002079/2.412, allocations: 55 kB / 1.043 GB, free: 15.46 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002004/2.412, allocations: 43.91 kB / 1.043 GB, free: 15.41 MB / 0.7605 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001354/2.414, allocations: 341.5 kB / 1.044 GB, free: 15.21 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001438/2.415, allocations: 454.9 kB / 1.044 GB, free: 14.87 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.728e-05/2.415, allocations: 11.92 kB / 1.044 GB, free: 14.86 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.783e-05/2.415, allocations: 3.953 kB / 1.044 GB, free: 14.86 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.155e-05/2.415, allocations: 12 kB / 1.044 GB, free: 14.84 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008883/2.424, allocations: 2.653 MB / 1.047 GB, free: 12.23 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002384/2.427, allocations: 476.1 kB / 1.047 GB, free: 11.76 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001193/2.428, allocations: 253.2 kB / 1.047 GB, free: 11.5 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 7.195e-05/2.428, allocations: 8 kB / 1.047 GB, free: 11.5 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001141/2.429, allocations: 279.8 kB / 1.048 GB, free: 11.21 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=50): time 5.541e-06/2.429, allocations: 0 / 1.048 GB, free: 11.21 MB / 0.7605 GB Notification: Performance of matching and sorting (n=50): time 0.003576/2.433, allocations: 0.6561 MB / 1.048 GB, free: 10.54 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.606e-05/2.433, allocations: 55.84 kB / 1.048 GB, free: 10.47 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007986/2.441, allocations: 1.754 MB / 1.05 GB, free: 8.703 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 0.0002317/2.441, allocations: 33.7 kB / 1.05 GB, free: 8.664 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.001346/2.443, allocations: 0.573 MB / 1.051 GB, free: 8.082 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003918/2.443, allocations: 153.8 kB / 1.051 GB, free: 7.93 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.953e-05/2.443, allocations: 8 kB / 1.051 GB, free: 7.922 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0002438/2.443, allocations: 337.9 kB / 1.051 GB, free: 7.586 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009916/2.444, allocations: 193.5 kB / 1.051 GB, free: 7.398 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001204/2.446, allocations: 292.5 kB / 1.052 GB, free: 7.074 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001206/2.447, allocations: 243 kB / 1.052 GB, free: 6.836 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.918e-06/2.447, allocations: 0 / 1.052 GB, free: 6.836 MB / 0.7605 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.00446/2.451, allocations: 0.8113 MB / 1.053 GB, free: 6.016 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001788/2.452, allocations: 105.1 kB / 1.053 GB, free: 5.895 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.332e-05/2.452, allocations: 4 kB / 1.053 GB, free: 5.891 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00131/2.453, allocations: 158 kB / 1.053 GB, free: 5.734 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001147/2.454, allocations: 95.81 kB / 1.053 GB, free: 5.641 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008476/2.463, allocations: 2.54 MB / 1.056 GB, free: 2.996 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001738/2.464, allocations: 83.25 kB / 1.056 GB, free: 2.914 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001937/2.465, allocations: 24 kB / 1.056 GB, free: 2.891 MB / 0.7605 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 24 ($PRE.assEqu.nFai,assEqu.nFai,$whenCondition6,$whenCondition5,$PRE.intGai.nextTimeEvent,$whenCondition4,$PRE.reference.nextTimeEvent,$whenCondition3,$PRE.setTemp.nextTimeEvent,$whenCondition1,$whenCondition2,reference.nextTimeEvent,$PRE.reference.nextTimeEventScaled,reference.nextTimeEventScaled,$PRE.assEqu.satisfied,assEqu.satisfied,$PRE.mean.y,mean.y,intGai.nextTimeEvent,$PRE.intGai.nextTimeEventScaled,intGai.nextTimeEventScaled,setTemp.nextTimeEvent,$PRE.setTemp.nextTimeEventScaled,setTemp.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (56): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 3 * 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%) 17} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003986/2.465, allocations: 131.5 kB / 1.056 GB, free: 2.758 MB / 0.7605 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.003636/2.469, allocations: 0.6599 MB / 1.056 GB, free: 2.082 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007153/2.469, allocations: 146.3 kB / 1.057 GB, free: 1.938 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003989/2.473, allocations: 0.7099 MB / 1.057 GB, free: 1.211 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.007e-05/2.474, allocations: 8 kB / 1.057 GB, free: 1.203 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.086e-05/2.474, allocations: 4 kB / 1.057 GB, free: 1.199 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.883e-05/2.474, allocations: 7.922 kB / 1.057 GB, free: 1.191 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008052/2.482, allocations: 1.703 MB / 1.059 GB, free: 15.43 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.1e-05/2.482, allocations: 0 / 1.059 GB, free: 15.43 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007925/2.483, allocations: 51.91 kB / 1.059 GB, free: 15.38 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001367/2.484, allocations: 173.6 kB / 1.059 GB, free: 15.2 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001181/2.484, allocations: 11.98 kB / 1.059 GB, free: 15.19 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01083/2.495, allocations: 3.834 MB / 1.063 GB, free: 11.12 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.865e-06/2.495, allocations: 0 / 1.063 GB, free: 11.12 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005414/2.5, allocations: 1.005 MB / 1.064 GB, free: 10.09 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002107/2.503, allocations: 339.2 kB / 1.064 GB, free: 9.738 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006719/2.503, allocations: 19.98 kB / 1.064 GB, free: 9.719 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001698/2.505, allocations: 35.88 kB / 1.064 GB, free: 9.684 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004716/2.506, allocations: 60.3 kB / 1.064 GB, free: 9.625 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001381/2.506, allocations: 23.98 kB / 1.064 GB, free: 9.602 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.006742/2.513, allocations: 1.359 MB / 1.066 GB, free: 8.242 MB / 0.7761 GB Notification: Performance of sort global known variables: time 1.513e-06/2.513, allocations: 3.938 kB / 1.066 GB, free: 8.238 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.003981/2.517, allocations: 339.4 kB / 1.066 GB, free: 7.906 MB / 0.7761 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (thermalZoneTwoElements.extWallRC.thermCapExt[1].T,thermalZoneTwoElements.intWallRC.thermCapInt[1].T,mean.x) * Number of discrete variables: 15 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,intGai.nextTimeEvent,intGai.nextTimeEventScaled,reference.nextTimeEvent,reference.nextTimeEventScaled,setTemp.nextTimeEvent,setTemp.nextTimeEventScaled,assEqu.satisfied,assEqu.nFai,mean.y) * Number of discrete states: 9 (intGai.nextTimeEvent,reference.nextTimeEvent,setTemp.nextTimeEvent,mean.x,setTemp.nextTimeEventScaled,reference.nextTimeEventScaled,assEqu.satisfied,assEqu.nFai,intGai.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (35): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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%) 14,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.007262/2.524, allocations: 2.168 MB / 1.068 GB, free: 5.914 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.003144/2.527, allocations: 0.9027 MB / 1.069 GB, free: 4.965 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 6.552e-06/2.527, allocations: 8.125 kB / 1.069 GB, free: 4.957 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.001952/2.529, allocations: 0.5123 MB / 1.069 GB, free: 4.422 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002381/2.532, allocations: 196.1 kB / 1.07 GB, free: 4.23 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01041/2.542, allocations: 2.605 MB / 1.072 GB, free: 1.578 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001774/2.544, allocations: 1.266 MB / 1.073 GB, free: 292 kB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.001009/2.545, allocations: 164.6 kB / 1.074 GB, free: 128 kB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.5866/3.132, allocations: 468.1 kB / 1.074 GB, free: 277.5 MB / 0.7761 GB Notification: Performance of SimCode: time 1.272e-06/3.132, allocations: 0 / 1.074 GB, free: 277.5 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.132/3.264, allocations: 23.43 MB / 1.097 GB, free: 276.6 MB / 0.7761 GB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0002926/3.264, allocations: 195.9 kB / 1.097 GB, free: 276.4 MB / 0.7761 GB Error: Error building simulator. Build log: clang -Os -fPIC -mfpmath=sse -Iinclude/ -Iinclude/fmi2 -I. -DOMC_MODEL_PREFIX=Buildings_5_0_1_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase6 -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 Buildings_5_0_1_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase6_FMU.o Buildings_5_0_1_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase6_FMU.c In file included from Buildings_5_0_1_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase6_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); ^ Buildings_5_0_1_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase6_FMU.c:498:82: warning: missing terminating '"' character [-Winvalid-pp-token] comp->fmuData->modelData->stringParameterData[0].attribute.start = mmc_mk_scon("Inputs differ by more than threShold. ^ Buildings_5_0_1_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase6_FMU.c:498:82: error: expected expression Buildings_5_0_1_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase6_FMU.c:499:61: warning: missing terminating '"' character [-Winvalid-pp-token] Check output 'satisfied' for when violation(s) happened."); ^ Buildings_5_0_1_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase6_FMU.c:969:68: error: function definition is not allowed here fmi2Real getReal(ModelInstance* comp, const fmi2ValueReference vr) { ^ Buildings_5_0_1_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase6_FMU.c:983:92: error: function definition is not allowed here fmi2Status setReal(ModelInstance* comp, const fmi2ValueReference vr, const fmi2Real value) { ^ Buildings_5_0_1_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase6_FMU.c:999:74: error: function definition is not allowed here fmi2Integer getInteger(ModelInstance* comp, const fmi2ValueReference vr) { ^ Buildings_5_0_1_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase6_FMU.c:1009:98: error: function definition is not allowed here fmi2Status setInteger(ModelInstance* comp, const fmi2ValueReference vr, const fmi2Integer value) { ^ Buildings_5_0_1_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase6_FMU.c:1020:74: error: function definition is not allowed here fmi2Boolean getBoolean(ModelInstance* comp, const fmi2ValueReference vr) { ^ Buildings_5_0_1_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase6_FMU.c:1044:98: error: function definition is not allowed here fmi2Status setBoolean(ModelInstance* comp, const fmi2ValueReference vr, const fmi2Boolean value) { ^ Buildings_5_0_1_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase6_FMU.c:1069:72: error: function definition is not allowed here fmi2String getString(ModelInstance* comp, const fmi2ValueReference vr) { ^ Buildings_5_0_1_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase6_FMU.c:1083:90: error: function definition is not allowed here fmi2Status setString(ModelInstance* comp, const fmi2ValueReference vr, fmi2String value) { ^ Buildings_5_0_1_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase6_FMU.c:1098:97: error: function definition is not allowed here fmi2Status setExternalFunction(ModelInstance* c, const fmi2ValueReference vr, const void* value){ ^ Buildings_5_0_1_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase6_FMU.c:1107:79: error: function definition is not allowed here fmi2ValueReference mapInputReference2InputNumber(const fmi2ValueReference vr) { ^ Buildings_5_0_1_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase6_FMU.c:1114:81: error: function definition is not allowed here fmi2ValueReference mapOutputReference2OutputNumber(const fmi2ValueReference vr) { ^ Buildings_5_0_1_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase6_FMU.c:1124:1: error: expected '}' ^ Buildings_5_0_1_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase6_FMU.c:58:49: note: to match this '{' void setDefaultStartValues(ModelInstance *comp) { ^ 4 warnings and 13 errors generated. : recipe for target 'Buildings_5_0_1_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase6_FMU.o' failed make: *** [Buildings_5_0_1_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase6_FMU.o] Error 1