Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.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-master/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-master/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.ShaGFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction") translateModel(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.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/Complex 4.0.0+maint.om/package.mo): time 0.001852/0.001852, allocations: 177.2 kB / 7.461 MB, free: 2.484 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.6049/0.6049, allocations: 133.5 MB / 141.4 MB, free: 15.65 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.131/1.131, allocations: 221.3 MB / 395 MB, free: 10.21 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.0008527/0.0008528, allocations: 99.09 kB / 477.8 MB, free: 10.84 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 6.642e-06/6.722e-06, allocations: 2.969 kB / 0.5529 GB, free: 89.23 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1165/0.1165, allocations: 82.3 MB / 0.6333 GB, free: 14.05 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3196/0.4361, allocations: 112.2 MB / 0.7428 GB, free: 10.66 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002195/0.4364, allocations: 102.9 kB / 0.7429 GB, free: 10.66 MB / 0.4948 GB Notification: Performance of FrontEnd: time 0.003872/0.4403, allocations: 1.719 MB / 0.7446 GB, free: 10.61 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.869e-06/0.4403, allocations: 1.203 kB / 0.7446 GB, free: 10.61 MB / 0.4948 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.0002012/0.4405, allocations: 318 kB / 0.7449 GB, free: 26.26 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 2.861e-05/0.4405, allocations: 11.56 kB / 0.7449 GB, free: 26.26 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.078e-05/0.4406, allocations: 3.906 kB / 0.7449 GB, free: 26.25 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001143/0.4407, allocations: 161.2 kB / 0.7451 GB, free: 26.06 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.576e-06/0.4407, allocations: 7.766 kB / 0.7451 GB, free: 26.05 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.686e-06/0.4407, allocations: 0 / 0.7451 GB, free: 26.05 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 2.966e-05/0.4407, allocations: 3.938 kB / 0.7451 GB, free: 26.05 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.365e-05/0.4408, allocations: 38.14 kB / 0.7451 GB, free: 26.01 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.803e-06/0.4408, allocations: 0.75 kB / 0.7451 GB, free: 26.01 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.682e-06/0.4408, allocations: 0 / 0.7451 GB, free: 26.01 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.236e-06/0.4408, allocations: 0 / 0.7451 GB, free: 26.01 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003258/0.4412, allocations: 441.4 kB / 0.7455 GB, free: 25.54 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 6.454e-05/0.4412, allocations: 173.6 kB / 0.7457 GB, free: 25.36 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.462e-05/0.4413, allocations: 81.89 kB / 0.7458 GB, free: 25.28 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 1.901e-05/0.4413, allocations: 75.28 kB / 0.7458 GB, free: 25.2 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.981e-05/0.4413, allocations: 109.6 kB / 0.746 GB, free: 25.09 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=0): time 9.71e-07/0.4413, allocations: 0 / 0.746 GB, free: 25.09 MB / 0.5105 GB Notification: Performance of matching and sorting (n=0): time 5.732e-05/0.4414, allocations: 37.97 kB / 0.746 GB, free: 25.05 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.19e-05/0.4414, allocations: 55.41 kB / 0.746 GB, free: 24.98 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.966e-05/0.4415, allocations: 93.62 kB / 0.7461 GB, free: 24.89 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 9.117e-06/0.4415, allocations: 25.7 kB / 0.7462 GB, free: 24.86 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 3.16e-05/0.4415, allocations: 84.22 kB / 0.7462 GB, free: 24.78 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 1.313e-06/0.4415, allocations: 0 / 0.7462 GB, free: 24.78 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.843e-06/0.4416, allocations: 0 / 0.7462 GB, free: 24.78 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 8.105e-05/0.4416, allocations: 311.5 kB / 0.7465 GB, free: 24.47 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.821e-06/0.4417, allocations: 3.875 kB / 0.7465 GB, free: 24.47 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.318e-06/0.4417, allocations: 0.75 kB / 0.7465 GB, free: 24.47 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.455e-05/0.4417, allocations: 9.438 kB / 0.7465 GB, free: 24.46 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.302e-06/0.4417, allocations: 0 / 0.7465 GB, free: 24.46 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001028/0.4418, allocations: 43.41 kB / 0.7466 GB, free: 24.43 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 7.975e-06/0.4418, allocations: 3.891 kB / 0.7466 GB, free: 24.43 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.286e-06/0.4418, allocations: 0 / 0.7466 GB, free: 24.43 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.596e-06/0.4419, allocations: 0 / 0.7466 GB, free: 24.43 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.228e-05/0.4419, allocations: 8.125 kB / 0.7466 GB, free: 24.43 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.876e-06/0.4419, allocations: 0.5625 kB / 0.7466 GB, free: 24.43 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.122e-05/0.4419, allocations: 0 / 0.7466 GB, free: 24.43 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.037e-06/0.4419, allocations: 0.8281 kB / 0.7466 GB, free: 24.43 MB / 0.5105 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 6.909e-05/0.442, allocations: 180.3 kB / 0.7468 GB, free: 24.24 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.638e-05/0.442, allocations: 109.5 kB / 0.7469 GB, free: 24.13 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.489e-05/0.4421, allocations: 105.5 kB / 0.747 GB, free: 24.02 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.429e-05/0.4421, allocations: 184.8 kB / 0.7472 GB, free: 23.83 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.061e-05/0.4422, allocations: 176.9 kB / 0.7473 GB, free: 23.65 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.071e-05/0.4423, allocations: 188.8 kB / 0.7475 GB, free: 23.46 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001538/0.4424, allocations: 385 kB / 0.7479 GB, free: 23.05 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.433e-05/0.4425, allocations: 102.8 kB / 0.748 GB, free: 22.95 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.809e-05/0.4425, allocations: 104.6 kB / 0.7481 GB, free: 22.84 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.358e-05/0.4425, allocations: 185.5 kB / 0.7482 GB, free: 22.65 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.261e-05/0.4426, allocations: 180.9 kB / 0.7484 GB, free: 22.47 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.296e-05/0.4427, allocations: 177 kB / 0.7486 GB, free: 22.29 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.178e-05/0.4427, allocations: 188.7 kB / 0.7488 GB, free: 22.1 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 9.968e-05/0.4428, allocations: 303.3 kB / 0.7491 GB, free: 21.79 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 6.184e-05/0.4429, allocations: 184.2 kB / 0.7492 GB, free: 21.59 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.811e-05/0.4429, allocations: 181 kB / 0.7494 GB, free: 21.41 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.83e-05/0.443, allocations: 109.6 kB / 0.7495 GB, free: 21.3 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.723e-05/0.4431, allocations: 184.5 kB / 0.7497 GB, free: 21.11 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.695e-05/0.4431, allocations: 101.8 kB / 0.7498 GB, free: 21.01 MB / 0.5105 GB Notification: Performance of sort global known variables: time 3.588e-05/0.4432, allocations: 80.14 kB / 0.7499 GB, free: 20.93 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0002142/0.4434, allocations: 24.77 kB / 0.7499 GB, free: 20.93 MB / 0.5105 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.0002826/0.4437, allocations: 245.4 kB / 0.7501 GB, free: 20.75 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 3.903e-05/0.4437, allocations: 7.875 kB / 0.7501 GB, free: 20.74 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.433e-06/0.4437, allocations: 0 / 0.7501 GB, free: 20.74 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 1.643e-06/0.4437, allocations: 4.203 kB / 0.7501 GB, free: 20.74 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002454/0.444, allocations: 0.5269 MB / 0.7506 GB, free: 20.21 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002439/0.4464, allocations: 1.025 MB / 0.7516 GB, free: 20.04 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002195/0.4467, allocations: 0.6832 MB / 0.7523 GB, free: 19.34 MB / 0.5105 GB Notification: Performance of SimCode: time 2.3e-07/0.4467, allocations: 0 / 0.7523 GB, free: 19.34 MB / 0.5105 GB Notification: Performance of Templates: time 0.002065/0.4487, allocations: 0.6238 MB / 0.7529 GB, free: 19.27 MB / 0.5105 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.sim & ./IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe 2>&1)