Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement") [: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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.117/2.117, allocations: 253.1 MB / 260.4 MB, free: 7.574 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001618/0.001618, allocations: 177.2 kB / 319.6 MB, free: 3.32 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.852/1.852, allocations: 205.4 MB / 0.5704 GB, free: 15.05 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001309/0.001308, allocations: 94.89 kB / 0.6746 GB, free: 4.422 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 9.758e-06/9.868e-06, allocations: 0 / 0.7843 GB, free: 102.5 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2216/0.2217, allocations: 106.2 MB / 0.8881 GB, free: 12.18 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.478/1.7, allocations: 414 MB / 1.292 GB, free: 261.6 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003362/1.701, allocations: 100.9 kB / 1.292 GB, free: 261.6 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.317/4.017, allocations: 0.5388 GB / 1.831 GB, free: 101.2 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.000171/4.018, allocations: 35.91 kB / 1.831 GB, free: 101.1 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 214 * Number of variables: 214 Notification: Performance of Generate backend data structure: time 0.004087/4.022, allocations: 1.415 MB / 1.833 GB, free: 99.68 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.06e-05/4.022, allocations: 12.03 kB / 1.833 GB, free: 99.67 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000877/4.023, allocations: 150.3 kB / 1.833 GB, free: 99.52 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004604/4.027, allocations: 1.392 MB / 1.834 GB, free: 98.11 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.142e-05/4.027, allocations: 28 kB / 1.834 GB, free: 98.09 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001869/4.028, allocations: 52 kB / 1.834 GB, free: 98.04 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00176/4.029, allocations: 0.5585 MB / 1.835 GB, free: 97.48 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001929/4.031, allocations: 0.7412 MB / 1.836 GB, free: 96.7 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.903e-05/4.031, allocations: 3.938 kB / 1.836 GB, free: 96.7 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001007/4.032, allocations: 4 kB / 1.836 GB, free: 96.7 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.894e-05/4.032, allocations: 20 kB / 1.836 GB, free: 96.68 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007571/4.039, allocations: 4.367 MB / 1.84 GB, free: 92.1 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001329/4.041, allocations: 475.9 kB / 1.84 GB, free: 91.63 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007272/4.041, allocations: 306.1 kB / 1.841 GB, free: 91.33 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007494/4.042, allocations: 0.5978 MB / 1.841 GB, free: 90.6 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.478e-05/4.042, allocations: 39.06 kB / 1.841 GB, free: 90.55 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=57): time 3.958e-06/4.042, allocations: 7.938 kB / 1.841 GB, free: 90.54 MB / 0.8698 GB Notification: Performance of matching and sorting (n=57): time 0.002582/4.045, allocations: 0.6239 MB / 1.842 GB, free: 89.91 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.864e-05/4.045, allocations: 59.91 kB / 1.842 GB, free: 89.84 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001538/4.046, allocations: 0.6963 MB / 1.843 GB, free: 89.13 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001739/4.047, allocations: 29.7 kB / 1.843 GB, free: 89.1 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002764/4.047, allocations: 383.4 kB / 1.843 GB, free: 88.71 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002488/4.047, allocations: 193.1 kB / 1.843 GB, free: 88.52 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.08e-05/4.047, allocations: 0 / 1.843 GB, free: 88.52 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 7.896e-05/4.047, allocations: 337.9 kB / 1.843 GB, free: 88.19 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004852/4.048, allocations: 177.5 kB / 1.844 GB, free: 88.02 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006161/4.048, allocations: 378.1 kB / 1.844 GB, free: 87.57 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001216/4.05, allocations: 307 kB / 1.844 GB, free: 87.27 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.751e-06/4.05, allocations: 4 kB / 1.844 GB, free: 87.27 MB / 0.8698 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002788/4.052, allocations: 0.7946 MB / 1.845 GB, free: 86.45 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002735/4.053, allocations: 1.308 MB / 1.846 GB, free: 85.04 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.621e-05/4.053, allocations: 7.938 kB / 1.846 GB, free: 85.04 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000527/4.053, allocations: 119.3 kB / 1.846 GB, free: 84.91 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009592/4.054, allocations: 131.8 kB / 1.847 GB, free: 84.78 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003801/4.058, allocations: 4.651 MB / 1.851 GB, free: 79.77 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001712/4.06, allocations: 99.28 kB / 1.851 GB, free: 79.67 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001229/4.06, allocations: 32.09 kB / 1.851 GB, free: 79.64 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.213e-05/4.06, allocations: 7.938 kB / 1.851 GB, free: 79.63 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002391/4.063, allocations: 0.6457 MB / 1.852 GB, free: 78.97 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.45e-05/4.063, allocations: 8 kB / 1.852 GB, free: 78.96 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004832/4.063, allocations: 119.6 kB / 1.852 GB, free: 78.84 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009296/4.064, allocations: 127.8 kB / 1.852 GB, free: 78.71 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004861/4.069, allocations: 5.493 MB / 1.858 GB, free: 72.76 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001595/4.071, allocations: 87.48 kB / 1.858 GB, free: 72.68 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001042/4.071, allocations: 27.98 kB / 1.858 GB, free: 72.65 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (71): * Single equations (assignments): 66 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 2} * Non-linear torn systems: 1 {1 4} Notification: Performance of prepare postOptimizeDAE: time 0.0002467/4.071, allocations: 124.8 kB / 1.858 GB, free: 72.52 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002515/4.071, allocations: 98.78 kB / 1.858 GB, free: 72.42 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00241/4.074, allocations: 0.7081 MB / 1.859 GB, free: 71.7 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.421e-05/4.074, allocations: 7.984 kB / 1.859 GB, free: 71.69 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.546e-06/4.074, allocations: 0 / 1.859 GB, free: 71.69 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001734/4.075, allocations: 0.6469 MB / 1.859 GB, free: 71 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004606/4.08, allocations: 1.74 MB / 1.861 GB, free: 69.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.879e-06/4.08, allocations: 4 kB / 1.861 GB, free: 69.2 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007837/4.081, allocations: 87.89 kB / 1.861 GB, free: 69.11 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004328/4.081, allocations: 115.6 kB / 1.861 GB, free: 68.98 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.087e-05/4.081, allocations: 15.92 kB / 1.861 GB, free: 68.97 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003679/4.085, allocations: 4.616 MB / 1.866 GB, free: 63.99 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.011e-06/4.085, allocations: 0 / 1.866 GB, free: 63.99 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003084/4.088, allocations: 1.089 MB / 1.867 GB, free: 62.84 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007877/4.089, allocations: 259.6 kB / 1.867 GB, free: 62.57 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000218/4.089, allocations: 8 kB / 1.867 GB, free: 62.56 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00128/4.091, allocations: 55.78 kB / 1.867 GB, free: 62.5 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.464e-05/4.091, allocations: 40.39 kB / 1.867 GB, free: 62.46 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.884e-05/4.091, allocations: 23.98 kB / 1.867 GB, free: 62.44 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.001111/4.092, allocations: 0.5304 MB / 1.868 GB, free: 61.92 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.003997/4.096, allocations: 0.7518 MB / 1.868 GB, free: 61.17 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 4 (hex.vol1.dynBal.U,hex.vol2.dynBal.U,hex.capFil1.T,hex.capFil2.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 2,(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.002336/4.098, allocations: 0.6703 MB / 1.869 GB, free: 60.54 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.003663/4.102, allocations: 1.611 MB / 1.871 GB, free: 58.85 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 6.883e-06/4.102, allocations: 0 / 1.871 GB, free: 58.85 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0009704/4.103, allocations: 0.5504 MB / 1.871 GB, free: 58.27 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004718/4.108, allocations: 483.8 kB / 1.872 GB, free: 57.8 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004773/4.113, allocations: 1.537 MB / 1.873 GB, free: 56.23 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001094/4.114, allocations: 1.191 MB / 1.874 GB, free: 55.02 MB / 0.8698 GB Notification: Performance of SimCode: time 2.735e-06/4.114, allocations: 0 / 1.874 GB, free: 55.02 MB / 0.8698 GB Notification: Performance of Templates: time 0.06525/4.179, allocations: 25.97 MB / 1.9 GB, free: 29.34 MB / 0.8698 GB