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 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.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 loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01189/0.0119, allocations: 106.3 kB / 15.06 MB, free: 5.555 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.001408/0.001408, allocations: 180.4 kB / 15.95 MB, free: 5.52 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 2.13/2.13, allocations: 194.5 MB / 211.3 MB, free: 11.04 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.61/2.61, allocations: 236.2 MB / 492.6 MB, free: 11.29 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006691/0.0006697, allocations: 12 kB / 0.587 GB, free: 2.055 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7777/0.7785, allocations: 98.71 MB / 0.6834 GB, free: 16.82 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances): time 0.002712/0.7813, allocations: 1.148 MB / 0.6846 GB, free: 15.98 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.002421/0.7838, allocations: 0.8155 MB / 0.6853 GB, free: 15.41 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001423/0.784, allocations: 1.375 kB / 0.6853 GB, free: 15.41 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.0003554/0.7844, allocations: 39.78 kB / 0.6854 GB, free: 15.39 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 8.463e-05/0.7845, allocations: 21.75 kB / 0.6854 GB, free: 15.38 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.00117/0.7857, allocations: 170.8 kB / 0.6856 GB, free: 15.3 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0001668/0.7859, allocations: 32.06 kB / 0.6856 GB, free: 15.28 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 7.293e-05/0.7859, allocations: 11.19 kB / 0.6856 GB, free: 15.27 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001211/0.7861, allocations: 25.59 kB / 0.6856 GB, free: 15.26 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 5.441e-05/0.7861, allocations: 16.53 kB / 0.6857 GB, free: 15.25 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 1.59e-05/0.7862, allocations: 1.438 kB / 0.6857 GB, free: 15.25 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007017/0.7869, allocations: 142.1 kB / 0.6858 GB, free: 15.22 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 1.724e-05/0.7869, allocations: 1.406 kB / 0.6858 GB, free: 15.22 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 4.682e-05/0.787, allocations: 38.62 kB / 0.6858 GB, free: 15.18 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0003267/0.7873, allocations: 80.19 kB / 0.6859 GB, free: 15.17 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 3.798e-06/0.7874, allocations: 0 / 0.6859 GB, free: 15.17 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.876e-06/0.7874, allocations: 0 / 0.6859 GB, free: 15.17 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.844e-05/0.7874, allocations: 0 / 0.6859 GB, free: 15.17 MB / 0.5261 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.0004642/0.7879, allocations: 365.5 kB / 0.6863 GB, free: 14.79 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 6.021e-05/0.788, allocations: 9.781 kB / 0.6863 GB, free: 14.79 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.391e-05/0.788, allocations: 106.4 kB / 0.6864 GB, free: 14.67 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.603e-05/0.7881, allocations: 81.73 kB / 0.6864 GB, free: 14.59 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002449/0.7884, allocations: 260.2 kB / 0.6867 GB, free: 14.31 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.629e-05/0.7885, allocations: 151.4 kB / 0.6868 GB, free: 14.16 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.475e-05/0.7885, allocations: 159.9 kB / 0.687 GB, free: 14.01 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.227e-05/0.7886, allocations: 104.9 kB / 0.6871 GB, free: 13.9 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.268e-05/0.7886, allocations: 81.2 kB / 0.6872 GB, free: 13.82 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.411e-05/0.7887, allocations: 150.6 kB / 0.6873 GB, free: 13.67 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.29e-05/0.7887, allocations: 150.6 kB / 0.6875 GB, free: 13.52 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.956e-05/0.7888, allocations: 156.3 kB / 0.6876 GB, free: 13.37 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000369/0.7891, allocations: 464.8 kB / 0.688 GB, free: 12.88 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 7.645e-05/0.7892, allocations: 170.5 kB / 0.6882 GB, free: 12.71 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 2.411e-05/0.7893, allocations: 75.28 kB / 0.6883 GB, free: 12.63 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.942e-05/0.7893, allocations: 107.8 kB / 0.6884 GB, free: 12.52 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=0): time 3.096e-06/0.7894, allocations: 4 kB / 0.6884 GB, free: 12.52 MB / 0.5261 GB Notification: Performance of matching and sorting (n=0): time 0.00012/0.7895, allocations: 37.09 kB / 0.6884 GB, free: 12.48 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.955e-05/0.7895, allocations: 127.8 kB / 0.6885 GB, free: 12.34 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002104/0.7898, allocations: 130.6 kB / 0.6887 GB, free: 12.23 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.999e-05/0.7898, allocations: 26.83 kB / 0.6887 GB, free: 12.2 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 6.007e-05/0.7899, allocations: 96.17 kB / 0.6888 GB, free: 12.11 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 3.136e-06/0.7899, allocations: 0 / 0.6888 GB, free: 12.11 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.308e-06/0.7899, allocations: 0 / 0.6888 GB, free: 12.11 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 9.13e-05/0.79, allocations: 327.5 kB / 0.6891 GB, free: 11.79 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.531e-05/0.7901, allocations: 2.562 kB / 0.6891 GB, free: 11.79 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.006e-05/0.7901, allocations: 3.25 kB / 0.6891 GB, free: 11.79 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.381e-05/0.7902, allocations: 8.547 kB / 0.6891 GB, free: 11.78 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.7902, allocations: 0 / 0.6891 GB, free: 11.78 MB / 0.5261 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001958/0.7904, allocations: 48.33 kB / 0.6892 GB, free: 11.74 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.439e-05/0.7904, allocations: 5.859 kB / 0.6892 GB, free: 11.74 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.072e-05/0.7905, allocations: 5.703 kB / 0.6892 GB, free: 11.74 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.914e-05/0.7905, allocations: 1.438 kB / 0.6892 GB, free: 11.74 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.527e-06/0.7905, allocations: 4 kB / 0.6892 GB, free: 11.73 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.283e-06/0.7905, allocations: 4.672 kB / 0.6892 GB, free: 11.73 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.377e-05/0.7906, allocations: 5.125 kB / 0.6892 GB, free: 11.73 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.079e-05/0.7906, allocations: 1.531 kB / 0.6892 GB, free: 11.73 MB / 0.5261 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.0001098/0.7908, allocations: 191.5 kB / 0.6894 GB, free: 11.53 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.692e-05/0.7908, allocations: 105.3 kB / 0.6895 GB, free: 11.43 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.094e-05/0.7909, allocations: 111.7 kB / 0.6896 GB, free: 11.31 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.8e-05/0.791, allocations: 190.2 kB / 0.6898 GB, free: 11.12 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.851e-05/0.791, allocations: 178.6 kB / 0.6899 GB, free: 10.94 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.62e-05/0.7911, allocations: 178 kB / 0.6901 GB, free: 10.76 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003013/0.7914, allocations: 423.4 kB / 0.6905 GB, free: 10.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.816e-05/0.7915, allocations: 106.6 kB / 0.6906 GB, free: 10.2 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.037e-05/0.7915, allocations: 104.9 kB / 0.6907 GB, free: 10.09 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.757e-05/0.7916, allocations: 181.4 kB / 0.6909 GB, free: 9.902 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.046e-05/0.7916, allocations: 181.5 kB / 0.691 GB, free: 9.719 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.679e-05/0.7917, allocations: 179.1 kB / 0.6912 GB, free: 9.539 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.821e-05/0.7917, allocations: 180.3 kB / 0.6914 GB, free: 9.355 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001323/0.7919, allocations: 321 kB / 0.6917 GB, free: 9.027 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001017/0.792, allocations: 187.3 kB / 0.6919 GB, free: 8.82 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.654e-05/0.7921, allocations: 185.6 kB / 0.692 GB, free: 8.637 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001412/0.7923, allocations: 106 kB / 0.6921 GB, free: 8.527 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.248e-05/0.7923, allocations: 181.2 kB / 0.6923 GB, free: 8.344 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.261e-05/0.7924, allocations: 106.2 kB / 0.6924 GB, free: 8.234 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.000116/0.7925, allocations: 107.6 kB / 0.6925 GB, free: 8.148 MB / 0.5261 GB Notification: Performance of sort global known variables: time 6.21e-07/0.7925, allocations: 0 / 0.6925 GB, free: 8.148 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0007302/0.7933, allocations: 32.88 kB / 0.6926 GB, free: 8.141 MB / 0.5261 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.0007756/0.794, allocations: 0.8515 MB / 0.6934 GB, free: 7.32 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.000162/0.7942, allocations: 36.39 kB / 0.6934 GB, free: 7.285 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 4.418e-06/0.7943, allocations: 1.625 kB / 0.6934 GB, free: 7.285 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 4.178e-06/0.7943, allocations: 0 / 0.6934 GB, free: 7.285 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005563/0.7948, allocations: 0.5316 MB / 0.6939 GB, free: 6.758 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001013/0.7959, allocations: 457.9 kB / 0.6944 GB, free: 6.324 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002121/0.7961, allocations: 0.6903 MB / 0.6951 GB, free: 5.625 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 5.027e-05/0.7962, allocations: 3.156 kB / 0.6951 GB, free: 5.625 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.441e-05/0.7963, allocations: 18 kB / 0.6951 GB, free: 5.613 MB / 0.5261 GB Notification: Performance of SimCode: time 1.773e-06/0.7963, allocations: 3.938 kB / 0.6951 GB, free: 5.609 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04028/0.8366, allocations: 2.422 MB / 0.6974 GB, free: 5.383 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002751/0.8369, allocations: 220.9 kB / 0.6977 GB, free: 5.141 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.456/3.293, allocations: 1.219 kB / 0.6977 GB, free: 5.141 MB / 0.5261 GB