Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) 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/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction") translateModel(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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/BuildingSystems 2.0.0-master/package.mo): time 0.7544/0.7544, allocations: 141.8 MB / 149.1 MB, free: 12.13 MB / 138.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001139/0.00114, allocations: 180.6 kB / 181.9 MB, free: 8.898 MB / 154.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.393/1.393, allocations: 221.3 MB / 436 MB, free: 1.227 MB / 330.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000957/0.0009569, allocations: 95.75 kB / 0.507 GB, free: 17.73 MB / 378.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001788/0.001788, allocations: 274.3 kB / 0.5884 GB, free: 2.922 MB / 442.9 MB Notification: Performance of FrontEnd - loaded program: time 8.385e-06/8.406e-06, allocations: 2.594 kB / 0.6759 GB, free: 135.3 MB / 0.5107 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.18/0.18, allocations: 82.79 MB / 0.7568 GB, free: 80.21 MB / 0.5107 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1401/0.3201, allocations: 109.5 MB / 0.8637 GB, free: 2.543 MB / 0.5419 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002951/0.3205, allocations: 106 kB / 0.8638 GB, free: 2.441 MB / 0.5419 GB Notification: Performance of FrontEnd: time 0.005234/0.3257, allocations: 1.715 MB / 0.8655 GB, free: 0.7266 MB / 0.5419 GB Notification: Performance of Transformations before backend: time 1.034e-05/0.3258, allocations: 0 / 0.8655 GB, free: 0.7266 MB / 0.5419 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.0003447/0.3261, allocations: 326.4 kB / 0.8658 GB, free: 372 kB / 0.5419 GB Notification: Performance of prepare preOptimizeDAE: time 5.333e-05/0.3262, allocations: 12.03 kB / 0.8658 GB, free: 360 kB / 0.5419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.565e-05/0.3262, allocations: 0 / 0.8658 GB, free: 360 kB / 0.5419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001731/0.3264, allocations: 163.1 kB / 0.866 GB, free: 156 kB / 0.5419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.459e-05/0.3264, allocations: 3.906 kB / 0.866 GB, free: 152 kB / 0.5419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.813e-06/0.3264, allocations: 4 kB / 0.866 GB, free: 148 kB / 0.5419 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.275e-05/0.3265, allocations: 4 kB / 0.866 GB, free: 144 kB / 0.5419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.759e-05/0.3266, allocations: 33.62 kB / 0.866 GB, free: 104 kB / 0.5419 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.825e-06/0.3266, allocations: 0 / 0.866 GB, free: 104 kB / 0.5419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.067e-06/0.3266, allocations: 0 / 0.866 GB, free: 104 kB / 0.5419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.883e-06/0.3266, allocations: 4 kB / 0.866 GB, free: 100 kB / 0.5419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004809/0.3271, allocations: 441.1 kB / 0.8664 GB, free: 15.61 MB / 0.5575 GB Notification: Performance of preOpt comSubExp (simulation): time 8.041e-05/0.3272, allocations: 169.1 kB / 0.8666 GB, free: 15.43 MB / 0.5575 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.79e-05/0.3273, allocations: 80.7 kB / 0.8667 GB, free: 15.35 MB / 0.5575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.925e-05/0.3273, allocations: 75.28 kB / 0.8668 GB, free: 15.28 MB / 0.5575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.944e-05/0.3274, allocations: 117.8 kB / 0.8669 GB, free: 15.15 MB / 0.5575 GB Notification: Performance of pre-optimization done (n=0): time 9.92e-07/0.3274, allocations: 0 / 0.8669 GB, free: 15.15 MB / 0.5575 GB Notification: Performance of matching and sorting (n=0): time 7.175e-05/0.3275, allocations: 33.69 kB / 0.8669 GB, free: 15.11 MB / 0.5575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.038e-05/0.3275, allocations: 51.41 kB / 0.8669 GB, free: 15.05 MB / 0.5575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.34e-05/0.3276, allocations: 93 kB / 0.867 GB, free: 14.95 MB / 0.5575 GB Notification: Performance of collectPreVariables (initialization): time 2.246e-05/0.3276, allocations: 25.7 kB / 0.8671 GB, free: 14.92 MB / 0.5575 GB Notification: Performance of collectInitialEqns (initialization): time 4.122e-05/0.3277, allocations: 91.98 kB / 0.8671 GB, free: 14.83 MB / 0.5575 GB Notification: Performance of collectInitialBindings (initialization): time 1.814e-06/0.3277, allocations: 0 / 0.8671 GB, free: 14.83 MB / 0.5575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.374e-06/0.3277, allocations: 0 / 0.8671 GB, free: 14.83 MB / 0.5575 GB Notification: Performance of setup shared object (initialization): time 0.0001279/0.3278, allocations: 318.8 kB / 0.8675 GB, free: 14.51 MB / 0.5575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.484e-06/0.3279, allocations: 3.938 kB / 0.8675 GB, free: 14.5 MB / 0.5575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.018e-06/0.3279, allocations: 4 kB / 0.8675 GB, free: 14.5 MB / 0.5575 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.617e-05/0.328, allocations: 7.984 kB / 0.8675 GB, free: 14.49 MB / 0.5575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.328, allocations: 0 / 0.8675 GB, free: 14.49 MB / 0.5575 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001365/0.3281, allocations: 37.64 kB / 0.8675 GB, free: 14.45 MB / 0.5575 GB Notification: Performance of prepare postOptimizeDAE: time 1.21e-05/0.3281, allocations: 6.188 kB / 0.8675 GB, free: 14.45 MB / 0.5575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.203e-06/0.3281, allocations: 0 / 0.8675 GB, free: 14.45 MB / 0.5575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.141e-05/0.3282, allocations: 7.984 kB / 0.8675 GB, free: 14.44 MB / 0.5575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.852e-05/0.3282, allocations: 0 / 0.8675 GB, free: 14.44 MB / 0.5575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.13e-06/0.3282, allocations: 0 / 0.8675 GB, free: 14.44 MB / 0.5575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.396e-05/0.3282, allocations: 4.094 kB / 0.8675 GB, free: 14.43 MB / 0.5575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.185e-06/0.3282, allocations: 3.906 kB / 0.8675 GB, free: 14.43 MB / 0.5575 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.048e-05/0.3283, allocations: 176.3 kB / 0.8677 GB, free: 14.25 MB / 0.5575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.372e-05/0.3284, allocations: 105.2 kB / 0.8678 GB, free: 14.14 MB / 0.5575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.499e-05/0.3285, allocations: 112.1 kB / 0.8679 GB, free: 14.02 MB / 0.5575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.058e-05/0.3285, allocations: 180.2 kB / 0.8681 GB, free: 13.84 MB / 0.5575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.877e-05/0.3286, allocations: 184.3 kB / 0.8682 GB, free: 13.65 MB / 0.5575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.359e-05/0.3287, allocations: 184.2 kB / 0.8684 GB, free: 13.46 MB / 0.5575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002288/0.3289, allocations: 381.7 kB / 0.8688 GB, free: 13.04 MB / 0.5575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.05e-05/0.329, allocations: 101 kB / 0.8689 GB, free: 12.94 MB / 0.5575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.808e-05/0.329, allocations: 108.9 kB / 0.869 GB, free: 12.82 MB / 0.5575 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.393e-05/0.3291, allocations: 176.3 kB / 0.8692 GB, free: 12.64 MB / 0.5575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.121e-05/0.3292, allocations: 180.3 kB / 0.8693 GB, free: 12.46 MB / 0.5575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.518e-05/0.3293, allocations: 184.2 kB / 0.8695 GB, free: 12.27 MB / 0.5575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.174e-05/0.3294, allocations: 184.2 kB / 0.8697 GB, free: 12.09 MB / 0.5575 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001569/0.3295, allocations: 299.9 kB / 0.87 GB, free: 11.77 MB / 0.5575 GB Notification: Performance of postOpt removeConstants (simulation): time 9.037e-05/0.3296, allocations: 194.1 kB / 0.8702 GB, free: 11.55 MB / 0.5575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.696e-05/0.3297, allocations: 180.3 kB / 0.8703 GB, free: 11.37 MB / 0.5575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.284e-05/0.3298, allocations: 104.9 kB / 0.8704 GB, free: 11.26 MB / 0.5575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.408e-05/0.3299, allocations: 184.3 kB / 0.8706 GB, free: 11.07 MB / 0.5575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.528e-05/0.33, allocations: 101 kB / 0.8707 GB, free: 10.97 MB / 0.5575 GB Notification: Performance of sort global known variables: time 4.138e-05/0.33, allocations: 79.28 kB / 0.8708 GB, free: 10.89 MB / 0.5575 GB Notification: Performance of remove unused functions: time 0.0002734/0.3303, allocations: 27.92 kB / 0.8708 GB, free: 10.86 MB / 0.5575 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.0004041/0.3307, allocations: 240 kB / 0.871 GB, free: 10.62 MB / 0.5575 GB Notification: Performance of simCode: created initialization part: time 6.613e-05/0.3308, allocations: 4 kB / 0.871 GB, free: 10.62 MB / 0.5575 GB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.3308, allocations: 0 / 0.871 GB, free: 10.62 MB / 0.5575 GB Notification: Performance of simCode: created simulation system equations: time 1.263e-06/0.3308, allocations: 4.062 kB / 0.871 GB, free: 10.62 MB / 0.5575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003706/0.3312, allocations: 0.5223 MB / 0.8715 GB, free: 10.09 MB / 0.5575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002853/0.334, allocations: 1.037 MB / 0.8726 GB, free: 9.023 MB / 0.5575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002884/0.3343, allocations: 0.6841 MB / 0.8732 GB, free: 8.312 MB / 0.5575 GB Notification: Performance of SimCode: time 2.4e-07/0.3343, allocations: 0 / 0.8732 GB, free: 8.312 MB / 0.5575 GB Notification: Performance of Templates: time 0.002632/0.337, allocations: 0.6259 MB / 0.8738 GB, free: 7.727 MB / 0.5575 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.sim & ./BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe 2>&1)