Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.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.TestCase2,fileNamePrefix="Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2,fileNamePrefix="Buildings_latest_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 10.0.0-master/package.mo): time 2.656/2.656, allocations: 393.5 MB / 408.4 MB, free: 10.95 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.001623/0.001623, allocations: 180 kB / 0.4901 GB, free: 2.246 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.75/1.75, allocations: 223.1 MB / 0.7992 GB, free: 14.75 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.0009193/0.0009192, allocations: 96.08 kB / 0.9396 GB, free: 1.945 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004036/0.0004038, allocations: 10.94 kB / 1.09 GB, free: 216.1 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3853/0.3858, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.541/6.927, allocations: 2.189 GB / 3.418 GB, free: 236.7 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003449/6.928, allocations: 100.7 kB / 3.418 GB, free: 236.6 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 0.1349/7.063, allocations: 65.24 MB / 3.482 GB, free: 170.8 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.956e-06/7.063, allocations: 0 / 3.482 GB, free: 170.8 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0002137/7.063, allocations: 24 kB / 3.482 GB, free: 170.8 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.003732/7.067, allocations: 1.454 MB / 3.484 GB, free: 169.3 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 6.101e-05/7.067, allocations: 8.562 kB / 3.484 GB, free: 169.3 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002631/7.067, allocations: 86.52 kB / 3.484 GB, free: 169.2 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004759/7.067, allocations: 138.3 kB / 3.484 GB, free: 169.1 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004114/7.072, allocations: 1.486 MB / 3.485 GB, free: 167.5 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001462/7.072, allocations: 74.69 kB / 3.485 GB, free: 167.4 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001584/7.072, allocations: 51.98 kB / 3.485 GB, free: 167.4 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001035/7.073, allocations: 0.5068 MB / 3.486 GB, free: 166.9 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.684e-05/7.073, allocations: 3.984 kB / 3.486 GB, free: 166.9 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.745e-05/7.073, allocations: 16 kB / 3.486 GB, free: 166.9 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.27e-05/7.073, allocations: 12 kB / 3.486 GB, free: 166.8 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000814/7.074, allocations: 403.7 kB / 3.486 GB, free: 166.4 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004339/7.078, allocations: 2.725 MB / 3.489 GB, free: 163.5 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009457/7.079, allocations: 463.2 kB / 3.489 GB, free: 163 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 2.779e-05/7.079, allocations: 8.312 kB / 3.489 GB, free: 163 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005256/7.08, allocations: 302.9 kB / 3.49 GB, free: 162.7 MB / 1.167 GB Notification: Performance of pre-optimization done (n=45): time 2.845e-06/7.08, allocations: 0 / 3.49 GB, free: 162.7 MB / 1.167 GB Notification: Performance of matching and sorting (n=45): time 0.00317/7.083, allocations: 1.239 MB / 3.491 GB, free: 161.4 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.971e-05/7.083, allocations: 59.16 kB / 3.491 GB, free: 161.4 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00417/7.087, allocations: 1.558 MB / 3.493 GB, free: 159.8 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 8.151e-05/7.087, allocations: 41.69 kB / 3.493 GB, free: 159.8 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005728/7.088, allocations: 0.514 MB / 3.493 GB, free: 159.2 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002104/7.088, allocations: 153.9 kB / 3.493 GB, free: 159.1 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.223e-05/7.088, allocations: 15.94 kB / 3.493 GB, free: 159.1 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0001239/7.088, allocations: 326 kB / 3.494 GB, free: 158.8 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005154/7.089, allocations: 225 kB / 3.494 GB, free: 158.5 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005369/7.089, allocations: 336.9 kB / 3.494 GB, free: 158.2 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005779/7.09, allocations: 254.1 kB / 3.494 GB, free: 157.9 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.939e-06/7.09, allocations: 0 / 3.494 GB, free: 157.9 MB / 1.167 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001959/7.092, allocations: 0.8548 MB / 3.495 GB, free: 157.1 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 3.343e-05/7.092, allocations: 8 kB / 3.495 GB, free: 157 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.741e-05/7.092, allocations: 0 / 3.495 GB, free: 157 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005742/7.093, allocations: 181.9 kB / 3.495 GB, free: 156.9 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003778/7.093, allocations: 104.2 kB / 3.495 GB, free: 156.8 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003342/7.096, allocations: 2.781 MB / 3.498 GB, free: 153.8 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007698/7.097, allocations: 95.48 kB / 3.498 GB, free: 153.8 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.467e-05/7.097, allocations: 20 kB / 3.498 GB, free: 153.7 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.0008566/7.098, allocations: 393.4 kB / 3.499 GB, free: 153.3 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003588/7.098, allocations: 118.5 kB / 3.499 GB, free: 153.2 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001773/7.1, allocations: 0.7591 MB / 3.499 GB, free: 152.4 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.546e-06/7.1, allocations: 11.95 kB / 3.499 GB, free: 152.4 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.259e-05/7.1, allocations: 4 kB / 3.499 GB, free: 152.4 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.275e-06/7.1, allocations: 0 / 3.499 GB, free: 152.4 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003573/7.104, allocations: 1.788 MB / 3.501 GB, free: 150.6 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.093e-06/7.104, allocations: 7.953 kB / 3.501 GB, free: 150.6 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002315/7.104, allocations: 47.91 kB / 3.501 GB, free: 150.5 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004466/7.105, allocations: 192.7 kB / 3.501 GB, free: 150.3 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.506e-05/7.105, allocations: 15.98 kB / 3.501 GB, free: 150.3 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003213/7.108, allocations: 3.953 MB / 3.505 GB, free: 146.1 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/7.108, allocations: 0 / 3.505 GB, free: 146.1 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001799/7.11, allocations: 1.07 MB / 3.506 GB, free: 145 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007168/7.11, allocations: 299.6 kB / 3.507 GB, free: 144.7 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002137/7.111, allocations: 16 kB / 3.507 GB, free: 144.7 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004695/7.111, allocations: 51.86 kB / 3.507 GB, free: 144.6 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001644/7.111, allocations: 56.34 kB / 3.507 GB, free: 144.6 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.277e-05/7.111, allocations: 12 kB / 3.507 GB, free: 144.6 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.001836/7.113, allocations: 1.245 MB / 3.508 GB, free: 143.3 MB / 1.167 GB Notification: Performance of sort global known variables: time 6.01e-07/7.113, allocations: 3.938 kB / 3.508 GB, free: 143.3 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.001339/7.115, allocations: 315.6 kB / 3.508 GB, free: 143 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.003996/7.119, allocations: 2.475 MB / 3.511 GB, free: 140.7 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.001585/7.12, allocations: 0.7298 MB / 3.511 GB, free: 139.9 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 5.05e-06/7.12, allocations: 0 / 3.511 GB, free: 139.9 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0008191/7.121, allocations: 0.547 MB / 3.512 GB, free: 139.4 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001148/7.122, allocations: 191.8 kB / 3.512 GB, free: 139.2 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006896/7.129, allocations: 5.659 MB / 3.518 GB, free: 133.3 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009766/7.13, allocations: 1.173 MB / 3.519 GB, free: 132.1 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.0005117/7.131, allocations: 144.7 kB / 3.519 GB, free: 132 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005603/7.131, allocations: 427.2 kB / 3.519 GB, free: 131.6 MB / 1.167 GB Notification: Performance of SimCode: time 1.363e-06/7.131, allocations: 4 kB / 3.519 GB, free: 131.6 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05778/7.189, allocations: 31 MB / 3.55 GB, free: 100.9 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002353/7.189, allocations: 251.2 kB / 3.55 GB, free: 100.6 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_TestCase2.o Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2.c In file included from Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2.c:7: In file included from ./Buildings_latest_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_latest_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2_functions.o Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2_functions.c In file included from Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2_functions.c:2: In file included from ./Buildings_latest_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_latest_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2_records.o Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2_records.c In file included from Buildings_latest_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_latest_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2_01exo.o Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2_01exo.c In file included from Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2_01exo.c:2: In file included from ./Buildings_latest_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_latest_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2_02nls.o Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2_02nls.c In file included from Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2_02nls.c:2: In file included from ./Buildings_latest_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_latest_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2_03lsy.o Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2_03lsy.c In file included from Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2_03lsy.c:2: In file included from ./Buildings_latest_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_latest_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2_04set.o Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2_04set.c In file included from Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2_04set.c:2: In file included from ./Buildings_latest_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_latest_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2_05evt.o Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2_05evt.c In file included from Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2_05evt.c:2: In file included from ./Buildings_latest_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_latest_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2_06inz.o Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2_06inz.c In file included from Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2_06inz.c:2: In file included from ./Buildings_latest_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_latest_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2_07dly.o Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2_07dly.c In file included from Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2_07dly.c:2: In file included from ./Buildings_latest_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_latest_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2_08bnd.o Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2_08bnd.c In file included from Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2_08bnd.c:2: In file included from ./Buildings_latest_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_latest_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2_09alg.o Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2_09alg.c In file included from Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2_09alg.c:2: In file included from ./Buildings_latest_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_latest_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2_10asr.o Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2_10asr.c In file included from Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2_10asr.c:2: In file included from ./Buildings_latest_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_latest_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2_11mix.o Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2_11mix.c In file included from Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2_11mix.c:2: In file included from ./Buildings_latest_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_latest_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2_12jac.o Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2_12jac.c In file included from Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2_12jac.c:2: In file included from ./Buildings_latest_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_latest_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2_13opt.o Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2_13opt.c In file included from Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2_13opt.c:2: In file included from ./Buildings_latest_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_latest_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2_14lnz.o Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2_14lnz.c In file included from Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2_14lnz.c:2: In file included from ./Buildings_latest_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_latest_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2_15syn.o Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2_15syn.c In file included from Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2_15syn.c:2: In file included from ./Buildings_latest_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_latest_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2_16dae.o Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2_16dae.c In file included from Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2_16dae.c:2: In file included from ./Buildings_latest_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_latest_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2_17inl.o Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2_17inl.c In file included from Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2_17inl.c:2: In file included from ./Buildings_latest_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_latest_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2_init_fmu.o Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2_init_fmu.c In file included from Buildings_latest_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_latest_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2_FMU.o Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2_FMU.c In file included from Buildings_latest_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_latest_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_latest_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_latest_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2_FMU.c:450:90: error: expected expression Buildings_latest_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_latest_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_latest_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_latest_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_latest_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_latest_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_latest_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_latest_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_latest_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_latest_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_latest_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2_FMU.c:1004:79: error: function definition is not allowed here fmi2ValueReference mapInputReference2InputNumber(const fmi2ValueReference vr) { ^ Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2_FMU.c:1011:81: error: function definition is not allowed here fmi2ValueReference mapOutputReference2OutputNumber(const fmi2ValueReference vr) { ^ Buildings_latest_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2_FMU.c:1021:1: error: expected '}' ^ Buildings_latest_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_latest_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2_FMU.o] Error 1