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.01103/0.01103, allocations: 106.5 kB / 15.05 MB, free: 5.934 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.001201/0.001201, allocations: 185.5 kB / 15.95 MB, free: 5.898 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.141/2.141, allocations: 194.6 MB / 211.3 MB, free: 11.07 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.243/2.243, allocations: 236.2 MB / 492.6 MB, free: 11.35 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004708/0.0004708, allocations: 16 kB / 0.587 GB, free: 2.043 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6835/0.684, allocations: 98.71 MB / 0.6834 GB, free: 16.69 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.132/1.816, allocations: 353.9 MB / 1.029 GB, free: 93.82 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003125/1.816, allocations: 98.12 kB / 1.029 GB, free: 93.76 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.05416/1.871, allocations: 15.91 MB / 1.045 GB, free: 80.98 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.044e-06/1.871, allocations: 0 / 1.045 GB, free: 80.98 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 6.953e-06/1.871, allocations: 4 kB / 1.045 GB, free: 80.98 MB / 0.7292 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.0003765/1.871, allocations: 382.8 kB / 1.045 GB, free: 80.56 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.704e-05/1.871, allocations: 8.031 kB / 1.045 GB, free: 80.55 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.807e-05/1.871, allocations: 38.55 kB / 1.045 GB, free: 80.51 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.526e-05/1.871, allocations: 3.953 kB / 1.045 GB, free: 80.5 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.47e-05/1.871, allocations: 167 kB / 1.045 GB, free: 80.3 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.267e-05/1.871, allocations: 0 / 1.045 GB, free: 80.3 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.247e-06/1.871, allocations: 0 / 1.045 GB, free: 80.3 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.325e-05/1.871, allocations: 33.2 kB / 1.045 GB, free: 80.27 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.678e-06/1.871, allocations: 3.984 kB / 1.045 GB, free: 80.26 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.366e-06/1.871, allocations: 0 / 1.045 GB, free: 80.26 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.245e-06/1.871, allocations: 0 / 1.045 GB, free: 80.26 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.352e-05/1.872, allocations: 15.89 kB / 1.045 GB, free: 80.25 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001431/1.872, allocations: 153.2 kB / 1.045 GB, free: 80.05 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 6.031e-05/1.872, allocations: 30.17 kB / 1.045 GB, free: 80.02 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002687/1.872, allocations: 97.09 kB / 1.046 GB, free: 79.9 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.659e-05/1.872, allocations: 30.56 kB / 1.046 GB, free: 79.86 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=2): time 1.513e-06/1.872, allocations: 4 kB / 1.046 GB, free: 79.86 MB / 0.7292 GB Notification: Performance of matching and sorting (n=2): time 0.0001565/1.872, allocations: 49.12 kB / 1.046 GB, free: 79.81 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.942e-05/1.872, allocations: 51.41 kB / 1.046 GB, free: 79.75 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.361e-05/1.872, allocations: 96.56 kB / 1.046 GB, free: 79.65 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 8.916e-06/1.872, allocations: 29.7 kB / 1.046 GB, free: 79.61 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 2.33e-05/1.872, allocations: 84.12 kB / 1.046 GB, free: 79.53 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.216e-05/1.872, allocations: 3.906 kB / 1.046 GB, free: 79.52 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.627e-06/1.872, allocations: 0 / 1.046 GB, free: 79.52 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 6.059e-05/1.872, allocations: 322.7 kB / 1.046 GB, free: 79.2 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.839e-05/1.873, allocations: 4 kB / 1.046 GB, free: 79.2 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.428e-05/1.873, allocations: 7.938 kB / 1.046 GB, free: 79.19 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.213e-05/1.873, allocations: 0 / 1.046 GB, free: 79.19 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/1.873, allocations: 0 / 1.046 GB, free: 79.19 MB / 0.7292 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.844e-05/1.873, allocations: 49.06 kB / 1.046 GB, free: 79.14 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.364e-05/1.873, allocations: 4 kB / 1.046 GB, free: 79.14 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/1.873, allocations: 0 / 1.046 GB, free: 79.14 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.346e-05/1.873, allocations: 96 / 1.046 GB, free: 79.14 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.504e-05/1.873, allocations: 8 kB / 1.046 GB, free: 79.13 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.791e-06/1.873, allocations: 0 / 1.046 GB, free: 79.13 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.466e-05/1.873, allocations: 0 / 1.046 GB, free: 79.13 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.511e-06/1.873, allocations: 0 / 1.046 GB, free: 79.13 MB / 0.7292 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 6.111e-05/1.873, allocations: 113.8 kB / 1.046 GB, free: 79.01 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.176e-05/1.873, allocations: 7.469 kB / 1.046 GB, free: 79 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001238/1.873, allocations: 48.38 kB / 1.046 GB, free: 78.96 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.915e-06/1.873, allocations: 4.031 kB / 1.046 GB, free: 78.95 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/1.873, allocations: 0 / 1.046 GB, free: 78.95 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/1.873, allocations: 0 / 1.046 GB, free: 78.95 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.743e-05/1.873, allocations: 157.3 kB / 1.047 GB, free: 78.75 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/1.873, allocations: 0 / 1.047 GB, free: 78.75 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.609e-05/1.873, allocations: 11.92 kB / 1.047 GB, free: 78.74 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/1.873, allocations: 0 / 1.047 GB, free: 78.74 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.134e-06/1.873, allocations: 0 / 1.047 GB, free: 78.74 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.843e-06/1.873, allocations: 0 / 1.047 GB, free: 78.74 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.053e-06/1.873, allocations: 7.984 kB / 1.047 GB, free: 78.73 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.727e-05/1.873, allocations: 64.53 kB / 1.047 GB, free: 78.66 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 3.573e-05/1.874, allocations: 89.03 kB / 1.047 GB, free: 78.55 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.528e-05/1.874, allocations: 0 / 1.047 GB, free: 78.55 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.285e-05/1.874, allocations: 0 / 1.047 GB, free: 78.55 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.863e-05/1.874, allocations: 0 / 1.047 GB, free: 78.55 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.787e-06/1.874, allocations: 0 / 1.047 GB, free: 78.55 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 3.176e-05/1.874, allocations: 87.02 kB / 1.047 GB, free: 78.47 MB / 0.7292 GB Notification: Performance of sort global known variables: time 3.6e-07/1.874, allocations: 0 / 1.047 GB, free: 78.47 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002865/1.874, allocations: 31.97 kB / 1.047 GB, free: 78.44 MB / 0.7292 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.0004488/1.874, allocations: 0.6696 MB / 1.048 GB, free: 77.75 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 8.375e-05/1.874, allocations: 15.31 kB / 1.048 GB, free: 77.74 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.624e-06/1.875, allocations: 0 / 1.048 GB, free: 77.74 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 2.114e-05/1.875, allocations: 12 kB / 1.048 GB, free: 77.73 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001455/1.875, allocations: 4 kB / 1.048 GB, free: 77.72 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004295/1.875, allocations: 187.6 kB / 1.048 GB, free: 77.5 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001268/1.875, allocations: 0.6809 MB / 1.048 GB, free: 76.79 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 3.893e-05/1.875, allocations: 4.062 kB / 1.048 GB, free: 76.79 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.134e-05/1.875, allocations: 15.42 kB / 1.048 GB, free: 76.77 MB / 0.7292 GB Notification: Performance of SimCode: time 8.12e-07/1.875, allocations: 0 / 1.048 GB, free: 76.77 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02305/1.898, allocations: 1.894 MB / 1.05 GB, free: 75.02 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002285/1.899, allocations: 212.2 kB / 1.05 GB, free: 74.79 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.607/4.506, allocations: 2.391 kB / 1.05 GB, free: 74.79 MB / 0.7292 GB