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/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.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 3.907/3.907, allocations: 432.6 MB / 445.2 MB, free: 15.79 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 3.456e-05/3.473e-05, allocations: 6.062 kB / 0.5383 GB, free: 10.25 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2024/0.2025, allocations: 98.73 MB / 0.6347 GB, free: 1.867 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2272/0.4297, allocations: 127.6 MB / 0.7593 GB, free: 2.125 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003083/0.4301, allocations: 83.94 kB / 0.7594 GB, free: 2.043 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.02117/0.4513, allocations: 3.332 MB / 0.7626 GB, free: 14.68 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.864e-06/0.4513, allocations: 0 / 0.7626 GB, free: 14.68 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 9.769e-06/0.4514, allocations: 4 kB / 0.7626 GB, free: 14.68 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0004037/0.4518, allocations: 354.4 kB / 0.763 GB, free: 14.29 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.433e-05/0.4518, allocations: 8.031 kB / 0.763 GB, free: 14.28 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.353e-05/0.4519, allocations: 109.8 kB / 0.7631 GB, free: 14.16 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.658e-05/0.452, allocations: 87.19 kB / 0.7632 GB, free: 14.07 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003122/0.4523, allocations: 268.5 kB / 0.7634 GB, free: 13.77 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.202e-05/0.4524, allocations: 150.6 kB / 0.7636 GB, free: 13.62 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.949e-05/0.4525, allocations: 154.5 kB / 0.7637 GB, free: 13.47 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.298e-05/0.4526, allocations: 108.9 kB / 0.7638 GB, free: 13.36 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.692e-05/0.4526, allocations: 75.28 kB / 0.7639 GB, free: 13.29 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.027e-05/0.4527, allocations: 150.8 kB / 0.764 GB, free: 13.14 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.94e-05/0.4528, allocations: 154.6 kB / 0.7642 GB, free: 12.98 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.434e-05/0.4528, allocations: 158.5 kB / 0.7643 GB, free: 12.83 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003525/0.4532, allocations: 466 kB / 0.7648 GB, free: 12.32 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 9.282e-05/0.4533, allocations: 177.1 kB / 0.765 GB, free: 12.14 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.894e-05/0.4534, allocations: 80.14 kB / 0.765 GB, free: 12.06 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 3.624e-05/0.4534, allocations: 75.28 kB / 0.7651 GB, free: 11.98 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.915e-05/0.4535, allocations: 105.8 kB / 0.7652 GB, free: 11.87 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=0): time 1.994e-06/0.4535, allocations: 4 kB / 0.7652 GB, free: 11.87 MB / 0.6511 GB Notification: Performance of matching and sorting (n=0): time 0.0001035/0.4536, allocations: 33.61 kB / 0.7652 GB, free: 11.83 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.713e-05/0.4537, allocations: 130.6 kB / 0.7654 GB, free: 11.69 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001427/0.4538, allocations: 121.2 kB / 0.7655 GB, free: 11.56 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 1.926e-05/0.4539, allocations: 25.7 kB / 0.7655 GB, free: 11.53 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 5.813e-05/0.4539, allocations: 92.12 kB / 0.7656 GB, free: 11.43 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 2.534e-06/0.4539, allocations: 0 / 0.7656 GB, free: 11.43 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.126e-06/0.454, allocations: 0 / 0.7656 GB, free: 11.43 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001267/0.4541, allocations: 322.8 kB / 0.7659 GB, free: 11.11 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.611e-05/0.4541, allocations: 4 kB / 0.7659 GB, free: 11.11 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.267e-05/0.4542, allocations: 8 kB / 0.7659 GB, free: 11.1 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.347e-05/0.4542, allocations: 7.984 kB / 0.7659 GB, free: 11.09 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.4542, allocations: 3.938 kB / 0.7659 GB, free: 11.09 MB / 0.6511 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001533/0.4544, allocations: 45.61 kB / 0.766 GB, free: 11.04 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.106e-05/0.4544, allocations: 4 kB / 0.766 GB, free: 11.03 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.249e-05/0.4544, allocations: 4 kB / 0.766 GB, free: 11.03 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.522e-05/0.4545, allocations: 0 / 0.766 GB, free: 11.03 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.704e-06/0.4545, allocations: 0 / 0.766 GB, free: 11.03 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.059e-05/0.4545, allocations: 11.98 kB / 0.766 GB, free: 11.02 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.381e-05/0.4545, allocations: 0 / 0.766 GB, free: 11.02 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.624e-06/0.4546, allocations: 0 / 0.766 GB, free: 11.02 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: 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 9.797e-05/0.4547, allocations: 184.2 kB / 0.7662 GB, free: 10.83 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.77e-05/0.4548, allocations: 104.9 kB / 0.7663 GB, free: 10.72 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.858e-05/0.4548, allocations: 112.4 kB / 0.7664 GB, free: 10.61 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.719e-05/0.4549, allocations: 192.2 kB / 0.7666 GB, free: 10.41 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.563e-05/0.455, allocations: 180.3 kB / 0.7667 GB, free: 10.23 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.854e-05/0.4551, allocations: 180.2 kB / 0.7669 GB, free: 10.04 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002796/0.4554, allocations: 409.2 kB / 0.7673 GB, free: 9.586 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.383e-05/0.4554, allocations: 109 kB / 0.7674 GB, free: 9.473 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.681e-05/0.4555, allocations: 108.9 kB / 0.7675 GB, free: 9.359 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.027e-05/0.4556, allocations: 184.2 kB / 0.7677 GB, free: 9.172 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.332e-05/0.4556, allocations: 180.2 kB / 0.7678 GB, free: 8.988 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.033e-05/0.4557, allocations: 180.3 kB / 0.768 GB, free: 8.805 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.949e-05/0.4558, allocations: 180.2 kB / 0.7682 GB, free: 8.621 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001616/0.456, allocations: 320.9 kB / 0.7685 GB, free: 8.285 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 9.82e-05/0.4561, allocations: 190 kB / 0.7687 GB, free: 8.074 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.022e-05/0.4562, allocations: 176.3 kB / 0.7688 GB, free: 7.895 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001027/0.4563, allocations: 109 kB / 0.7689 GB, free: 7.781 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.656e-05/0.4564, allocations: 188.2 kB / 0.7691 GB, free: 7.59 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.075e-05/0.4564, allocations: 101 kB / 0.7692 GB, free: 7.484 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 9.476e-05/0.4565, allocations: 105.8 kB / 0.7693 GB, free: 7.383 MB / 0.6511 GB Notification: Performance of sort global known variables: time 5.71e-07/0.4565, allocations: 4 kB / 0.7693 GB, free: 7.379 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0004303/0.457, allocations: 43.94 kB / 0.7694 GB, free: 7.336 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.0007645/0.4578, allocations: 0.8792 MB / 0.7702 GB, free: 6.426 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001122/0.4579, allocations: 37.72 kB / 0.7703 GB, free: 6.383 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.4579, allocations: 0 / 0.7703 GB, free: 6.383 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 4.789e-06/0.4579, allocations: 0 / 0.7703 GB, free: 6.383 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004167/0.4583, allocations: 0.5302 MB / 0.7708 GB, free: 5.848 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004518/0.4588, allocations: 203.5 kB / 0.771 GB, free: 5.613 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002504/0.4591, allocations: 0.6848 MB / 0.7716 GB, free: 4.902 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 2.725e-05/0.4591, allocations: 4 kB / 0.7716 GB, free: 4.898 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.368e-05/0.4592, allocations: 23.3 kB / 0.7717 GB, free: 4.879 MB / 0.6511 GB Notification: Performance of SimCode: time 7.21e-07/0.4592, allocations: 7.938 kB / 0.7717 GB, free: 4.871 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.023/0.4822, allocations: 2.368 MB / 0.774 GB, free: 2.602 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003366/0.4826, allocations: 193.4 kB / 0.7742 GB, free: 2.375 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.265/2.748, allocations: 0 / 0.7742 GB, free: 2.375 MB / 0.6511 GB