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.SingleUTubeResistances.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.SingleUTubeResistances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances") [: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.096/2.096, allocations: 253.1 MB / 260.4 MB, free: 7.516 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001689/0.001688, allocations: 177.3 kB / 319.6 MB, free: 3.32 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.853/1.853, allocations: 205.4 MB / 0.5704 GB, free: 15.16 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001241/0.00124, allocations: 90.66 kB / 0.6746 GB, free: 4.508 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 9.327e-06/9.418e-06, allocations: 4 kB / 0.7843 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1893/0.1893, allocations: 106.2 MB / 0.8881 GB, free: 12.22 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6543/0.8436, allocations: 134.8 MB / 1.02 GB, free: 3.684 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000357/0.8441, allocations: 88.09 kB / 1.02 GB, free: 3.633 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.02355/0.8676, allocations: 3.079 MB / 1.023 GB, free: 0.9492 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.955e-06/0.8677, allocations: 0 / 1.023 GB, free: 0.9492 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0003976/0.8681, allocations: 353.4 kB / 1.023 GB, free: 0.5625 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.753e-05/0.8682, allocations: 11.86 kB / 1.023 GB, free: 0.5547 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.87e-05/0.8682, allocations: 83.19 kB / 1.023 GB, free: 484 kB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003178/0.8686, allocations: 272.7 kB / 1.023 GB, free: 176 kB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.437e-05/0.8687, allocations: 150.6 kB / 1.024 GB, free: 24 kB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.639e-05/0.8688, allocations: 150.6 kB / 1.024 GB, free: 15.88 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.44e-05/0.8688, allocations: 158.5 kB / 1.024 GB, free: 15.72 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.157e-05/0.8689, allocations: 107.3 kB / 1.024 GB, free: 15.61 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.145e-05/0.869, allocations: 79.28 kB / 1.024 GB, free: 15.53 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.935e-05/0.8691, allocations: 150.6 kB / 1.024 GB, free: 15.38 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.246e-05/0.8691, allocations: 154.3 kB / 1.024 GB, free: 15.23 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003417/0.8695, allocations: 438.2 kB / 1.025 GB, free: 14.77 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 9.765e-05/0.8696, allocations: 172.8 kB / 1.025 GB, free: 14.6 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.285e-05/0.8697, allocations: 84.08 kB / 1.025 GB, free: 14.51 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 3.517e-05/0.8697, allocations: 76.31 kB / 1.025 GB, free: 14.44 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.305e-05/0.8698, allocations: 109.8 kB / 1.025 GB, free: 14.32 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=0): time 1.813e-06/0.8698, allocations: 0 / 1.025 GB, free: 14.32 MB / 0.6511 GB Notification: Performance of matching and sorting (n=0): time 9.642e-05/0.8699, allocations: 29.61 kB / 1.025 GB, free: 14.29 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.406e-05/0.87, allocations: 55.41 kB / 1.025 GB, free: 14.22 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001498/0.8701, allocations: 122.8 kB / 1.025 GB, free: 14.1 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 1.688e-05/0.8702, allocations: 25.7 kB / 1.025 GB, free: 14.07 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 4.644e-05/0.8702, allocations: 87.38 kB / 1.026 GB, free: 13.98 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 1.994e-06/0.8702, allocations: 0 / 1.026 GB, free: 13.98 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.256e-06/0.8702, allocations: 0 / 1.026 GB, free: 13.98 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001712/0.8704, allocations: 322 kB / 1.026 GB, free: 13.66 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.576e-05/0.8705, allocations: 3.938 kB / 1.026 GB, free: 13.66 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.274e-05/0.8705, allocations: 11.92 kB / 1.026 GB, free: 13.64 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002335/0.8707, allocations: 31.31 kB / 1.026 GB, free: 13.62 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.8707, allocations: 0 / 1.026 GB, free: 13.62 MB / 0.6511 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002935/0.871, allocations: 68.83 kB / 1.026 GB, free: 13.55 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.764e-05/0.8711, allocations: 4 kB / 1.026 GB, free: 13.54 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.372e-05/0.8711, allocations: 0 / 1.026 GB, free: 13.54 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.432e-05/0.8711, allocations: 0 / 1.026 GB, free: 13.54 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.593e-06/0.8712, allocations: 4 kB / 1.026 GB, free: 13.54 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.688e-06/0.8712, allocations: 0 / 1.026 GB, free: 13.54 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.154e-05/0.8712, allocations: 3.906 kB / 1.026 GB, free: 13.54 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.287e-06/0.8712, allocations: 2.625 kB / 1.026 GB, free: 13.54 MB / 0.6511 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 (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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 0.0001093/0.8714, allocations: 184.3 kB / 1.026 GB, free: 13.35 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.393e-05/0.8714, allocations: 112.8 kB / 1.026 GB, free: 13.23 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.827e-05/0.8715, allocations: 108.6 kB / 1.026 GB, free: 13.12 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.397e-05/0.8716, allocations: 179.5 kB / 1.027 GB, free: 12.94 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.631e-05/0.8717, allocations: 180.2 kB / 1.027 GB, free: 12.75 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.176e-05/0.8718, allocations: 184.9 kB / 1.027 GB, free: 12.57 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002693/0.8721, allocations: 396.4 kB / 1.027 GB, free: 12.14 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.644e-05/0.8721, allocations: 105 kB / 1.027 GB, free: 12.03 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.176e-05/0.8722, allocations: 104.9 kB / 1.027 GB, free: 11.92 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.21e-05/0.8723, allocations: 184.3 kB / 1.028 GB, free: 11.73 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.904e-05/0.8723, allocations: 180.2 kB / 1.028 GB, free: 11.55 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.953e-05/0.8724, allocations: 184.2 kB / 1.028 GB, free: 11.36 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.332e-05/0.8725, allocations: 176.3 kB / 1.028 GB, free: 11.18 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001676/0.8727, allocations: 315 kB / 1.028 GB, free: 10.86 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 9.438e-05/0.8728, allocations: 182 kB / 1.029 GB, free: 10.65 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000157/0.873, allocations: 184.2 kB / 1.029 GB, free: 10.46 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001127/0.8731, allocations: 105.6 kB / 1.029 GB, free: 10.36 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.027e-05/0.8732, allocations: 176.3 kB / 1.029 GB, free: 10.18 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.48e-05/0.8732, allocations: 108.8 kB / 1.029 GB, free: 10.07 MB / 0.6511 GB Notification: Performance of sort global known variables: time 9.475e-05/0.8733, allocations: 96.34 kB / 1.029 GB, free: 9.977 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0004824/0.8738, allocations: 47.05 kB / 1.029 GB, free: 9.934 MB / 0.6511 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 (0): * Single equations (assignments): 0 * 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.0005066/0.8743, allocations: 238.5 kB / 1.03 GB, free: 9.691 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001152/0.8745, allocations: 33.59 kB / 1.03 GB, free: 9.656 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.8745, allocations: 3.938 kB / 1.03 GB, free: 9.652 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 2.645e-06/0.8745, allocations: 0 / 1.03 GB, free: 9.652 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004644/0.875, allocations: 0.5288 MB / 1.03 GB, free: 9.121 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002861/0.8753, allocations: 151 kB / 1.03 GB, free: 8.953 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003245/0.8756, allocations: 0.6958 MB / 1.031 GB, free: 8.23 MB / 0.6511 GB Notification: Performance of SimCode: time 6.91e-07/0.8756, allocations: 3.938 kB / 1.031 GB, free: 8.227 MB / 0.6511 GB Notification: Performance of Templates: time 0.005746/0.8814, allocations: 1.436 MB / 1.032 GB, free: 6.832 MB / 0.6511 GB