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.SingleUTubeResistances.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeResistances",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.092/4.092, allocations: 433.2 MB / 440.7 MB, free: 4.582 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.512e-05/2.508e-05, allocations: 3.719 kB / 0.5325 GB, free: 12.67 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2244/0.2244, allocations: 98.73 MB / 0.6289 GB, free: 9.117 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2375/0.462, allocations: 126.9 MB / 0.7528 GB, free: 10.05 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003936/0.4624, allocations: 91.94 kB / 0.7529 GB, free: 9.961 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.02159/0.484, allocations: 3.303 MB / 0.7561 GB, free: 6.625 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.714e-06/0.4841, allocations: 0 / 0.7561 GB, free: 6.625 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.025e-06/0.4841, allocations: 4 kB / 0.7561 GB, free: 6.621 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0004055/0.4845, allocations: 359.1 kB / 0.7565 GB, free: 6.227 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.285e-05/0.4846, allocations: 12.03 kB / 0.7565 GB, free: 6.215 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.19e-05/0.4847, allocations: 83.14 kB / 0.7566 GB, free: 6.133 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003025/0.485, allocations: 271.1 kB / 0.7568 GB, free: 5.828 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.895e-05/0.4851, allocations: 150.6 kB / 0.757 GB, free: 5.68 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.087e-05/0.4852, allocations: 162.6 kB / 0.7571 GB, free: 5.52 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.275e-05/0.4852, allocations: 154.5 kB / 0.7573 GB, free: 5.367 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.758e-05/0.4853, allocations: 101.2 kB / 0.7574 GB, free: 5.262 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.175e-05/0.4854, allocations: 75.89 kB / 0.7574 GB, free: 5.188 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.109e-05/0.4855, allocations: 154.5 kB / 0.7576 GB, free: 5.035 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.899e-05/0.4856, allocations: 154.5 kB / 0.7577 GB, free: 4.883 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003496/0.4859, allocations: 450.4 kB / 0.7582 GB, free: 4.406 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 9.563e-05/0.486, allocations: 169.1 kB / 0.7583 GB, free: 4.23 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.301e-05/0.4861, allocations: 85.91 kB / 0.7584 GB, free: 4.145 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 3.359e-05/0.4861, allocations: 75.28 kB / 0.7585 GB, free: 4.07 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.054e-05/0.4862, allocations: 109.8 kB / 0.7586 GB, free: 3.953 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=0): time 1.633e-06/0.4862, allocations: 0 / 0.7586 GB, free: 3.953 MB / 0.6355 GB Notification: Performance of matching and sorting (n=0): time 9.438e-05/0.4863, allocations: 33.61 kB / 0.7586 GB, free: 3.914 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.458e-05/0.4863, allocations: 55.39 kB / 0.7587 GB, free: 3.848 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001572/0.4865, allocations: 118.7 kB / 0.7588 GB, free: 3.723 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.683e-05/0.4865, allocations: 25.7 kB / 0.7588 GB, free: 3.691 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.791e-05/0.4866, allocations: 88.14 kB / 0.7589 GB, free: 3.602 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.384e-06/0.4866, allocations: 4 kB / 0.7589 GB, free: 3.598 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.477e-06/0.4867, allocations: 0 / 0.7589 GB, free: 3.598 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.000186/0.4868, allocations: 318.8 kB / 0.7592 GB, free: 3.277 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.71e-05/0.4869, allocations: 4 kB / 0.7592 GB, free: 3.273 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.208e-05/0.4869, allocations: 15.92 kB / 0.7592 GB, free: 3.258 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002196/0.4871, allocations: 27.92 kB / 0.7592 GB, free: 3.23 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.4872, allocations: 0 / 0.7592 GB, free: 3.23 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002688/0.4874, allocations: 65.58 kB / 0.7593 GB, free: 3.16 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.063e-05/0.4875, allocations: 4 kB / 0.7593 GB, free: 3.156 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.601e-05/0.4875, allocations: 4 kB / 0.7593 GB, free: 3.152 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.469e-05/0.4875, allocations: 4.062 kB / 0.7593 GB, free: 3.148 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.963e-06/0.4875, allocations: 0 / 0.7593 GB, free: 3.148 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.843e-06/0.4876, allocations: 4 kB / 0.7593 GB, free: 3.145 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.639e-05/0.4876, allocations: 3.984 kB / 0.7593 GB, free: 3.141 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.167e-06/0.4876, allocations: 0 / 0.7593 GB, free: 3.141 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.0001398/0.4878, allocations: 184.2 kB / 0.7595 GB, free: 2.953 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 9.573e-05/0.4879, allocations: 138.5 kB / 0.7596 GB, free: 2.805 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.267e-05/0.488, allocations: 104.9 kB / 0.7597 GB, free: 2.695 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.588e-05/0.488, allocations: 124.7 kB / 0.7599 GB, free: 2.57 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.231e-05/0.4881, allocations: 180.3 kB / 0.76 GB, free: 2.387 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.000102/0.4883, allocations: 180.3 kB / 0.7602 GB, free: 2.203 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.495e-05/0.4883, allocations: 184.2 kB / 0.7604 GB, free: 2.016 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002595/0.4886, allocations: 393.7 kB / 0.7608 GB, free: 1.586 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.34e-05/0.4887, allocations: 112.9 kB / 0.7609 GB, free: 1.469 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.266e-05/0.4887, allocations: 104.9 kB / 0.761 GB, free: 1.359 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.593e-05/0.4888, allocations: 176.3 kB / 0.7611 GB, free: 1.18 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.742e-05/0.4889, allocations: 176.3 kB / 0.7613 GB, free: 1 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.916e-05/0.489, allocations: 184.2 kB / 0.7615 GB, free: 0.8125 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.378e-05/0.489, allocations: 184.2 kB / 0.7616 GB, free: 0.625 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001539/0.4892, allocations: 307.7 kB / 0.7619 GB, free: 308 kB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 8.368e-05/0.4893, allocations: 185.9 kB / 0.7621 GB, free: 96 kB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001094/0.4894, allocations: 184.2 kB / 0.7623 GB, free: 15.91 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001035/0.4895, allocations: 108.9 kB / 0.7624 GB, free: 15.79 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.473e-05/0.4896, allocations: 180.3 kB / 0.7626 GB, free: 15.61 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.362e-05/0.4897, allocations: 101 kB / 0.7627 GB, free: 15.5 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 8.461e-05/0.4898, allocations: 97.77 kB / 0.7628 GB, free: 15.41 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.51e-07/0.4898, allocations: 0 / 0.7628 GB, free: 15.41 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0004452/0.4903, allocations: 39.94 kB / 0.7628 GB, free: 15.37 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 (0): * Single equations (assignments): 0 * 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.000743/0.491, allocations: 0.8791 MB / 0.7637 GB, free: 14.46 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.000114/0.4911, allocations: 37.7 kB / 0.7637 GB, free: 14.42 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.4912, allocations: 0 / 0.7637 GB, free: 14.42 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 2.985e-06/0.4912, allocations: 0 / 0.7637 GB, free: 14.42 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004583/0.4916, allocations: 0.5342 MB / 0.7642 GB, free: 13.88 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004904/0.4921, allocations: 202.8 kB / 0.7644 GB, free: 13.64 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002817/0.4924, allocations: 0.6884 MB / 0.7651 GB, free: 12.93 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 3.024e-05/0.4925, allocations: 7.984 kB / 0.7651 GB, free: 12.92 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.645e-05/0.4925, allocations: 15.44 kB / 0.7651 GB, free: 12.91 MB / 0.6511 GB Notification: Performance of SimCode: time 7.41e-07/0.4925, allocations: 3.938 kB / 0.7651 GB, free: 12.91 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04114/0.5337, allocations: 1.859 MB / 0.7669 GB, free: 11.06 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002752/0.534, allocations: 186.7 kB / 0.7671 GB, free: 10.86 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.162/2.696, allocations: 0 / 0.7671 GB, free: 10.86 MB / 0.6511 GB