Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading") translateModel(Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading") [: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 8.0.0/package.mo): time 2.278/2.278, allocations: 284.9 MB / 292.2 MB, free: 10.78 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.003015/0.003015, allocations: 181.3 kB / 360.4 MB, free: 7.512 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.838/1.838, allocations: 205.1 MB / 0.6188 GB, free: 12.46 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001191/0.001191, allocations: 85.52 kB / 0.7318 GB, free: 45 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 8.276e-06/8.466e-06, allocations: 0 / 0.8502 GB, free: 3.891 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6234/0.6234, allocations: 115.2 MB / 0.9628 GB, free: 78.33 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9886/1.612, allocations: 406.3 MB / 1.36 GB, free: 157 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000303/1.612, allocations: 88.47 kB / 1.36 GB, free: 157 MB / 0.8542 GB Notification: Performance of FrontEnd: time 9.918/11.53, allocations: 2.183 GB / 3.543 GB, free: 140.5 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 0.001242/11.53, allocations: 186.8 kB / 3.543 GB, free: 140.5 MB / 0.9636 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1564 * Number of variables: 1564 Notification: Performance of Generate backend data structure: time 0.02572/11.56, allocations: 6.043 MB / 3.549 GB, free: 138.5 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.78e-05/11.56, allocations: 10.12 kB / 3.549 GB, free: 138.5 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006538/11.56, allocations: 0.851 MB / 3.549 GB, free: 138.1 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02823/11.59, allocations: 7.79 MB / 3.557 GB, free: 137.3 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000424/11.59, allocations: 204 kB / 3.557 GB, free: 137.3 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002815/11.6, allocations: 357.8 kB / 3.558 GB, free: 137.3 MB / 0.9636 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02297/11.62, allocations: 6.51 MB / 3.564 GB, free: 137.2 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03017/11.65, allocations: 7.585 MB / 3.571 GB, free: 136.3 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004864/11.65, allocations: 20.78 kB / 3.571 GB, free: 136.3 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00307/11.65, allocations: 15.56 kB / 3.571 GB, free: 136.3 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002403/11.65, allocations: 182.8 kB / 3.572 GB, free: 136.3 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07534/11.73, allocations: 33.9 MB / 3.605 GB, free: 121.3 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009733/11.74, allocations: 3.968 MB / 3.609 GB, free: 121.2 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007732/11.75, allocations: 3.169 MB / 3.612 GB, free: 121.2 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001849/11.75, allocations: 0.9607 MB / 3.613 GB, free: 120.3 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006927/11.76, allocations: 2.257 MB / 3.615 GB, free: 120.2 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=317): time 7.945e-06/11.76, allocations: 0 / 3.615 GB, free: 120.2 MB / 0.9636 GB Notification: Performance of matching and sorting (n=317): time 0.01596/11.77, allocations: 4.742 MB / 3.619 GB, free: 119.8 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.776e-05/11.77, allocations: 86.34 kB / 3.62 GB, free: 119.7 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01224/11.78, allocations: 4.346 MB / 3.624 GB, free: 119.4 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 0.001076/11.78, allocations: 32.36 kB / 3.624 GB, free: 119.3 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.004274/11.79, allocations: 2.423 MB / 3.626 GB, free: 118 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.003289/11.79, allocations: 1.074 MB / 3.627 GB, free: 117.3 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000557/11.79, allocations: 0 / 3.627 GB, free: 117.3 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0004285/11.79, allocations: 487.7 kB / 3.628 GB, free: 117 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00559/11.8, allocations: 2.06 MB / 3.63 GB, free: 116.9 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007038/11.81, allocations: 3.561 MB / 3.633 GB, free: 115.1 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009447/11.82, allocations: 3.114 MB / 3.636 GB, free: 115.1 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.885e-05/11.82, allocations: 18.83 kB / 3.636 GB, free: 115.1 MB / 0.9636 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.02207/11.84, allocations: 6.459 MB / 3.643 GB, free: 114.7 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 2.373e-05/11.84, allocations: 4.125 kB / 3.643 GB, free: 114.7 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001535/11.84, allocations: 48.62 kB / 3.643 GB, free: 114.7 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001795/11.84, allocations: 436.7 kB / 3.643 GB, free: 114.7 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008884/11.85, allocations: 1.023 MB / 3.644 GB, free: 114.7 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008967/11.86, allocations: 5.02 MB / 3.649 GB, free: 112.1 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009858/11.87, allocations: 0.5893 MB / 3.65 GB, free: 111.8 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001527/11.87, allocations: 224.9 kB / 3.65 GB, free: 111.8 MB / 0.9636 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 222 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,dHTan.local_reset,dHTanEnh.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (540): * Single equations (assignments): 537 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 14,(1,100.0%) 14} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001499/11.87, allocations: 247.4 kB / 3.65 GB, free: 111.7 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002046/11.87, allocations: 472.2 kB / 3.65 GB, free: 111.4 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01896/11.89, allocations: 5.298 MB / 3.656 GB, free: 109.9 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.733e-05/11.89, allocations: 30.12 kB / 3.656 GB, free: 109.9 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.655e-05/11.89, allocations: 3.969 kB / 3.656 GB, free: 109.9 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01257/11.9, allocations: 4.627 MB / 3.66 GB, free: 108.2 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04122/11.95, allocations: 11.5 MB / 3.671 GB, free: 103.9 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.714e-05/11.95, allocations: 7.188 kB / 3.671 GB, free: 103.9 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006447/11.95, allocations: 0.6095 MB / 3.672 GB, free: 103.9 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001532/11.95, allocations: 379.3 kB / 3.672 GB, free: 103.8 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009007/11.95, allocations: 45.39 kB / 3.672 GB, free: 103.8 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008162/11.96, allocations: 4.922 MB / 3.677 GB, free: 100.3 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.086e-06/11.96, allocations: 2.344 kB / 3.677 GB, free: 100.3 MB / 0.9636 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.02386/11.99, allocations: 7.954 MB / 3.685 GB, free: 97.23 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005825/11.99, allocations: 1.256 MB / 3.686 GB, free: 96.55 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002599/12, allocations: 20.14 kB / 3.686 GB, free: 96.54 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008354/12, allocations: 319.1 kB / 3.686 GB, free: 96.52 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001094/12.01, allocations: 165.4 kB / 3.687 GB, free: 96.5 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006756/12.01, allocations: 139.9 kB / 3.687 GB, free: 96.47 MB / 0.9636 GB Notification: Performance of sort global known variables: time 0.009389/12.02, allocations: 3.308 MB / 3.69 GB, free: 95.25 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.01269/12.03, allocations: 2.027 MB / 3.692 GB, free: 94.88 MB / 0.9636 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 16 (tanEnh.vol[1].dynBal.U,tanEnh.vol[2].dynBal.U,tanEnh.vol[3].dynBal.U,tanEnh.vol[4].dynBal.U,tanEnh.vol[5].dynBal.U,tanEnh.vol[6].dynBal.U,tanEnh.vol[7].dynBal.U,tan.vol[1].dynBal.U,tan.vol[2].dynBal.U,tan.vol[3].dynBal.U,tan.vol[4].dynBal.U,tan.vol[5].dynBal.U,tan.vol[6].dynBal.U,tan.vol[7].dynBal.U,dHTanEnh.y,dHTan.y) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (296): * Single equations (assignments): 289 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 14,(1,100.0%) 14} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002923/12.03, allocations: 0.7828 MB / 3.693 GB, free: 94.68 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.01388/12.04, allocations: 5.092 MB / 3.698 GB, free: 92.96 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.184e-05/12.04, allocations: 6.125 kB / 3.698 GB, free: 92.96 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.006341/12.05, allocations: 2.403 MB / 3.7 GB, free: 92.05 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02237/12.07, allocations: 2.377 MB / 3.702 GB, free: 91.66 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03913/12.11, allocations: 11.65 MB / 3.714 GB, free: 84.92 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01296/12.13, allocations: 5.15 MB / 3.719 GB, free: 81.07 MB / 0.9636 GB Notification: Performance of SimCode: time 2.836e-06/12.13, allocations: 0 / 3.719 GB, free: 81.07 MB / 0.9636 GB Notification: Performance of Templates: time 0.2395/12.37, allocations: 95.92 MB / 3.812 GB, free: 404 kB / 0.9636 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.sim & ./Buildings_8.0.0_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe 2>&1)