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_SmallScaleValidation.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_SmallScaleValidation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation") [: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.513/1.513, allocations: 289.8 MB / 297.1 MB, free: 6.703 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.001247/0.001247, allocations: 181.3 kB / 366.3 MB, free: 1.98 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.413/1.413, allocations: 205.2 MB / 0.6256 GB, free: 5.793 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.0009755/0.0009753, allocations: 95 kB / 0.7396 GB, free: 39.62 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.074e-05/1.085e-05, allocations: 4 kB / 0.8591 GB, free: 13.3 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7368/0.7368, allocations: 116.3 MB / 0.9726 GB, free: 68.99 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.223/0.9599, allocations: 157.6 MB / 1.127 GB, free: 6.898 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003006/0.9602, allocations: 123.7 kB / 1.127 GB, free: 6.781 MB / 0.7292 GB Notification: Performance of FrontEnd: time 0.1068/1.067, allocations: 29.33 MB / 1.155 GB, free: 9.395 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 5.252e-05/1.067, allocations: 16 kB / 1.155 GB, free: 9.379 MB / 0.7605 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.00252/1.07, allocations: 1.036 MB / 1.156 GB, free: 8.293 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 4.882e-05/1.07, allocations: 12.03 kB / 1.156 GB, free: 8.281 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004679/1.07, allocations: 102.6 kB / 1.156 GB, free: 8.18 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008452/1.071, allocations: 476.6 kB / 1.157 GB, free: 7.664 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.979e-06/1.071, allocations: 0 / 1.157 GB, free: 7.664 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.205e-05/1.071, allocations: 20 kB / 1.157 GB, free: 7.645 MB / 0.7605 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004155/1.072, allocations: 424.8 kB / 1.157 GB, free: 7.23 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003714/1.072, allocations: 383.2 kB / 1.158 GB, free: 6.844 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.989e-06/1.072, allocations: 0 / 1.158 GB, free: 6.844 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.553e-05/1.072, allocations: 4 kB / 1.158 GB, free: 6.84 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.18e-06/1.072, allocations: 0 / 1.158 GB, free: 6.84 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000853/1.073, allocations: 0.7264 MB / 1.158 GB, free: 6.074 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004975/1.073, allocations: 0.5594 MB / 1.159 GB, free: 5.496 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003249/1.074, allocations: 325.7 kB / 1.159 GB, free: 5.172 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00104/1.075, allocations: 1.044 MB / 1.16 GB, free: 3.906 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003605/1.075, allocations: 396.8 kB / 1.161 GB, free: 3.5 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=8): time 1.392e-06/1.075, allocations: 0 / 1.161 GB, free: 3.5 MB / 0.7605 GB Notification: Performance of matching and sorting (n=8): time 0.0008357/1.076, allocations: 0.761 MB / 1.161 GB, free: 2.734 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.87e-05/1.076, allocations: 81.05 kB / 1.161 GB, free: 2.637 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001335/1.077, allocations: 1.087 MB / 1.163 GB, free: 1.539 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 6.239e-05/1.078, allocations: 29.7 kB / 1.163 GB, free: 1.504 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002798/1.078, allocations: 262.1 kB / 1.163 GB, free: 1.242 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 4.094e-05/1.078, allocations: 15.81 kB / 1.163 GB, free: 1.227 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.383e-05/1.078, allocations: 0 / 1.163 GB, free: 1.227 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0002044/1.078, allocations: 427.7 kB / 1.163 GB, free: 0.8008 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001261/1.079, allocations: 1.218 MB / 1.164 GB, free: 15.58 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001406/1.081, allocations: 1.351 MB / 1.166 GB, free: 14.22 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001682/1.082, allocations: 1.607 MB / 1.167 GB, free: 12.6 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/1.082, allocations: 0 / 1.167 GB, free: 12.6 MB / 0.7761 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.007416/1.09, allocations: 7.136 MB / 1.174 GB, free: 5.426 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 2.662e-05/1.09, allocations: 10.97 kB / 1.174 GB, free: 5.418 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.603e-05/1.09, allocations: 0 / 1.174 GB, free: 5.418 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.355e-05/1.09, allocations: 4 kB / 1.174 GB, free: 5.414 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006994/1.091, allocations: 147.8 kB / 1.174 GB, free: 5.27 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.356e-05/1.091, allocations: 7.984 kB / 1.174 GB, free: 5.262 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00069/1.091, allocations: 228.3 kB / 1.175 GB, free: 5.035 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001706/1.092, allocations: 55.98 kB / 1.175 GB, free: 4.98 MB / 0.7761 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.0001883/1.092, allocations: 112.8 kB / 1.175 GB, free: 4.863 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001369/1.092, allocations: 75.62 kB / 1.175 GB, free: 4.789 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009918/1.093, allocations: 0.7265 MB / 1.176 GB, free: 4.047 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.789e-06/1.093, allocations: 0 / 1.176 GB, free: 4.047 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.63e-06/1.093, allocations: 0 / 1.176 GB, free: 4.047 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.993e-06/1.093, allocations: 4 kB / 1.176 GB, free: 4.043 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006726/1.094, allocations: 0.501 MB / 1.176 GB, free: 3.508 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.838e-06/1.094, allocations: 0 / 1.176 GB, free: 3.508 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.51e-05/1.094, allocations: 6.156 kB / 1.176 GB, free: 3.504 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.343e-06/1.094, allocations: 4 kB / 1.176 GB, free: 3.5 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.867e-05/1.094, allocations: 3.984 kB / 1.176 GB, free: 3.496 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.274e-06/1.094, allocations: 3.938 kB / 1.176 GB, free: 3.492 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.488e-06/1.094, allocations: 4.031 kB / 1.176 GB, free: 3.488 MB / 0.7761 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0008362/1.095, allocations: 0.7968 MB / 1.177 GB, free: 2.668 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002911/1.095, allocations: 155.8 kB / 1.177 GB, free: 2.496 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.131e-05/1.095, allocations: 0 / 1.177 GB, free: 2.496 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001751/1.095, allocations: 11.98 kB / 1.177 GB, free: 2.484 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.938e-05/1.095, allocations: 11.91 kB / 1.177 GB, free: 2.473 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.345e-05/1.095, allocations: 15.97 kB / 1.177 GB, free: 2.457 MB / 0.7761 GB Notification: Performance of sort global known variables: time 0.0008997/1.096, allocations: 0.6595 MB / 1.178 GB, free: 1.793 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.002015/1.098, allocations: 483.4 kB / 1.178 GB, free: 1.32 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.00322/1.102, allocations: 0.6874 MB / 1.179 GB, free: 0.6289 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.00287/1.105, allocations: 2.353 MB / 1.181 GB, free: 14.26 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/1.105, allocations: 4.062 kB / 1.181 GB, free: 14.26 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.0003098/1.105, allocations: 331.8 kB / 1.181 GB, free: 13.93 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003774/1.105, allocations: 52.23 kB / 1.182 GB, free: 13.88 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002287/1.108, allocations: 1.537 MB / 1.183 GB, free: 12.31 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008939/1.108, allocations: 1.055 MB / 1.184 GB, free: 11.23 MB / 0.7917 GB Notification: Performance of SimCode: time 5.71e-07/1.108, allocations: 0 / 1.184 GB, free: 11.23 MB / 0.7917 GB Notification: Performance of Templates: time 0.02383/1.132, allocations: 10.55 MB / 1.194 GB, free: 0.75 MB / 0.7917 GB make -j1 -f Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.makefile (rm -f Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe ; mkfifo Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe >> ../files/Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.sim & ./Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe 2>&1)