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.ConvectionResistance.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.ConvectionResistance,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ConvectionResistance",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.01748/0.01749, 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.001497/0.001498, allocations: 181.8 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.174/2.174, allocations: 194.6 MB / 211.3 MB, free: 11.23 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.504/2.504, allocations: 236.2 MB / 492.6 MB, free: 11.33 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005031/0.0005035, allocations: 12 kB / 0.587 GB, free: 2.055 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7766/0.7772, allocations: 98.72 MB / 0.6834 GB, free: 16.86 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance): time 0.001717/0.779, allocations: 0.9847 MB / 0.6844 GB, free: 16.12 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.005692/0.7847, allocations: 3.244 MB / 0.6876 GB, free: 13.82 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.154e-05/0.7848, allocations: 0 / 0.6876 GB, free: 13.82 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 1.939e-05/0.7849, allocations: 8.688 kB / 0.6876 GB, free: 13.81 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.000602/0.7855, allocations: 85.44 kB / 0.6877 GB, free: 13.76 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005268/0.786, allocations: 85.75 kB / 0.6877 GB, free: 13.72 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 8.334e-05/0.7861, allocations: 21.28 kB / 0.6878 GB, free: 13.71 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 4.83e-05/0.7862, allocations: 2.812 kB / 0.6878 GB, free: 13.71 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001549/0.7864, allocations: 27.78 kB / 0.6878 GB, free: 13.7 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001385/0.7865, allocations: 32.05 kB / 0.6878 GB, free: 13.68 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 1.047e-05/0.7865, allocations: 0 / 0.6878 GB, free: 13.68 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008139/0.7874, allocations: 285.2 kB / 0.6881 GB, free: 13.62 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 1.689e-05/0.7874, allocations: 1.734 kB / 0.6881 GB, free: 13.62 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 3.434e-05/0.7875, allocations: 28.53 kB / 0.6881 GB, free: 13.59 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0002756/0.7877, allocations: 82.45 kB / 0.6882 GB, free: 13.56 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 3.486e-06/0.7878, allocations: 0 / 0.6882 GB, free: 13.56 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.054e-06/0.7878, allocations: 0 / 0.6882 GB, free: 13.56 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 6.933e-06/0.7878, allocations: 5 kB / 0.6882 GB, free: 13.56 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.000398/0.7882, allocations: 357 kB / 0.6885 GB, free: 13.18 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.815e-05/0.7883, allocations: 9.188 kB / 0.6886 GB, free: 13.18 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.048e-05/0.7883, allocations: 31.84 kB / 0.6886 GB, free: 13.14 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.755e-05/0.7883, allocations: 5.156 kB / 0.6886 GB, free: 13.14 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001022/0.7884, allocations: 162.2 kB / 0.6887 GB, free: 12.94 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.359e-05/0.7885, allocations: 1.312 kB / 0.6887 GB, free: 12.94 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.4e-05/0.7885, allocations: 0 / 0.6887 GB, free: 12.94 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000106/0.7886, allocations: 31.23 kB / 0.6888 GB, free: 12.91 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.817e-06/0.7886, allocations: 4 kB / 0.6888 GB, free: 12.91 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.07e-05/0.7886, allocations: 5.359 kB / 0.6888 GB, free: 12.9 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.61e-06/0.7887, allocations: 0 / 0.6888 GB, free: 12.9 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.91e-05/0.7887, allocations: 9.266 kB / 0.6888 GB, free: 12.9 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001709/0.7889, allocations: 164.4 kB / 0.689 GB, free: 12.7 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 6.72e-05/0.789, allocations: 21.59 kB / 0.689 GB, free: 12.67 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003467/0.7893, allocations: 103.3 kB / 0.6891 GB, free: 12.57 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.462e-05/0.7894, allocations: 32.48 kB / 0.6891 GB, free: 12.53 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=2): time 1.913e-06/0.7894, allocations: 0 / 0.6891 GB, free: 12.53 MB / 0.5261 GB Notification: Performance of matching and sorting (n=2): time 0.0001987/0.7896, allocations: 46.7 kB / 0.6891 GB, free: 12.49 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.196e-05/0.7896, allocations: 59.3 kB / 0.6892 GB, free: 12.42 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.734e-05/0.7897, allocations: 102.9 kB / 0.6893 GB, free: 12.32 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.116e-05/0.7898, allocations: 25.7 kB / 0.6893 GB, free: 12.29 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 2.558e-05/0.7898, allocations: 85.84 kB / 0.6894 GB, free: 12.2 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 3.013e-05/0.7898, allocations: 9.75 kB / 0.6894 GB, free: 12.2 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.656e-06/0.7898, allocations: 0 / 0.6894 GB, free: 12.2 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 6.751e-05/0.7899, allocations: 313.5 kB / 0.6897 GB, free: 11.88 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.963e-05/0.7899, allocations: 2.062 kB / 0.6897 GB, free: 11.88 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.852e-05/0.79, allocations: 2.344 kB / 0.6897 GB, free: 11.88 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.041e-05/0.79, allocations: 7.844 kB / 0.6897 GB, free: 11.88 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.79, allocations: 0 / 0.6897 GB, free: 11.88 MB / 0.5261 GB Notification: Performance of matching and sorting (n=2) (initialization): time 9.522e-05/0.7901, allocations: 45.03 kB / 0.6898 GB, free: 11.84 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.053e-05/0.7902, allocations: 5.25 kB / 0.6898 GB, free: 11.84 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.492e-06/0.7902, allocations: 0 / 0.6898 GB, free: 11.84 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.924e-05/0.7902, allocations: 2.672 kB / 0.6898 GB, free: 11.84 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.555e-05/0.7903, allocations: 6.156 kB / 0.6898 GB, free: 11.84 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.895e-06/0.7903, allocations: 1.75 kB / 0.6898 GB, free: 11.84 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.324e-05/0.7904, allocations: 8.109 kB / 0.6898 GB, free: 11.83 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.035e-05/0.7904, allocations: 8.859 kB / 0.6898 GB, free: 11.82 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 (2): * Single equations (assignments): 2 * 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 7.242e-05/0.7905, allocations: 108.2 kB / 0.6899 GB, free: 11.71 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.277e-05/0.7905, allocations: 10.25 kB / 0.6899 GB, free: 11.7 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001587/0.7906, allocations: 46.03 kB / 0.69 GB, free: 11.66 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.199e-06/0.7907, allocations: 1.031 kB / 0.69 GB, free: 11.66 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.242e-06/0.7907, allocations: 0.5625 kB / 0.69 GB, free: 11.66 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.7907, allocations: 0 / 0.69 GB, free: 11.66 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001139/0.7908, allocations: 153.4 kB / 0.6901 GB, free: 11.47 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.7908, allocations: 1.031 kB / 0.6901 GB, free: 11.47 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.497e-05/0.7909, allocations: 3.594 kB / 0.6901 GB, free: 11.47 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.053e-06/0.7909, allocations: 6.031 kB / 0.6901 GB, free: 11.46 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.017e-06/0.7909, allocations: 4.031 kB / 0.6901 GB, free: 11.46 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.505e-06/0.7909, allocations: 0 / 0.6901 GB, free: 11.46 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.587e-06/0.7909, allocations: 1.406 kB / 0.6901 GB, free: 11.46 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001089/0.7911, allocations: 69.67 kB / 0.6902 GB, free: 11.39 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 4.607e-05/0.7911, allocations: 84.16 kB / 0.6903 GB, free: 11.29 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.58e-05/0.7912, allocations: 1.438 kB / 0.6903 GB, free: 11.29 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.424e-05/0.7912, allocations: 0.6562 kB / 0.6903 GB, free: 11.29 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.044e-05/0.7912, allocations: 5.672 kB / 0.6903 GB, free: 11.29 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.151e-06/0.7913, allocations: 4.875 kB / 0.6903 GB, free: 11.28 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 3.797e-05/0.7913, allocations: 80.94 kB / 0.6904 GB, free: 11.21 MB / 0.5261 GB Notification: Performance of sort global known variables: time 3.71e-07/0.7913, allocations: 0 / 0.6904 GB, free: 11.21 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0003282/0.7917, allocations: 27.23 kB / 0.6904 GB, free: 11.2 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 (2): * Single equations (assignments): 2 * 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.0004792/0.7921, allocations: 0.6366 MB / 0.691 GB, free: 10.59 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0001094/0.7923, allocations: 8.141 kB / 0.691 GB, free: 10.59 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.7923, allocations: 3.938 kB / 0.691 GB, free: 10.59 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 2.573e-05/0.7923, allocations: 9.375 kB / 0.691 GB, free: 10.58 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002284/0.7926, allocations: 5.375 kB / 0.691 GB, free: 10.58 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005428/0.7931, allocations: 193.1 kB / 0.6912 GB, free: 10.41 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001356/0.7933, allocations: 0.6836 MB / 0.6919 GB, free: 9.715 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 4.785e-05/0.7933, allocations: 3.188 kB / 0.6919 GB, free: 9.715 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.733e-05/0.7934, allocations: 10.05 kB / 0.6919 GB, free: 9.707 MB / 0.5261 GB Notification: Performance of SimCode: time 9.62e-07/0.7934, allocations: 0 / 0.6919 GB, free: 9.707 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02083/0.8142, allocations: 1.438 MB / 0.6933 GB, free: 9.512 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002431/0.8145, allocations: 211.9 kB / 0.6935 GB, free: 9.277 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.488/3.302, allocations: 1.031 kB / 0.6935 GB, free: 9.277 MB / 0.5261 GB