Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.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.GFunction_1borehole_5meters,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.528/1.528, allocations: 289.8 MB / 297.1 MB, free: 6.672 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.001064/0.001064, allocations: 177.3 kB / 366.3 MB, free: 1.949 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.515/1.515, allocations: 205.2 MB / 0.6256 GB, free: 5.797 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.0009648/0.0009646, allocations: 81.7 kB / 0.7395 GB, free: 39.62 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.009e-05/1.011e-05, allocations: 4 kB / 0.859 GB, free: 13.29 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6435/0.6435, allocations: 116.3 MB / 0.9726 GB, free: 68.31 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1931/0.8366, allocations: 153.1 MB / 1.122 GB, free: 11.29 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003435/0.837, allocations: 116.4 kB / 1.122 GB, free: 11.18 MB / 0.7292 GB Notification: Performance of FrontEnd: time 0.07965/0.9167, allocations: 21.55 MB / 1.143 GB, free: 5.625 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 2.567e-05/0.9168, allocations: 12 kB / 1.143 GB, free: 5.613 MB / 0.7448 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.002203/0.919, allocations: 1.002 MB / 1.144 GB, free: 4.562 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.11e-05/0.919, allocations: 12.03 kB / 1.144 GB, free: 4.551 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003713/0.9194, allocations: 98.73 kB / 1.144 GB, free: 4.453 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006855/0.9201, allocations: 419.6 kB / 1.145 GB, free: 3.992 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.698e-05/0.9201, allocations: 11.92 kB / 1.145 GB, free: 3.98 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.503e-05/0.9202, allocations: 23.94 kB / 1.145 GB, free: 3.957 MB / 0.7448 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003991/0.9206, allocations: 427.7 kB / 1.145 GB, free: 3.539 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003599/0.921, allocations: 383.2 kB / 1.146 GB, free: 3.152 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.197e-06/0.921, allocations: 0 / 1.146 GB, free: 3.152 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.331e-05/0.921, allocations: 0 / 1.146 GB, free: 3.152 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.488e-06/0.921, allocations: 4 kB / 1.146 GB, free: 3.148 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006761/0.9217, allocations: 0.6942 MB / 1.146 GB, free: 2.414 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000455/0.9222, allocations: 0.5595 MB / 1.147 GB, free: 1.836 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002669/0.9224, allocations: 333.6 kB / 1.147 GB, free: 1.504 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001055/0.9235, allocations: 1.032 MB / 1.148 GB, free: 256 kB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003501/0.9239, allocations: 396.9 kB / 1.149 GB, free: 15.84 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=8): time 1.813e-06/0.9239, allocations: 3.938 kB / 1.149 GB, free: 15.84 MB / 0.7605 GB Notification: Performance of matching and sorting (n=8): time 0.0007676/0.9247, allocations: 0.7462 MB / 1.149 GB, free: 15.09 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.437e-05/0.9247, allocations: 77.11 kB / 1.149 GB, free: 14.99 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009388/0.9257, allocations: 1.021 MB / 1.15 GB, free: 13.96 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 5.638e-05/0.9257, allocations: 25.7 kB / 1.15 GB, free: 13.93 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001895/0.9259, allocations: 258 kB / 1.151 GB, free: 13.67 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 3.669e-05/0.926, allocations: 29.64 kB / 1.151 GB, free: 13.64 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.515e-05/0.926, allocations: 0 / 1.151 GB, free: 13.64 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0002132/0.9262, allocations: 415.8 kB / 1.151 GB, free: 13.23 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001178/0.9274, allocations: 1.214 MB / 1.152 GB, free: 12.01 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0013/0.9287, allocations: 1.351 MB / 1.154 GB, free: 10.65 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001677/0.9304, allocations: 1.607 MB / 1.155 GB, free: 9.031 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.977e-06/0.9304, allocations: 0 / 1.155 GB, free: 9.031 MB / 0.7605 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.006314/0.9368, allocations: 7.14 MB / 1.162 GB, free: 1.855 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 2.185e-05/0.9368, allocations: 4 kB / 1.162 GB, free: 1.852 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.335e-05/0.9368, allocations: 4 kB / 1.162 GB, free: 1.848 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.401e-05/0.9369, allocations: 4 kB / 1.162 GB, free: 1.844 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007268/0.9376, allocations: 139.8 kB / 1.162 GB, free: 1.707 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.129e-05/0.9376, allocations: 7.938 kB / 1.162 GB, free: 1.699 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000695/0.9383, allocations: 232.2 kB / 1.162 GB, free: 1.469 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.917e-05/0.9384, allocations: 55.98 kB / 1.162 GB, free: 1.414 MB / 0.7605 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.0001596/0.9386, allocations: 121 kB / 1.163 GB, free: 1.289 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.736e-05/0.9387, allocations: 66.77 kB / 1.163 GB, free: 1.223 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008463/0.9395, allocations: 0.7181 MB / 1.163 GB, free: 500 kB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.074e-06/0.9396, allocations: 3.906 kB / 1.163 GB, free: 496 kB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.552e-06/0.9396, allocations: 5.688 kB / 1.163 GB, free: 492 kB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.888e-06/0.9396, allocations: 3.984 kB / 1.163 GB, free: 488 kB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004378/0.94, allocations: 468.2 kB / 1.164 GB, free: 15.98 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.94, allocations: 0 / 1.164 GB, free: 15.98 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.169e-05/0.9401, allocations: 16.02 kB / 1.164 GB, free: 15.97 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.955e-06/0.9401, allocations: 0 / 1.164 GB, free: 15.97 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.89e-05/0.9402, allocations: 7.906 kB / 1.164 GB, free: 15.96 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.9402, allocations: 0 / 1.164 GB, free: 15.96 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.9402, allocations: 0 / 1.164 GB, free: 15.96 MB / 0.7761 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006804/0.9409, allocations: 0.7908 MB / 1.165 GB, free: 15.14 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001154/0.941, allocations: 155.9 kB / 1.165 GB, free: 14.97 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.452e-05/0.9411, allocations: 7.906 kB / 1.165 GB, free: 14.96 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001483/0.9412, allocations: 4 kB / 1.165 GB, free: 14.96 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.426e-05/0.9413, allocations: 3.984 kB / 1.165 GB, free: 14.96 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.803e-05/0.9413, allocations: 15.98 kB / 1.165 GB, free: 14.94 MB / 0.7761 GB Notification: Performance of sort global known variables: time 0.000739/0.9421, allocations: 0.6103 MB / 1.165 GB, free: 14.32 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.002314/0.9444, allocations: 483.3 kB / 1.166 GB, free: 13.85 MB / 0.7761 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.002479/0.9469, allocations: 0.6 MB / 1.166 GB, free: 13.25 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.002388/0.9493, allocations: 2.345 MB / 1.169 GB, free: 10.89 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.9493, allocations: 0 / 1.169 GB, free: 10.89 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.000364/0.9497, allocations: 339.8 kB / 1.169 GB, free: 10.56 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002848/0.95, allocations: 29.34 kB / 1.169 GB, free: 10.53 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00202/0.952, allocations: 1.474 MB / 1.171 GB, free: 9.02 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007209/0.9527, allocations: 1.039 MB / 1.172 GB, free: 7.953 MB / 0.7761 GB Notification: Performance of SimCode: time 7.01e-07/0.9528, allocations: 0 / 1.172 GB, free: 7.953 MB / 0.7761 GB Notification: Performance of Templates: time 0.01777/0.9705, allocations: 9.502 MB / 1.181 GB, free: 14.5 MB / 0.7917 GB make -j1 -f Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.makefile (rm -f Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe ; mkfifo Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe >> ../files/Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.sim & ./Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe 2>&1)