Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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_8_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_8_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.1.4-maint.8.1.x/package.mo): time 1.518/1.518, allocations: 289.8 MB / 297.1 MB, free: 6.73 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.001141/0.001141, allocations: 181.3 kB / 366.3 MB, free: 2.023 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.407/1.407, allocations: 205.1 MB / 0.6256 GB, free: 5.875 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.0009204/0.0009203, allocations: 97.81 kB / 0.7396 GB, free: 39.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 7.494e-06/7.505e-06, allocations: 0 / 0.8591 GB, free: 13.38 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7064/0.7064, allocations: 116.3 MB / 0.9726 GB, free: 68.2 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1856/0.8921, allocations: 139.8 MB / 1.109 GB, free: 8.738 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002649/0.8924, allocations: 104.9 kB / 1.109 GB, free: 8.637 MB / 0.7136 GB Notification: Performance of FrontEnd: time 0.004666/0.8971, allocations: 1.697 MB / 1.111 GB, free: 6.961 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.017e-05/0.8971, allocations: 4 kB / 1.111 GB, free: 6.957 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.0002657/0.8974, allocations: 319 kB / 1.111 GB, free: 6.602 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.693e-05/0.8974, allocations: 8.531 kB / 1.111 GB, free: 6.594 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.826e-05/0.8975, allocations: 8 kB / 1.111 GB, free: 6.586 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001402/0.8976, allocations: 167 kB / 1.111 GB, free: 6.383 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.294e-05/0.8976, allocations: 0 / 1.111 GB, free: 6.383 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.835e-06/0.8977, allocations: 1.688 kB / 1.111 GB, free: 6.383 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.59e-05/0.8977, allocations: 7.938 kB / 1.111 GB, free: 6.375 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.757e-05/0.8978, allocations: 29.7 kB / 1.111 GB, free: 6.34 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.643e-06/0.8978, allocations: 0 / 1.111 GB, free: 6.34 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.283e-05/0.8978, allocations: 0.8125 kB / 1.111 GB, free: 6.34 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.12e-06/0.8978, allocations: 0 / 1.111 GB, free: 6.34 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004072/0.8982, allocations: 449.1 kB / 1.112 GB, free: 5.844 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 6.849e-05/0.8983, allocations: 171.5 kB / 1.112 GB, free: 5.668 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.423e-05/0.8983, allocations: 80.14 kB / 1.112 GB, free: 5.586 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.847e-05/0.8984, allocations: 79.22 kB / 1.112 GB, free: 5.508 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.008e-05/0.8984, allocations: 113.8 kB / 1.112 GB, free: 5.387 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=0): time 7.92e-07/0.8984, allocations: 0 / 1.112 GB, free: 5.387 MB / 0.7136 GB Notification: Performance of matching and sorting (n=0): time 6.718e-05/0.8985, allocations: 29.69 kB / 1.112 GB, free: 5.352 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.178e-05/0.8985, allocations: 51.41 kB / 1.112 GB, free: 5.289 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.214e-05/0.8986, allocations: 93 kB / 1.112 GB, free: 5.191 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.322e-05/0.8987, allocations: 25.7 kB / 1.112 GB, free: 5.16 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.651e-05/0.8987, allocations: 84.05 kB / 1.112 GB, free: 5.074 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.903e-06/0.8987, allocations: 4 kB / 1.112 GB, free: 5.07 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.234e-06/0.8987, allocations: 1.594 kB / 1.112 GB, free: 5.07 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.000109/0.8988, allocations: 314.8 kB / 1.113 GB, free: 4.754 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.174e-06/0.8988, allocations: 0 / 1.113 GB, free: 4.754 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.398e-06/0.8989, allocations: 0 / 1.113 GB, free: 4.754 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.672e-05/0.8989, allocations: 11.98 kB / 1.113 GB, free: 4.742 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.272e-06/0.8989, allocations: 0 / 1.113 GB, free: 4.742 MB / 0.7136 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001286/0.8991, allocations: 41.62 kB / 1.113 GB, free: 4.695 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.16e-05/0.8991, allocations: 4 kB / 1.113 GB, free: 4.691 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.52e-06/0.8991, allocations: 0 / 1.113 GB, free: 4.691 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.22e-05/0.8991, allocations: 4.094 kB / 1.113 GB, free: 4.688 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.847e-05/0.8991, allocations: 8.406 kB / 1.113 GB, free: 4.68 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.268e-06/0.8992, allocations: 0 / 1.113 GB, free: 4.68 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.376e-05/0.8992, allocations: 0 / 1.113 GB, free: 4.68 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.764e-06/0.8992, allocations: 0.5625 kB / 1.113 GB, free: 4.68 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 9.877e-05/0.8993, allocations: 176.3 kB / 1.113 GB, free: 4.5 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.502e-05/0.8994, allocations: 105 kB / 1.113 GB, free: 4.391 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001106/0.8995, allocations: 112.1 kB / 1.113 GB, free: 4.27 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.593e-05/0.8996, allocations: 181 kB / 1.113 GB, free: 4.086 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.674e-05/0.8996, allocations: 180.2 kB / 1.114 GB, free: 3.902 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.389e-05/0.8997, allocations: 184.2 kB / 1.114 GB, free: 3.715 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002007/0.8999, allocations: 382.5 kB / 1.114 GB, free: 3.297 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.958e-05/0.8999, allocations: 101 kB / 1.114 GB, free: 3.191 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.724e-05/0.9, allocations: 109.6 kB / 1.114 GB, free: 3.078 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.659e-05/0.9001, allocations: 184.2 kB / 1.115 GB, free: 2.891 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.869e-05/0.9001, allocations: 180.3 kB / 1.115 GB, free: 2.707 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.747e-05/0.9002, allocations: 193 kB / 1.115 GB, free: 2.512 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.967e-05/0.9002, allocations: 176.3 kB / 1.115 GB, free: 2.332 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00014/0.9004, allocations: 313 kB / 1.115 GB, free: 2.004 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 7.948e-05/0.9005, allocations: 186.1 kB / 1.116 GB, free: 1.797 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.311e-05/0.9005, allocations: 176.3 kB / 1.116 GB, free: 1.617 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.482e-05/0.9006, allocations: 108.9 kB / 1.116 GB, free: 1.504 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.14e-05/0.9007, allocations: 176.3 kB / 1.116 GB, free: 1.324 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.183e-05/0.9008, allocations: 109 kB / 1.116 GB, free: 1.211 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.749e-05/0.9008, allocations: 83.17 kB / 1.116 GB, free: 1.129 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002612/0.9011, allocations: 24.56 kB / 1.116 GB, free: 1.105 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.0004105/0.9015, allocations: 230.5 kB / 1.116 GB, free: 0.875 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 5.913e-05/0.9016, allocations: 8 kB / 1.116 GB, free: 0.8672 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.9016, allocations: 0 / 1.116 GB, free: 0.8672 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 1.163e-06/0.9016, allocations: 0 / 1.116 GB, free: 0.8672 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002945/0.9019, allocations: 0.5249 MB / 1.117 GB, free: 348 kB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0029/0.9048, allocations: 1.021 MB / 1.118 GB, free: 15.3 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000237/0.905, allocations: 0.6957 MB / 1.119 GB, free: 14.57 MB / 0.7292 GB Notification: Performance of SimCode: time 2.5e-07/0.905, allocations: 0 / 1.119 GB, free: 14.57 MB / 0.7292 GB Notification: Performance of Templates: time 0.002653/0.9077, allocations: 0.6234 MB / 1.119 GB, free: 13.99 MB / 0.7292 GB make -j1 -f Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.makefile (rm -f Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe ; mkfifo Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe >> ../files/Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.sim & ./Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe 2>&1)