Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ExchangeValues",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 3.956/3.956, allocations: 432.6 MB / 445.2 MB, free: 15.8 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 3.659e-05/3.67e-05, allocations: 4.984 kB / 0.5383 GB, free: 10.27 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2098/0.2099, allocations: 98.73 MB / 0.6347 GB, free: 1.883 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.228/0.438, allocations: 124.7 MB / 0.7565 GB, free: 5.051 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003154/0.4383, allocations: 87.88 kB / 0.7566 GB, free: 4.965 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.01724/0.4556, allocations: 3.79 MB / 0.7603 GB, free: 1.168 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.473e-06/0.4556, allocations: 0 / 0.7603 GB, free: 1.168 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.983e-06/0.4557, allocations: 0 / 0.7603 GB, free: 1.168 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003181/0.456, allocations: 356.1 kB / 0.7606 GB, free: 0.7695 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.899e-05/0.4561, allocations: 8.031 kB / 0.7606 GB, free: 0.7617 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.975e-05/0.4561, allocations: 34.56 kB / 0.7606 GB, free: 0.7188 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.416e-05/0.4562, allocations: 4 kB / 0.7606 GB, free: 0.7148 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000132/0.4563, allocations: 163 kB / 0.7608 GB, free: 0.5156 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.427e-05/0.4563, allocations: 0 / 0.7608 GB, free: 0.5156 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.345e-05/0.4564, allocations: 12 kB / 0.7608 GB, free: 0.5039 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000148/0.4565, allocations: 53.67 kB / 0.7609 GB, free: 456 kB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.314e-06/0.4565, allocations: 4 kB / 0.7609 GB, free: 452 kB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.638e-05/0.4566, allocations: 4 kB / 0.7609 GB, free: 448 kB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.92e-06/0.4566, allocations: 0 / 0.7609 GB, free: 448 kB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.528e-05/0.4566, allocations: 8 kB / 0.7609 GB, free: 440 kB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001661/0.4568, allocations: 165.6 kB / 0.761 GB, free: 224 kB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 7.606e-05/0.4569, allocations: 26.52 kB / 0.7611 GB, free: 188 kB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.965e-05/0.457, allocations: 20.92 kB / 0.7611 GB, free: 164 kB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 8.176e-06/0.457, allocations: 0 / 0.7611 GB, free: 164 kB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.493e-05/0.457, allocations: 34.56 kB / 0.7611 GB, free: 120 kB / 0.6355 GB Notification: Performance of pre-optimization done (n=1): time 1.483e-06/0.4571, allocations: 0 / 0.7611 GB, free: 120 kB / 0.6355 GB Notification: Performance of matching and sorting (n=1): time 0.0002623/0.4573, allocations: 91.39 kB / 0.7612 GB, free: 16 kB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.281e-05/0.4574, allocations: 85.03 kB / 0.7613 GB, free: 15.91 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.511e-05/0.4575, allocations: 89 kB / 0.7614 GB, free: 15.82 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.215e-05/0.4575, allocations: 25.7 kB / 0.7614 GB, free: 15.79 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 3.686e-05/0.4576, allocations: 80.3 kB / 0.7615 GB, free: 15.71 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 2.753e-05/0.4576, allocations: 11.91 kB / 0.7615 GB, free: 15.7 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.087e-06/0.4576, allocations: 0 / 0.7615 GB, free: 15.7 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001273/0.4578, allocations: 326.8 kB / 0.7618 GB, free: 15.37 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.327e-05/0.4578, allocations: 8 kB / 0.7618 GB, free: 15.36 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.484e-05/0.4579, allocations: 12 kB / 0.7618 GB, free: 15.35 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.316e-05/0.458, allocations: 37.69 kB / 0.7618 GB, free: 15.3 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.458, allocations: 0 / 0.7618 GB, free: 15.3 MB / 0.6511 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0002068/0.4582, allocations: 83.48 kB / 0.7619 GB, free: 15.21 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 4.837e-05/0.4583, allocations: 45.69 kB / 0.762 GB, free: 15.16 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.503e-06/0.4583, allocations: 0 / 0.762 GB, free: 15.16 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.563e-05/0.4584, allocations: 0 / 0.762 GB, free: 15.16 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.473e-06/0.4584, allocations: 0 / 0.762 GB, free: 15.16 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.164e-05/0.4584, allocations: 3.938 kB / 0.762 GB, free: 15.16 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002101/0.4586, allocations: 8 kB / 0.762 GB, free: 15.15 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.17e-05/0.4586, allocations: 3.984 kB / 0.762 GB, free: 15.14 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001082/0.4588, allocations: 138.6 kB / 0.7621 GB, free: 15 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.966e-05/0.4588, allocations: 7.938 kB / 0.7621 GB, free: 14.99 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.414e-05/0.4588, allocations: 7.125 kB / 0.7621 GB, free: 14.98 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.885e-06/0.4588, allocations: 0 / 0.7621 GB, free: 14.98 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.4588, allocations: 0 / 0.7621 GB, free: 14.98 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.793e-06/0.4589, allocations: 3.984 kB / 0.7621 GB, free: 14.98 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000128/0.459, allocations: 161.6 kB / 0.7623 GB, free: 14.77 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.522e-06/0.459, allocations: 0 / 0.7623 GB, free: 14.77 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.182e-06/0.459, allocations: 0 / 0.7623 GB, free: 14.77 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.659e-06/0.459, allocations: 0 / 0.7623 GB, free: 14.77 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.735e-05/0.4591, allocations: 7.938 kB / 0.7623 GB, free: 14.77 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.4591, allocations: 0 / 0.7623 GB, free: 14.77 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.774e-06/0.4591, allocations: 4 kB / 0.7623 GB, free: 14.76 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002377/0.4593, allocations: 118.8 kB / 0.7624 GB, free: 14.62 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 4.642e-05/0.4594, allocations: 81.06 kB / 0.7625 GB, free: 14.52 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.241e-05/0.4594, allocations: 0 / 0.7625 GB, free: 14.52 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001857/0.4596, allocations: 8 kB / 0.7625 GB, free: 14.52 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.747e-05/0.4597, allocations: 7.922 kB / 0.7625 GB, free: 14.51 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.815e-05/0.4597, allocations: 8 kB / 0.7625 GB, free: 14.5 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 4.157e-05/0.4597, allocations: 79.31 kB / 0.7626 GB, free: 14.42 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.11e-07/0.4597, allocations: 0 / 0.7626 GB, free: 14.42 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0002619/0.46, allocations: 16 kB / 0.7626 GB, free: 14.41 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000679/0.4607, allocations: 0.676 MB / 0.7633 GB, free: 13.7 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001933/0.4609, allocations: 87.33 kB / 0.7633 GB, free: 13.61 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.4609, allocations: 0 / 0.7633 GB, free: 13.61 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 8.763e-05/0.461, allocations: 67.41 kB / 0.7634 GB, free: 13.53 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001206/0.4612, allocations: 7.938 kB / 0.7634 GB, free: 13.52 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008843/0.4621, allocations: 198.7 kB / 0.7636 GB, free: 13.29 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002507/0.4623, allocations: 0.6731 MB / 0.7643 GB, free: 12.59 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 6.445e-05/0.4624, allocations: 11.92 kB / 0.7643 GB, free: 12.58 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.984e-05/0.4624, allocations: 11.38 kB / 0.7643 GB, free: 12.57 MB / 0.6511 GB Notification: Performance of SimCode: time 1.022e-06/0.4624, allocations: 0 / 0.7643 GB, free: 12.57 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02502/0.4875, allocations: 1.591 MB / 0.7658 GB, free: 11.05 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000326/0.4879, allocations: 189.7 kB / 0.766 GB, free: 10.82 MB / 0.6511 GB Error: Error building simulator. Build log: clang -Os -fPIC -mfpmath=sse -fno-dollars-in-identifiers -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' "-I/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/Resources/C-Sources" -c -o Buildings_6_0_0_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ExchangeValues.o Buildings_6_0_0_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ExchangeValues.c In file included from Buildings_6_0_0_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ExchangeValues.c:7: In file included from ./Buildings_6_0_0_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ExchangeValues_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:111: ./gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:221:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -mfpmath=sse -fno-dollars-in-identifiers -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' "-I/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/Resources/C-Sources" -c -o Buildings_6_0_0_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ExchangeValues_functions.o Buildings_6_0_0_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ExchangeValues_functions.c In file included from Buildings_6_0_0_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ExchangeValues_functions.c:2: In file included from ./Buildings_6_0_0_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ExchangeValues_functions.h:3: In file included from ./meta/meta_modelica.h:49: ./gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:221:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ In file included from Buildings_6_0_0_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ExchangeValues_functions.c:7: In file included from ./Buildings_6_0_0_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ExchangeValues_includes.h:4: In file included from /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/Resources/C-Sources/freeArray.c:13: /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/Resources/C-Sources/externalObjectStructure.h:8:10: fatal error: 'ModelicaUtilities.h' file not found #include "ModelicaUtilities.h" ^~~~~~~~~~~~~~~~~~~~~ 2 warnings and 1 error generated. : recipe for target 'Buildings_6_0_0_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ExchangeValues_functions.o' failed make: *** [Buildings_6_0_0_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ExchangeValues_functions.o] Error 1