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 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.ConvectionResistance,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ConvectionResistance",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.095/4.095, allocations: 432.6 MB / 445.2 MB, free: 15.83 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 4.206e-05/4.215e-05, allocations: 3.797 kB / 0.5383 GB, free: 10.28 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2396/0.2397, allocations: 98.73 MB / 0.6347 GB, free: 1.902 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.078/1.318, allocations: 353.8 MB / 0.9803 GB, free: 3.41 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003513/1.318, allocations: 92.38 kB / 0.9803 GB, free: 3.355 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.0614/1.38, allocations: 15.86 MB / 0.9958 GB, free: 6.668 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.573e-06/1.38, allocations: 0 / 0.9958 GB, free: 6.668 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 7.083e-06/1.38, allocations: 0 / 0.9958 GB, free: 6.668 MB / 0.7448 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.0004574/1.38, allocations: 369.8 kB / 0.9962 GB, free: 6.266 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.961e-05/1.38, allocations: 12.03 kB / 0.9962 GB, free: 6.254 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.339e-05/1.38, allocations: 30.56 kB / 0.9962 GB, free: 6.215 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.481e-05/1.38, allocations: 11.89 kB / 0.9962 GB, free: 6.203 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000123/1.38, allocations: 167 kB / 0.9964 GB, free: 6 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.14e-05/1.38, allocations: 0 / 0.9964 GB, free: 6 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.419e-05/1.38, allocations: 4 kB / 0.9964 GB, free: 5.996 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001015/1.381, allocations: 37.25 kB / 0.9964 GB, free: 5.957 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.577e-06/1.381, allocations: 0 / 0.9964 GB, free: 5.957 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.085e-06/1.381, allocations: 0 / 0.9964 GB, free: 5.957 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.718e-06/1.381, allocations: 0 / 0.9964 GB, free: 5.957 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.646e-05/1.381, allocations: 15.94 kB / 0.9965 GB, free: 5.941 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001799/1.381, allocations: 153.3 kB / 0.9966 GB, free: 5.746 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 6.17e-05/1.381, allocations: 26.08 kB / 0.9966 GB, free: 5.715 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.081e-05/1.381, allocations: 8.922 kB / 0.9966 GB, free: 5.703 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002938/1.381, allocations: 93.09 kB / 0.9967 GB, free: 5.594 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.916e-05/1.381, allocations: 38.56 kB / 0.9968 GB, free: 5.547 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=2): time 1.733e-06/1.381, allocations: 0 / 0.9968 GB, free: 5.547 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2): time 0.0001471/1.382, allocations: 45.16 kB / 0.9968 GB, free: 5.5 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.68e-05/1.382, allocations: 51.41 kB / 0.9968 GB, free: 5.438 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.34e-05/1.382, allocations: 96.56 kB / 0.9969 GB, free: 5.34 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.573e-05/1.382, allocations: 29.64 kB / 0.997 GB, free: 5.305 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 3.89e-05/1.382, allocations: 84.14 kB / 0.9971 GB, free: 5.219 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.246e-05/1.382, allocations: 11.88 kB / 0.9971 GB, free: 5.207 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.297e-06/1.382, allocations: 0 / 0.9971 GB, free: 5.207 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001218/1.382, allocations: 322.4 kB / 0.9974 GB, free: 4.887 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.04e-05/1.382, allocations: 4 kB / 0.9974 GB, free: 4.883 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.696e-05/1.382, allocations: 4 kB / 0.9974 GB, free: 4.879 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.174e-05/1.382, allocations: 0 / 0.9974 GB, free: 4.879 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/1.382, allocations: 0 / 0.9974 GB, free: 4.879 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001005/1.382, allocations: 41.02 kB / 0.9974 GB, free: 4.836 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.676e-05/1.382, allocations: 4.094 kB / 0.9974 GB, free: 4.832 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.153e-06/1.382, allocations: 7.984 kB / 0.9974 GB, free: 4.824 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.22e-05/1.382, allocations: 0 / 0.9974 GB, free: 4.824 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.399e-05/1.382, allocations: 4 kB / 0.9974 GB, free: 4.82 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.312e-06/1.382, allocations: 0 / 0.9974 GB, free: 4.82 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.46e-05/1.382, allocations: 0 / 0.9974 GB, free: 4.82 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.437e-05/1.382, allocations: 4 kB / 0.9974 GB, free: 4.816 MB / 0.7448 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 (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.082e-05/1.382, allocations: 111.7 kB / 0.9975 GB, free: 4.703 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.054e-05/1.382, allocations: 0 / 0.9975 GB, free: 4.703 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001501/1.383, allocations: 55.95 kB / 0.9976 GB, free: 4.648 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.376e-06/1.383, allocations: 3.938 kB / 0.9976 GB, free: 4.645 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.047e-06/1.383, allocations: 0 / 0.9976 GB, free: 4.645 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/1.383, allocations: 0 / 0.9976 GB, free: 4.645 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000131/1.383, allocations: 157.1 kB / 0.9977 GB, free: 4.445 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/1.383, allocations: 0 / 0.9977 GB, free: 4.445 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.798e-05/1.383, allocations: 4 kB / 0.9978 GB, free: 4.441 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-06/1.383, allocations: 0 / 0.9978 GB, free: 4.441 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.694e-06/1.383, allocations: 0 / 0.9978 GB, free: 4.441 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/1.383, allocations: 0 / 0.9978 GB, free: 4.441 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/1.383, allocations: 8.031 kB / 0.9978 GB, free: 4.434 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001107/1.383, allocations: 72.55 kB / 0.9978 GB, free: 4.348 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 5.441e-05/1.383, allocations: 84.67 kB / 0.9979 GB, free: 4.25 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.43e-05/1.383, allocations: 0 / 0.9979 GB, free: 4.25 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.494e-05/1.383, allocations: 3.984 kB / 0.9979 GB, free: 4.246 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.368e-05/1.383, allocations: 0 / 0.9979 GB, free: 4.246 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.288e-06/1.383, allocations: 0 / 0.9979 GB, free: 4.246 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 5.366e-05/1.383, allocations: 87.56 kB / 0.998 GB, free: 4.16 MB / 0.7448 GB Notification: Performance of sort global known variables: time 3.626e-06/1.383, allocations: 0 / 0.998 GB, free: 4.16 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.000302/1.384, allocations: 31.38 kB / 0.998 GB, free: 4.133 MB / 0.7448 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 (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.000601/1.384, allocations: 0.6738 MB / 0.9987 GB, free: 3.434 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 8.4e-05/1.384, allocations: 8 kB / 0.9987 GB, free: 3.426 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/1.384, allocations: 4.062 kB / 0.9987 GB, free: 3.422 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 2.411e-05/1.384, allocations: 4 kB / 0.9987 GB, free: 3.418 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001442/1.384, allocations: 5.25 kB / 0.9987 GB, free: 3.418 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003478/1.385, allocations: 103 kB / 0.9988 GB, free: 3.281 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000252/1.385, allocations: 0.677 MB / 0.9995 GB, free: 2.578 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 4.586e-05/1.385, allocations: 8.062 kB / 0.9995 GB, free: 2.57 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.18e-05/1.385, allocations: 10.69 kB / 0.9995 GB, free: 2.562 MB / 0.7448 GB Notification: Performance of SimCode: time 1.122e-06/1.385, allocations: 0 / 0.9995 GB, free: 2.562 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02439/1.41, allocations: 1.947 MB / 1.001 GB, free: 0.7148 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003233/1.41, allocations: 184.5 kB / 1.002 GB, free: 0.4922 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.247/3.657, allocations: 0 / 1.002 GB, free: 0.4922 MB / 0.7448 GB