Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.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.TestCase4,fileNamePrefix="Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4,fileNamePrefix="Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.804/1.804, allocations: 292.6 MB / 307.5 MB, free: 5.199 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.001592/0.001592, allocations: 191.7 kB / 377.1 MB, free: 1.512 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.187/2.187, allocations: 205.4 MB / 0.6366 GB, free: 8.629 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.001134/0.001134, allocations: 99.69 kB / 0.7509 GB, free: 63.02 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004102/0.0004101, allocations: 8 kB / 0.8749 GB, free: 11.11 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4072/0.4076, allocations: 116.3 MB / 0.9884 GB, free: 6.652 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 8.779/9.187, allocations: 2.349 GB / 3.337 GB, free: 195.6 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003756/9.187, allocations: 94.08 kB / 3.337 GB, free: 195.6 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 0.1497/9.337, allocations: 64.54 MB / 3.4 GB, free: 134.9 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.834e-06/9.337, allocations: 3.938 kB / 3.4 GB, free: 134.9 MB / 0.948 GB Notification: Performance of Transformations before backend: time 7.843e-05/9.337, allocations: 28.12 kB / 3.4 GB, free: 134.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.002089/9.339, allocations: 1.434 MB / 3.402 GB, free: 133.4 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.837e-05/9.339, allocations: 16.02 kB / 3.402 GB, free: 133.4 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.138e-05/9.339, allocations: 82.52 kB / 3.402 GB, free: 133.3 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001615/9.339, allocations: 134.4 kB / 3.402 GB, free: 133.2 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002841/9.342, allocations: 1.467 MB / 3.403 GB, free: 131.6 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00011/9.342, allocations: 82.67 kB / 3.403 GB, free: 131.6 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.816e-05/9.342, allocations: 47.91 kB / 3.403 GB, free: 131.5 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008066/9.343, allocations: 0.5028 MB / 3.404 GB, free: 131 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.043e-05/9.343, allocations: 7.984 kB / 3.404 GB, free: 131 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.281e-05/9.343, allocations: 16 kB / 3.404 GB, free: 131 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.046e-05/9.343, allocations: 8 kB / 3.404 GB, free: 131 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006929/9.344, allocations: 403.8 kB / 3.404 GB, free: 130.6 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003064/9.347, allocations: 2.722 MB / 3.407 GB, free: 127.6 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008518/9.348, allocations: 452.2 kB / 3.407 GB, free: 127.2 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.777e-05/9.348, allocations: 8.328 kB / 3.407 GB, free: 127.2 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004499/9.348, allocations: 306.1 kB / 3.408 GB, free: 126.9 MB / 0.948 GB Notification: Performance of pre-optimization done (n=45): time 2.394e-06/9.349, allocations: 0 / 3.408 GB, free: 126.9 MB / 0.948 GB Notification: Performance of matching and sorting (n=45): time 0.002509/9.351, allocations: 1.239 MB / 3.409 GB, free: 125.6 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.991e-05/9.351, allocations: 63.14 kB / 3.409 GB, free: 125.5 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001932/9.353, allocations: 1.546 MB / 3.411 GB, free: 123.9 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 3.674e-05/9.353, allocations: 41.7 kB / 3.411 GB, free: 123.9 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002975/9.353, allocations: 0.5137 MB / 3.411 GB, free: 123.4 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 8.296e-05/9.353, allocations: 142 kB / 3.411 GB, free: 123.2 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.246e-05/9.353, allocations: 15.94 kB / 3.411 GB, free: 123.2 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 6.05e-05/9.354, allocations: 337.9 kB / 3.412 GB, free: 122.9 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004082/9.354, allocations: 225 kB / 3.412 GB, free: 122.7 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004384/9.354, allocations: 324.9 kB / 3.412 GB, free: 122.3 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004254/9.355, allocations: 261.2 kB / 3.412 GB, free: 122.1 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/9.355, allocations: 0 / 3.412 GB, free: 122.1 MB / 0.948 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.00138/9.356, allocations: 0.8633 MB / 3.413 GB, free: 121.2 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.794e-05/9.356, allocations: 8 kB / 3.413 GB, free: 121.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.356e-06/9.356, allocations: 4 kB / 3.413 GB, free: 121.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004611/9.357, allocations: 174.4 kB / 3.413 GB, free: 121 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003359/9.357, allocations: 99.88 kB / 3.413 GB, free: 120.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002627/9.36, allocations: 2.77 MB / 3.416 GB, free: 118 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005212/9.36, allocations: 103.5 kB / 3.416 GB, free: 117.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.553e-05/9.36, allocations: 23.94 kB / 3.416 GB, free: 117.9 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 19 ($PRE.assEqu.nFai,assEqu.nFai,$whenCondition5,$whenCondition4,$PRE.intGai.nextTimeEvent,$whenCondition3,$PRE.reference.nextTimeEvent,$whenCondition1,$whenCondition2,reference.nextTimeEvent,$PRE.reference.nextTimeEventScaled,reference.nextTimeEventScaled,$PRE.assEqu.satisfied,assEqu.satisfied,$PRE.mean.y,mean.y,intGai.nextTimeEvent,$PRE.intGai.nextTimeEventScaled,intGai.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (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.0006358/9.361, allocations: 383.2 kB / 3.417 GB, free: 117.5 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001398/9.361, allocations: 130.5 kB / 3.417 GB, free: 117.4 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001274/9.362, allocations: 0.759 MB / 3.417 GB, free: 116.6 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.569e-06/9.362, allocations: 4 kB / 3.417 GB, free: 116.6 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/9.362, allocations: 8 kB / 3.417 GB, free: 116.6 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.823e-06/9.362, allocations: 7.938 kB / 3.418 GB, free: 116.6 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002564/9.365, allocations: 1.78 MB / 3.419 GB, free: 114.7 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.887e-06/9.365, allocations: 0 / 3.419 GB, free: 114.7 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002166/9.365, allocations: 51.97 kB / 3.419 GB, free: 114.7 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003893/9.366, allocations: 185.6 kB / 3.419 GB, free: 114.5 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.451e-05/9.366, allocations: 19.92 kB / 3.419 GB, free: 114.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002773/9.368, allocations: 3.966 MB / 3.423 GB, free: 110.3 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/9.368, allocations: 64 / 3.423 GB, free: 110.3 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001516/9.37, allocations: 1.066 MB / 3.424 GB, free: 109.2 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004897/9.371, allocations: 299.9 kB / 3.425 GB, free: 108.9 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001009/9.371, allocations: 19.94 kB / 3.425 GB, free: 108.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000339/9.371, allocations: 55.89 kB / 3.425 GB, free: 108.8 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001276/9.371, allocations: 56.34 kB / 3.425 GB, free: 108.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.813e-05/9.371, allocations: 8 kB / 3.425 GB, free: 108.7 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001236/9.372, allocations: 1.241 MB / 3.426 GB, free: 107.5 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.41e-07/9.372, allocations: 0 / 3.426 GB, free: 107.5 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0009909/9.373, allocations: 303.7 kB / 3.426 GB, free: 107.2 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 (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.003167/9.377, allocations: 2.49 MB / 3.429 GB, free: 104.8 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001343/9.378, allocations: 0.7304 MB / 3.429 GB, free: 104 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/9.378, allocations: 0 / 3.429 GB, free: 104 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0006813/9.379, allocations: 0.5694 MB / 3.43 GB, free: 103.4 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008302/9.379, allocations: 180.1 kB / 3.43 GB, free: 103.3 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004287/9.384, allocations: 5.648 MB / 3.436 GB, free: 97.45 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005349/9.384, allocations: 1.177 MB / 3.437 GB, free: 96.25 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0003052/9.385, allocations: 144.6 kB / 3.437 GB, free: 96.11 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004532/9.385, allocations: 423.2 kB / 3.437 GB, free: 95.69 MB / 0.948 GB Notification: Performance of SimCode: time 5.91e-07/9.385, allocations: 0 / 3.437 GB, free: 95.69 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04679/9.432, allocations: 30.94 MB / 3.468 GB, free: 64.92 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002217/9.432, allocations: 268.3 kB / 3.468 GB, free: 64.57 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_TestCase4.o Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4.c In file included from Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4.c:7: In file included from ./Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:149: ./gc/omc_gc.h:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4_functions.o Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4_functions.c In file included from Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4_functions.c:2: In file included from ./Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4_functions.h:3: In file included from ./meta/meta_modelica.h:49: ./gc/omc_gc.h:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4_records.o Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4_records.c In file included from Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4_records.c:4: In file included from ./meta/meta_modelica.h:49: ./gc/omc_gc.h:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4_01exo.o Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4_01exo.c In file included from Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4_01exo.c:2: In file included from ./Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:149: ./gc/omc_gc.h:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4_02nls.o Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4_02nls.c In file included from Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4_02nls.c:2: In file included from ./Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:149: ./gc/omc_gc.h:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4_03lsy.o Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4_03lsy.c In file included from Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4_03lsy.c:2: In file included from ./Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:149: ./gc/omc_gc.h:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4_04set.o Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4_04set.c In file included from Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4_04set.c:2: In file included from ./Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:149: ./gc/omc_gc.h:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4_05evt.o Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4_05evt.c In file included from Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4_05evt.c:2: In file included from ./Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:149: ./gc/omc_gc.h:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4_06inz.o Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4_06inz.c In file included from Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4_06inz.c:2: In file included from ./Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:149: ./gc/omc_gc.h:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4_07dly.o Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4_07dly.c In file included from Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4_07dly.c:2: In file included from ./Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:149: ./gc/omc_gc.h:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4_08bnd.o Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4_08bnd.c In file included from Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4_08bnd.c:2: In file included from ./Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:149: ./gc/omc_gc.h:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4_09alg.o Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4_09alg.c In file included from Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4_09alg.c:2: In file included from ./Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:149: ./gc/omc_gc.h:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4_10asr.o Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4_10asr.c In file included from Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4_10asr.c:2: In file included from ./Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:149: ./gc/omc_gc.h:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4_11mix.o Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4_11mix.c In file included from Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4_11mix.c:2: In file included from ./Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:149: ./gc/omc_gc.h:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4_12jac.o Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4_12jac.c In file included from Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4_12jac.c:2: In file included from ./Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:149: ./gc/omc_gc.h:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4_13opt.o Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4_13opt.c In file included from Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4_13opt.c:2: In file included from ./Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:149: ./gc/omc_gc.h:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4_14lnz.o Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4_14lnz.c In file included from Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4_14lnz.c:2: In file included from ./Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:149: ./gc/omc_gc.h:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4_15syn.o Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4_15syn.c In file included from Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4_15syn.c:2: In file included from ./Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:149: ./gc/omc_gc.h:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4_16dae.o Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4_16dae.c In file included from Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4_16dae.c:2: In file included from ./Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:149: ./gc/omc_gc.h:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4_17inl.o Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4_17inl.c In file included from Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4_17inl.c:2: In file included from ./Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:149: ./gc/omc_gc.h:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4_init_fmu.o Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4_init_fmu.c In file included from Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4_init_fmu.c:1: In file included from ./simulation_data.h:39: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:149: ./gc/omc_gc.h:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4_FMU.o Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4_FMU.c In file included from Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4_FMU.c:9: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:149: ./gc/omc_gc.h:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ In file included from Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4_FMU.c:55: ./fmi-export/fmu2_model_interface.c.inc:79:11: warning: enumeration value 'modelSlaveInitialized' not handled in switch [-Wswitch] switch (comp->state) ^ ./fmi-export/fmu2_model_interface.c.inc:168:16: warning: passing 'char **' to parameter of type 'const char **' discards qualifiers in nested pointer types [-Wincompatible-pointer-types-discards-qualifiers] GC_vasprintf(&str, msg, args); ^~~~ ./gc/../meta/../util/modelica_string.h:71:31: note: passing argument to parameter 'strp' here int GC_vasprintf(const char **strp, const char *fmt, va_list ap); ^ Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4_FMU.c:449: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_TestCase4_FMU.c:449:90: error: expected expression Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4_FMU.c:450: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_TestCase4_FMU.c:864:68: error: function definition is not allowed here fmi2Real getReal(ModelInstance* comp, const fmi2ValueReference vr) { ^ Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4_FMU.c:878: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_TestCase4_FMU.c:894:74: error: function definition is not allowed here fmi2Integer getInteger(ModelInstance* comp, const fmi2ValueReference vr) { ^ Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4_FMU.c:904: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_TestCase4_FMU.c:915:74: error: function definition is not allowed here fmi2Boolean getBoolean(ModelInstance* comp, const fmi2ValueReference vr) { ^ Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4_FMU.c:940: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_TestCase4_FMU.c:966:72: error: function definition is not allowed here fmi2String getString(ModelInstance* comp, const fmi2ValueReference vr) { ^ Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4_FMU.c:978:90: error: function definition is not allowed here fmi2Status setString(ModelInstance* comp, const fmi2ValueReference vr, fmi2String value) { ^ Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4_FMU.c:991: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_TestCase4_FMU.c:1000:79: error: function definition is not allowed here fmi2ValueReference mapInputReference2InputNumber(const fmi2ValueReference vr) { ^ Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4_FMU.c:1007:81: error: function definition is not allowed here fmi2ValueReference mapOutputReference2OutputNumber(const fmi2ValueReference vr) { ^ Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4_FMU.c:1017:1: error: expected '}' ^ Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4_FMU.c:60:49: note: to match this '{' void setDefaultStartValues(ModelInstance *comp) { ^ 6 warnings and 13 errors generated. make: *** [: Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4_FMU.o] Error 1