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 Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.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 Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/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 loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01158/0.01158, allocations: 106.5 kB / 15.05 MB, free: 5.934 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.001322/0.001321, allocations: 181.9 kB / 15.94 MB, free: 5.898 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 2.177/2.177, allocations: 194.6 MB / 211.3 MB, free: 11.07 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 2.366/2.366, allocations: 236.2 MB / 492.6 MB, free: 11.35 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006849/0.0006849, allocations: 12 kB / 0.587 GB, free: 2.062 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.692/0.6928, allocations: 98.71 MB / 0.6834 GB, free: 16.74 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2304/0.9233, allocations: 124.7 MB / 0.8053 GB, free: 1.434 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003132/0.9236, allocations: 87.94 kB / 0.8053 GB, free: 1.348 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.01776/0.9414, allocations: 3.803 MB / 0.8091 GB, free: 13.54 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.044e-06/0.9415, allocations: 0 / 0.8091 GB, free: 13.54 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.404e-06/0.9415, allocations: 0 / 0.8091 GB, free: 13.54 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.000352/0.9418, allocations: 353.1 kB / 0.8094 GB, free: 13.14 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.934e-05/0.9419, allocations: 8.031 kB / 0.8094 GB, free: 13.13 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.559e-05/0.942, allocations: 30.56 kB / 0.8094 GB, free: 13.09 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.429e-05/0.942, allocations: 4 kB / 0.8094 GB, free: 13.09 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001383/0.9422, allocations: 167 kB / 0.8096 GB, free: 12.89 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.15e-05/0.9422, allocations: 8 kB / 0.8096 GB, free: 12.88 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.549e-05/0.9422, allocations: 4 kB / 0.8096 GB, free: 12.88 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001521/0.9424, allocations: 53.61 kB / 0.8097 GB, free: 12.82 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.273e-05/0.9424, allocations: 7.969 kB / 0.8097 GB, free: 12.81 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.913e-05/0.9424, allocations: 4 kB / 0.8097 GB, free: 12.8 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.059e-06/0.9425, allocations: 3.938 kB / 0.8097 GB, free: 12.8 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.233e-05/0.9425, allocations: 11.94 kB / 0.8097 GB, free: 12.79 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001712/0.9427, allocations: 157.7 kB / 0.8098 GB, free: 12.59 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 8.568e-05/0.9428, allocations: 34.56 kB / 0.8099 GB, free: 12.54 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 9.368e-06/0.9428, allocations: 0 / 0.8099 GB, free: 12.54 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.541e-05/0.9429, allocations: 30.56 kB / 0.8099 GB, free: 12.5 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=1): time 1.553e-06/0.9429, allocations: 0 / 0.8099 GB, free: 12.5 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1): time 0.0003355/0.9432, allocations: 103.4 kB / 0.81 GB, free: 12.39 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.384e-05/0.9433, allocations: 81.11 kB / 0.8101 GB, free: 12.29 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.05e-05/0.9434, allocations: 97.12 kB / 0.8102 GB, free: 12.19 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.243e-05/0.9434, allocations: 29.69 kB / 0.8102 GB, free: 12.16 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.5e-05/0.9435, allocations: 80.14 kB / 0.8103 GB, free: 12.07 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.637e-05/0.9435, allocations: 11.84 kB / 0.8103 GB, free: 12.06 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.081e-05/0.9435, allocations: 0 / 0.8103 GB, free: 12.06 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001115/0.9436, allocations: 314.8 kB / 0.8106 GB, free: 11.75 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.233e-05/0.9437, allocations: 12 kB / 0.8106 GB, free: 11.73 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.895e-05/0.9438, allocations: 11.98 kB / 0.8106 GB, free: 11.72 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.055e-05/0.9438, allocations: 41.89 kB / 0.8106 GB, free: 11.68 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.776e-06/0.9439, allocations: 0 / 0.8106 GB, free: 11.68 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0002174/0.9441, allocations: 91.38 kB / 0.8107 GB, free: 11.57 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 4.644e-05/0.9441, allocations: 37.64 kB / 0.8108 GB, free: 11.53 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.733e-06/0.9442, allocations: 0 / 0.8108 GB, free: 11.53 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.953e-05/0.9442, allocations: 0 / 0.8108 GB, free: 11.53 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.523e-06/0.9442, allocations: 0 / 0.8108 GB, free: 11.53 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.422e-06/0.9442, allocations: 0 / 0.8108 GB, free: 11.53 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002038/0.9444, allocations: 7.984 kB / 0.8108 GB, free: 11.52 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.002e-05/0.9445, allocations: 4 kB / 0.8108 GB, free: 11.52 MB / 0.6355 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 () * Number of clocked 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.0001247/0.9446, allocations: 151.5 kB / 0.8109 GB, free: 11.36 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.978e-05/0.9446, allocations: 0 / 0.8109 GB, free: 11.36 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.104e-05/0.9447, allocations: 15.11 kB / 0.8109 GB, free: 11.34 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.346e-06/0.9447, allocations: 0 / 0.8109 GB, free: 11.34 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.08e-06/0.9447, allocations: 0 / 0.8109 GB, free: 11.34 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.9447, allocations: 0 / 0.8109 GB, free: 11.34 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001266/0.9448, allocations: 153.6 kB / 0.8111 GB, free: 11.14 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.9448, allocations: 0 / 0.8111 GB, free: 11.14 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.958e-06/0.9449, allocations: 0 / 0.8111 GB, free: 11.14 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-06/0.9449, allocations: 7.938 kB / 0.8111 GB, free: 11.13 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.956e-05/0.9449, allocations: 8 kB / 0.8111 GB, free: 11.12 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-06/0.9449, allocations: 0 / 0.8111 GB, free: 11.12 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.9449, allocations: 3.938 kB / 0.8111 GB, free: 11.12 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002581/0.9452, allocations: 118.8 kB / 0.8112 GB, free: 10.98 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.2e-05/0.9452, allocations: 81.06 kB / 0.8113 GB, free: 10.88 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.882e-05/0.9453, allocations: 8 kB / 0.8113 GB, free: 10.88 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001967/0.9455, allocations: 12.02 kB / 0.8113 GB, free: 10.86 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.039e-05/0.9455, allocations: 4 kB / 0.8113 GB, free: 10.86 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.482e-05/0.9456, allocations: 0 / 0.8113 GB, free: 10.86 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 4.409e-05/0.9456, allocations: 79.28 kB / 0.8114 GB, free: 10.78 MB / 0.6355 GB Notification: Performance of sort global known variables: time 3.51e-07/0.9456, allocations: 0 / 0.8114 GB, free: 10.78 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002674/0.9459, allocations: 15.98 kB / 0.8114 GB, free: 10.77 MB / 0.6355 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 () * Number of clocked 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.0007201/0.9466, allocations: 0.6801 MB / 0.8121 GB, free: 10.06 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002091/0.9469, allocations: 83.33 kB / 0.8122 GB, free: 9.965 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.9469, allocations: 0 / 0.8122 GB, free: 9.965 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 9.084e-05/0.947, allocations: 71.39 kB / 0.8122 GB, free: 9.883 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001307/0.9471, allocations: 8.156 kB / 0.8122 GB, free: 9.875 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009519/0.9481, allocations: 231.6 kB / 0.8125 GB, free: 9.609 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000239/0.9484, allocations: 0.6848 MB / 0.8131 GB, free: 8.898 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 7.236e-05/0.9485, allocations: 7.906 kB / 0.8131 GB, free: 8.891 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.338e-05/0.9485, allocations: 7.438 kB / 0.8131 GB, free: 8.883 MB / 0.6355 GB Notification: Performance of SimCode: time 1.403e-06/0.9485, allocations: 3.938 kB / 0.8131 GB, free: 8.879 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02073/0.9692, allocations: 1.6 MB / 0.8147 GB, free: 7.402 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003225/0.9697, allocations: 207.8 kB / 0.8149 GB, free: 7.164 MB / 0.6355 GB Error: Error building simulator. Build log: clang -Os -fPIC -mfpmath=sse -fno-dollars-in-identifiers -I'/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 "-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: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 -mfpmath=sse -fno-dollars-in-identifiers -I'/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 "-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: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_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