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_100boreholes.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_100boreholes,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes") [: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.229/2.229, 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.001686/0.001685, allocations: 185 kB / 319.6 MB, free: 3.328 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.924/1.924, allocations: 205.4 MB / 0.5704 GB, free: 15.09 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.001285/0.001285, allocations: 94.44 kB / 0.6746 GB, free: 4.426 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.211e-05/1.221e-05, allocations: 0 / 0.7843 GB, free: 102.5 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1978/0.1978, allocations: 106.3 MB / 0.8881 GB, free: 12.16 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7658/0.9637, allocations: 146.6 MB / 1.031 GB, free: 7.82 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000684/0.9644, allocations: 106.5 kB / 1.031 GB, free: 7.754 MB / 0.6511 GB Notification: Performance of FrontEnd: time 0.1894/1.154, allocations: 24.96 MB / 1.056 GB, free: 2.223 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 6.885e-05/1.154, allocations: 20 kB / 1.056 GB, free: 2.203 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.003959/1.158, allocations: 1.321 MB / 1.057 GB, free: 0.9062 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 5.248e-05/1.158, allocations: 12.03 kB / 1.057 GB, free: 0.8945 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007947/1.159, allocations: 153.9 kB / 1.057 GB, free: 0.7422 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001607/1.16, allocations: 0.6252 MB / 1.058 GB, free: 52 kB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.751e-05/1.161, allocations: 7.906 kB / 1.058 GB, free: 44 kB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001671/1.161, allocations: 23.94 kB / 1.058 GB, free: 20 kB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006913/1.161, allocations: 429.9 kB / 1.058 GB, free: 15.61 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005417/1.162, allocations: 377.6 kB / 1.059 GB, free: 15.23 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.113e-05/1.162, allocations: 0 / 1.059 GB, free: 15.23 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.804e-05/1.162, allocations: 4 kB / 1.059 GB, free: 15.23 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.321e-06/1.162, allocations: 0 / 1.059 GB, free: 15.23 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001743/1.164, allocations: 0.9287 MB / 1.06 GB, free: 14.42 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007471/1.165, allocations: 0.5577 MB / 1.06 GB, free: 13.85 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004218/1.165, allocations: 327.7 kB / 1.06 GB, free: 13.53 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001613/1.167, allocations: 1.04 MB / 1.061 GB, free: 12.27 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005602/1.167, allocations: 390.7 kB / 1.062 GB, free: 11.88 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=8): time 2.985e-06/1.167, allocations: 3.938 kB / 1.062 GB, free: 11.88 MB / 0.6823 GB Notification: Performance of matching and sorting (n=8): time 0.001431/1.169, allocations: 0.8015 MB / 1.063 GB, free: 11.08 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.473e-05/1.169, allocations: 85.14 kB / 1.063 GB, free: 10.98 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002833/1.172, allocations: 1.528 MB / 1.064 GB, free: 9.703 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0002082/1.172, allocations: 29.7 kB / 1.064 GB, free: 9.668 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003985/1.172, allocations: 324.7 kB / 1.064 GB, free: 9.426 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 5.856e-05/1.172, allocations: 23.05 kB / 1.064 GB, free: 9.406 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001046/1.173, allocations: 0 / 1.064 GB, free: 9.406 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0002243/1.173, allocations: 411.5 kB / 1.065 GB, free: 9.039 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00282/1.176, allocations: 1.472 MB / 1.066 GB, free: 7.992 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003054/1.179, allocations: 1.613 MB / 1.068 GB, free: 6.832 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003507/1.182, allocations: 1.865 MB / 1.07 GB, free: 5.371 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.248e-06/1.182, allocations: 0 / 1.07 GB, free: 5.371 MB / 0.6823 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.01156/1.194, allocations: 7.713 MB / 1.077 GB, free: 14.48 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.829e-05/1.194, allocations: 6.656 kB / 1.077 GB, free: 14.47 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001857/1.194, allocations: 27.98 kB / 1.077 GB, free: 14.45 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.946e-05/1.194, allocations: 0 / 1.077 GB, free: 14.45 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001614/1.196, allocations: 145.8 kB / 1.077 GB, free: 14.31 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.482e-05/1.196, allocations: 11.97 kB / 1.077 GB, free: 14.3 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001423/1.197, allocations: 224.3 kB / 1.078 GB, free: 14.07 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002315/1.198, allocations: 94.34 kB / 1.078 GB, free: 14 MB / 0.698 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.0002061/1.198, allocations: 117 kB / 1.078 GB, free: 13.88 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001626/1.198, allocations: 118 kB / 1.078 GB, free: 13.76 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001506/1.2, allocations: 0.7912 MB / 1.079 GB, free: 12.98 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.887e-06/1.2, allocations: 4.031 kB / 1.079 GB, free: 12.98 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.855e-06/1.2, allocations: 7.844 kB / 1.079 GB, free: 12.97 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.102e-05/1.2, allocations: 7.984 kB / 1.079 GB, free: 12.96 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001061/1.201, allocations: 0.6479 MB / 1.079 GB, free: 12.4 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.378e-06/1.201, allocations: 0 / 1.079 GB, free: 12.4 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001617/1.201, allocations: 8 kB / 1.079 GB, free: 12.39 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.805e-06/1.201, allocations: 0 / 1.079 GB, free: 12.39 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.317e-05/1.201, allocations: 3.984 kB / 1.079 GB, free: 12.39 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.995e-06/1.201, allocations: 8.062 kB / 1.079 GB, free: 12.38 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.048e-06/1.201, allocations: 0 / 1.079 GB, free: 12.38 MB / 0.698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00118/1.202, allocations: 0.86 MB / 1.08 GB, free: 11.5 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003369/1.203, allocations: 195.1 kB / 1.08 GB, free: 11.29 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001878/1.203, allocations: 4 kB / 1.08 GB, free: 11.29 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004016/1.203, allocations: 3.984 kB / 1.08 GB, free: 11.28 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.129e-05/1.203, allocations: 7.906 kB / 1.08 GB, free: 11.27 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.739e-05/1.203, allocations: 19.17 kB / 1.08 GB, free: 11.26 MB / 0.698 GB Notification: Performance of sort global known variables: time 0.001995/1.205, allocations: 1.017 MB / 1.081 GB, free: 10.41 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.002484/1.208, allocations: 0.5058 MB / 1.082 GB, free: 9.914 MB / 0.698 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.003264/1.211, allocations: 0.5894 MB / 1.083 GB, free: 9.324 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.003819/1.215, allocations: 2.497 MB / 1.085 GB, free: 7.602 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 6.312e-06/1.215, allocations: 0 / 1.085 GB, free: 7.602 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0004544/1.215, allocations: 337.8 kB / 1.085 GB, free: 7.277 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005307/1.216, allocations: 42.92 kB / 1.085 GB, free: 7.262 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004806/1.221, allocations: 2.13 MB / 1.087 GB, free: 5.129 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001395/1.222, allocations: 1.227 MB / 1.089 GB, free: 3.883 MB / 0.698 GB Notification: Performance of SimCode: time 1.182e-06/1.222, allocations: 4 kB / 1.089 GB, free: 3.879 MB / 0.698 GB Notification: Performance of Templates: time 0.03355/1.256, allocations: 10.07 MB / 1.098 GB, free: 9.863 MB / 0.7136 GB