Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Examples.GFunction_100boreholes.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/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 BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Examples.GFunction_100boreholes,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Examples.GFunction_100boreholes") translateModel(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Examples.GFunction_100boreholes,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Examples.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/BuildSysPro 3.5.0/package.mo): time 0.6983/0.6983, allocations: 127.4 MB / 134.6 MB, free: 4.102 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001199/0.001199, allocations: 181.3 kB / 164.4 MB, free: 6.875 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.68/1.68, allocations: 205.1 MB / 399.1 MB, free: 6.125 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001037/0.001037, allocations: 89.55 kB / 476.3 MB, free: 8.883 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 9.267e-06/9.288e-06, allocations: 4 kB / 0.546 GB, free: 42.69 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1895/0.1895, allocations: 76.75 MB / 0.621 GB, free: 13.87 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5116/0.7012, allocations: 117.7 MB / 0.7359 GB, free: 10.62 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000388/0.7016, allocations: 115.9 kB / 0.736 GB, free: 10.51 MB / 0.4948 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/IBPSA/Fluid/Geothermal/Borefields/BaseClasses/HeatTransfer/ThermalResponseFactors/Examples/GFunction_100boreholes.mo:19:38-19:49:writable] Warning: Non-array modification 'false' for array component, possibly due to missing 'each'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/IBPSA/Fluid/Geothermal/Borefields/BaseClasses/HeatTransfer/ThermalResponseFactors/Examples/GFunction_100boreholes.mo:20:39-20:50:writable] Warning: Non-array modification 'false' for array component, possibly due to missing 'each'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/IBPSA/Fluid/Geothermal/Borefields/BaseClasses/HeatTransfer/ThermalResponseFactors/Examples/GFunction_100boreholes.mo:21:56-21:67:writable] Warning: Non-array modification 'false' for array component, possibly due to missing 'each'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/IBPSA/Fluid/Geothermal/Borefields/BaseClasses/HeatTransfer/ThermalResponseFactors/Examples/GFunction_100boreholes.mo:22:41-22:52:writable] Warning: Non-array modification 'false' for array component, possibly due to missing 'each'. Notification: Performance of FrontEnd: time 0.09583/0.7975, allocations: 25.97 MB / 0.7614 GB, free: 0.5234 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 5.183e-05/0.7976, allocations: 20 kB / 0.7614 GB, free: 0.5039 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.002618/0.8002, allocations: 1.335 MB / 0.7627 GB, free: 15.12 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 6.047e-05/0.8003, allocations: 8.031 kB / 0.7627 GB, free: 15.11 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004857/0.8008, allocations: 154 kB / 0.7629 GB, free: 14.96 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009853/0.8018, allocations: 0.6221 MB / 0.7635 GB, free: 14.27 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.371e-05/0.8018, allocations: 3.938 kB / 0.7635 GB, free: 14.26 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001008/0.8019, allocations: 24 kB / 0.7635 GB, free: 14.24 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004104/0.8023, allocations: 419.8 kB / 0.7639 GB, free: 13.83 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003816/0.8027, allocations: 387.2 kB / 0.7643 GB, free: 13.44 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.846e-06/0.8027, allocations: 3.938 kB / 0.7643 GB, free: 13.43 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.564e-05/0.8027, allocations: 0 / 0.7643 GB, free: 13.43 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.382e-06/0.8028, allocations: 0 / 0.7643 GB, free: 13.43 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001044/0.8038, allocations: 0.9239 MB / 0.7652 GB, free: 12.46 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004921/0.8043, allocations: 0.5595 MB / 0.7657 GB, free: 11.88 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002902/0.8046, allocations: 333.6 kB / 0.7661 GB, free: 11.55 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001079/0.8057, allocations: 1.032 MB / 0.7671 GB, free: 10.3 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003587/0.8061, allocations: 401 kB / 0.7675 GB, free: 9.887 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=8): time 1.412e-06/0.8061, allocations: 0 / 0.7675 GB, free: 9.887 MB / 0.5261 GB Notification: Performance of matching and sorting (n=8): time 0.000907/0.807, allocations: 0.8001 MB / 0.7682 GB, free: 9.078 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.416e-05/0.8071, allocations: 81.11 kB / 0.7683 GB, free: 8.98 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001668/0.8088, allocations: 1.534 MB / 0.7698 GB, free: 7.406 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 7.448e-05/0.8088, allocations: 29.7 kB / 0.7698 GB, free: 7.371 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002738/0.8091, allocations: 338 kB / 0.7702 GB, free: 7.035 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 3.486e-05/0.8092, allocations: 15.81 kB / 0.7702 GB, free: 7.02 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.373e-05/0.8092, allocations: 0 / 0.7702 GB, free: 7.02 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001823/0.8094, allocations: 414.9 kB / 0.7706 GB, free: 6.609 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001538/0.811, allocations: 1.467 MB / 0.772 GB, free: 5.137 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001627/0.8126, allocations: 1.609 MB / 0.7736 GB, free: 3.52 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001958/0.8146, allocations: 1.872 MB / 0.7754 GB, free: 1.633 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.567e-06/0.8146, allocations: 4 kB / 0.7754 GB, free: 1.629 MB / 0.5261 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.00726/0.8218, allocations: 7.717 MB / 0.7829 GB, free: 9.875 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 2.196e-05/0.8219, allocations: 4 kB / 0.7829 GB, free: 9.871 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.721e-05/0.822, allocations: 20 kB / 0.783 GB, free: 9.852 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.106e-05/0.822, allocations: 4 kB / 0.783 GB, free: 9.848 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007279/0.8227, allocations: 143.7 kB / 0.7831 GB, free: 9.707 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.187e-06/0.8228, allocations: 4 kB / 0.7831 GB, free: 9.703 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008612/0.8236, allocations: 228.3 kB / 0.7833 GB, free: 9.477 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001385/0.8238, allocations: 100 kB / 0.7834 GB, free: 9.379 MB / 0.5417 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.0001451/0.8239, allocations: 120.7 kB / 0.7835 GB, free: 9.254 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001082/0.824, allocations: 125.9 kB / 0.7837 GB, free: 9.129 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009804/0.825, allocations: 0.7858 MB / 0.7844 GB, free: 8.336 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.973e-06/0.825, allocations: 4 kB / 0.7844 GB, free: 8.332 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/0.8251, allocations: 0 / 0.7844 GB, free: 8.332 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.619e-06/0.8251, allocations: 0 / 0.7844 GB, free: 8.332 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007817/0.8259, allocations: 0.6518 MB / 0.7851 GB, free: 7.637 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.354e-06/0.8259, allocations: 4.031 kB / 0.7851 GB, free: 7.633 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.4e-05/0.826, allocations: 4 kB / 0.7851 GB, free: 7.629 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.282e-06/0.826, allocations: 4 kB / 0.7851 GB, free: 7.625 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.749e-05/0.826, allocations: 7.984 kB / 0.7851 GB, free: 7.617 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.903e-06/0.826, allocations: 0 / 0.7851 GB, free: 7.617 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/0.826, allocations: 0 / 0.7851 GB, free: 7.617 MB / 0.5417 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000794/0.8268, allocations: 0.8506 MB / 0.7859 GB, free: 6.73 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000192/0.827, allocations: 195.1 kB / 0.7861 GB, free: 6.52 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001164/0.8271, allocations: 3.906 kB / 0.7861 GB, free: 6.516 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002194/0.8274, allocations: 11.98 kB / 0.7861 GB, free: 6.504 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.031e-05/0.8274, allocations: 4 kB / 0.7861 GB, free: 6.5 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.763e-05/0.8275, allocations: 15.97 kB / 0.7861 GB, free: 6.484 MB / 0.5417 GB Notification: Performance of sort global known variables: time 0.001297/0.8288, allocations: 1.011 MB / 0.7871 GB, free: 5.449 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.002064/0.8308, allocations: 0.511 MB / 0.7876 GB, free: 4.938 MB / 0.5417 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.00187/0.8327, allocations: 0.5886 MB / 0.7882 GB, free: 4.336 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.002933/0.8357, allocations: 2.501 MB / 0.7906 GB, free: 1.824 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 5.009e-06/0.8357, allocations: 3.938 kB / 0.7906 GB, free: 1.82 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0004262/0.8361, allocations: 335.8 kB / 0.791 GB, free: 1.492 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005377/0.8367, allocations: 54.64 kB / 0.791 GB, free: 1.434 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003571/0.8403, allocations: 2.127 MB / 0.7931 GB, free: 15.26 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00111/0.8414, allocations: 1.228 MB / 0.7943 GB, free: 14 MB / 0.5573 GB Notification: Performance of SimCode: time 4.579e-06/0.8414, allocations: 4 kB / 0.7943 GB, free: 14 MB / 0.5573 GB Notification: Performance of Templates: time 0.02331/0.8647, allocations: 10.15 MB / 0.8042 GB, free: 3.879 MB / 0.5573 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Examples.GFunction_100boreholes.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Examples.GFunction_100boreholes.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Examples.GFunction_100boreholes.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Examples.GFunction_100boreholes.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Examples.GFunction_100boreholes.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Examples.GFunction_100boreholes -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Examples.GFunction_100boreholes.pipe 2>&1)