Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.TimeGeometric.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.TimeGeometric,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.TimeGeometric") translateModel(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.TimeGeometric,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.TimeGeometric") [: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.7698/0.7698, allocations: 141.8 MB / 149.1 MB, free: 13.59 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.001201/0.001201, allocations: 176.3 kB / 181.9 MB, free: 10.2 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.479/1.479, allocations: 221.3 MB / 436 MB, free: 2.801 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.0009894/0.000989, allocations: 92.66 kB / 0.507 GB, free: 17.79 MB / 378.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001776/0.001776, allocations: 276 kB / 0.5885 GB, free: 4.203 MB / 442.9 MB Notification: Performance of FrontEnd - loaded program: time 9.719e-06/9.748e-06, allocations: 2.25 kB / 0.6759 GB, free: 137.2 MB / 0.5107 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1706/0.1706, allocations: 82.78 MB / 0.7568 GB, free: 83.94 MB / 0.5107 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1293/0.2999, allocations: 108.1 MB / 0.8623 GB, free: 7.695 MB / 0.5419 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002582/0.3002, allocations: 100.8 kB / 0.8624 GB, free: 7.598 MB / 0.5419 GB Notification: Performance of FrontEnd: time 0.003384/0.3036, allocations: 0.9965 MB / 0.8634 GB, free: 6.602 MB / 0.5419 GB Notification: Performance of Transformations before backend: time 1.282e-05/0.3036, allocations: 4 kB / 0.8634 GB, free: 6.598 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0002566/0.3039, allocations: 325.5 kB / 0.8637 GB, free: 6.234 MB / 0.5419 GB Notification: Performance of prepare preOptimizeDAE: time 4.693e-05/0.304, allocations: 8.031 kB / 0.8637 GB, free: 6.227 MB / 0.5419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.258e-05/0.304, allocations: 79.19 kB / 0.8638 GB, free: 6.148 MB / 0.5419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002026/0.3042, allocations: 242.4 kB / 0.864 GB, free: 5.871 MB / 0.5419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.592e-05/0.3043, allocations: 150.6 kB / 0.8642 GB, free: 5.723 MB / 0.5419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.386e-05/0.3044, allocations: 154.6 kB / 0.8643 GB, free: 5.57 MB / 0.5419 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.924e-05/0.3044, allocations: 150.6 kB / 0.8645 GB, free: 5.422 MB / 0.5419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.381e-05/0.3045, allocations: 108.9 kB / 0.8646 GB, free: 5.309 MB / 0.5419 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.219e-05/0.3045, allocations: 79.27 kB / 0.8646 GB, free: 5.23 MB / 0.5419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.698e-05/0.3046, allocations: 150.6 kB / 0.8648 GB, free: 5.082 MB / 0.5419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.479e-05/0.3047, allocations: 158.4 kB / 0.8649 GB, free: 4.926 MB / 0.5419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002846/0.305, allocations: 430.5 kB / 0.8653 GB, free: 4.469 MB / 0.5419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000103/0.3051, allocations: 169.1 kB / 0.8655 GB, free: 4.293 MB / 0.5419 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.397e-05/0.3051, allocations: 80.14 kB / 0.8656 GB, free: 4.211 MB / 0.5419 GB Notification: Performance of preOpt evalFunc (simulation): time 3.75e-05/0.3052, allocations: 79.28 kB / 0.8657 GB, free: 4.133 MB / 0.5419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.714e-05/0.3052, allocations: 113.8 kB / 0.8658 GB, free: 4.012 MB / 0.5419 GB Notification: Performance of pre-optimization done (n=0): time 1.322e-06/0.3052, allocations: 4 kB / 0.8658 GB, free: 4.008 MB / 0.5419 GB Notification: Performance of matching and sorting (n=0): time 8.272e-05/0.3053, allocations: 29.61 kB / 0.8658 GB, free: 3.973 MB / 0.5419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.733e-05/0.3054, allocations: 51.41 kB / 0.8658 GB, free: 3.91 MB / 0.5419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.786e-05/0.3055, allocations: 105 kB / 0.8659 GB, free: 3.801 MB / 0.5419 GB Notification: Performance of collectPreVariables (initialization): time 8.115e-06/0.3055, allocations: 25.7 kB / 0.866 GB, free: 3.77 MB / 0.5419 GB Notification: Performance of collectInitialEqns (initialization): time 2.479e-05/0.3055, allocations: 84.14 kB / 0.8661 GB, free: 3.684 MB / 0.5419 GB Notification: Performance of collectInitialBindings (initialization): time 1.794e-06/0.3055, allocations: 0 / 0.8661 GB, free: 3.684 MB / 0.5419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.455e-06/0.3055, allocations: 4 kB / 0.8661 GB, free: 3.68 MB / 0.5419 GB Notification: Performance of setup shared object (initialization): time 8.121e-05/0.3056, allocations: 310.9 kB / 0.8664 GB, free: 3.367 MB / 0.5419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.578e-05/0.3056, allocations: 11.98 kB / 0.8664 GB, free: 3.355 MB / 0.5419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.431e-05/0.3057, allocations: 16 kB / 0.8664 GB, free: 3.34 MB / 0.5419 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.455e-05/0.3057, allocations: 11.91 kB / 0.8664 GB, free: 3.328 MB / 0.5419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.3057, allocations: 0 / 0.8664 GB, free: 3.328 MB / 0.5419 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001919/0.3059, allocations: 57.62 kB / 0.8664 GB, free: 3.266 MB / 0.5419 GB Notification: Performance of prepare postOptimizeDAE: time 1.708e-05/0.3059, allocations: 5.875 kB / 0.8665 GB, free: 3.262 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.713e-06/0.306, allocations: 0 / 0.8665 GB, free: 3.262 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.112e-05/0.306, allocations: 8 kB / 0.8665 GB, free: 3.254 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.21e-07/0.306, allocations: 0 / 0.8665 GB, free: 3.254 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.44e-06/0.306, allocations: 4 kB / 0.8665 GB, free: 3.25 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.987e-05/0.306, allocations: 7.844 kB / 0.8665 GB, free: 3.242 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.347e-06/0.306, allocations: 4.062 kB / 0.8665 GB, free: 3.238 MB / 0.5419 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (1): * Single equations (assignments): 0 * Array equations: 1 * 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 8.17e-05/0.3061, allocations: 176.3 kB / 0.8666 GB, free: 3.059 MB / 0.5419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.944e-05/0.3062, allocations: 112.9 kB / 0.8668 GB, free: 2.941 MB / 0.5419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.532e-05/0.3062, allocations: 108.4 kB / 0.8669 GB, free: 2.824 MB / 0.5419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.196e-05/0.3063, allocations: 184.2 kB / 0.867 GB, free: 2.637 MB / 0.5419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.686e-05/0.3064, allocations: 176.3 kB / 0.8672 GB, free: 2.457 MB / 0.5419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.937e-05/0.3064, allocations: 188.2 kB / 0.8674 GB, free: 2.266 MB / 0.5419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001964/0.3066, allocations: 381.8 kB / 0.8677 GB, free: 1.848 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.8e-05/0.3067, allocations: 101 kB / 0.8678 GB, free: 1.742 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.729e-05/0.3067, allocations: 112.9 kB / 0.8679 GB, free: 1.625 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.047e-05/0.3068, allocations: 180.2 kB / 0.8681 GB, free: 1.441 MB / 0.5419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.956e-05/0.3069, allocations: 180.3 kB / 0.8683 GB, free: 1.258 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.57e-05/0.3069, allocations: 188.1 kB / 0.8685 GB, free: 1.066 MB / 0.5419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.42e-05/0.307, allocations: 176.3 kB / 0.8686 GB, free: 0.8867 MB / 0.5419 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00014/0.3072, allocations: 308.4 kB / 0.8689 GB, free: 0.5625 MB / 0.5419 GB Notification: Performance of postOpt removeConstants (simulation): time 7.873e-05/0.3072, allocations: 186 kB / 0.8691 GB, free: 364 kB / 0.5419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.954e-05/0.3073, allocations: 176.3 kB / 0.8693 GB, free: 180 kB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.801e-05/0.3074, allocations: 112.9 kB / 0.8694 GB, free: 60 kB / 0.5419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.949e-05/0.3075, allocations: 176.6 kB / 0.8696 GB, free: 15.88 MB / 0.5575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.1e-05/0.3075, allocations: 109 kB / 0.8697 GB, free: 15.77 MB / 0.5575 GB Notification: Performance of sort global known variables: time 4.473e-05/0.3076, allocations: 87.28 kB / 0.8697 GB, free: 15.68 MB / 0.5575 GB Notification: Performance of remove unused functions: time 0.0002392/0.3078, allocations: 8 kB / 0.8697 GB, free: 15.67 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.0002221/0.3081, allocations: 198.5 kB / 0.8699 GB, free: 15.47 MB / 0.5575 GB Notification: Performance of simCode: created initialization part: time 9.7e-05/0.3082, allocations: 23.94 kB / 0.87 GB, free: 15.45 MB / 0.5575 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.3082, allocations: 0 / 0.87 GB, free: 15.45 MB / 0.5575 GB Notification: Performance of simCode: created simulation system equations: time 1.263e-06/0.3082, allocations: 0 / 0.87 GB, free: 15.45 MB / 0.5575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002329/0.3084, allocations: 0.5224 MB / 0.8705 GB, free: 14.92 MB / 0.5575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001822/0.3086, allocations: 135.2 kB / 0.8706 GB, free: 14.76 MB / 0.5575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002395/0.3089, allocations: 0.6841 MB / 0.8713 GB, free: 14.05 MB / 0.5575 GB Notification: Performance of SimCode: time 2.4e-07/0.3089, allocations: 0 / 0.8713 GB, free: 14.05 MB / 0.5575 GB Notification: Performance of Templates: time 0.0024/0.3113, allocations: 448.6 kB / 0.8717 GB, free: 13.66 MB / 0.5575 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.TimeGeometric.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.TimeGeometric.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.TimeGeometric.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.TimeGeometric.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.TimeGeometric.sim & ./BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.TimeGeometric -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.TimeGeometric.pipe 2>&1)