Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.126/2.126, allocations: 253.1 MB / 260.4 MB, free: 8.59 MB / 206.1 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001736/0.001736, allocations: 190.4 kB / 319.6 MB, free: 8.016 MB / 254.1 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.936/1.936, allocations: 205.4 MB / 0.5704 GB, free: 4.273 MB / 414.1 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00142/0.00142, allocations: 98.12 kB / 0.6746 GB, free: 9.648 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 9.027e-06/9.217e-06, allocations: 0 / 0.7843 GB, free: 106.8 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2066/0.2067, allocations: 106.3 MB / 0.8881 GB, free: 472 kB / 0.545 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.966/1.173, allocations: 361.7 MB / 1.241 GB, free: 15.35 MB / 0.8575 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003095/1.173, allocations: 90.19 kB / 1.241 GB, free: 15.3 MB / 0.8575 GB Notification: Performance of FrontEnd: time 0.0652/1.238, allocations: 15.7 MB / 1.257 GB, free: 2.953 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 9.208e-06/1.238, allocations: 0 / 1.257 GB, free: 2.953 MB / 0.8575 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.0005229/1.239, allocations: 381.8 kB / 1.257 GB, free: 2.539 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.19e-05/1.239, allocations: 8.031 kB / 1.257 GB, free: 2.531 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.644e-05/1.239, allocations: 4 kB / 1.257 GB, free: 2.527 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002405/1.239, allocations: 163 kB / 1.257 GB, free: 2.328 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.585e-05/1.239, allocations: 0 / 1.257 GB, free: 2.328 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.035e-05/1.239, allocations: 0 / 1.257 GB, free: 2.328 MB / 0.8575 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.305e-05/1.239, allocations: 4 kB / 1.257 GB, free: 2.324 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.15e-05/1.24, allocations: 37.62 kB / 1.257 GB, free: 2.281 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.012e-05/1.24, allocations: 0 / 1.257 GB, free: 2.281 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.155e-05/1.24, allocations: 4 kB / 1.257 GB, free: 2.277 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.272e-06/1.24, allocations: 0 / 1.257 GB, free: 2.277 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000192/1.24, allocations: 142 kB / 1.257 GB, free: 2.105 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 6.194e-05/1.24, allocations: 22.61 kB / 1.257 GB, free: 2.074 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.008e-05/1.24, allocations: 12.64 kB / 1.257 GB, free: 2.062 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003378/1.24, allocations: 93.16 kB / 1.258 GB, free: 1.953 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.41e-05/1.24, allocations: 38.56 kB / 1.258 GB, free: 1.906 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 1.643e-06/1.24, allocations: 3.938 kB / 1.258 GB, free: 1.902 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0003087/1.241, allocations: 45.67 kB / 1.258 GB, free: 1.852 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.404e-05/1.241, allocations: 55.34 kB / 1.258 GB, free: 1.785 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.821e-05/1.241, allocations: 92.44 kB / 1.258 GB, free: 1.691 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.791e-05/1.241, allocations: 29.69 kB / 1.258 GB, free: 1.656 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.573e-05/1.241, allocations: 84.14 kB / 1.258 GB, free: 1.57 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.548e-05/1.241, allocations: 11.44 kB / 1.258 GB, free: 1.562 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.757e-06/1.241, allocations: 0 / 1.258 GB, free: 1.562 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001151/1.241, allocations: 310.8 kB / 1.258 GB, free: 1.25 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.78e-05/1.241, allocations: 4 kB / 1.258 GB, free: 1.246 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.27e-05/1.241, allocations: 0 / 1.258 GB, free: 1.246 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001286/1.241, allocations: 15.97 kB / 1.258 GB, free: 1.23 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/1.241, allocations: 0 / 1.258 GB, free: 1.23 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001948/1.241, allocations: 57.45 kB / 1.258 GB, free: 1.172 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.426e-05/1.241, allocations: 8.094 kB / 1.258 GB, free: 1.164 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.021e-06/1.241, allocations: 0 / 1.258 GB, free: 1.164 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.406e-05/1.242, allocations: 3.938 kB / 1.258 GB, free: 1.16 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.275e-05/1.242, allocations: 4 kB / 1.258 GB, free: 1.156 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.009e-06/1.242, allocations: 0 / 1.258 GB, free: 1.156 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.834e-05/1.242, allocations: 0 / 1.258 GB, free: 1.156 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.291e-06/1.242, allocations: 3.938 kB / 1.258 GB, free: 1.152 MB / 0.8575 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.265e-05/1.242, allocations: 108.9 kB / 1.258 GB, free: 1.039 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.067e-05/1.242, allocations: 256 / 1.258 GB, free: 1.039 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000262/1.242, allocations: 67.98 kB / 1.258 GB, free: 0.9727 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.647e-06/1.242, allocations: 0 / 1.258 GB, free: 0.9727 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.885e-06/1.242, allocations: 4 kB / 1.258 GB, free: 0.9688 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.049e-06/1.242, allocations: 0 / 1.258 GB, free: 0.9688 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001115/1.242, allocations: 134.1 kB / 1.259 GB, free: 0.8008 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.664e-06/1.242, allocations: 0 / 1.259 GB, free: 0.8008 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.108e-05/1.242, allocations: 7.75 kB / 1.259 GB, free: 0.7969 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.885e-06/1.242, allocations: 0 / 1.259 GB, free: 0.7969 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.554e-06/1.242, allocations: 0 / 1.259 GB, free: 0.7969 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.757e-06/1.242, allocations: 8.031 kB / 1.259 GB, free: 0.7891 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/1.242, allocations: 0 / 1.259 GB, free: 0.7891 MB / 0.8575 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002091/1.243, allocations: 72.95 kB / 1.259 GB, free: 0.6992 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 9.022e-05/1.243, allocations: 87.98 kB / 1.259 GB, free: 0.5977 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.981e-05/1.243, allocations: 3.984 kB / 1.259 GB, free: 0.5938 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.468e-05/1.243, allocations: 0 / 1.259 GB, free: 0.5938 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.764e-05/1.243, allocations: 3.906 kB / 1.259 GB, free: 0.5898 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.958e-06/1.243, allocations: 32 / 1.259 GB, free: 0.5898 MB / 0.8575 GB Notification: Performance of sort global known variables: time 3.934e-05/1.243, allocations: 83.28 kB / 1.259 GB, free: 0.5078 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003176/1.243, allocations: 30.88 kB / 1.259 GB, free: 492 kB / 0.8575 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.0003416/1.244, allocations: 161 kB / 1.259 GB, free: 324 kB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 8.853e-05/1.244, allocations: 10.88 kB / 1.259 GB, free: 316 kB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 3.015e-06/1.244, allocations: 0 / 1.259 GB, free: 316 kB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 2.293e-05/1.244, allocations: 11.92 kB / 1.259 GB, free: 304 kB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001648/1.244, allocations: 3.938 kB / 1.259 GB, free: 300 kB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002235/1.244, allocations: 70.72 kB / 1.259 GB, free: 212 kB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.4121/1.656, allocations: 0.6879 MB / 1.26 GB, free: 241.3 MB / 0.8575 GB Notification: Performance of SimCode: time 1.503e-06/1.656, allocations: 3.5 kB / 1.26 GB, free: 241.3 MB / 0.8575 GB Notification: Performance of Templates: time 0.004126/1.66, allocations: 0.9691 MB / 1.261 GB, free: 241.3 MB / 0.8575 GB