Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1,fileNamePrefix="Buildings_9_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1,fileNamePrefix="Buildings_9_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.466/2.466, allocations: 390.3 MB / 405.3 MB, free: 13.52 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.001335/0.001335, allocations: 171.4 kB / 498.1 MB, free: 5.754 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.77/1.77, allocations: 223.2 MB / 0.7948 GB, free: 17.87 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.001265/0.001265, allocations: 99.95 kB / 0.9346 GB, free: 6.215 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004318/0.0004316, allocations: 6.875 kB / 1.084 GB, free: 221.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4117/0.4121, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.636/7.048, allocations: 2.188 GB / 3.411 GB, free: 243.4 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003508/7.049, allocations: 103.9 kB / 3.411 GB, free: 243.3 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 0.1276/7.176, allocations: 65.22 MB / 3.475 GB, free: 189.3 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.834e-06/7.176, allocations: 0 / 3.475 GB, free: 189.3 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0001837/7.177, allocations: 24 kB / 3.475 GB, free: 189.3 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.003796/7.18, allocations: 1.447 MB / 3.476 GB, free: 187.9 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.889e-05/7.18, allocations: 8.031 kB / 3.476 GB, free: 187.9 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002706/7.181, allocations: 88.77 kB / 3.477 GB, free: 187.8 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000454/7.181, allocations: 134.4 kB / 3.477 GB, free: 187.7 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003828/7.185, allocations: 1.488 MB / 3.478 GB, free: 186.4 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001455/7.185, allocations: 81.94 kB / 3.478 GB, free: 186.3 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001185/7.185, allocations: 46.38 kB / 3.478 GB, free: 186.3 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001108/7.186, allocations: 0.5055 MB / 3.479 GB, free: 185.9 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.9e-05/7.187, allocations: 3.938 kB / 3.479 GB, free: 185.9 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.838e-05/7.187, allocations: 15.69 kB / 3.479 GB, free: 185.9 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.196e-05/7.187, allocations: 12 kB / 3.479 GB, free: 185.9 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009125/7.188, allocations: 410.6 kB / 3.479 GB, free: 185.6 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004236/7.192, allocations: 2.658 MB / 3.482 GB, free: 183.3 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009021/7.193, allocations: 450.2 kB / 3.482 GB, free: 182.9 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 2.651e-05/7.193, allocations: 4.328 kB / 3.482 GB, free: 182.9 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000505/7.193, allocations: 290.9 kB / 3.482 GB, free: 182.7 MB / 1.167 GB Notification: Performance of pre-optimization done (n=44): time 3.967e-06/7.193, allocations: 0 / 3.482 GB, free: 182.7 MB / 1.167 GB Notification: Performance of matching and sorting (n=44): time 0.002622/7.196, allocations: 1.163 MB / 3.484 GB, free: 181.7 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.896e-05/7.196, allocations: 59.34 kB / 3.484 GB, free: 181.6 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002705/7.199, allocations: 1.564 MB / 3.485 GB, free: 180.4 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 5.415e-05/7.199, allocations: 42.39 kB / 3.485 GB, free: 180.4 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004586/7.199, allocations: 0.519 MB / 3.486 GB, free: 180.1 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001237/7.199, allocations: 148.8 kB / 3.486 GB, free: 180 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.744e-05/7.199, allocations: 11.38 kB / 3.486 GB, free: 180 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 8.607e-05/7.199, allocations: 335.7 kB / 3.486 GB, free: 179.7 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000436/7.2, allocations: 224.5 kB / 3.486 GB, free: 179.5 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004822/7.2, allocations: 360.6 kB / 3.487 GB, free: 179.1 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004503/7.201, allocations: 251.8 kB / 3.487 GB, free: 178.9 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.078e-06/7.201, allocations: 4 kB / 3.487 GB, free: 178.9 MB / 1.167 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001383/7.202, allocations: 0.8378 MB / 3.488 GB, free: 178 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 2.408e-05/7.202, allocations: 5.719 kB / 3.488 GB, free: 178 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.198e-06/7.202, allocations: 4 kB / 3.488 GB, free: 178 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000437/7.203, allocations: 149 kB / 3.488 GB, free: 177.9 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003621/7.203, allocations: 111.8 kB / 3.488 GB, free: 177.8 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002491/7.206, allocations: 2.509 MB / 3.491 GB, free: 175.1 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005124/7.206, allocations: 107.4 kB / 3.491 GB, free: 175 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.999e-05/7.206, allocations: 20 kB / 3.491 GB, free: 175 MB / 1.167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (53): * Single equations (assignments): 52 * 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%) 15} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005995/7.207, allocations: 383.4 kB / 3.491 GB, free: 174.6 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001554/7.207, allocations: 122.5 kB / 3.491 GB, free: 174.5 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001276/7.208, allocations: 0.7207 MB / 3.492 GB, free: 173.8 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.932e-06/7.208, allocations: 8 kB / 3.492 GB, free: 173.8 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/7.208, allocations: 4 kB / 3.492 GB, free: 173.8 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.015e-06/7.208, allocations: 3.984 kB / 3.492 GB, free: 173.8 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002757/7.211, allocations: 1.734 MB / 3.494 GB, free: 172 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/7.211, allocations: 0 / 3.494 GB, free: 172 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002489/7.211, allocations: 55.95 kB / 3.494 GB, free: 171.9 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003713/7.212, allocations: 161.6 kB / 3.494 GB, free: 171.7 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.742e-05/7.212, allocations: 11.98 kB / 3.494 GB, free: 171.7 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002775/7.215, allocations: 3.728 MB / 3.497 GB, free: 167.7 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/7.215, allocations: 0 / 3.497 GB, free: 167.7 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001515/7.216, allocations: 1.002 MB / 3.498 GB, free: 166.7 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005031/7.217, allocations: 311.4 kB / 3.499 GB, free: 166.4 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001036/7.217, allocations: 16 kB / 3.499 GB, free: 166.4 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003331/7.217, allocations: 39.97 kB / 3.499 GB, free: 166.3 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001318/7.217, allocations: 55.84 kB / 3.499 GB, free: 166.3 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.042e-05/7.217, allocations: 23.98 kB / 3.499 GB, free: 166.3 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.001324/7.219, allocations: 1.253 MB / 3.5 GB, free: 165 MB / 1.167 GB Notification: Performance of sort global known variables: time 2.6e-07/7.219, allocations: 0 / 3.5 GB, free: 165 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.001055/7.22, allocations: 299.7 kB / 3.5 GB, free: 164.7 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 (30): * Single equations (assignments): 22 * 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%) 12,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003568/7.223, allocations: 2.427 MB / 3.503 GB, free: 162.4 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.001409/7.225, allocations: 0.7103 MB / 3.503 GB, free: 161.7 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 4.939e-06/7.225, allocations: 0 / 3.503 GB, free: 161.7 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0006917/7.225, allocations: 0.5443 MB / 3.504 GB, free: 161.1 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009021/7.226, allocations: 173.2 kB / 3.504 GB, free: 161 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00504/7.231, allocations: 6.115 MB / 3.51 GB, free: 154.7 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006029/7.232, allocations: 1.177 MB / 3.511 GB, free: 153.5 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.0003947/7.232, allocations: 148.7 kB / 3.511 GB, free: 153.3 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004577/7.233, allocations: 423.3 kB / 3.512 GB, free: 152.9 MB / 1.167 GB Notification: Performance of SimCode: time 8.726e-06/7.233, allocations: 4 kB / 3.512 GB, free: 152.9 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04964/7.282, allocations: 30.71 MB / 3.542 GB, free: 122.5 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002113/7.283, allocations: 258.7 kB / 3.542 GB, free: 122.1 MB / 1.167 GB Error: Error building simulator. Build log: clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o Buildings_9_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1.o Buildings_9_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1.c In file included from Buildings_9_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1.c:7: In file included from ./Buildings_9_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:149: ./gc/omc_gc.h:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o Buildings_9_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1_functions.o Buildings_9_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1_functions.c In file included from Buildings_9_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1_functions.c:2: In file included from ./Buildings_9_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1_functions.h:3: In file included from ./meta/meta_modelica.h:49: ./gc/omc_gc.h:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o Buildings_9_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1_records.o Buildings_9_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1_records.c In file included from Buildings_9_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1_records.c:4: In file included from ./meta/meta_modelica.h:49: ./gc/omc_gc.h:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o Buildings_9_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1_01exo.o Buildings_9_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1_01exo.c In file included from Buildings_9_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1_01exo.c:2: In file included from ./Buildings_9_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:149: ./gc/omc_gc.h:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o Buildings_9_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1_02nls.o Buildings_9_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1_02nls.c In file included from Buildings_9_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1_02nls.c:2: In file included from ./Buildings_9_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:149: ./gc/omc_gc.h:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o Buildings_9_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1_03lsy.o Buildings_9_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1_03lsy.c In file included from Buildings_9_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1_03lsy.c:2: In file included from ./Buildings_9_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:149: ./gc/omc_gc.h:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o Buildings_9_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1_04set.o Buildings_9_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1_04set.c In file included from Buildings_9_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1_04set.c:2: In file included from ./Buildings_9_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:149: ./gc/omc_gc.h:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o Buildings_9_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1_05evt.o Buildings_9_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1_05evt.c In file included from Buildings_9_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1_05evt.c:2: In file included from ./Buildings_9_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:149: ./gc/omc_gc.h:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o Buildings_9_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1_06inz.o Buildings_9_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1_06inz.c In file included from Buildings_9_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1_06inz.c:2: In file included from ./Buildings_9_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:149: ./gc/omc_gc.h:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o Buildings_9_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1_07dly.o Buildings_9_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1_07dly.c In file included from Buildings_9_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1_07dly.c:2: In file included from ./Buildings_9_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:149: ./gc/omc_gc.h:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o Buildings_9_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1_08bnd.o Buildings_9_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1_08bnd.c In file included from Buildings_9_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1_08bnd.c:2: In file included from ./Buildings_9_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:149: ./gc/omc_gc.h:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o Buildings_9_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1_09alg.o Buildings_9_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1_09alg.c In file included from Buildings_9_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1_09alg.c:2: In file included from ./Buildings_9_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:149: ./gc/omc_gc.h:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o Buildings_9_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1_10asr.o Buildings_9_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1_10asr.c In file included from Buildings_9_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1_10asr.c:2: In file included from ./Buildings_9_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:149: ./gc/omc_gc.h:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o Buildings_9_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1_11mix.o Buildings_9_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1_11mix.c In file included from Buildings_9_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1_11mix.c:2: In file included from ./Buildings_9_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:149: ./gc/omc_gc.h:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o Buildings_9_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1_12jac.o Buildings_9_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1_12jac.c In file included from Buildings_9_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1_12jac.c:2: In file included from ./Buildings_9_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:149: ./gc/omc_gc.h:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o Buildings_9_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1_13opt.o Buildings_9_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1_13opt.c In file included from Buildings_9_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1_13opt.c:2: In file included from ./Buildings_9_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:149: ./gc/omc_gc.h:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o Buildings_9_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1_14lnz.o Buildings_9_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1_14lnz.c In file included from Buildings_9_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1_14lnz.c:2: In file included from ./Buildings_9_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:149: ./gc/omc_gc.h:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o Buildings_9_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1_15syn.o Buildings_9_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1_15syn.c In file included from Buildings_9_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1_15syn.c:2: In file included from ./Buildings_9_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:149: ./gc/omc_gc.h:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o Buildings_9_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1_16dae.o Buildings_9_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1_16dae.c In file included from Buildings_9_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1_16dae.c:2: In file included from ./Buildings_9_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:149: ./gc/omc_gc.h:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o Buildings_9_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1_17inl.o Buildings_9_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1_17inl.c In file included from Buildings_9_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1_17inl.c:2: In file included from ./Buildings_9_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:149: ./gc/omc_gc.h:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o Buildings_9_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1_init_fmu.o Buildings_9_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1_init_fmu.c In file included from Buildings_9_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1_init_fmu.c:1: In file included from ./simulation_data.h:39: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:149: ./gc/omc_gc.h:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o Buildings_9_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1_FMU.o Buildings_9_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1_FMU.c In file included from Buildings_9_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1_FMU.c:9: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:149: ./gc/omc_gc.h:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ In file included from Buildings_9_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1_FMU.c:55: ./fmi-export/fmu2_model_interface.c.inc:79:11: warning: enumeration value 'modelSlaveInitialized' not handled in switch [-Wswitch] switch (comp->state) ^ ./fmi-export/fmu2_model_interface.c.inc:168:16: warning: passing 'char **' to parameter of type 'const char **' discards qualifiers in nested pointer types [-Wincompatible-pointer-types-discards-qualifiers] GC_vasprintf(&str, msg, args); ^~~~ ./gc/../meta/../util/modelica_string.h:71:31: note: passing argument to parameter 'strp' here int GC_vasprintf(const char **strp, const char *fmt, va_list ap); ^ Buildings_9_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1_FMU.c:452:90: warning: missing terminating '"' character [-Winvalid-pp-token] comp->fmuData->modelData->stringParameterData[0].attribute.start = mmc_mk_scon_persist("Inputs differ by more than threShold. ^ Buildings_9_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1_FMU.c:452:90: error: expected expression Buildings_9_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1_FMU.c:453:61: warning: missing terminating '"' character [-Winvalid-pp-token] Check output 'satisfied' for when violation(s) happened."); /* TODO: these are not freed currently, see #6161 */ ^ Buildings_9_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1_FMU.c:870:68: error: function definition is not allowed here fmi2Real getReal(ModelInstance* comp, const fmi2ValueReference vr) { ^ Buildings_9_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1_FMU.c:884:92: error: function definition is not allowed here fmi2Status setReal(ModelInstance* comp, const fmi2ValueReference vr, const fmi2Real value) { ^ Buildings_9_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1_FMU.c:900:74: error: function definition is not allowed here fmi2Integer getInteger(ModelInstance* comp, const fmi2ValueReference vr) { ^ Buildings_9_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1_FMU.c:910:98: error: function definition is not allowed here fmi2Status setInteger(ModelInstance* comp, const fmi2ValueReference vr, const fmi2Integer value) { ^ Buildings_9_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1_FMU.c:921:74: error: function definition is not allowed here fmi2Boolean getBoolean(ModelInstance* comp, const fmi2ValueReference vr) { ^ Buildings_9_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1_FMU.c:947:98: error: function definition is not allowed here fmi2Status setBoolean(ModelInstance* comp, const fmi2ValueReference vr, const fmi2Boolean value) { ^ Buildings_9_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1_FMU.c:974:72: error: function definition is not allowed here fmi2String getString(ModelInstance* comp, const fmi2ValueReference vr) { ^ Buildings_9_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1_FMU.c:986:90: error: function definition is not allowed here fmi2Status setString(ModelInstance* comp, const fmi2ValueReference vr, fmi2String value) { ^ Buildings_9_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1_FMU.c:999:97: error: function definition is not allowed here fmi2Status setExternalFunction(ModelInstance* c, const fmi2ValueReference vr, const void* value){ ^ Buildings_9_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1_FMU.c:1008:79: error: function definition is not allowed here fmi2ValueReference mapInputReference2InputNumber(const fmi2ValueReference vr) { ^ Buildings_9_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1_FMU.c:1015:81: error: function definition is not allowed here fmi2ValueReference mapOutputReference2OutputNumber(const fmi2ValueReference vr) { ^ Buildings_9_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1_FMU.c:1025:1: error: expected '}' ^ Buildings_9_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1_FMU.c:60:49: note: to match this '{' void setDefaultStartValues(ModelInstance *comp) { ^ 6 warnings and 13 errors generated. make: *** [: Buildings_9_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1_FMU.o] Error 1