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.01142/0.01142, allocations: 107.5 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.001253/0.001253, allocations: 177 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.11/2.11, allocations: 194.6 MB / 211.3 MB, free: 11.02 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.461/2.461, allocations: 236.1 MB / 492.6 MB, free: 11.29 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005131/0.0005128, allocations: 12 kB / 0.5871 GB, free: 2.023 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6852/0.6858, allocations: 98.71 MB / 0.6835 GB, free: 16.75 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube): time 0.004219/0.6901, allocations: 2.404 MB / 0.6858 GB, free: 15.04 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.004429/0.6946, allocations: 1.934 MB / 0.6877 GB, free: 13.64 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004199/0.695, allocations: 5.281 kB / 0.6877 GB, free: 13.64 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.002663/0.6977, allocations: 458.8 kB / 0.6881 GB, free: 13.42 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.0008689/0.6986, allocations: 151.8 kB / 0.6883 GB, free: 13.31 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003181/0.699, allocations: 37.98 kB / 0.6883 GB, free: 13.29 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.001204/0.7002, allocations: 316.5 kB / 0.6886 GB, free: 13.13 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004353/0.7007, allocations: 109.9 kB / 0.6887 GB, free: 13.08 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004685/0.7012, allocations: 144.6 kB / 0.6889 GB, free: 13.01 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002623/0.7015, allocations: 149.7 kB / 0.689 GB, free: 12.94 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 6.439e-05/0.7016, allocations: 18.12 kB / 0.689 GB, free: 12.94 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 9.09e-05/0.7017, allocations: 19 kB / 0.6891 GB, free: 12.94 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.000128/0.7018, allocations: 80.94 kB / 0.6891 GB, free: 12.9 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.0001254/0.7019, allocations: 103.2 kB / 0.6892 GB, free: 12.83 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0007606/0.7027, allocations: 433.8 kB / 0.6896 GB, free: 12.74 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.7027, allocations: 3.938 kB / 0.6896 GB, free: 12.74 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.404e-06/0.7028, allocations: 0.9688 kB / 0.6896 GB, free: 12.74 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.5e-05/0.7028, allocations: 0 / 0.6896 GB, free: 12.74 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: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.001469/0.7043, allocations: 0.6512 MB / 0.6903 GB, free: 12.2 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.045e-05/0.7043, allocations: 8.812 kB / 0.6903 GB, free: 12.2 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001385/0.7045, allocations: 54.27 kB / 0.6903 GB, free: 12.15 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001172/0.7046, allocations: 57.58 kB / 0.6904 GB, free: 12.11 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000734/0.7054, allocations: 352.2 kB / 0.6907 GB, free: 11.82 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.751e-05/0.7054, allocations: 16.94 kB / 0.6907 GB, free: 11.82 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.62e-05/0.7055, allocations: 18.39 kB / 0.6908 GB, free: 11.81 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006957/0.7062, allocations: 205.3 kB / 0.691 GB, free: 11.71 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.355e-05/0.7062, allocations: 1.156 kB / 0.691 GB, free: 11.71 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.209e-05/0.7063, allocations: 9.031 kB / 0.691 GB, free: 11.71 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.222e-05/0.7063, allocations: 13.2 kB / 0.691 GB, free: 11.7 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006661/0.707, allocations: 174.2 kB / 0.6912 GB, free: 11.65 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002135/0.7091, allocations: 0.8803 MB / 0.692 GB, free: 11.04 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005166/0.7097, allocations: 162.3 kB / 0.6922 GB, free: 10.96 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 2.555e-05/0.7097, allocations: 1.719 kB / 0.6922 GB, free: 10.96 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.546e-05/0.7098, allocations: 36.95 kB / 0.6922 GB, free: 10.92 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=18): time 2.905e-06/0.7098, allocations: 0 / 0.6922 GB, free: 10.92 MB / 0.5261 GB Notification: Performance of matching and sorting (n=18): time 0.001059/0.7109, allocations: 268.1 kB / 0.6925 GB, free: 10.81 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.639e-05/0.7109, allocations: 53.78 kB / 0.6925 GB, free: 10.75 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008546/0.7118, allocations: 415.6 kB / 0.6929 GB, free: 10.55 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 4.638e-05/0.7119, allocations: 27.3 kB / 0.6929 GB, free: 10.52 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001868/0.7121, allocations: 215 kB / 0.6931 GB, free: 10.34 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 9.764e-05/0.7122, allocations: 64.23 kB / 0.6932 GB, free: 10.29 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.369e-05/0.7122, allocations: 4 kB / 0.6932 GB, free: 10.28 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001144/0.7123, allocations: 347.8 kB / 0.6935 GB, free: 9.953 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003522/0.7127, allocations: 62.14 kB / 0.6936 GB, free: 9.934 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002577/0.713, allocations: 66.53 kB / 0.6937 GB, free: 9.91 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002824/0.7133, allocations: 70.7 kB / 0.6937 GB, free: 9.883 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.658e-06/0.7133, allocations: 0.6094 kB / 0.6937 GB, free: 9.883 MB / 0.5261 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0007788/0.7141, allocations: 216.2 kB / 0.6939 GB, free: 9.781 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.754e-05/0.7141, allocations: 7.031 kB / 0.6939 GB, free: 9.781 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.945e-06/0.7141, allocations: 1.031 kB / 0.6939 GB, free: 9.781 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.262e-05/0.7142, allocations: 1.219 kB / 0.6939 GB, free: 9.781 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004667/0.7147, allocations: 56.25 kB / 0.694 GB, free: 9.777 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.137e-05/0.7147, allocations: 1.969 kB / 0.694 GB, free: 9.777 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004263/0.7151, allocations: 30.48 kB / 0.694 GB, free: 9.762 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.828e-05/0.7151, allocations: 3.312 kB / 0.694 GB, free: 9.762 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 (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.0003077/0.7155, allocations: 165.8 kB / 0.6942 GB, free: 9.617 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.886e-05/0.7156, allocations: 36.62 kB / 0.6942 GB, free: 9.598 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001006/0.7157, allocations: 40.5 kB / 0.6943 GB, free: 9.566 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.556e-06/0.7157, allocations: 2.188 kB / 0.6943 GB, free: 9.566 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.919e-06/0.7157, allocations: 4.594 kB / 0.6943 GB, free: 9.562 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.802e-06/0.7157, allocations: 5.922 kB / 0.6943 GB, free: 9.559 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007464/0.7165, allocations: 382.9 kB / 0.6946 GB, free: 9.277 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.801e-06/0.7165, allocations: 0 / 0.6946 GB, free: 9.277 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005629/0.7171, allocations: 57.77 kB / 0.6947 GB, free: 9.273 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.328e-06/0.7171, allocations: 1.188 kB / 0.6947 GB, free: 9.273 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.941e-05/0.7172, allocations: 5.953 kB / 0.6947 GB, free: 9.27 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.51e-06/0.7172, allocations: 1.219 kB / 0.6947 GB, free: 9.27 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.7172, allocations: 0 / 0.6947 GB, free: 9.27 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00114/0.7184, allocations: 396.3 kB / 0.6951 GB, free: 9.035 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002322/0.7186, allocations: 116 kB / 0.6952 GB, free: 8.918 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.918e-05/0.7187, allocations: 9.734 kB / 0.6952 GB, free: 8.91 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003093/0.719, allocations: 11.3 kB / 0.6952 GB, free: 8.91 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.387e-05/0.7191, allocations: 13.69 kB / 0.6952 GB, free: 8.906 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.873e-05/0.7192, allocations: 3.469 kB / 0.6952 GB, free: 8.906 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0006046/0.7198, allocations: 302.4 kB / 0.6955 GB, free: 8.758 MB / 0.5261 GB Notification: Performance of sort global known variables: time 3.61e-07/0.7198, allocations: 0 / 0.6955 GB, free: 8.758 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0006216/0.7204, allocations: 71.88 kB / 0.6956 GB, free: 8.746 MB / 0.5261 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.001382/0.7218, allocations: 0.941 MB / 0.6965 GB, free: 7.98 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0006516/0.7225, allocations: 157.9 kB / 0.6966 GB, free: 7.934 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 5.33e-06/0.7226, allocations: 0 / 0.6966 GB, free: 7.934 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0002945/0.7229, allocations: 89.97 kB / 0.6967 GB, free: 7.902 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009039/0.7238, allocations: 87.88 kB / 0.6968 GB, free: 7.867 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006285/0.7301, allocations: 2.188 MB / 0.699 GB, free: 6.707 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003848/0.7305, allocations: 0.8065 MB / 0.6997 GB, free: 6 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0003005/0.7309, allocations: 34.53 kB / 0.6998 GB, free: 5.996 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002462/0.7311, allocations: 120.1 kB / 0.6999 GB, free: 5.906 MB / 0.5261 GB Notification: Performance of SimCode: time 9.82e-07/0.7311, allocations: 4 kB / 0.6999 GB, free: 5.902 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04613/0.7773, allocations: 7.152 MB / 0.7069 GB, free: 2.883 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002174/0.7776, allocations: 255.5 kB / 0.7071 GB, free: 2.547 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.75/3.527, allocations: 3.75 kB / 0.7071 GB, free: 2.547 MB / 0.5261 GB