Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.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.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube") [: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 1.986/1.986, allocations: 253.1 MB / 260.4 MB, free: 7.469 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.001679/0.001679, allocations: 185.2 kB / 319.6 MB, free: 3.305 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.834/1.834, allocations: 205.4 MB / 0.5704 GB, free: 15.12 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.001336/0.001336, allocations: 94.64 kB / 0.6746 GB, free: 4.48 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.018e-05/1.058e-05, allocations: 4 kB / 0.7843 GB, free: 102.5 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2011/0.2011, allocations: 106.2 MB / 0.8881 GB, free: 12.16 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.659/0.8601, allocations: 140.3 MB / 1.025 GB, free: 13.97 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00039/0.8606, allocations: 108.4 kB / 1.025 GB, free: 13.9 MB / 0.6511 GB Notification: Performance of FrontEnd: time 0.07905/0.9397, allocations: 17.45 MB / 1.042 GB, free: 15.61 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 1.858e-05/0.9397, allocations: 8 kB / 1.042 GB, free: 15.61 MB / 0.6667 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.001081/0.9408, allocations: 0.5853 MB / 1.043 GB, free: 15 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.537e-05/0.9409, allocations: 8.031 kB / 1.043 GB, free: 14.99 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001138/0.941, allocations: 47.44 kB / 1.043 GB, free: 14.95 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007024/0.9417, allocations: 359 kB / 1.043 GB, free: 14.61 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.89e-05/0.9418, allocations: 4 kB / 1.043 GB, free: 14.6 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.749e-05/0.9418, allocations: 16 kB / 1.043 GB, free: 14.59 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004188/0.9423, allocations: 124.8 kB / 1.043 GB, free: 14.51 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004359/0.9427, allocations: 155.6 kB / 1.044 GB, free: 14.39 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.765e-05/0.9427, allocations: 0 / 1.044 GB, free: 14.39 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.726e-05/0.9428, allocations: 0 / 1.044 GB, free: 14.39 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.136e-05/0.9428, allocations: 4 kB / 1.044 GB, free: 14.39 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001785/0.9446, allocations: 0.8244 MB / 1.044 GB, free: 13.67 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002775/0.9449, allocations: 114.7 kB / 1.044 GB, free: 13.59 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002343/0.9451, allocations: 91.73 kB / 1.045 GB, free: 13.53 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 1.894e-05/0.9452, allocations: 0 / 1.045 GB, free: 13.53 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.484e-05/0.9452, allocations: 42.36 kB / 1.045 GB, free: 13.48 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=18): time 2.415e-06/0.9452, allocations: 4 kB / 1.045 GB, free: 13.48 MB / 0.6667 GB Notification: Performance of matching and sorting (n=18): time 0.0005082/0.9457, allocations: 151.2 kB / 1.045 GB, free: 13.36 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.104e-05/0.9458, allocations: 59.41 kB / 1.045 GB, free: 13.29 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006174/0.9464, allocations: 331.7 kB / 1.045 GB, free: 13.03 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 2.396e-05/0.9465, allocations: 25.7 kB / 1.045 GB, free: 13 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001094/0.9466, allocations: 152.9 kB / 1.045 GB, free: 12.86 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 8.262e-05/0.9467, allocations: 64.95 kB / 1.045 GB, free: 12.8 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.175e-05/0.9467, allocations: 0 / 1.045 GB, free: 12.8 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001551/0.9469, allocations: 344.2 kB / 1.046 GB, free: 12.47 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001284/0.947, allocations: 40.75 kB / 1.046 GB, free: 12.45 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001229/0.9472, allocations: 46.06 kB / 1.046 GB, free: 12.42 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001484/0.9473, allocations: 46.88 kB / 1.046 GB, free: 12.4 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.9473, allocations: 0 / 1.046 GB, free: 12.4 MB / 0.6667 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004045/0.9477, allocations: 172.2 kB / 1.046 GB, free: 12.26 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.677e-05/0.9478, allocations: 4 kB / 1.046 GB, free: 12.25 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.682e-06/0.9478, allocations: 0 / 1.046 GB, free: 12.25 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.043e-05/0.9478, allocations: 0 / 1.046 GB, free: 12.25 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005718/0.9484, allocations: 63.09 kB / 1.046 GB, free: 12.2 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.422e-06/0.9484, allocations: 4 kB / 1.046 GB, free: 12.19 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003201/0.9487, allocations: 23.83 kB / 1.046 GB, free: 12.17 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.518e-05/0.9488, allocations: 0 / 1.046 GB, free: 12.17 MB / 0.6667 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 (20): * Single equations (assignments): 20 * 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.802e-05/0.9489, allocations: 105 kB / 1.046 GB, free: 12.06 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.797e-05/0.949, allocations: 39.52 kB / 1.046 GB, free: 12.02 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001406/0.9491, allocations: 35.75 kB / 1.046 GB, free: 11.99 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.414e-06/0.9492, allocations: 4 kB / 1.046 GB, free: 11.99 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.512e-06/0.9492, allocations: 0 / 1.046 GB, free: 11.99 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.461e-06/0.9492, allocations: 0 / 1.046 GB, free: 11.99 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005848/0.9498, allocations: 336 kB / 1.047 GB, free: 11.69 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.966e-06/0.9498, allocations: 0 / 1.047 GB, free: 11.69 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005296/0.9503, allocations: 55.91 kB / 1.047 GB, free: 11.64 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.27e-06/0.9504, allocations: 4 kB / 1.047 GB, free: 11.63 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.125e-05/0.9504, allocations: 4 kB / 1.047 GB, free: 11.63 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.823e-06/0.9504, allocations: 3.984 kB / 1.047 GB, free: 11.62 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/0.9504, allocations: 0 / 1.047 GB, free: 11.62 MB / 0.6667 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000639/0.9511, allocations: 322 kB / 1.047 GB, free: 11.36 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001565/0.9512, allocations: 123.4 kB / 1.047 GB, free: 11.23 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.309e-05/0.9513, allocations: 0 / 1.047 GB, free: 11.23 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003239/0.9517, allocations: 20.03 kB / 1.047 GB, free: 11.21 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.338e-05/0.9517, allocations: 7.984 kB / 1.047 GB, free: 11.2 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.871e-05/0.9518, allocations: 15.44 kB / 1.047 GB, free: 11.19 MB / 0.6667 GB Notification: Performance of sort global known variables: time 0.00047/0.9522, allocations: 261.5 kB / 1.047 GB, free: 10.99 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0004965/0.9528, allocations: 75.69 kB / 1.047 GB, free: 10.92 MB / 0.6667 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (intRes1UTub.capFil1.T,intRes1UTub.capFil2.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 18 * 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.0004779/0.9532, allocations: 270.2 kB / 1.048 GB, free: 10.66 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.0003741/0.9536, allocations: 109.9 kB / 1.048 GB, free: 10.59 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.9536, allocations: 0 / 1.048 GB, free: 10.59 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0001641/0.9538, allocations: 63.19 kB / 1.048 GB, free: 10.55 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006992/0.9545, allocations: 74.19 kB / 1.048 GB, free: 10.5 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001669/0.9562, allocations: 0.5088 MB / 1.048 GB, free: 10.02 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005941/0.9568, allocations: 0.8321 MB / 1.049 GB, free: 9.164 MB / 0.6667 GB Notification: Performance of SimCode: time 1.002e-06/0.9569, allocations: 0 / 1.049 GB, free: 9.164 MB / 0.6667 GB Notification: Performance of Templates: time 0.01352/0.9704, allocations: 3.612 MB / 1.053 GB, free: 5.637 MB / 0.6667 GB