Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances") translateModel(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.694/1.694, allocations: 285.5 MB / 292.8 MB, free: 10.45 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00155/0.00155, allocations: 179.3 kB / 361.1 MB, free: 7.094 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.767/1.767, allocations: 205.1 MB / 0.6195 GB, free: 10.3 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008974/0.0008974, allocations: 97.27 kB / 0.7326 GB, free: 44.21 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 8.997e-06/9.017e-06, allocations: 4 kB / 0.8511 GB, free: 2.922 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7892/0.7892, allocations: 115.3 MB / 0.9637 GB, free: 78.3 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2003/0.9895, allocations: 140.3 MB / 1.101 GB, free: 15.68 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002457/0.9898, allocations: 84.73 kB / 1.101 GB, free: 15.6 MB / 0.7136 GB Notification: Performance of FrontEnd: time 0.0133/1.003, allocations: 3.073 MB / 1.104 GB, free: 12.57 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.217e-05/1.003, allocations: 4 kB / 1.104 GB, free: 12.57 MB / 0.7136 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.0003484/1.004, allocations: 360.3 kB / 1.104 GB, free: 12.18 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.04e-05/1.004, allocations: 12.53 kB / 1.104 GB, free: 12.16 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.442e-05/1.004, allocations: 80.41 kB / 1.104 GB, free: 12.09 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000294/1.004, allocations: 270.2 kB / 1.104 GB, free: 11.78 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.483e-05/1.004, allocations: 150.6 kB / 1.105 GB, free: 11.63 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.944e-05/1.004, allocations: 158.5 kB / 1.105 GB, free: 11.48 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.34e-05/1.004, allocations: 157 kB / 1.105 GB, free: 11.32 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.499e-05/1.004, allocations: 101 kB / 1.105 GB, free: 11.22 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.123e-05/1.004, allocations: 75.28 kB / 1.105 GB, free: 11.14 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.867e-05/1.004, allocations: 150.6 kB / 1.105 GB, free: 11 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.042e-05/1.004, allocations: 154.5 kB / 1.105 GB, free: 10.84 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002999/1.005, allocations: 450.4 kB / 1.106 GB, free: 10.37 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 7.822e-05/1.005, allocations: 165.1 kB / 1.106 GB, free: 10.2 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.301e-05/1.005, allocations: 80.14 kB / 1.106 GB, free: 10.11 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 3.072e-05/1.005, allocations: 75.28 kB / 1.106 GB, free: 10.04 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.478e-05/1.005, allocations: 121.6 kB / 1.106 GB, free: 9.914 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=0): time 2.103e-06/1.005, allocations: 0 / 1.106 GB, free: 9.914 MB / 0.7136 GB Notification: Performance of matching and sorting (n=0): time 9.382e-05/1.005, allocations: 37.75 kB / 1.106 GB, free: 9.871 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.565e-05/1.005, allocations: 51.41 kB / 1.106 GB, free: 9.809 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001316/1.005, allocations: 122.7 kB / 1.106 GB, free: 9.68 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.842e-05/1.005, allocations: 25.7 kB / 1.106 GB, free: 9.648 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.297e-05/1.005, allocations: 84.14 kB / 1.106 GB, free: 9.562 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.984e-06/1.005, allocations: 0 / 1.106 GB, free: 9.562 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.256e-06/1.005, allocations: 8 kB / 1.107 GB, free: 9.555 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001267/1.006, allocations: 318.7 kB / 1.107 GB, free: 9.234 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.78e-05/1.006, allocations: 8 kB / 1.107 GB, free: 9.227 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.065e-05/1.006, allocations: 0 / 1.107 GB, free: 9.227 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001656/1.006, allocations: 23.97 kB / 1.107 GB, free: 9.203 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/1.006, allocations: 0 / 1.107 GB, free: 9.203 MB / 0.7136 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002169/1.006, allocations: 69.58 kB / 1.107 GB, free: 9.129 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.39e-05/1.006, allocations: 4 kB / 1.107 GB, free: 9.125 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.974e-05/1.006, allocations: 0 / 1.107 GB, free: 9.125 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.758e-05/1.006, allocations: 7.984 kB / 1.107 GB, free: 9.117 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.636e-06/1.006, allocations: 9.5 kB / 1.107 GB, free: 9.109 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.769e-06/1.006, allocations: 0 / 1.107 GB, free: 9.109 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.016e-05/1.006, allocations: 0 / 1.107 GB, free: 9.109 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.155e-06/1.006, allocations: 0 / 1.107 GB, free: 9.109 MB / 0.7136 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.0001739/1.006, allocations: 184.2 kB / 1.107 GB, free: 8.922 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.413e-05/1.006, allocations: 104.9 kB / 1.107 GB, free: 8.812 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.194e-05/1.006, allocations: 112.6 kB / 1.107 GB, free: 8.695 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.178e-05/1.007, allocations: 188.2 kB / 1.107 GB, free: 8.504 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.279e-05/1.007, allocations: 176.3 kB / 1.108 GB, free: 8.324 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.018e-05/1.007, allocations: 177 kB / 1.108 GB, free: 8.145 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002365/1.007, allocations: 393.7 kB / 1.108 GB, free: 7.715 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.016e-05/1.007, allocations: 101 kB / 1.108 GB, free: 7.609 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.324e-05/1.007, allocations: 109 kB / 1.108 GB, free: 7.496 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.975e-05/1.007, allocations: 192.2 kB / 1.109 GB, free: 7.301 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.155e-05/1.007, allocations: 178.3 kB / 1.109 GB, free: 7.121 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.215e-05/1.007, allocations: 176.3 kB / 1.109 GB, free: 6.941 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.482e-05/1.007, allocations: 184.1 kB / 1.109 GB, free: 6.754 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001463/1.007, allocations: 313 kB / 1.109 GB, free: 6.426 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 8.497e-05/1.008, allocations: 189.9 kB / 1.11 GB, free: 6.215 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.828e-05/1.008, allocations: 180.3 kB / 1.11 GB, free: 6.031 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.059e-05/1.008, allocations: 105 kB / 1.11 GB, free: 5.922 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.141e-05/1.008, allocations: 180.2 kB / 1.11 GB, free: 5.738 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.422e-05/1.008, allocations: 109.9 kB / 1.11 GB, free: 5.625 MB / 0.7136 GB Notification: Performance of sort global known variables: time 6.39e-05/1.008, allocations: 102.1 kB / 1.11 GB, free: 5.527 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003285/1.008, allocations: 39.94 kB / 1.11 GB, free: 5.488 MB / 0.7136 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.0003975/1.009, allocations: 238.2 kB / 1.11 GB, free: 5.246 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001025/1.009, allocations: 42.03 kB / 1.111 GB, free: 5.199 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/1.009, allocations: 0 / 1.111 GB, free: 5.199 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 3.597e-06/1.009, allocations: 3.938 kB / 1.111 GB, free: 5.195 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004522/1.009, allocations: 0.5269 MB / 1.111 GB, free: 4.664 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000268/1.01, allocations: 148 kB / 1.111 GB, free: 4.496 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002929/1.01, allocations: 0.6919 MB / 1.112 GB, free: 3.777 MB / 0.7136 GB Notification: Performance of SimCode: time 3.5e-07/1.01, allocations: 0 / 1.112 GB, free: 3.777 MB / 0.7136 GB Notification: Performance of Templates: time 0.004128/1.014, allocations: 1.441 MB / 1.113 GB, free: 2.375 MB / 0.7136 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe 2>&1)