Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.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.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction") [: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.602/1.602, allocations: 285.5 MB / 292.8 MB, free: 10.37 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.001198/0.001198, allocations: 185.3 kB / 361.1 MB, free: 7.055 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.348/1.348, allocations: 205.1 MB / 0.6195 GB, free: 11.92 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.000871/0.000871, allocations: 98.98 kB / 0.7326 GB, free: 44.44 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 7.905e-06/7.915e-06, allocations: 0 / 0.8511 GB, free: 3.168 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6764/0.6765, allocations: 115.3 MB / 0.9637 GB, free: 77.84 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1865/0.863, allocations: 138.8 MB / 1.099 GB, free: 1.27 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002676/0.8633, allocations: 104.7 kB / 1.099 GB, free: 1.168 MB / 0.698 GB Notification: Performance of FrontEnd: time 0.004662/0.868, allocations: 1.69 MB / 1.101 GB, free: 15.51 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 6.322e-06/0.868, allocations: 0 / 1.101 GB, free: 15.51 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003316/0.8684, allocations: 325.3 kB / 1.101 GB, free: 15.15 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.625e-05/0.8684, allocations: 8.531 kB / 1.101 GB, free: 15.14 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.377e-05/0.8685, allocations: 2.641 kB / 1.101 GB, free: 15.14 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000153/0.8686, allocations: 167 kB / 1.101 GB, free: 14.94 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.44e-05/0.8686, allocations: 0 / 1.101 GB, free: 14.94 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.254e-06/0.8687, allocations: 0 / 1.101 GB, free: 14.94 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.321e-05/0.8687, allocations: 3.938 kB / 1.101 GB, free: 14.94 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.005e-05/0.8688, allocations: 35.52 kB / 1.102 GB, free: 14.9 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.518e-06/0.8688, allocations: 0 / 1.102 GB, free: 14.9 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.077e-06/0.8688, allocations: 0.5 kB / 1.102 GB, free: 14.9 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.782e-05/0.8688, allocations: 0 / 1.102 GB, free: 14.9 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004284/0.8693, allocations: 451.7 kB / 1.102 GB, free: 14.4 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 8.051e-05/0.8694, allocations: 173.2 kB / 1.102 GB, free: 14.23 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.417e-05/0.8694, allocations: 80.7 kB / 1.102 GB, free: 14.14 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.622e-05/0.8694, allocations: 79.91 kB / 1.102 GB, free: 14.07 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.862e-05/0.8695, allocations: 106.6 kB / 1.102 GB, free: 13.95 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=0): time 8.72e-07/0.8695, allocations: 1.594 kB / 1.102 GB, free: 13.95 MB / 0.7136 GB Notification: Performance of matching and sorting (n=0): time 8.185e-05/0.8696, allocations: 30.86 kB / 1.102 GB, free: 13.92 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.883e-05/0.8696, allocations: 51.41 kB / 1.102 GB, free: 13.86 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001026/0.8697, allocations: 101 kB / 1.103 GB, free: 13.75 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.035e-05/0.8698, allocations: 26.33 kB / 1.103 GB, free: 13.72 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.356e-05/0.8698, allocations: 84.67 kB / 1.103 GB, free: 13.63 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.034e-06/0.8698, allocations: 1.469 kB / 1.103 GB, free: 13.63 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.505e-06/0.8698, allocations: 0 / 1.103 GB, free: 13.63 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 9.723e-05/0.8699, allocations: 314.8 kB / 1.103 GB, free: 13.32 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.645e-06/0.8699, allocations: 0.5625 kB / 1.103 GB, free: 13.32 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.719e-06/0.8699, allocations: 1.875 kB / 1.103 GB, free: 13.32 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.068e-05/0.87, allocations: 9.234 kB / 1.103 GB, free: 13.31 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.87, allocations: 0 / 1.103 GB, free: 13.31 MB / 0.7136 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001338/0.8702, allocations: 42.36 kB / 1.103 GB, free: 13.26 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.075e-05/0.8702, allocations: 5.562 kB / 1.103 GB, free: 13.26 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.681e-06/0.8702, allocations: 0.5 kB / 1.103 GB, free: 13.26 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.402e-05/0.8702, allocations: 0.5 kB / 1.103 GB, free: 13.26 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.895e-05/0.8702, allocations: 5.578 kB / 1.103 GB, free: 13.25 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.707e-06/0.8703, allocations: 0 / 1.103 GB, free: 13.25 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.768e-05/0.8703, allocations: 7.984 kB / 1.103 GB, free: 13.25 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.701e-06/0.8703, allocations: 1.188 kB / 1.103 GB, free: 13.25 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: 1 (cmp) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * 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 8.552e-05/0.8704, allocations: 177 kB / 1.103 GB, free: 13.07 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.253e-05/0.8705, allocations: 104 kB / 1.103 GB, free: 12.96 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.524e-05/0.8705, allocations: 113.4 kB / 1.103 GB, free: 12.84 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.95e-05/0.8706, allocations: 176.3 kB / 1.104 GB, free: 12.66 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.739e-05/0.8707, allocations: 184.7 kB / 1.104 GB, free: 12.48 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.194e-05/0.8708, allocations: 181.3 kB / 1.104 GB, free: 12.29 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002077/0.871, allocations: 383 kB / 1.104 GB, free: 11.88 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.232e-05/0.871, allocations: 105.1 kB / 1.104 GB, free: 11.77 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.019e-05/0.8711, allocations: 109.6 kB / 1.104 GB, free: 11.65 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.904e-05/0.8711, allocations: 178.2 kB / 1.105 GB, free: 11.47 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001186/0.8713, allocations: 184.2 kB / 1.105 GB, free: 11.29 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.914e-05/0.8713, allocations: 184.2 kB / 1.105 GB, free: 11.1 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.575e-05/0.8714, allocations: 176.3 kB / 1.105 GB, free: 10.92 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001526/0.8716, allocations: 317 kB / 1.105 GB, free: 10.59 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 8.752e-05/0.8717, allocations: 178.1 kB / 1.106 GB, free: 10.39 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.023e-05/0.8718, allocations: 184.2 kB / 1.106 GB, free: 10.2 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.875e-05/0.8719, allocations: 105.5 kB / 1.106 GB, free: 10.09 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.917e-05/0.8719, allocations: 184.3 kB / 1.106 GB, free: 9.902 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.369e-05/0.872, allocations: 101 kB / 1.106 GB, free: 9.797 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.251e-05/0.872, allocations: 83.89 kB / 1.106 GB, free: 9.715 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002733/0.8723, allocations: 27.98 kB / 1.106 GB, free: 9.688 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.0004104/0.8727, allocations: 239 kB / 1.107 GB, free: 9.457 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 5.708e-05/0.8728, allocations: 4 kB / 1.107 GB, free: 9.453 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.043e-06/0.8728, allocations: 0 / 1.107 GB, free: 9.453 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 1.143e-06/0.8728, allocations: 4 kB / 1.107 GB, free: 9.449 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003567/0.8732, allocations: 0.5185 MB / 1.107 GB, free: 8.926 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002963/0.8761, allocations: 1.029 MB / 1.108 GB, free: 7.887 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000294/0.8764, allocations: 0.6879 MB / 1.109 GB, free: 7.172 MB / 0.7136 GB Notification: Performance of SimCode: time 2.4e-07/0.8765, allocations: 0 / 1.109 GB, free: 7.172 MB / 0.7136 GB Notification: Performance of Templates: time 0.002717/0.8792, allocations: 0.6265 MB / 1.109 GB, free: 6.586 MB / 0.7136 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe 2>&1)