Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.conf.json Using package Buildings with version 7.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.0.0/package.mo) Using package Modelica with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.3/package.mo) Using package Complex with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.3.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.3/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeResistances",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.3/package.mo): time 0.01413/0.01414, allocations: 88.36 kB / 15.04 MB, free: 5.582 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.3.mo): time 0.001819/0.001819, allocations: 173.8 kB / 15.92 MB, free: 5.555 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.3/package.mo): time 2.126/2.126, allocations: 205.5 MB / 222.2 MB, free: 13.74 MB / 186.8 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.0.0/package.mo): time 2.424/2.424, allocations: 252.8 MB / 0.511 GB, free: 8.367 MB / 426.8 MB Notification: Performance of FrontEnd - loaded program: time 0.0006492/0.0006494, allocations: 13.16 kB / 0.6243 GB, free: 28.3 MB / 0.4949 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2556/0.2563, allocations: 106.2 MB / 0.7281 GB, free: 10.18 MB / 0.5574 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances): time 0.002812/0.2592, allocations: 1.165 MB / 0.7292 GB, free: 9.008 MB / 0.5574 GB Notification: Performance of NFInst.instExpressions: time 0.002357/0.2616, allocations: 0.8281 MB / 0.73 GB, free: 8.172 MB / 0.5574 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.095e-05/0.2618, allocations: 0 / 0.73 GB, free: 8.172 MB / 0.5574 GB Notification: Performance of NFTyping.typeComponents: time 0.0002988/0.2621, allocations: 35.89 kB / 0.7301 GB, free: 8.137 MB / 0.5574 GB Notification: Performance of NFTyping.typeBindings: time 7.19e-05/0.2622, allocations: 23.89 kB / 0.7301 GB, free: 8.113 MB / 0.5574 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009646/0.2631, allocations: 171.5 kB / 0.7302 GB, free: 7.945 MB / 0.5574 GB Notification: Performance of NFFlatten.flatten: time 0.0001169/0.2633, allocations: 35.94 kB / 0.7303 GB, free: 7.91 MB / 0.5574 GB Notification: Performance of NFFlatten.resolveConnections: time 6.164e-05/0.2634, allocations: 7.984 kB / 0.7303 GB, free: 7.902 MB / 0.5574 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000103/0.2635, allocations: 15.94 kB / 0.7303 GB, free: 7.887 MB / 0.5574 GB Notification: Performance of NFSimplifyModel.simplify: time 5.426e-05/0.2635, allocations: 23.84 kB / 0.7303 GB, free: 7.863 MB / 0.5574 GB Notification: Performance of NFPackage.collectConstants: time 1.315e-05/0.2636, allocations: 4 kB / 0.7303 GB, free: 7.859 MB / 0.5574 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005388/0.2641, allocations: 143.8 kB / 0.7305 GB, free: 7.719 MB / 0.5574 GB Notification: Performance of NFScalarize.scalarize: time 1.253e-05/0.2642, allocations: 0 / 0.7305 GB, free: 7.719 MB / 0.5574 GB Notification: Performance of NFVerifyModel.verify: time 4.388e-05/0.2642, allocations: 33.64 kB / 0.7305 GB, free: 7.68 MB / 0.5574 GB Notification: Performance of NFConvertDAE.convert: time 0.0002706/0.2645, allocations: 88.03 kB / 0.7306 GB, free: 7.594 MB / 0.5574 GB Notification: Performance of FrontEnd - DAE generated: time 2.786e-06/0.2645, allocations: 0 / 0.7306 GB, free: 7.594 MB / 0.5574 GB Notification: Performance of FrontEnd: time 2.304e-06/0.2645, allocations: 0 / 0.7306 GB, free: 7.594 MB / 0.5574 GB Notification: Performance of Transformations before backend: time 4.629e-06/0.2646, allocations: 0 / 0.7306 GB, free: 7.594 MB / 0.5574 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.0004983/0.2651, allocations: 355.1 kB / 0.7309 GB, free: 7.199 MB / 0.5574 GB Notification: Performance of prepare preOptimizeDAE: time 5.573e-05/0.2651, allocations: 16.03 kB / 0.7309 GB, free: 7.184 MB / 0.5574 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.341e-05/0.2652, allocations: 109.8 kB / 0.731 GB, free: 7.066 MB / 0.5574 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.921e-05/0.2653, allocations: 79.23 kB / 0.7311 GB, free: 6.988 MB / 0.5574 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002967/0.2656, allocations: 262.2 kB / 0.7314 GB, free: 6.691 MB / 0.5574 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.745e-05/0.2657, allocations: 150.6 kB / 0.7315 GB, free: 6.543 MB / 0.5574 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000115/0.2659, allocations: 158.5 kB / 0.7317 GB, free: 6.387 MB / 0.5574 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.399e-05/0.266, allocations: 105 kB / 0.7318 GB, free: 6.277 MB / 0.5574 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.965e-05/0.266, allocations: 79.27 kB / 0.7318 GB, free: 6.199 MB / 0.5574 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.645e-05/0.2661, allocations: 150.6 kB / 0.732 GB, free: 6.051 MB / 0.5574 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.434e-05/0.2662, allocations: 150.6 kB / 0.7321 GB, free: 5.902 MB / 0.5574 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.613e-05/0.2663, allocations: 154.5 kB / 0.7323 GB, free: 5.75 MB / 0.5574 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004648/0.2668, allocations: 465.9 kB / 0.7327 GB, free: 5.246 MB / 0.5574 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001257/0.2669, allocations: 177 kB / 0.7329 GB, free: 5.062 MB / 0.5574 GB Notification: Performance of preOpt evalFunc (simulation): time 4.881e-05/0.267, allocations: 79.28 kB / 0.733 GB, free: 4.984 MB / 0.5574 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.98e-05/0.2671, allocations: 109.8 kB / 0.7331 GB, free: 4.867 MB / 0.5574 GB Notification: Performance of pre-optimization done (n=0): time 2.575e-06/0.2671, allocations: 0 / 0.7331 GB, free: 4.867 MB / 0.5574 GB Notification: Performance of matching and sorting (n=0): time 0.0001159/0.2672, allocations: 37.66 kB / 0.7331 GB, free: 4.824 MB / 0.5574 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.532e-05/0.2673, allocations: 134.6 kB / 0.7332 GB, free: 4.68 MB / 0.5574 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002143/0.2675, allocations: 130 kB / 0.7334 GB, free: 4.543 MB / 0.5574 GB Notification: Performance of collectPreVariables (initialization): time 2.64e-05/0.2676, allocations: 25.7 kB / 0.7334 GB, free: 4.512 MB / 0.5574 GB Notification: Performance of collectInitialEqns (initialization): time 7.453e-05/0.2677, allocations: 92.14 kB / 0.7335 GB, free: 4.418 MB / 0.5574 GB Notification: Performance of collectInitialBindings (initialization): time 2.846e-06/0.2677, allocations: 0 / 0.7335 GB, free: 4.418 MB / 0.5574 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.058e-06/0.2677, allocations: 0 / 0.7335 GB, free: 4.418 MB / 0.5574 GB Notification: Performance of setup shared object (initialization): time 0.0001629/0.2679, allocations: 318.8 kB / 0.7338 GB, free: 4.098 MB / 0.5574 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.925e-05/0.2679, allocations: 8 kB / 0.7338 GB, free: 4.09 MB / 0.5574 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.736e-05/0.268, allocations: 8 kB / 0.7338 GB, free: 4.082 MB / 0.5574 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.685e-05/0.268, allocations: 0 / 0.7338 GB, free: 4.082 MB / 0.5574 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.2681, allocations: 4 kB / 0.7338 GB, free: 4.078 MB / 0.5574 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001937/0.2683, allocations: 49.59 kB / 0.7338 GB, free: 4.023 MB / 0.5574 GB Notification: Performance of prepare postOptimizeDAE: time 2.434e-05/0.2683, allocations: 4 kB / 0.7338 GB, free: 4.02 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.362e-05/0.2683, allocations: 3.938 kB / 0.7338 GB, free: 4.016 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.387e-05/0.2684, allocations: 0 / 0.7338 GB, free: 4.016 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.993e-06/0.2684, allocations: 4 kB / 0.7338 GB, free: 4.012 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.055e-06/0.2684, allocations: 3.938 kB / 0.7338 GB, free: 4.008 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.182e-05/0.2685, allocations: 4 kB / 0.7339 GB, free: 4.004 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.062e-05/0.2685, allocations: 4.062 kB / 0.7339 GB, free: 4 MB / 0.5574 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: 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.0001603/0.2687, allocations: 197.1 kB / 0.734 GB, free: 3.797 MB / 0.5574 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.747e-05/0.2688, allocations: 104.9 kB / 0.7341 GB, free: 3.688 MB / 0.5574 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.014e-05/0.2689, allocations: 108.9 kB / 0.7342 GB, free: 3.57 MB / 0.5574 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.017e-05/0.269, allocations: 180.2 kB / 0.7344 GB, free: 3.387 MB / 0.5574 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.811e-05/0.2691, allocations: 180.3 kB / 0.7346 GB, free: 3.203 MB / 0.5574 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.17e-05/0.2692, allocations: 192.2 kB / 0.7348 GB, free: 3.008 MB / 0.5574 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003981/0.2696, allocations: 409.2 kB / 0.7352 GB, free: 2.551 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.824e-05/0.2697, allocations: 105.1 kB / 0.7353 GB, free: 2.441 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.87e-05/0.2697, allocations: 108.9 kB / 0.7354 GB, free: 2.328 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000116/0.2699, allocations: 184.2 kB / 0.7355 GB, free: 2.141 MB / 0.5574 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.968e-05/0.27, allocations: 184.2 kB / 0.7357 GB, free: 1.953 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.189e-05/0.2701, allocations: 180.3 kB / 0.7359 GB, free: 1.77 MB / 0.5574 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.592e-05/0.2702, allocations: 180.2 kB / 0.7361 GB, free: 1.586 MB / 0.5574 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002042/0.2704, allocations: 311.7 kB / 0.7364 GB, free: 1.258 MB / 0.5574 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001265/0.2706, allocations: 197.9 kB / 0.7366 GB, free: 1.039 MB / 0.5574 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001101/0.2707, allocations: 176.3 kB / 0.7367 GB, free: 0.8594 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00016/0.2709, allocations: 101 kB / 0.7368 GB, free: 0.7539 MB / 0.5574 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001005/0.271, allocations: 184.2 kB / 0.737 GB, free: 0.5664 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.498e-05/0.271, allocations: 108.9 kB / 0.7371 GB, free: 464 kB / 0.5574 GB Notification: Performance of sorting global known variables: time 0.0001283/0.2712, allocations: 102.1 kB / 0.7372 GB, free: 364 kB / 0.5574 GB Notification: Performance of sort global known variables: time 5.11e-07/0.2712, allocations: 0 / 0.7372 GB, free: 364 kB / 0.5574 GB Notification: Performance of remove unused functions: time 0.0006025/0.2718, allocations: 39.94 kB / 0.7372 GB, free: 324 kB / 0.5574 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 (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.0009052/0.2727, allocations: 0.8487 MB / 0.7381 GB, free: 15.44 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.0001425/0.2729, allocations: 41.69 kB / 0.7381 GB, free: 15.39 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.2729, allocations: 4.062 kB / 0.7381 GB, free: 15.39 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 3.656e-06/0.273, allocations: 0 / 0.7381 GB, free: 15.39 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006428/0.2736, allocations: 0.5301 MB / 0.7386 GB, free: 14.86 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009704/0.2746, allocations: 450.1 kB / 0.7391 GB, free: 14.37 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003852/0.275, allocations: 0.6848 MB / 0.7397 GB, free: 13.66 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 4.757e-05/0.2751, allocations: 8 kB / 0.7397 GB, free: 13.65 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.502e-05/0.2752, allocations: 19.42 kB / 0.7397 GB, free: 13.63 MB / 0.573 GB Notification: Performance of SimCode: time 1.212e-06/0.2752, allocations: 0 / 0.7397 GB, free: 13.63 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02758/0.3028, allocations: 2.421 MB / 0.7421 GB, free: 11.34 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003622/0.3032, allocations: 219.7 kB / 0.7423 GB, free: 11.1 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.412/2.715, allocations: 0 / 0.7423 GB, free: 11.1 MB / 0.573 GB