Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.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.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesTwoUTube",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.01112/0.01111, allocations: 107.6 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.001213/0.001212, allocations: 179.7 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 1.999/1.999, allocations: 194.6 MB / 211.3 MB, free: 11.08 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.236/2.236, allocations: 236.1 MB / 492.6 MB, free: 11.35 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004871/0.0004867, allocations: 19.98 kB / 0.5871 GB, free: 2.023 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6639/0.6644, allocations: 98.7 MB / 0.6835 GB, free: 16.8 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2497/0.9142, allocations: 135.3 MB / 0.8156 GB, free: 6.969 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004433/0.9147, allocations: 111.9 kB / 0.8157 GB, free: 6.859 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.09917/1.014, allocations: 22.14 MB / 0.8373 GB, free: 0.6367 MB / 0.6511 GB Notification: Performance of FrontEnd: time 3.065e-06/1.014, allocations: 0 / 0.8373 GB, free: 0.6367 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 2.355e-05/1.014, allocations: 12 kB / 0.8373 GB, free: 0.625 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 122 * Number of variables: 122 Notification: Performance of Generate backend data structure: time 0.002029/1.016, allocations: 0.8334 MB / 0.8381 GB, free: 15.74 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 5.379e-05/1.016, allocations: 12.03 kB / 0.8381 GB, free: 15.73 MB / 0.6667 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001777/1.016, allocations: 86.52 kB / 0.8382 GB, free: 15.64 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001771/1.017, allocations: 79.06 kB / 0.8383 GB, free: 15.56 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008742/1.017, allocations: 436.8 kB / 0.8387 GB, free: 15.09 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.398e-05/1.017, allocations: 37 kB / 0.8387 GB, free: 15.05 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000129/1.018, allocations: 59.84 kB / 0.8388 GB, free: 15 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001291/1.019, allocations: 418.8 kB / 0.8392 GB, free: 14.58 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.77e-05/1.019, allocations: 7.984 kB / 0.8392 GB, free: 14.57 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.834e-05/1.019, allocations: 23.94 kB / 0.8392 GB, free: 14.55 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.77e-05/1.019, allocations: 12 kB / 0.8392 GB, free: 14.54 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001215/1.02, allocations: 375.8 kB / 0.8396 GB, free: 14.17 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003583/1.024, allocations: 1.536 MB / 0.8411 GB, free: 12.56 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008883/1.025, allocations: 341.1 kB / 0.8414 GB, free: 12.21 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 4.651e-05/1.025, allocations: 8 kB / 0.8414 GB, free: 12.21 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.243e-05/1.025, allocations: 38.56 kB / 0.8415 GB, free: 12.16 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=42): time 2.696e-06/1.025, allocations: 0 / 0.8415 GB, free: 12.16 MB / 0.6667 GB Notification: Performance of matching and sorting (n=42): time 0.001674/1.027, allocations: 0.4977 MB / 0.8419 GB, free: 11.66 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.247e-05/1.027, allocations: 67.34 kB / 0.842 GB, free: 11.58 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008956/1.028, allocations: 429.1 kB / 0.8424 GB, free: 11.15 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 5.143e-05/1.028, allocations: 33.7 kB / 0.8425 GB, free: 11.11 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002648/1.028, allocations: 268.4 kB / 0.8427 GB, free: 10.84 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001881/1.028, allocations: 145.9 kB / 0.8428 GB, free: 10.7 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.208e-05/1.028, allocations: 7.938 kB / 0.8429 GB, free: 10.69 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001776/1.028, allocations: 370.8 kB / 0.8432 GB, free: 10.32 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004502/1.029, allocations: 124.7 kB / 0.8433 GB, free: 10.2 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000422/1.029, allocations: 129.2 kB / 0.8435 GB, free: 10.07 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004715/1.03, allocations: 141.8 kB / 0.8436 GB, free: 9.93 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.847e-06/1.03, allocations: 0 / 0.8436 GB, free: 9.93 MB / 0.6667 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001224/1.031, allocations: 404.5 kB / 0.844 GB, free: 9.531 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 2.464e-05/1.031, allocations: 9.25 kB / 0.844 GB, free: 9.523 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.556e-06/1.031, allocations: 0 / 0.844 GB, free: 9.523 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.114e-05/1.031, allocations: 4 kB / 0.844 GB, free: 9.52 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00096/1.032, allocations: 127.9 kB / 0.8441 GB, free: 9.395 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.058e-05/1.032, allocations: 0 / 0.8441 GB, free: 9.395 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005506/1.033, allocations: 59.53 kB / 0.8442 GB, free: 9.336 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.237e-05/1.033, allocations: 8 kB / 0.8442 GB, free: 9.328 MB / 0.6667 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 (46): * Single equations (assignments): 46 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004219/1.033, allocations: 201.7 kB / 0.8444 GB, free: 9.121 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001233/1.033, allocations: 47.44 kB / 0.8444 GB, free: 9.074 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001623/1.033, allocations: 61.09 kB / 0.8445 GB, free: 9.016 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.617e-06/1.033, allocations: 4 kB / 0.8445 GB, free: 9.012 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.863e-06/1.034, allocations: 0 / 0.8445 GB, free: 9.012 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.515e-06/1.034, allocations: 4 kB / 0.8445 GB, free: 9.008 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001062/1.035, allocations: 0.5711 MB / 0.845 GB, free: 8.387 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.859e-06/1.035, allocations: 4 kB / 0.845 GB, free: 8.383 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001044/1.036, allocations: 127.9 kB / 0.8452 GB, free: 8.258 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.907e-06/1.036, allocations: 0 / 0.8452 GB, free: 8.258 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.432e-05/1.036, allocations: 15.98 kB / 0.8452 GB, free: 8.242 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.152e-06/1.036, allocations: 0 / 0.8452 GB, free: 8.242 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.167e-06/1.036, allocations: 4 kB / 0.8452 GB, free: 8.238 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001759/1.038, allocations: 0.6628 MB / 0.8458 GB, free: 7.562 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000306/1.038, allocations: 132.5 kB / 0.846 GB, free: 7.414 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001091/1.038, allocations: 15.92 kB / 0.846 GB, free: 7.398 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004388/1.038, allocations: 27.89 kB / 0.846 GB, free: 7.371 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001005/1.039, allocations: 23.97 kB / 0.846 GB, free: 7.348 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.336e-05/1.039, allocations: 12 kB / 0.846 GB, free: 7.336 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0006971/1.039, allocations: 347.1 kB / 0.8464 GB, free: 7 MB / 0.6667 GB Notification: Performance of sort global known variables: time 9.02e-07/1.039, allocations: 0 / 0.8464 GB, free: 7 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0007684/1.04, allocations: 151.6 kB / 0.8465 GB, free: 6.852 MB / 0.6667 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (intRes2UTub.capFil1.T,intRes2UTub.capFil2.T,intRes2UTub.capFil3.T,intRes2UTub.capFil4.T) * 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 (42): * Single equations (assignments): 42 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0025/1.043, allocations: 1.375 MB / 0.8478 GB, free: 5.457 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.001073/1.044, allocations: 339.7 kB / 0.8482 GB, free: 5.125 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 3.407e-06/1.044, allocations: 0 / 0.8482 GB, free: 5.125 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0005309/1.044, allocations: 183.8 kB / 0.8483 GB, free: 4.945 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009964/1.045, allocations: 113.8 kB / 0.8485 GB, free: 4.832 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007956/1.053, allocations: 3.284 MB / 0.8517 GB, free: 1.5 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005748/1.054, allocations: 0.8824 MB / 0.8525 GB, free: 0.5938 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0003967/1.054, allocations: 52.36 kB / 0.8526 GB, free: 0.5391 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004077/1.055, allocations: 203.4 kB / 0.8528 GB, free: 348 kB / 0.6667 GB Notification: Performance of SimCode: time 8.81e-07/1.055, allocations: 4 kB / 0.8528 GB, free: 344 kB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.054/1.109, allocations: 12.37 MB / 0.8648 GB, free: 4.266 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004524/1.109, allocations: 255.5 kB / 0.8651 GB, free: 3.926 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.805/3.914, allocations: 4 kB / 0.8651 GB, free: 3.922 MB / 0.6823 GB