Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.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.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters") [: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.43/2.43, allocations: 253.1 MB / 260.4 MB, free: 7.676 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.002397/0.002396, allocations: 177.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.882/1.882, allocations: 205.4 MB / 0.5704 GB, free: 15.04 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.001316/0.001316, allocations: 94.5 kB / 0.6746 GB, free: 4.395 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.205e-05/1.222e-05, allocations: 4 kB / 0.7843 GB, free: 102.5 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2029/0.2029, allocations: 106.2 MB / 0.8881 GB, free: 12.14 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6945/0.8974, allocations: 146.6 MB / 1.031 GB, free: 7.824 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005475/0.898, allocations: 107.8 kB / 1.031 GB, free: 7.758 MB / 0.6511 GB Notification: Performance of FrontEnd: time 0.1595/1.058, allocations: 21.55 MB / 1.052 GB, free: 5.258 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 4.987e-05/1.058, allocations: 16 kB / 1.052 GB, free: 5.242 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.003178/1.061, allocations: 1.005 MB / 1.053 GB, free: 4.242 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 6.251e-05/1.061, allocations: 8.031 kB / 1.053 GB, free: 4.234 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001381/1.062, allocations: 94.73 kB / 1.053 GB, free: 4.141 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001168/1.064, allocations: 438.5 kB / 1.054 GB, free: 3.664 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.367e-05/1.064, allocations: 0 / 1.054 GB, free: 3.664 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001302/1.064, allocations: 27.12 kB / 1.054 GB, free: 3.641 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005943/1.064, allocations: 418.9 kB / 1.054 GB, free: 3.234 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005975/1.065, allocations: 386.5 kB / 1.055 GB, free: 2.852 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.065e-05/1.065, allocations: 0 / 1.055 GB, free: 2.852 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.833e-05/1.065, allocations: 0 / 1.055 GB, free: 2.852 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.753e-06/1.065, allocations: 0 / 1.055 GB, free: 2.852 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001221/1.066, allocations: 0.7016 MB / 1.055 GB, free: 2.223 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007887/1.067, allocations: 0.558 MB / 1.056 GB, free: 1.652 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000426/1.067, allocations: 335.3 kB / 1.056 GB, free: 1.324 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00152/1.069, allocations: 1.036 MB / 1.057 GB, free: 68 kB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006517/1.07, allocations: 397.7 kB / 1.058 GB, free: 15.67 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=8): time 3.126e-06/1.07, allocations: 0 / 1.058 GB, free: 15.67 MB / 0.6823 GB Notification: Performance of matching and sorting (n=8): time 0.001282/1.071, allocations: 0.7515 MB / 1.058 GB, free: 14.92 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.041e-05/1.071, allocations: 81.11 kB / 1.058 GB, free: 14.82 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001689/1.073, allocations: 1.023 MB / 1.059 GB, free: 14 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001431/1.073, allocations: 29.7 kB / 1.059 GB, free: 13.96 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002701/1.073, allocations: 252.5 kB / 1.06 GB, free: 13.77 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 5.49e-05/1.073, allocations: 23.61 kB / 1.06 GB, free: 13.75 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.147e-05/1.073, allocations: 0 / 1.06 GB, free: 13.75 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0002257/1.074, allocations: 418.8 kB / 1.06 GB, free: 13.38 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002015/1.076, allocations: 1.219 MB / 1.061 GB, free: 12.58 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003489/1.079, allocations: 1.356 MB / 1.063 GB, free: 11.68 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004776/1.084, allocations: 1.604 MB / 1.064 GB, free: 10.48 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.241e-05/1.084, allocations: 0 / 1.064 GB, free: 10.48 MB / 0.6823 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.01468/1.099, allocations: 7.128 MB / 1.071 GB, free: 4.172 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 3.444e-05/1.099, allocations: 4 kB / 1.071 GB, free: 4.168 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.205e-05/1.099, allocations: 4 kB / 1.071 GB, free: 4.164 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.217e-05/1.099, allocations: 0 / 1.071 GB, free: 4.164 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002524/1.102, allocations: 155.3 kB / 1.071 GB, free: 4.02 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.999e-05/1.102, allocations: 4 kB / 1.071 GB, free: 4.016 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001775/1.103, allocations: 228.3 kB / 1.072 GB, free: 3.789 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002507/1.104, allocations: 55.73 kB / 1.072 GB, free: 3.738 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 11 ($whenCondition1,$PRE.k,k,$PRE.t1,t1,$PRE.t2,t2,$PRE.gFun1,gFun1,$PRE.gFun2,gFun2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (91): * Single equations (assignments): 89 * Array equations: 1 * 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.0002772/1.104, allocations: 116.9 kB / 1.072 GB, free: 3.617 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001402/1.104, allocations: 66.34 kB / 1.072 GB, free: 3.555 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001953/1.106, allocations: 0.7209 MB / 1.072 GB, free: 2.832 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.296e-05/1.106, allocations: 0 / 1.072 GB, free: 2.832 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.368e-06/1.106, allocations: 3.938 kB / 1.073 GB, free: 2.828 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.656e-06/1.106, allocations: 0 / 1.073 GB, free: 2.828 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001059/1.107, allocations: 476.6 kB / 1.073 GB, free: 2.41 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.668e-06/1.107, allocations: 3.984 kB / 1.073 GB, free: 2.406 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002224/1.108, allocations: 8 kB / 1.073 GB, free: 2.398 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.566e-06/1.108, allocations: 0 / 1.073 GB, free: 2.398 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.509e-05/1.108, allocations: 7.984 kB / 1.073 GB, free: 2.391 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.995e-06/1.108, allocations: 4 kB / 1.073 GB, free: 2.387 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.069e-06/1.108, allocations: 7.969 kB / 1.073 GB, free: 2.379 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001562/1.109, allocations: 0.7835 MB / 1.074 GB, free: 1.582 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003024/1.11, allocations: 151.9 kB / 1.074 GB, free: 1.414 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001684/1.11, allocations: 0 / 1.074 GB, free: 1.414 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004378/1.11, allocations: 4 kB / 1.074 GB, free: 1.41 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.613e-05/1.11, allocations: 15.3 kB / 1.074 GB, free: 1.398 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.816e-05/1.111, allocations: 11.98 kB / 1.074 GB, free: 1.387 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.001702/1.112, allocations: 0.6142 MB / 1.075 GB, free: 0.8828 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.003044/1.115, allocations: 477.9 kB / 1.075 GB, free: 440 kB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,k,t1,t2,gFun1,gFun2) * Number of discrete states: 2 (k,t2) * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.004462/1.12, allocations: 0.5961 MB / 1.076 GB, free: 15.83 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.004426/1.124, allocations: 2.35 MB / 1.078 GB, free: 14.26 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 6.542e-06/1.124, allocations: 0 / 1.078 GB, free: 14.26 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.000481/1.125, allocations: 342.7 kB / 1.078 GB, free: 13.93 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003392/1.125, allocations: 33.28 kB / 1.078 GB, free: 13.91 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003234/1.128, allocations: 1.47 MB / 1.08 GB, free: 12.44 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001063/1.13, allocations: 1.026 MB / 1.081 GB, free: 11.39 MB / 0.698 GB Notification: Performance of SimCode: time 1.783e-06/1.13, allocations: 0 / 1.081 GB, free: 11.39 MB / 0.698 GB Notification: Performance of Templates: time 0.02906/1.159, allocations: 9.506 MB / 1.09 GB, free: 1.949 MB / 0.698 GB