Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4,fileNamePrefix="Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4,fileNamePrefix="Buildings_latest_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 10.0.0-master/package.mo): time 2.47/2.47, allocations: 393.5 MB / 408.4 MB, free: 11.04 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.001178/0.001178, allocations: 172 kB / 0.4901 GB, free: 2.258 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.721/1.721, allocations: 223.1 MB / 0.7992 GB, free: 14.71 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.001111/0.001111, allocations: 94.02 kB / 0.9396 GB, free: 1.891 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004839/0.0004835, allocations: 11.56 kB / 1.09 GB, free: 216.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4112/0.4118, allocations: 143 MB / 1.229 GB, free: 105.6 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.423/6.834, allocations: 2.189 GB / 3.418 GB, free: 201.3 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003069/6.835, allocations: 93.02 kB / 3.418 GB, free: 201.2 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 0.1291/6.964, allocations: 65.24 MB / 3.482 GB, free: 147.2 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.044e-06/6.964, allocations: 0 / 3.482 GB, free: 147.2 MB / 1.167 GB Notification: Performance of Transformations before backend: time 8.507e-05/6.964, allocations: 24 kB / 3.482 GB, free: 147.2 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.002186/6.966, allocations: 1.443 MB / 3.484 GB, free: 145.8 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.849e-05/6.966, allocations: 12.56 kB / 3.484 GB, free: 145.8 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001032/6.966, allocations: 79.95 kB / 3.484 GB, free: 145.7 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001719/6.967, allocations: 142 kB / 3.484 GB, free: 145.6 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003119/6.97, allocations: 1.495 MB / 3.485 GB, free: 144.3 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001226/6.97, allocations: 76.88 kB / 3.485 GB, free: 144.2 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8e-05/6.97, allocations: 46.31 kB / 3.485 GB, free: 144.2 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008499/6.971, allocations: 0.5041 MB / 3.486 GB, free: 143.8 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.419e-05/6.971, allocations: 7.75 kB / 3.486 GB, free: 143.8 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.273e-05/6.971, allocations: 15.12 kB / 3.486 GB, free: 143.8 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.338e-05/6.971, allocations: 8 kB / 3.486 GB, free: 143.8 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007157/6.972, allocations: 409.1 kB / 3.486 GB, free: 143.5 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003419/6.975, allocations: 2.729 MB / 3.489 GB, free: 141.1 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009138/6.976, allocations: 458.6 kB / 3.489 GB, free: 140.7 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 2.933e-05/6.976, allocations: 4.328 kB / 3.489 GB, free: 140.7 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005048/6.977, allocations: 297.5 kB / 3.49 GB, free: 140.5 MB / 1.167 GB Notification: Performance of pre-optimization done (n=45): time 4.278e-06/6.977, allocations: 7.922 kB / 3.49 GB, free: 140.5 MB / 1.167 GB Notification: Performance of matching and sorting (n=45): time 0.002727/6.979, allocations: 1.233 MB / 3.491 GB, free: 139.4 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.116e-05/6.979, allocations: 65.53 kB / 3.491 GB, free: 139.3 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002254/6.982, allocations: 1.561 MB / 3.493 GB, free: 138.1 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 5.474e-05/6.982, allocations: 37.2 kB / 3.493 GB, free: 138.1 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003726/6.982, allocations: 0.5163 MB / 3.493 GB, free: 137.9 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001147/6.982, allocations: 151.1 kB / 3.493 GB, free: 137.7 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.008e-05/6.982, allocations: 12.19 kB / 3.493 GB, free: 137.7 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 7.678e-05/6.982, allocations: 330.8 kB / 3.494 GB, free: 137.4 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004506/6.983, allocations: 231 kB / 3.494 GB, free: 137.2 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004753/6.983, allocations: 330.9 kB / 3.494 GB, free: 136.9 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000484/6.984, allocations: 257 kB / 3.494 GB, free: 136.8 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/6.984, allocations: 0 / 3.494 GB, free: 136.8 MB / 1.167 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001626/6.985, allocations: 0.8613 MB / 3.495 GB, free: 136.1 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 2.379e-05/6.985, allocations: 4 kB / 3.495 GB, free: 136.1 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.037e-05/6.985, allocations: 4 kB / 3.495 GB, free: 136.1 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004928/6.986, allocations: 175.1 kB / 3.495 GB, free: 135.9 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003503/6.986, allocations: 105 kB / 3.495 GB, free: 135.8 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002981/6.989, allocations: 2.778 MB / 3.498 GB, free: 133.6 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005482/6.99, allocations: 97.05 kB / 3.498 GB, free: 133.5 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.89e-05/6.99, allocations: 19.44 kB / 3.498 GB, free: 133.5 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.0006598/6.991, allocations: 381.4 kB / 3.499 GB, free: 133.2 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001524/6.991, allocations: 125.1 kB / 3.499 GB, free: 133.1 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001365/6.992, allocations: 0.7561 MB / 3.499 GB, free: 132.4 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.321e-06/6.992, allocations: 7.953 kB / 3.499 GB, free: 132.4 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/6.992, allocations: 8 kB / 3.499 GB, free: 132.4 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.272e-06/6.992, allocations: 3.984 kB / 3.5 GB, free: 132.4 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002671/6.995, allocations: 1.792 MB / 3.501 GB, free: 130.6 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.44e-06/6.995, allocations: 7.953 kB / 3.501 GB, free: 130.6 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002223/6.995, allocations: 47.91 kB / 3.501 GB, free: 130.5 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004139/6.995, allocations: 185.6 kB / 3.501 GB, free: 130.3 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.625e-05/6.996, allocations: 11.98 kB / 3.501 GB, free: 130.3 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003074/6.999, allocations: 3.95 MB / 3.505 GB, free: 126.1 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/6.999, allocations: 4.062 kB / 3.505 GB, free: 126.1 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00166/7, allocations: 1.074 MB / 3.506 GB, free: 125 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005883/7.001, allocations: 299.6 kB / 3.507 GB, free: 124.7 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001355/7.001, allocations: 16 kB / 3.507 GB, free: 124.7 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003945/7.001, allocations: 47.86 kB / 3.507 GB, free: 124.6 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001436/7.002, allocations: 56.72 kB / 3.507 GB, free: 124.6 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.031e-05/7.002, allocations: 16 kB / 3.507 GB, free: 124.6 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.001531/7.003, allocations: 1.237 MB / 3.508 GB, free: 123.3 MB / 1.167 GB Notification: Performance of sort global known variables: time 4.91e-07/7.003, allocations: 4 kB / 3.508 GB, free: 123.3 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.001185/7.004, allocations: 319.5 kB / 3.508 GB, free: 123 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.003791/7.008, allocations: 2.487 MB / 3.511 GB, free: 120.7 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.001492/7.01, allocations: 0.7307 MB / 3.511 GB, free: 119.9 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 3.897e-06/7.01, allocations: 0 / 3.511 GB, free: 119.9 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0007836/7.011, allocations: 0.5548 MB / 3.512 GB, free: 119.4 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001022/7.012, allocations: 178.5 kB / 3.512 GB, free: 119.2 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006415/7.018, allocations: 5.658 MB / 3.518 GB, free: 113.3 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007977/7.019, allocations: 1.173 MB / 3.519 GB, free: 112.1 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.0004401/7.019, allocations: 144.7 kB / 3.519 GB, free: 112 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005564/7.02, allocations: 423.2 kB / 3.519 GB, free: 111.6 MB / 1.167 GB Notification: Performance of SimCode: time 1.352e-06/7.02, allocations: 0 / 3.519 GB, free: 111.6 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05544/7.075, allocations: 31.01 MB / 3.55 GB, free: 80.92 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001831/7.076, allocations: 254.2 kB / 3.55 GB, free: 80.57 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_latest_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4.o Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4.c In file included from Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4.c:7: In file included from ./Buildings_latest_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 -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_latest_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4_functions.o Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4_functions.c In file included from Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4_functions.c:2: In file included from ./Buildings_latest_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 -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_latest_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4_records.o Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4_records.c In file included from Buildings_latest_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 -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_latest_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4_01exo.o Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4_01exo.c In file included from Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4_01exo.c:2: In file included from ./Buildings_latest_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 -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_latest_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4_02nls.o Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4_02nls.c In file included from Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4_02nls.c:2: In file included from ./Buildings_latest_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 -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_latest_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4_03lsy.o Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4_03lsy.c In file included from Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4_03lsy.c:2: In file included from ./Buildings_latest_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 -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_latest_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4_04set.o Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4_04set.c In file included from Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4_04set.c:2: In file included from ./Buildings_latest_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 -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_latest_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4_05evt.o Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4_05evt.c In file included from Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4_05evt.c:2: In file included from ./Buildings_latest_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 -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_latest_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4_06inz.o Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4_06inz.c In file included from Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4_06inz.c:2: In file included from ./Buildings_latest_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 -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_latest_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4_07dly.o Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4_07dly.c In file included from Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4_07dly.c:2: In file included from ./Buildings_latest_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 -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_latest_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4_08bnd.o Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4_08bnd.c In file included from Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4_08bnd.c:2: In file included from ./Buildings_latest_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 -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_latest_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4_09alg.o Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4_09alg.c In file included from Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4_09alg.c:2: In file included from ./Buildings_latest_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 -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_latest_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4_10asr.o Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4_10asr.c In file included from Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4_10asr.c:2: In file included from ./Buildings_latest_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 -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_latest_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4_11mix.o Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4_11mix.c In file included from Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4_11mix.c:2: In file included from ./Buildings_latest_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 -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_latest_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4_12jac.o Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4_12jac.c In file included from Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4_12jac.c:2: In file included from ./Buildings_latest_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 -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_latest_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4_13opt.o Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4_13opt.c In file included from Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4_13opt.c:2: In file included from ./Buildings_latest_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 -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_latest_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4_14lnz.o Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4_14lnz.c In file included from Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4_14lnz.c:2: In file included from ./Buildings_latest_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 -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_latest_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4_15syn.o Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4_15syn.c In file included from Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4_15syn.c:2: In file included from ./Buildings_latest_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 -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_latest_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4_16dae.o Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4_16dae.c In file included from Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4_16dae.c:2: In file included from ./Buildings_latest_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 -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_latest_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4_17inl.o Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4_17inl.c In file included from Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4_17inl.c:2: In file included from ./Buildings_latest_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 -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_latest_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4_init_fmu.o Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4_init_fmu.c In file included from Buildings_latest_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 -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_latest_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4_FMU.o Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4_FMU.c In file included from Buildings_latest_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_latest_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_latest_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4_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_latest_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4_FMU.c:450:90: error: expected expression Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4_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_latest_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4_FMU.c:866:68: error: function definition is not allowed here fmi2Real getReal(ModelInstance* comp, const fmi2ValueReference vr) { ^ Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4_FMU.c:880:92: error: function definition is not allowed here fmi2Status setReal(ModelInstance* comp, const fmi2ValueReference vr, const fmi2Real value) { ^ Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4_FMU.c:896:74: error: function definition is not allowed here fmi2Integer getInteger(ModelInstance* comp, const fmi2ValueReference vr) { ^ Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4_FMU.c:906:98: error: function definition is not allowed here fmi2Status setInteger(ModelInstance* comp, const fmi2ValueReference vr, const fmi2Integer value) { ^ Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4_FMU.c:917:74: error: function definition is not allowed here fmi2Boolean getBoolean(ModelInstance* comp, const fmi2ValueReference vr) { ^ Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4_FMU.c:943:98: error: function definition is not allowed here fmi2Status setBoolean(ModelInstance* comp, const fmi2ValueReference vr, const fmi2Boolean value) { ^ Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4_FMU.c:970:72: error: function definition is not allowed here fmi2String getString(ModelInstance* comp, const fmi2ValueReference vr) { ^ Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4_FMU.c:982:90: error: function definition is not allowed here fmi2Status setString(ModelInstance* comp, const fmi2ValueReference vr, fmi2String value) { ^ Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4_FMU.c:995:97: error: function definition is not allowed here fmi2Status setExternalFunction(ModelInstance* c, const fmi2ValueReference vr, const void* value){ ^ Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4_FMU.c:1004:79: error: function definition is not allowed here fmi2ValueReference mapInputReference2InputNumber(const fmi2ValueReference vr) { ^ Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4_FMU.c:1011:81: error: function definition is not allowed here fmi2ValueReference mapOutputReference2OutputNumber(const fmi2ValueReference vr) { ^ Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4_FMU.c:1021:1: error: expected '}' ^ Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4_FMU.c:60:49: note: to match this '{' void setDefaultStartValues(ModelInstance *comp) { ^ 6 warnings and 13 errors generated. make: *** [: Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4_FMU.o] Error 1