Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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) 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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2,fileNamePrefix="Buildings_9_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2,fileNamePrefix="Buildings_9_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.909/2.909, allocations: 390.3 MB / 405.3 MB, free: 13.43 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001659/0.001659, allocations: 176.5 kB / 498.1 MB, free: 5.684 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.049/2.049, allocations: 223.2 MB / 0.7948 GB, free: 17.93 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009898/0.0009898, allocations: 100.3 kB / 0.9346 GB, free: 6.219 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004272/0.0004273, allocations: 7.844 kB / 1.084 GB, free: 221.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3755/0.3759, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.876/6.252, allocations: 2.188 GB / 3.411 GB, free: 242.7 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000267/6.253, allocations: 96.06 kB / 3.411 GB, free: 242.7 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 0.1373/6.39, allocations: 65.23 MB / 3.475 GB, free: 188.7 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.565e-06/6.39, allocations: 0 / 3.475 GB, free: 188.7 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0001831/6.39, allocations: 24 kB / 3.475 GB, free: 188.7 MB / 1.167 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.003362/6.394, allocations: 1.446 MB / 3.476 GB, free: 187.2 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.04e-05/6.394, allocations: 8.031 kB / 3.476 GB, free: 187.2 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002458/6.394, allocations: 87.89 kB / 3.477 GB, free: 187.2 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004318/6.394, allocations: 134.4 kB / 3.477 GB, free: 187 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003971/6.398, allocations: 1.49 MB / 3.478 GB, free: 185.7 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001697/6.399, allocations: 77.75 kB / 3.478 GB, free: 185.7 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000133/6.399, allocations: 43 kB / 3.478 GB, free: 185.6 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001097/6.4, allocations: 0.5127 MB / 3.479 GB, free: 185.3 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.811e-05/6.4, allocations: 4 kB / 3.479 GB, free: 185.3 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.331e-05/6.4, allocations: 16.56 kB / 3.479 GB, free: 185.3 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.198e-05/6.4, allocations: 12 kB / 3.479 GB, free: 185.2 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009415/6.401, allocations: 405.3 kB / 3.479 GB, free: 185 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005262/6.406, allocations: 2.734 MB / 3.482 GB, free: 182.5 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001177/6.407, allocations: 462.1 kB / 3.482 GB, free: 182.2 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 3.75e-05/6.407, allocations: 8.328 kB / 3.482 GB, free: 182.2 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005754/6.408, allocations: 294.2 kB / 3.483 GB, free: 182 MB / 1.167 GB Notification: Performance of pre-optimization done (n=45): time 4.619e-06/6.408, allocations: 0 / 3.483 GB, free: 182 MB / 1.167 GB Notification: Performance of matching and sorting (n=45): time 0.003079/6.411, allocations: 1.236 MB / 3.484 GB, free: 180.9 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.382e-05/6.411, allocations: 63.14 kB / 3.484 GB, free: 180.8 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003161/6.414, allocations: 1.554 MB / 3.485 GB, free: 179.6 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 7.31e-05/6.414, allocations: 37.58 kB / 3.485 GB, free: 179.6 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005689/6.415, allocations: 0.5234 MB / 3.486 GB, free: 179.3 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001544/6.415, allocations: 147.2 kB / 3.486 GB, free: 179.2 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.355e-05/6.415, allocations: 8.938 kB / 3.486 GB, free: 179.2 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 8.655e-05/6.415, allocations: 335.6 kB / 3.486 GB, free: 178.9 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004703/6.416, allocations: 221.7 kB / 3.487 GB, free: 178.7 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005177/6.416, allocations: 334.1 kB / 3.487 GB, free: 178.4 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005236/6.417, allocations: 254 kB / 3.487 GB, free: 178.2 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.486e-06/6.417, allocations: 4 kB / 3.487 GB, free: 178.2 MB / 1.167 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001719/6.419, allocations: 0.859 MB / 3.488 GB, free: 177.4 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 2.779e-05/6.419, allocations: 8 kB / 3.488 GB, free: 177.4 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.159e-05/6.419, allocations: 0 / 3.488 GB, free: 177.4 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005131/6.419, allocations: 181.7 kB / 3.488 GB, free: 177.2 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003415/6.42, allocations: 95.88 kB / 3.488 GB, free: 177.1 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003215/6.423, allocations: 2.777 MB / 3.491 GB, free: 174.2 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007438/6.424, allocations: 91.55 kB / 3.491 GB, free: 174.1 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.531e-05/6.424, allocations: 20 kB / 3.491 GB, free: 174.1 MB / 1.167 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (49): * Single equations (assignments): 48 * 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%) 17} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0008409/6.424, allocations: 380.4 kB / 3.491 GB, free: 173.7 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003375/6.425, allocations: 130.4 kB / 3.492 GB, free: 173.6 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001761/6.427, allocations: 0.7553 MB / 3.492 GB, free: 172.8 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.983e-06/6.427, allocations: 11.95 kB / 3.492 GB, free: 172.8 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.197e-06/6.427, allocations: 4 kB / 3.492 GB, free: 172.8 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.054e-05/6.427, allocations: 7.984 kB / 3.492 GB, free: 172.8 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003594/6.43, allocations: 1.788 MB / 3.494 GB, free: 170.9 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.771e-06/6.43, allocations: 7.891 kB / 3.494 GB, free: 170.9 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002299/6.43, allocations: 51.97 kB / 3.494 GB, free: 170.8 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004549/6.431, allocations: 185.6 kB / 3.494 GB, free: 170.7 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.796e-05/6.431, allocations: 19.98 kB / 3.494 GB, free: 170.6 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003632/6.435, allocations: 3.953 MB / 3.498 GB, free: 166.4 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/6.435, allocations: 4.062 kB / 3.498 GB, free: 166.4 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001958/6.437, allocations: 1.071 MB / 3.499 GB, free: 165.3 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000732/6.437, allocations: 295.6 kB / 3.5 GB, free: 165 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002299/6.438, allocations: 24.02 kB / 3.5 GB, free: 165 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005049/6.438, allocations: 51.88 kB / 3.5 GB, free: 164.9 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001629/6.438, allocations: 60.33 kB / 3.5 GB, free: 164.9 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.676e-05/6.438, allocations: 11.98 kB / 3.5 GB, free: 164.9 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.002032/6.44, allocations: 1.238 MB / 3.501 GB, free: 163.6 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.41e-07/6.44, allocations: 0 / 3.501 GB, free: 163.6 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.001361/6.442, allocations: 315.5 kB / 3.501 GB, free: 163.3 MB / 1.167 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) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (29): * Single equations (assignments): 21 * 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%) 14,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0043/6.446, allocations: 2.49 MB / 3.504 GB, free: 161 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.001597/6.448, allocations: 0.7299 MB / 3.504 GB, free: 160.3 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 5.249e-06/6.448, allocations: 0 / 3.504 GB, free: 160.3 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.000828/6.449, allocations: 0.5547 MB / 3.505 GB, free: 159.7 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001222/6.45, allocations: 177.2 kB / 3.505 GB, free: 159.5 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006833/6.457, allocations: 5.658 MB / 3.511 GB, free: 153.7 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008331/6.458, allocations: 1.181 MB / 3.512 GB, free: 152.5 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.0005402/6.458, allocations: 148.6 kB / 3.512 GB, free: 152.3 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005689/6.459, allocations: 427.3 kB / 3.512 GB, free: 151.9 MB / 1.167 GB Notification: Performance of SimCode: time 2.915e-06/6.459, allocations: 0 / 3.512 GB, free: 151.9 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06002/6.519, allocations: 31 MB / 3.543 GB, free: 121.2 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001593/6.519, allocations: 247.5 kB / 3.543 GB, free: 120.9 MB / 1.167 GB Error: Error building simulator. Build log: clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o Buildings_9_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2.o Buildings_9_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2.c In file included from Buildings_9_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2.c:7: In file included from ./Buildings_9_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:149: ./gc/omc_gc.h:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o Buildings_9_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2_functions.o Buildings_9_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2_functions.c In file included from Buildings_9_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2_functions.c:2: In file included from ./Buildings_9_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2_functions.h:3: In file included from ./meta/meta_modelica.h:49: ./gc/omc_gc.h:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o Buildings_9_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2_records.o Buildings_9_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2_records.c In file included from Buildings_9_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2_records.c:4: In file included from ./meta/meta_modelica.h:49: ./gc/omc_gc.h:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o Buildings_9_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2_01exo.o Buildings_9_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2_01exo.c In file included from Buildings_9_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2_01exo.c:2: In file included from ./Buildings_9_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:149: ./gc/omc_gc.h:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o Buildings_9_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2_02nls.o Buildings_9_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2_02nls.c In file included from Buildings_9_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2_02nls.c:2: In file included from ./Buildings_9_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:149: ./gc/omc_gc.h:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o Buildings_9_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2_03lsy.o Buildings_9_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2_03lsy.c In file included from Buildings_9_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2_03lsy.c:2: In file included from ./Buildings_9_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:149: ./gc/omc_gc.h:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o Buildings_9_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2_04set.o Buildings_9_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2_04set.c In file included from Buildings_9_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2_04set.c:2: In file included from ./Buildings_9_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:149: ./gc/omc_gc.h:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o Buildings_9_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2_05evt.o Buildings_9_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2_05evt.c In file included from Buildings_9_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2_05evt.c:2: In file included from ./Buildings_9_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:149: ./gc/omc_gc.h:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o Buildings_9_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2_06inz.o Buildings_9_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2_06inz.c In file included from Buildings_9_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2_06inz.c:2: In file included from ./Buildings_9_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:149: ./gc/omc_gc.h:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o Buildings_9_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2_07dly.o Buildings_9_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2_07dly.c In file included from Buildings_9_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2_07dly.c:2: In file included from ./Buildings_9_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:149: ./gc/omc_gc.h:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o Buildings_9_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2_08bnd.o Buildings_9_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2_08bnd.c In file included from Buildings_9_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2_08bnd.c:2: In file included from ./Buildings_9_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:149: ./gc/omc_gc.h:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o Buildings_9_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2_09alg.o Buildings_9_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2_09alg.c In file included from Buildings_9_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2_09alg.c:2: In file included from ./Buildings_9_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:149: ./gc/omc_gc.h:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o Buildings_9_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2_10asr.o Buildings_9_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2_10asr.c In file included from Buildings_9_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2_10asr.c:2: In file included from ./Buildings_9_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:149: ./gc/omc_gc.h:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o Buildings_9_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2_11mix.o Buildings_9_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2_11mix.c In file included from Buildings_9_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2_11mix.c:2: In file included from ./Buildings_9_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:149: ./gc/omc_gc.h:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o Buildings_9_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2_12jac.o Buildings_9_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2_12jac.c In file included from Buildings_9_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2_12jac.c:2: In file included from ./Buildings_9_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:149: ./gc/omc_gc.h:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o Buildings_9_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2_13opt.o Buildings_9_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2_13opt.c In file included from Buildings_9_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2_13opt.c:2: In file included from ./Buildings_9_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:149: ./gc/omc_gc.h:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o Buildings_9_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2_14lnz.o Buildings_9_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2_14lnz.c In file included from Buildings_9_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2_14lnz.c:2: In file included from ./Buildings_9_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:149: ./gc/omc_gc.h:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o Buildings_9_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2_15syn.o Buildings_9_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2_15syn.c In file included from Buildings_9_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2_15syn.c:2: In file included from ./Buildings_9_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:149: ./gc/omc_gc.h:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o Buildings_9_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2_16dae.o Buildings_9_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2_16dae.c In file included from Buildings_9_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2_16dae.c:2: In file included from ./Buildings_9_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:149: ./gc/omc_gc.h:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o Buildings_9_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2_17inl.o Buildings_9_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2_17inl.c In file included from Buildings_9_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2_17inl.c:2: In file included from ./Buildings_9_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:149: ./gc/omc_gc.h:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o Buildings_9_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2_init_fmu.o Buildings_9_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2_init_fmu.c In file included from Buildings_9_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2_init_fmu.c:1: In file included from ./simulation_data.h:39: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:149: ./gc/omc_gc.h:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o Buildings_9_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2_FMU.o Buildings_9_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2_FMU.c In file included from Buildings_9_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2_FMU.c:9: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:149: ./gc/omc_gc.h:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ In file included from Buildings_9_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2_FMU.c:55: ./fmi-export/fmu2_model_interface.c.inc:79:11: warning: enumeration value 'modelSlaveInitialized' not handled in switch [-Wswitch] switch (comp->state) ^ ./fmi-export/fmu2_model_interface.c.inc:168: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); ^~~~ ./gc/../meta/../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_9_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2_FMU.c:450:90: warning: missing terminating '"' character [-Winvalid-pp-token] comp->fmuData->modelData->stringParameterData[0].attribute.start = mmc_mk_scon_persist("Inputs differ by more than threShold. ^ Buildings_9_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2_FMU.c:450:90: error: expected expression Buildings_9_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2_FMU.c:451:61: warning: missing terminating '"' character [-Winvalid-pp-token] Check output 'satisfied' for when violation(s) happened."); /* TODO: these are not freed currently, see #6161 */ ^ Buildings_9_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2_FMU.c:866:68: error: function definition is not allowed here fmi2Real getReal(ModelInstance* comp, const fmi2ValueReference vr) { ^ Buildings_9_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2_FMU.c:880:92: error: function definition is not allowed here fmi2Status setReal(ModelInstance* comp, const fmi2ValueReference vr, const fmi2Real value) { ^ Buildings_9_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2_FMU.c:896:74: error: function definition is not allowed here fmi2Integer getInteger(ModelInstance* comp, const fmi2ValueReference vr) { ^ Buildings_9_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2_FMU.c:906:98: error: function definition is not allowed here fmi2Status setInteger(ModelInstance* comp, const fmi2ValueReference vr, const fmi2Integer value) { ^ Buildings_9_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2_FMU.c:917:74: error: function definition is not allowed here fmi2Boolean getBoolean(ModelInstance* comp, const fmi2ValueReference vr) { ^ Buildings_9_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2_FMU.c:943:98: error: function definition is not allowed here fmi2Status setBoolean(ModelInstance* comp, const fmi2ValueReference vr, const fmi2Boolean value) { ^ Buildings_9_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2_FMU.c:970:72: error: function definition is not allowed here fmi2String getString(ModelInstance* comp, const fmi2ValueReference vr) { ^ Buildings_9_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2_FMU.c:982:90: error: function definition is not allowed here fmi2Status setString(ModelInstance* comp, const fmi2ValueReference vr, fmi2String value) { ^ Buildings_9_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2_FMU.c:995:97: error: function definition is not allowed here fmi2Status setExternalFunction(ModelInstance* c, const fmi2ValueReference vr, const void* value){ ^ Buildings_9_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2_FMU.c:1004:79: error: function definition is not allowed here fmi2ValueReference mapInputReference2InputNumber(const fmi2ValueReference vr) { ^ Buildings_9_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2_FMU.c:1011:81: error: function definition is not allowed here fmi2ValueReference mapOutputReference2OutputNumber(const fmi2ValueReference vr) { ^ Buildings_9_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2_FMU.c:1021:1: error: expected '}' ^ Buildings_9_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2_FMU.c:60:49: note: to match this '{' void setDefaultStartValues(ModelInstance *comp) { ^ 6 warnings and 13 errors generated. make: *** [: Buildings_9_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2_FMU.o] Error 1