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.InternalResistancesOneUTube.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.InternalResistancesOneUTube,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesOneUTube",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.01323/0.01323, allocations: 107.9 kB / 15.05 MB, free: 5.988 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.001216/0.001215, allocations: 178.8 kB / 15.94 MB, free: 5.941 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.918/1.918, allocations: 194.6 MB / 211.3 MB, free: 11.09 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.406/2.406, allocations: 236.1 MB / 492.6 MB, free: 11.36 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007173/0.0007172, allocations: 12 kB / 0.5871 GB, free: 2.059 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6614/0.6622, allocations: 98.71 MB / 0.6835 GB, free: 16.69 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2374/0.8996, allocations: 133.1 MB / 0.8135 GB, free: 9.035 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004118/0.9001, allocations: 115.9 kB / 0.8136 GB, free: 8.922 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.08297/0.9831, allocations: 17.93 MB / 0.8311 GB, free: 6.902 MB / 0.6511 GB Notification: Performance of FrontEnd: time 4.579e-06/0.9831, allocations: 0 / 0.8311 GB, free: 6.902 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 1.772e-05/0.9831, allocations: 11.94 kB / 0.8311 GB, free: 6.891 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: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.001348/0.9845, allocations: 0.654 MB / 0.8318 GB, free: 6.188 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.9e-05/0.9846, allocations: 8.031 kB / 0.8318 GB, free: 6.18 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.968e-05/0.9847, allocations: 58.53 kB / 0.8318 GB, free: 6.113 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001009/0.9848, allocations: 43.44 kB / 0.8319 GB, free: 6.07 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006577/0.9854, allocations: 361.1 kB / 0.8322 GB, free: 5.68 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.462e-05/0.9855, allocations: 12.44 kB / 0.8322 GB, free: 5.668 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.804e-05/0.9856, allocations: 20 kB / 0.8322 GB, free: 5.648 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006277/0.9862, allocations: 203.3 kB / 0.8324 GB, free: 5.445 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.1e-05/0.9862, allocations: 7.984 kB / 0.8324 GB, free: 5.438 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.07e-05/0.9863, allocations: 8.344 kB / 0.8324 GB, free: 5.43 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.33e-05/0.9863, allocations: 7.953 kB / 0.8325 GB, free: 5.422 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006505/0.987, allocations: 173.7 kB / 0.8326 GB, free: 5.254 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00185/0.9888, allocations: 0.8778 MB / 0.8335 GB, free: 4.301 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004995/0.9894, allocations: 170.6 kB / 0.8336 GB, free: 4.125 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 2.252e-05/0.9894, allocations: 0 / 0.8336 GB, free: 4.125 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.683e-05/0.9894, allocations: 42.56 kB / 0.8337 GB, free: 4.074 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=18): time 2.304e-06/0.9895, allocations: 0 / 0.8337 GB, free: 4.074 MB / 0.6511 GB Notification: Performance of matching and sorting (n=18): time 0.0009882/0.9905, allocations: 266.6 kB / 0.8339 GB, free: 3.809 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.663e-05/0.9905, allocations: 51.41 kB / 0.834 GB, free: 3.746 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006934/0.9912, allocations: 376.8 kB / 0.8343 GB, free: 3.371 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.344e-05/0.9913, allocations: 25.7 kB / 0.8344 GB, free: 3.34 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002153/0.9915, allocations: 212.2 kB / 0.8346 GB, free: 3.129 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 8.267e-05/0.9916, allocations: 55.11 kB / 0.8346 GB, free: 3.074 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.095e-05/0.9916, allocations: 8 kB / 0.8346 GB, free: 3.066 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001558/0.9918, allocations: 346.8 kB / 0.835 GB, free: 2.719 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002632/0.9921, allocations: 67.86 kB / 0.835 GB, free: 2.652 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002661/0.9923, allocations: 60.66 kB / 0.8351 GB, free: 2.594 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002752/0.9926, allocations: 69.88 kB / 0.8351 GB, free: 2.527 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/0.9926, allocations: 4 kB / 0.8352 GB, free: 2.523 MB / 0.6511 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0006926/0.9933, allocations: 213.1 kB / 0.8354 GB, free: 2.309 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.34e-05/0.9934, allocations: 7.984 kB / 0.8354 GB, free: 2.301 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.043e-06/0.9934, allocations: 0 / 0.8354 GB, free: 2.301 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.867e-05/0.9934, allocations: 0 / 0.8354 GB, free: 2.301 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004714/0.9939, allocations: 59.91 kB / 0.8354 GB, free: 2.242 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.366e-06/0.9939, allocations: 0 / 0.8354 GB, free: 2.242 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003094/0.9942, allocations: 27.83 kB / 0.8354 GB, free: 2.215 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.8e-05/0.9943, allocations: 4 kB / 0.8354 GB, free: 2.211 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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.000282/0.9946, allocations: 165.8 kB / 0.8356 GB, free: 2.039 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.817e-05/0.9947, allocations: 43.53 kB / 0.8356 GB, free: 1.996 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001033/0.9948, allocations: 35.59 kB / 0.8357 GB, free: 1.957 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.118e-06/0.9948, allocations: 4 kB / 0.8357 GB, free: 1.953 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/0.9948, allocations: 0 / 0.8357 GB, free: 1.953 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/0.9948, allocations: 0 / 0.8357 GB, free: 1.953 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005924/0.9954, allocations: 373.4 kB / 0.836 GB, free: 1.539 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.9954, allocations: 0 / 0.836 GB, free: 1.539 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004964/0.9959, allocations: 59.91 kB / 0.8361 GB, free: 1.48 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.157e-05/0.996, allocations: 4 kB / 0.8361 GB, free: 1.477 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.861e-05/0.996, allocations: 7.938 kB / 0.8361 GB, free: 1.469 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.297e-06/0.996, allocations: 0 / 0.8361 GB, free: 1.469 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.996, allocations: 0 / 0.8361 GB, free: 1.469 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001048/0.9971, allocations: 409.8 kB / 0.8365 GB, free: 1.059 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001555/0.9972, allocations: 120.6 kB / 0.8366 GB, free: 0.9219 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.2e-05/0.9973, allocations: 4 kB / 0.8366 GB, free: 0.918 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002975/0.9976, allocations: 15.98 kB / 0.8366 GB, free: 0.9023 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.701e-05/0.9977, allocations: 7.984 kB / 0.8366 GB, free: 0.8945 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.789e-05/0.9977, allocations: 8 kB / 0.8367 GB, free: 0.8867 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0005287/0.9983, allocations: 303.2 kB / 0.8369 GB, free: 0.5938 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.11e-07/0.9983, allocations: 0 / 0.8369 GB, free: 0.5938 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0005171/0.9988, allocations: 83.84 kB / 0.837 GB, free: 0.5117 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (intRes1UTub.capFil1.T,intRes1UTub.capFil2.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 (18): * Single equations (assignments): 18 * 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.00169/1.001, allocations: 1.086 MB / 0.8381 GB, free: 15.41 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.000609/1.001, allocations: 155.8 kB / 0.8382 GB, free: 15.26 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/1.001, allocations: 0 / 0.8382 GB, free: 15.26 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0002946/1.001, allocations: 87.91 kB / 0.8383 GB, free: 15.17 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007353/1.002, allocations: 91.52 kB / 0.8384 GB, free: 15.08 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004987/1.007, allocations: 2.197 MB / 0.8405 GB, free: 12.83 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004505/1.008, allocations: 0.8031 MB / 0.8413 GB, free: 12 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0002315/1.008, allocations: 30.95 kB / 0.8414 GB, free: 11.96 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002449/1.008, allocations: 119.4 kB / 0.8415 GB, free: 11.85 MB / 0.6667 GB Notification: Performance of SimCode: time 1.042e-06/1.008, allocations: 3.938 kB / 0.8415 GB, free: 11.84 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04174/1.05, allocations: 9.211 MB / 0.8505 GB, free: 2.906 MB / 0.6667 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0006082/1.051, allocations: 249.6 kB / 0.8507 GB, free: 2.57 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.662/3.713, allocations: 0 / 0.8507 GB, free: 2.57 MB / 0.6667 GB