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/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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.082/4.082, allocations: 433.2 MB / 440.7 MB, free: 4.602 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 3.899e-05/3.912e-05, allocations: 3.406 kB / 0.5325 GB, free: 12.75 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2646/0.2647, allocations: 98.73 MB / 0.6289 GB, free: 9.164 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.17/1.435, allocations: 353.2 MB / 0.9738 GB, free: 15.38 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003899/1.436, allocations: 90.22 kB / 0.9739 GB, free: 15.33 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.06777/1.503, allocations: 15.8 MB / 0.9893 GB, free: 2.871 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.775e-06/1.503, allocations: 0 / 0.9893 GB, free: 2.871 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 9.267e-06/1.503, allocations: 0 / 0.9893 GB, free: 2.871 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.0005599/1.504, allocations: 369.8 kB / 0.9897 GB, free: 2.469 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.998e-05/1.504, allocations: 8.031 kB / 0.9897 GB, free: 2.461 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.238e-05/1.504, allocations: 3.953 kB / 0.9897 GB, free: 2.457 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001596/1.504, allocations: 171 kB / 0.9898 GB, free: 2.25 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.608e-05/1.504, allocations: 0 / 0.9898 GB, free: 2.25 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.739e-06/1.504, allocations: 4 kB / 0.9898 GB, free: 2.246 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.697e-05/1.505, allocations: 11.38 kB / 0.9898 GB, free: 2.238 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.453e-05/1.505, allocations: 29.77 kB / 0.9899 GB, free: 2.203 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.007e-05/1.505, allocations: 0 / 0.9899 GB, free: 2.203 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.613e-05/1.505, allocations: 7.938 kB / 0.9899 GB, free: 2.195 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-06/1.505, allocations: 0 / 0.9899 GB, free: 2.195 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001978/1.505, allocations: 133.8 kB / 0.99 GB, free: 2.031 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 7.056e-05/1.505, allocations: 22.61 kB / 0.99 GB, free: 2 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.613e-05/1.505, allocations: 12.92 kB / 0.99 GB, free: 1.984 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003587/1.505, allocations: 97.08 kB / 0.9901 GB, free: 1.871 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.864e-05/1.505, allocations: 38.31 kB / 0.9902 GB, free: 1.828 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=2): time 2.464e-06/1.505, allocations: 0 / 0.9902 GB, free: 1.828 MB / 0.7292 GB Notification: Performance of matching and sorting (n=2): time 0.0003331/1.506, allocations: 49.53 kB / 0.9902 GB, free: 1.773 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.538e-05/1.506, allocations: 55.44 kB / 0.9903 GB, free: 1.707 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.743e-05/1.506, allocations: 96.61 kB / 0.9904 GB, free: 1.609 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.875e-05/1.506, allocations: 25.7 kB / 0.9904 GB, free: 1.578 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 4.483e-05/1.506, allocations: 80.14 kB / 0.9905 GB, free: 1.496 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.803e-05/1.506, allocations: 7.906 kB / 0.9905 GB, free: 1.488 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.168e-06/1.506, allocations: 3.938 kB / 0.9905 GB, free: 1.484 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001444/1.506, allocations: 318.4 kB / 0.9908 GB, free: 1.168 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.817e-05/1.506, allocations: 7.938 kB / 0.9908 GB, free: 1.16 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.424e-05/1.506, allocations: 0 / 0.9908 GB, free: 1.16 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001607/1.506, allocations: 16.05 kB / 0.9908 GB, free: 1.145 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.482e-06/1.506, allocations: 3.984 kB / 0.9908 GB, free: 1.141 MB / 0.7292 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002058/1.507, allocations: 49.62 kB / 0.9909 GB, free: 1.086 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 2.352e-05/1.507, allocations: 4 kB / 0.9909 GB, free: 1.082 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.357e-05/1.507, allocations: 0 / 0.9909 GB, free: 1.082 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.47e-05/1.507, allocations: 0 / 0.9909 GB, free: 1.082 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.164e-05/1.507, allocations: 4 kB / 0.9909 GB, free: 1.078 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.7e-06/1.507, allocations: 0 / 0.9909 GB, free: 1.078 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.397e-05/1.507, allocations: 3.438 kB / 0.9909 GB, free: 1.078 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.754e-06/1.507, allocations: 4.031 kB / 0.9909 GB, free: 1.074 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 () * 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 9.322e-05/1.507, allocations: 108.9 kB / 0.991 GB, free: 0.9609 MB / 0.7292 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001887/1.507, allocations: 45.67 kB / 0.991 GB, free: 0.9102 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.211e-05/1.507, allocations: 4 kB / 0.991 GB, free: 0.9062 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002631/1.508, allocations: 60.94 kB / 0.9911 GB, free: 0.8477 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.538e-06/1.508, allocations: 0 / 0.9911 GB, free: 0.8477 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.684e-06/1.508, allocations: 3.984 kB / 0.9911 GB, free: 0.8438 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.895e-06/1.508, allocations: 4.062 kB / 0.9911 GB, free: 0.8398 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001384/1.508, allocations: 142 kB / 0.9912 GB, free: 0.668 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.456e-06/1.508, allocations: 4 kB / 0.9912 GB, free: 0.6641 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.182e-05/1.508, allocations: 0 / 0.9912 GB, free: 0.6641 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.227e-06/1.508, allocations: 4 kB / 0.9912 GB, free: 0.6602 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.556e-06/1.508, allocations: 0 / 0.9912 GB, free: 0.6602 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.645e-06/1.508, allocations: 0 / 0.9912 GB, free: 0.6602 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.109e-06/1.508, allocations: 3.984 kB / 0.9912 GB, free: 0.6562 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002227/1.508, allocations: 77.06 kB / 0.9913 GB, free: 0.5625 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 6.532e-05/1.508, allocations: 80.73 kB / 0.9914 GB, free: 480 kB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.666e-05/1.508, allocations: 0 / 0.9914 GB, free: 480 kB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.32e-05/1.508, allocations: 256 / 0.9914 GB, free: 480 kB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.216e-05/1.508, allocations: 7.938 kB / 0.9914 GB, free: 472 kB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.468e-06/1.508, allocations: 7.984 kB / 0.9914 GB, free: 464 kB / 0.7292 GB Notification: Performance of sorting global known variables: time 5.445e-05/1.508, allocations: 79.28 kB / 0.9915 GB, free: 384 kB / 0.7292 GB Notification: Performance of sort global known variables: time 3.9e-07/1.508, allocations: 0 / 0.9915 GB, free: 384 kB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0003383/1.509, allocations: 23.94 kB / 0.9915 GB, free: 360 kB / 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 () * 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.0008931/1.51, allocations: 0.6776 MB / 0.9922 GB, free: 15.65 MB / 0.7449 GB Notification: Performance of simCode: created initialization part: time 0.0001066/1.51, allocations: 11.94 kB / 0.9922 GB, free: 15.64 MB / 0.7449 GB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/1.51, allocations: 0 / 0.9922 GB, free: 15.64 MB / 0.7449 GB Notification: Performance of simCode: created simulation system equations: time 2.363e-05/1.51, allocations: 11.88 kB / 0.9922 GB, free: 15.63 MB / 0.7449 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001991/1.51, allocations: 0 / 0.9922 GB, free: 15.63 MB / 0.7449 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004757/1.511, allocations: 99.28 kB / 0.9923 GB, free: 15.5 MB / 0.7449 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003359/1.511, allocations: 0.6768 MB / 0.9929 GB, free: 14.79 MB / 0.7449 GB Notification: Performance of simCode: alias equations: time 5.334e-05/1.511, allocations: 4 kB / 0.9929 GB, free: 14.79 MB / 0.7449 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.521e-05/1.511, allocations: 14.92 kB / 0.993 GB, free: 14.78 MB / 0.7449 GB Notification: Performance of SimCode: time 1.132e-06/1.511, allocations: 0 / 0.993 GB, free: 14.78 MB / 0.7449 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03924/1.55, allocations: 1.374 MB / 0.9943 GB, free: 13.41 MB / 0.7449 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003748/1.551, allocations: 186.2 kB / 0.9945 GB, free: 13.21 MB / 0.7449 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.417/3.968, allocations: 0 / 0.9945 GB, free: 13.21 MB / 0.7449 GB