Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes") translateModel(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00339/0.00339, allocations: 178.8 kB / 7.452 MB, free: 2.508 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6884/0.6884, allocations: 130.6 MB / 138.5 MB, free: 2.203 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.539/1.539, allocations: 221.3 MB / 391.4 MB, free: 13.08 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009889/0.0009894, allocations: 105 kB / 473.5 MB, free: 14.36 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 9.849e-06/9.869e-06, allocations: 1.25 kB / 0.5479 GB, free: 89.04 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1729/0.1729, allocations: 81.58 MB / 0.6276 GB, free: 18.17 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5278/0.7008, allocations: 125.2 MB / 0.7499 GB, free: 10.78 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002855/0.7011, allocations: 114.3 kB / 0.75 GB, free: 10.75 MB / 0.4948 GB Notification: Performance of FrontEnd: time 0.08821/0.7894, allocations: 25.27 MB / 0.7747 GB, free: 17.1 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0001002/0.7895, allocations: 21.78 kB / 0.7747 GB, free: 17.1 MB / 0.5105 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.003721/0.7933, allocations: 1.322 MB / 0.776 GB, free: 16.11 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.536e-05/0.7933, allocations: 9.562 kB / 0.776 GB, free: 16.11 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006439/0.794, allocations: 151.3 kB / 0.7762 GB, free: 16.02 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001278/0.7953, allocations: 0.6278 MB / 0.7768 GB, free: 15.61 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.932e-05/0.7953, allocations: 0 / 0.7768 GB, free: 15.61 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001513/0.7954, allocations: 25.11 kB / 0.7768 GB, free: 15.61 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004318/0.7959, allocations: 425.3 kB / 0.7772 GB, free: 15.55 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005217/0.7964, allocations: 395.5 kB / 0.7776 GB, free: 15.43 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.347e-06/0.7964, allocations: 0 / 0.7776 GB, free: 15.43 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.356e-05/0.7965, allocations: 0.8125 kB / 0.7776 GB, free: 15.43 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.314e-06/0.7965, allocations: 1.531 kB / 0.7776 GB, free: 15.43 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001645/0.7981, allocations: 0.9169 MB / 0.7785 GB, free: 14.92 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007229/0.7989, allocations: 0.5547 MB / 0.779 GB, free: 14.8 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004399/0.7993, allocations: 330.7 kB / 0.7793 GB, free: 14.74 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001179/0.8005, allocations: 1.048 MB / 0.7804 GB, free: 13.56 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005301/0.801, allocations: 390 kB / 0.7807 GB, free: 13.44 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=8): time 1.623e-06/0.8011, allocations: 0 / 0.7807 GB, free: 13.44 MB / 0.5105 GB Notification: Performance of matching and sorting (n=8): time 0.001361/0.8024, allocations: 0.8061 MB / 0.7815 GB, free: 13.22 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.656e-05/0.8025, allocations: 87.44 kB / 0.7816 GB, free: 13.12 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002069/0.8046, allocations: 1.531 MB / 0.7831 GB, free: 11.88 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 9.977e-05/0.8047, allocations: 29.02 kB / 0.7831 GB, free: 11.85 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003407/0.805, allocations: 331.1 kB / 0.7834 GB, free: 11.6 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 4.863e-05/0.8051, allocations: 23.73 kB / 0.7835 GB, free: 11.58 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.661e-05/0.8052, allocations: 0 / 0.7835 GB, free: 11.58 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001837/0.8053, allocations: 401.6 kB / 0.7839 GB, free: 11.22 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001577/0.8069, allocations: 1.476 MB / 0.7853 GB, free: 10.17 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001571/0.8085, allocations: 1.609 MB / 0.7869 GB, free: 9.012 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001963/0.8105, allocations: 1.866 MB / 0.7887 GB, free: 7.551 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.009e-06/0.8105, allocations: 3.938 kB / 0.7887 GB, free: 7.547 MB / 0.5105 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.007573/0.8181, allocations: 7.716 MB / 0.7962 GB, free: 0.6523 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.833e-05/0.8181, allocations: 4 kB / 0.7962 GB, free: 0.6484 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.957e-05/0.8182, allocations: 23.91 kB / 0.7963 GB, free: 0.625 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.582e-05/0.8182, allocations: 4 kB / 0.7963 GB, free: 0.6211 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007054/0.819, allocations: 150.9 kB / 0.7964 GB, free: 492 kB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.33e-05/0.819, allocations: 4 kB / 0.7964 GB, free: 488 kB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008484/0.8198, allocations: 228.3 kB / 0.7966 GB, free: 256 kB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001465/0.82, allocations: 89.62 kB / 0.7967 GB, free: 180 kB / 0.5105 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.0001494/0.8201, allocations: 116.8 kB / 0.7968 GB, free: 56 kB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001799/0.8203, allocations: 122.1 kB / 0.7969 GB, free: 15.93 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001031/0.8214, allocations: 0.7906 MB / 0.7977 GB, free: 15.16 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.568e-06/0.8214, allocations: 0 / 0.7977 GB, free: 15.16 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.093e-06/0.8214, allocations: 4 kB / 0.7977 GB, free: 15.16 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.8214, allocations: 0 / 0.7977 GB, free: 15.16 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009497/0.8224, allocations: 0.6506 MB / 0.7984 GB, free: 14.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.12e-06/0.8224, allocations: 4 kB / 0.7984 GB, free: 14.59 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.236e-05/0.8225, allocations: 11.92 kB / 0.7984 GB, free: 14.58 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.208e-06/0.8225, allocations: 0 / 0.7984 GB, free: 14.58 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.729e-05/0.8225, allocations: 4 kB / 0.7984 GB, free: 14.58 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.106e-06/0.8225, allocations: 3.984 kB / 0.7984 GB, free: 14.57 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.827e-06/0.8225, allocations: 4.031 kB / 0.7984 GB, free: 14.57 MB / 0.5261 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0007358/0.8233, allocations: 0.8374 MB / 0.7992 GB, free: 13.71 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002566/0.8235, allocations: 199.1 kB / 0.7994 GB, free: 13.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001457/0.8237, allocations: 4 kB / 0.7994 GB, free: 13.49 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002348/0.8239, allocations: 4 kB / 0.7994 GB, free: 13.49 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.6e-05/0.824, allocations: 10.73 kB / 0.7994 GB, free: 13.48 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.373e-05/0.824, allocations: 15.98 kB / 0.7994 GB, free: 13.46 MB / 0.5261 GB Notification: Performance of sort global known variables: time 0.001252/0.8253, allocations: 1.014 MB / 0.8004 GB, free: 12.61 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.002291/0.8276, allocations: 0.5113 MB / 0.8009 GB, free: 12.12 MB / 0.5261 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.002521/0.8301, allocations: 0.6017 MB / 0.8015 GB, free: 11.54 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.002338/0.8325, allocations: 2.495 MB / 0.8039 GB, free: 9.816 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 4.158e-06/0.8325, allocations: 4 kB / 0.8039 GB, free: 9.812 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0003054/0.8328, allocations: 338.7 kB / 0.8043 GB, free: 9.492 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003475/0.8332, allocations: 49.58 kB / 0.8043 GB, free: 9.473 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003415/0.8366, allocations: 2.126 MB / 0.8064 GB, free: 7.352 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00107/0.8377, allocations: 1.231 MB / 0.8076 GB, free: 6.102 MB / 0.5261 GB Notification: Performance of SimCode: time 1.032e-06/0.8377, allocations: 0 / 0.8076 GB, free: 6.102 MB / 0.5261 GB Notification: Performance of Templates: time 0.02114/0.8588, allocations: 10.05 MB / 0.8174 GB, free: 12.12 MB / 0.5417 GB make -j1 -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.makefile (rm -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe ; mkfifo IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe >> ../files/IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.sim & ./IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe 2>&1)