Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.conf.json Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4,fileNamePrefix="Buildings_7_0_0_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.122/2.122, allocations: 251 MB / 265.9 MB, free: 11.69 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001682/0.001682, allocations: 183.9 kB / 325.5 MB, free: 2.891 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.433/2.433, allocations: 205.4 MB / 0.5764 GB, free: 20.76 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001174/0.001174, allocations: 107.7 kB / 0.6809 GB, free: 13.66 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004883/0.0004886, allocations: 11.5 kB / 0.795 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.232/0.2326, allocations: 106.3 MB / 0.8988 GB, free: 65.48 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.82/8.053, allocations: 2.465 GB / 3.364 GB, free: 55.19 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003685/8.053, allocations: 102 kB / 3.364 GB, free: 55.13 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.8327/8.886, allocations: 63.5 MB / 3.426 GB, free: 292.8 MB / 0.8855 GB Notification: Performance of FrontEnd: time 3.287e-06/8.886, allocations: 0 / 3.426 GB, free: 292.8 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0001883/8.886, allocations: 27.52 kB / 3.426 GB, free: 292.8 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 105 * Number of variables: 105 Notification: Performance of Generate backend data structure: time 0.004086/8.89, allocations: 1.406 MB / 3.428 GB, free: 292.1 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.799e-05/8.89, allocations: 8.469 kB / 3.428 GB, free: 292.1 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002493/8.89, allocations: 83.25 kB / 3.428 GB, free: 292 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003732/8.891, allocations: 140.2 kB / 3.428 GB, free: 292 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005425/8.896, allocations: 1.463 MB / 3.429 GB, free: 291.7 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002027/8.896, allocations: 75.56 kB / 3.429 GB, free: 291.6 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001452/8.897, allocations: 48.5 kB / 3.429 GB, free: 291.6 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001573/8.898, allocations: 0.5014 MB / 3.43 GB, free: 291.6 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.318e-05/8.898, allocations: 0 / 3.43 GB, free: 291.6 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.048e-05/8.898, allocations: 21.17 kB / 3.43 GB, free: 291.6 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.461e-05/8.898, allocations: 12.75 kB / 3.43 GB, free: 291.6 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001417/8.9, allocations: 399 kB / 3.43 GB, free: 291.6 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005909/8.906, allocations: 2.568 MB / 3.433 GB, free: 290.3 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002104/8.908, allocations: 0.5088 MB / 3.433 GB, free: 290.3 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 8.429e-05/8.908, allocations: 5.672 kB / 3.433 GB, free: 290.3 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009594/8.909, allocations: 293.2 kB / 3.434 GB, free: 290.2 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=43): time 5.52e-06/8.909, allocations: 3.25 kB / 3.434 GB, free: 290.2 MB / 0.8855 GB Notification: Performance of matching and sorting (n=43): time 0.005488/8.915, allocations: 1.238 MB / 3.435 GB, free: 289.9 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.916e-05/8.915, allocations: 58.33 kB / 3.435 GB, free: 289.9 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00457/8.919, allocations: 1.543 MB / 3.436 GB, free: 289.7 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0001426/8.919, allocations: 36.58 kB / 3.436 GB, free: 289.7 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006731/8.92, allocations: 0.5195 MB / 3.437 GB, free: 289.5 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.000222/8.92, allocations: 139.6 kB / 3.437 GB, free: 289.5 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.33e-05/8.92, allocations: 10.34 kB / 3.437 GB, free: 289.5 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 8.721e-05/8.92, allocations: 325.3 kB / 3.437 GB, free: 289.2 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007643/8.921, allocations: 187.5 kB / 3.438 GB, free: 289.2 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007812/8.922, allocations: 291.7 kB / 3.438 GB, free: 289 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007739/8.923, allocations: 216.9 kB / 3.438 GB, free: 289 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.633e-06/8.923, allocations: 0.7812 kB / 3.438 GB, free: 289 MB / 0.8855 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.002815/8.926, allocations: 0.7898 MB / 3.439 GB, free: 288.9 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 3.041e-05/8.926, allocations: 6.453 kB / 3.439 GB, free: 288.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.484e-05/8.926, allocations: 5.344 kB / 3.439 GB, free: 288.9 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008644/8.927, allocations: 178.6 kB / 3.439 GB, free: 288.9 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006117/8.927, allocations: 81.31 kB / 3.439 GB, free: 288.9 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005417/8.933, allocations: 2.783 MB / 3.442 GB, free: 287.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001045/8.934, allocations: 78.28 kB / 3.442 GB, free: 287.5 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.482e-05/8.934, allocations: 17.84 kB / 3.442 GB, free: 287.5 MB / 0.8855 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,mean.y,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 (46): * Single equations (assignments): 45 * 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.001036/8.935, allocations: 389.5 kB / 3.442 GB, free: 287.4 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004166/8.935, allocations: 125 kB / 3.442 GB, free: 287.3 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002805/8.938, allocations: 0.7558 MB / 3.443 GB, free: 287.2 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.228e-05/8.938, allocations: 5.688 kB / 3.443 GB, free: 287.2 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.178e-05/8.938, allocations: 4.156 kB / 3.443 GB, free: 287.2 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.229e-05/8.938, allocations: 1.969 kB / 3.443 GB, free: 287.2 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005184/8.944, allocations: 1.673 MB / 3.445 GB, free: 286.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.866e-06/8.944, allocations: 1.938 kB / 3.445 GB, free: 286.9 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004596/8.944, allocations: 49.14 kB / 3.445 GB, free: 286.9 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008339/8.945, allocations: 189.3 kB / 3.445 GB, free: 286.9 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.118e-05/8.945, allocations: 12.52 kB / 3.445 GB, free: 286.9 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005642/8.951, allocations: 3.966 MB / 3.449 GB, free: 284.3 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/8.951, allocations: 1.5 kB / 3.449 GB, free: 284.3 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003479/8.954, allocations: 1.056 MB / 3.45 GB, free: 284 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009568/8.955, allocations: 297.6 kB / 3.45 GB, free: 283.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002369/8.956, allocations: 20.95 kB / 3.45 GB, free: 283.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007194/8.956, allocations: 52.28 kB / 3.45 GB, free: 283.9 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002497/8.957, allocations: 54.77 kB / 3.45 GB, free: 283.9 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.3e-05/8.957, allocations: 14.97 kB / 3.45 GB, free: 283.9 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.002784/8.959, allocations: 1.237 MB / 3.452 GB, free: 283.7 MB / 0.8855 GB Notification: Performance of sort global known variables: time 4.81e-07/8.959, allocations: 0 / 3.452 GB, free: 283.7 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.002566/8.962, allocations: 313.7 kB / 3.452 GB, free: 283.7 MB / 0.8855 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: 12 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,intGai.nextTimeEvent,intGai.nextTimeEventScaled,reference.nextTimeEvent,reference.nextTimeEventScaled,assEqu.satisfied,assEqu.nFai,mean.y) * Number of discrete states: 7 (intGai.nextTimeEvent,reference.nextTimeEvent,mean.x,reference.nextTimeEventScaled,assEqu.satisfied,assEqu.nFai,intGai.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (27): * Single equations (assignments): 19 * 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.008738/8.971, allocations: 2.46 MB / 3.454 GB, free: 282.9 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.00371/8.975, allocations: 0.6897 MB / 3.455 GB, free: 282.7 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 9.218e-06/8.975, allocations: 0 / 3.455 GB, free: 282.7 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.002351/8.977, allocations: 0.5517 MB / 3.455 GB, free: 282.5 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002629/8.98, allocations: 182.3 kB / 3.456 GB, free: 282.5 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01458/8.994, allocations: 5.61 MB / 3.461 GB, free: 279 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001642/8.996, allocations: 1.169 MB / 3.462 GB, free: 278.3 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.001006/8.997, allocations: 143.1 kB / 3.462 GB, free: 278.2 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001441/8.999, allocations: 411.3 kB / 3.463 GB, free: 278.2 MB / 0.8855 GB Notification: Performance of SimCode: time 2.155e-06/8.999, allocations: 0 / 3.463 GB, free: 278.2 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1012/9.1, allocations: 30.62 MB / 3.493 GB, free: 276.3 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002181/9.1, allocations: 260.6 kB / 3.493 GB, free: 275.9 MB / 0.8855 GB Error: Error building simulator. Build log: clang -Os -fPIC -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_7_0_0_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4.o Buildings_7_0_0_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4.c In file included from Buildings_7_0_0_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4.c:7: In file included from ./Buildings_7_0_0_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4_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 -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_7_0_0_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4_functions.o Buildings_7_0_0_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4_functions.c In file included from Buildings_7_0_0_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4_functions.c:2: In file included from ./Buildings_7_0_0_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4_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 -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_7_0_0_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4_records.o Buildings_7_0_0_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4_records.c In file included from Buildings_7_0_0_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4_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 -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_7_0_0_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4_01exo.o Buildings_7_0_0_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4_01exo.c In file included from Buildings_7_0_0_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4_01exo.c:2: In file included from ./Buildings_7_0_0_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4_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 -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_7_0_0_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4_02nls.o Buildings_7_0_0_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4_02nls.c In file included from Buildings_7_0_0_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4_02nls.c:2: In file included from ./Buildings_7_0_0_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4_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 -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_7_0_0_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4_03lsy.o Buildings_7_0_0_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4_03lsy.c In file included from Buildings_7_0_0_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4_03lsy.c:2: In file included from ./Buildings_7_0_0_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4_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 -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_7_0_0_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4_04set.o Buildings_7_0_0_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4_04set.c In file included from Buildings_7_0_0_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4_04set.c:2: In file included from ./Buildings_7_0_0_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4_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 -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_7_0_0_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4_05evt.o Buildings_7_0_0_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4_05evt.c In file included from Buildings_7_0_0_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4_05evt.c:2: In file included from ./Buildings_7_0_0_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4_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 -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_7_0_0_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4_06inz.o Buildings_7_0_0_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4_06inz.c In file included from Buildings_7_0_0_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4_06inz.c:2: In file included from ./Buildings_7_0_0_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4_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 -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_7_0_0_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4_07dly.o Buildings_7_0_0_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4_07dly.c In file included from Buildings_7_0_0_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4_07dly.c:2: In file included from ./Buildings_7_0_0_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4_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 -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_7_0_0_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4_08bnd.o Buildings_7_0_0_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4_08bnd.c In file included from Buildings_7_0_0_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4_08bnd.c:2: In file included from ./Buildings_7_0_0_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4_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 -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_7_0_0_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4_09alg.o Buildings_7_0_0_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4_09alg.c In file included from Buildings_7_0_0_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4_09alg.c:2: In file included from ./Buildings_7_0_0_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4_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 -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_7_0_0_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4_10asr.o Buildings_7_0_0_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4_10asr.c In file included from Buildings_7_0_0_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4_10asr.c:2: In file included from ./Buildings_7_0_0_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4_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 -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_7_0_0_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4_11mix.o Buildings_7_0_0_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4_11mix.c In file included from Buildings_7_0_0_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4_11mix.c:2: In file included from ./Buildings_7_0_0_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4_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 -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_7_0_0_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4_12jac.o Buildings_7_0_0_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4_12jac.c In file included from Buildings_7_0_0_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4_12jac.c:2: In file included from ./Buildings_7_0_0_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4_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 -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_7_0_0_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4_13opt.o Buildings_7_0_0_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4_13opt.c In file included from Buildings_7_0_0_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4_13opt.c:2: In file included from ./Buildings_7_0_0_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4_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 -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_7_0_0_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4_14lnz.o Buildings_7_0_0_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4_14lnz.c In file included from Buildings_7_0_0_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4_14lnz.c:2: In file included from ./Buildings_7_0_0_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4_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 -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_7_0_0_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4_15syn.o Buildings_7_0_0_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4_15syn.c In file included from Buildings_7_0_0_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4_15syn.c:2: In file included from ./Buildings_7_0_0_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4_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 -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_7_0_0_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4_16dae.o Buildings_7_0_0_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4_16dae.c In file included from Buildings_7_0_0_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4_16dae.c:2: In file included from ./Buildings_7_0_0_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4_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 -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_7_0_0_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4_17inl.o Buildings_7_0_0_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4_17inl.c In file included from Buildings_7_0_0_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4_17inl.c:2: In file included from ./Buildings_7_0_0_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4_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 -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_7_0_0_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4_init_fmu.o Buildings_7_0_0_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4_init_fmu.c In file included from Buildings_7_0_0_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4_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 -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_7_0_0_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4_FMU.o Buildings_7_0_0_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4_FMU.c In file included from Buildings_7_0_0_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4_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_7_0_0_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4_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_7_0_0_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4_FMU.c:445: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_7_0_0_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4_FMU.c:445:90: error: expected expression Buildings_7_0_0_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4_FMU.c:446: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_7_0_0_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4_FMU.c:856:68: error: function definition is not allowed here fmi2Real getReal(ModelInstance* comp, const fmi2ValueReference vr) { ^ Buildings_7_0_0_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4_FMU.c:870:92: error: function definition is not allowed here fmi2Status setReal(ModelInstance* comp, const fmi2ValueReference vr, const fmi2Real value) { ^ Buildings_7_0_0_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4_FMU.c:886:74: error: function definition is not allowed here fmi2Integer getInteger(ModelInstance* comp, const fmi2ValueReference vr) { ^ Buildings_7_0_0_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4_FMU.c:896:98: error: function definition is not allowed here fmi2Status setInteger(ModelInstance* comp, const fmi2ValueReference vr, const fmi2Integer value) { ^ Buildings_7_0_0_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4_FMU.c:907:74: error: function definition is not allowed here fmi2Boolean getBoolean(ModelInstance* comp, const fmi2ValueReference vr) { ^ Buildings_7_0_0_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4_FMU.c:932:98: error: function definition is not allowed here fmi2Status setBoolean(ModelInstance* comp, const fmi2ValueReference vr, const fmi2Boolean value) { ^ Buildings_7_0_0_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4_FMU.c:958:72: error: function definition is not allowed here fmi2String getString(ModelInstance* comp, const fmi2ValueReference vr) { ^ Buildings_7_0_0_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4_FMU.c:970:90: error: function definition is not allowed here fmi2Status setString(ModelInstance* comp, const fmi2ValueReference vr, fmi2String value) { ^ Buildings_7_0_0_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4_FMU.c:983:97: error: function definition is not allowed here fmi2Status setExternalFunction(ModelInstance* c, const fmi2ValueReference vr, const void* value){ ^ Buildings_7_0_0_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4_FMU.c:992:79: error: function definition is not allowed here fmi2ValueReference mapInputReference2InputNumber(const fmi2ValueReference vr) { ^ Buildings_7_0_0_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4_FMU.c:999:81: error: function definition is not allowed here fmi2ValueReference mapOutputReference2OutputNumber(const fmi2ValueReference vr) { ^ Buildings_7_0_0_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4_FMU.c:1009:1: error: expected '}' ^ Buildings_7_0_0_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4_FMU.c:60:49: note: to match this '{' void setDefaultStartValues(ModelInstance *comp) { ^ 6 warnings and 13 errors generated. : recipe for target 'Buildings_7_0_0_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4_FMU.o' failed make: *** [Buildings_7_0_0_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4_FMU.o] Error 1