Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1,fileNamePrefix="Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1,fileNamePrefix="Buildings_8_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 8.1.4-maint.8.1.x/package.mo): time 1.754/1.754, allocations: 292.6 MB / 307.5 MB, free: 5.227 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001204/0.001204, allocations: 187.4 kB / 377.1 MB, free: 1.531 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.964/1.964, allocations: 205.4 MB / 0.6366 GB, free: 8.633 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000986/0.000986, allocations: 88.16 kB / 0.7509 GB, free: 62.82 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004893/0.0004893, allocations: 8 kB / 0.8749 GB, free: 11.12 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3799/0.3804, allocations: 116.3 MB / 0.9884 GB, free: 6.68 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 8.714/9.095, allocations: 2.349 GB / 3.337 GB, free: 236.8 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002682/9.095, allocations: 96.52 kB / 3.337 GB, free: 236.7 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 0.1258/9.221, allocations: 64.52 MB / 3.4 GB, free: 171.9 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.334e-06/9.221, allocations: 0 / 3.4 GB, free: 171.9 MB / 0.948 GB Notification: Performance of Transformations before backend: time 8.19e-05/9.221, allocations: 32.06 kB / 3.4 GB, free: 171.9 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 106 * Number of variables: 106 Notification: Performance of Generate backend data structure: time 0.002102/9.223, allocations: 1.442 MB / 3.402 GB, free: 170.4 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 6.203e-05/9.223, allocations: 12.02 kB / 3.402 GB, free: 170.4 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.621e-05/9.223, allocations: 82.53 kB / 3.402 GB, free: 170.3 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001676/9.224, allocations: 134.4 kB / 3.402 GB, free: 170.2 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00282/9.226, allocations: 1.474 MB / 3.403 GB, free: 168.6 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001156/9.227, allocations: 74.69 kB / 3.403 GB, free: 168.6 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.832e-05/9.227, allocations: 51.91 kB / 3.403 GB, free: 168.5 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008378/9.228, allocations: 0.5067 MB / 3.404 GB, free: 168 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.923e-05/9.228, allocations: 0 / 3.404 GB, free: 168 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.164e-05/9.228, allocations: 16 kB / 3.404 GB, free: 168 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.207e-05/9.228, allocations: 15.98 kB / 3.404 GB, free: 167.9 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006989/9.228, allocations: 407.8 kB / 3.404 GB, free: 167.6 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003299/9.232, allocations: 2.653 MB / 3.407 GB, free: 164.7 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008482/9.233, allocations: 453.5 kB / 3.407 GB, free: 164.2 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.876e-05/9.233, allocations: 4.328 kB / 3.407 GB, free: 164.2 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004622/9.233, allocations: 292.1 kB / 3.408 GB, free: 163.9 MB / 0.948 GB Notification: Performance of pre-optimization done (n=44): time 3.026e-06/9.233, allocations: 0 / 3.408 GB, free: 163.9 MB / 0.948 GB Notification: Performance of matching and sorting (n=44): time 0.002336/9.235, allocations: 1.149 MB / 3.409 GB, free: 162.8 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.068e-05/9.235, allocations: 67.41 kB / 3.409 GB, free: 162.7 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00204/9.237, allocations: 1.562 MB / 3.41 GB, free: 161.1 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 4.116e-05/9.238, allocations: 33.7 kB / 3.41 GB, free: 161.1 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003342/9.238, allocations: 0.525 MB / 3.411 GB, free: 160.5 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 9.171e-05/9.238, allocations: 142 kB / 3.411 GB, free: 160.4 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.309e-05/9.238, allocations: 12 kB / 3.411 GB, free: 160.4 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.658e-05/9.238, allocations: 326 kB / 3.411 GB, free: 160.1 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004031/9.239, allocations: 236.9 kB / 3.412 GB, free: 159.8 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004397/9.239, allocations: 343.2 kB / 3.412 GB, free: 159.4 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004471/9.239, allocations: 255.8 kB / 3.412 GB, free: 159.2 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.935e-06/9.239, allocations: 0 / 3.412 GB, free: 159.2 MB / 0.948 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001313/9.241, allocations: 0.8359 MB / 3.413 GB, free: 158.4 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.42e-05/9.241, allocations: 12.89 kB / 3.413 GB, free: 158.3 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.025e-05/9.241, allocations: 11.92 kB / 3.413 GB, free: 158.3 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004029/9.241, allocations: 155.1 kB / 3.413 GB, free: 158.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000338/9.242, allocations: 107.8 kB / 3.413 GB, free: 158.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002374/9.244, allocations: 2.506 MB / 3.416 GB, free: 155.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005246/9.244, allocations: 95.55 kB / 3.416 GB, free: 155.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.473e-05/9.245, allocations: 20 kB / 3.416 GB, free: 155.3 MB / 0.948 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,mean.y,intGai.nextTimeEvent,$PRE.intGai.nextTimeEventScaled,intGai.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (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.000645/9.245, allocations: 395.2 kB / 3.416 GB, free: 154.9 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001363/9.245, allocations: 122.5 kB / 3.416 GB, free: 154.8 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001197/9.247, allocations: 0.7166 MB / 3.417 GB, free: 154.1 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.909e-06/9.247, allocations: 8 kB / 3.417 GB, free: 154.1 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/9.247, allocations: 7.984 kB / 3.417 GB, free: 154.1 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.23e-06/9.247, allocations: 0 / 3.417 GB, free: 154.1 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002422/9.249, allocations: 1.73 MB / 3.419 GB, free: 152.3 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/9.249, allocations: 0 / 3.419 GB, free: 152.3 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002271/9.249, allocations: 51.89 kB / 3.419 GB, free: 152.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003476/9.25, allocations: 157.6 kB / 3.419 GB, free: 152.1 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.733e-05/9.25, allocations: 19.98 kB / 3.419 GB, free: 152 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002722/9.252, allocations: 3.728 MB / 3.423 GB, free: 148 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.365e-06/9.252, allocations: 4.062 kB / 3.423 GB, free: 148 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001567/9.254, allocations: 1.018 MB / 3.424 GB, free: 147 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005251/9.255, allocations: 295.5 kB / 3.424 GB, free: 146.7 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.997e-05/9.255, allocations: 16 kB / 3.424 GB, free: 146.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000344/9.255, allocations: 43.97 kB / 3.424 GB, free: 146.6 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001324/9.255, allocations: 55.91 kB / 3.424 GB, free: 146.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.025e-05/9.255, allocations: 15.98 kB / 3.424 GB, free: 146.6 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001401/9.257, allocations: 1.245 MB / 3.425 GB, free: 145.3 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.91e-07/9.257, allocations: 0 / 3.425 GB, free: 145.3 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001065/9.258, allocations: 311.7 kB / 3.425 GB, free: 145 MB / 0.948 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) * 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.003393/9.261, allocations: 2.431 MB / 3.428 GB, free: 142.7 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.00142/9.262, allocations: 0.7059 MB / 3.429 GB, free: 142 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/9.262, allocations: 0 / 3.429 GB, free: 142 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0007184/9.263, allocations: 0.5464 MB / 3.429 GB, free: 141.4 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001038/9.264, allocations: 176.5 kB / 3.429 GB, free: 141.2 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005177/9.269, allocations: 6.1 MB / 3.435 GB, free: 134.9 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006182/9.27, allocations: 1.169 MB / 3.436 GB, free: 133.7 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0004103/9.271, allocations: 152.7 kB / 3.437 GB, free: 133.6 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004582/9.271, allocations: 427.3 kB / 3.437 GB, free: 133.2 MB / 0.948 GB Notification: Performance of SimCode: time 1.804e-06/9.271, allocations: 0 / 3.437 GB, free: 133.2 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05092/9.322, allocations: 30.67 MB / 3.467 GB, free: 102.7 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002059/9.322, allocations: 251.9 kB / 3.467 GB, free: 102.3 MB / 0.948 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_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1.o Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1.c In file included from Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1.c:7: In file included from ./Buildings_8_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_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1_functions.o Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1_functions.c In file included from Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1_functions.c:2: In file included from ./Buildings_8_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_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1_records.o Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1_records.c In file included from Buildings_8_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_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1_01exo.o Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1_01exo.c In file included from Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1_01exo.c:2: In file included from ./Buildings_8_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_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1_02nls.o Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1_02nls.c In file included from Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1_02nls.c:2: In file included from ./Buildings_8_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_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1_03lsy.o Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1_03lsy.c In file included from Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1_03lsy.c:2: In file included from ./Buildings_8_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_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1_04set.o Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1_04set.c In file included from Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1_04set.c:2: In file included from ./Buildings_8_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_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1_05evt.o Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1_05evt.c In file included from Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1_05evt.c:2: In file included from ./Buildings_8_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_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1_06inz.o Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1_06inz.c In file included from Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1_06inz.c:2: In file included from ./Buildings_8_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_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1_07dly.o Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1_07dly.c In file included from Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1_07dly.c:2: In file included from ./Buildings_8_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_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1_08bnd.o Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1_08bnd.c In file included from Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1_08bnd.c:2: In file included from ./Buildings_8_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_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1_09alg.o Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1_09alg.c In file included from Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1_09alg.c:2: In file included from ./Buildings_8_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_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1_10asr.o Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1_10asr.c In file included from Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1_10asr.c:2: In file included from ./Buildings_8_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_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1_11mix.o Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1_11mix.c In file included from Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1_11mix.c:2: In file included from ./Buildings_8_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_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1_12jac.o Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1_12jac.c In file included from Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1_12jac.c:2: In file included from ./Buildings_8_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_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1_13opt.o Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1_13opt.c In file included from Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1_13opt.c:2: In file included from ./Buildings_8_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_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1_14lnz.o Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1_14lnz.c In file included from Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1_14lnz.c:2: In file included from ./Buildings_8_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_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1_15syn.o Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1_15syn.c In file included from Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1_15syn.c:2: In file included from ./Buildings_8_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_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1_16dae.o Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1_16dae.c In file included from Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1_16dae.c:2: In file included from ./Buildings_8_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_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1_17inl.o Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1_17inl.c In file included from Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1_17inl.c:2: In file included from ./Buildings_8_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_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1_init_fmu.o Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1_init_fmu.c In file included from Buildings_8_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_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1_FMU.o Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1_FMU.c In file included from Buildings_8_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_8_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_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1_FMU.c:451: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_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1_FMU.c:451:90: error: expected expression Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1_FMU.c:452: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_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1_FMU.c:868:68: error: function definition is not allowed here fmi2Real getReal(ModelInstance* comp, const fmi2ValueReference vr) { ^ Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1_FMU.c:882:92: error: function definition is not allowed here fmi2Status setReal(ModelInstance* comp, const fmi2ValueReference vr, const fmi2Real value) { ^ Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1_FMU.c:898:74: error: function definition is not allowed here fmi2Integer getInteger(ModelInstance* comp, const fmi2ValueReference vr) { ^ Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1_FMU.c:908:98: error: function definition is not allowed here fmi2Status setInteger(ModelInstance* comp, const fmi2ValueReference vr, const fmi2Integer value) { ^ Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1_FMU.c:919:74: error: function definition is not allowed here fmi2Boolean getBoolean(ModelInstance* comp, const fmi2ValueReference vr) { ^ Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1_FMU.c:944:98: error: function definition is not allowed here fmi2Status setBoolean(ModelInstance* comp, const fmi2ValueReference vr, const fmi2Boolean value) { ^ Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1_FMU.c:970:72: error: function definition is not allowed here fmi2String getString(ModelInstance* comp, const fmi2ValueReference vr) { ^ Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1_FMU.c:982:90: error: function definition is not allowed here fmi2Status setString(ModelInstance* comp, const fmi2ValueReference vr, fmi2String value) { ^ Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1_FMU.c:995:97: error: function definition is not allowed here fmi2Status setExternalFunction(ModelInstance* c, const fmi2ValueReference vr, const void* value){ ^ Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1_FMU.c:1004:79: error: function definition is not allowed here fmi2ValueReference mapInputReference2InputNumber(const fmi2ValueReference vr) { ^ Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1_FMU.c:1011:81: error: function definition is not allowed here fmi2ValueReference mapOutputReference2OutputNumber(const fmi2ValueReference vr) { ^ Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1_FMU.c:1021:1: error: expected '}' ^ Buildings_8_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_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1_FMU.o] Error 1