Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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 Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading") translateModel(Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.479/1.479, allocations: 285.5 MB / 292.8 MB, free: 10.39 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001234/0.001235, allocations: 177.3 kB / 361.1 MB, free: 7.078 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.443/1.443, allocations: 205.1 MB / 0.6195 GB, free: 10.38 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008687/0.0008685, allocations: 84.22 kB / 0.7325 GB, free: 44.23 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 7.765e-06/7.955e-06, allocations: 0 / 0.8511 GB, free: 3 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6364/0.6364, allocations: 115.3 MB / 0.9637 GB, free: 78.04 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8953/1.532, allocations: 406.5 MB / 1.361 GB, free: 155.4 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002671/1.532, allocations: 83.66 kB / 1.361 GB, free: 155.4 MB / 0.8542 GB Notification: Performance of FrontEnd: time 7.871/9.403, allocations: 2.183 GB / 3.544 GB, free: 142.7 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 0.001328/9.405, allocations: 189.4 kB / 3.544 GB, free: 142.7 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.02283/9.427, allocations: 6.04 MB / 3.55 GB, free: 140.6 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 5.413e-05/9.428, allocations: 11.09 kB / 3.55 GB, free: 140.6 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006061/9.434, allocations: 0.8508 MB / 3.551 GB, free: 140.2 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02124/9.455, allocations: 7.795 MB / 3.558 GB, free: 139.4 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004357/9.455, allocations: 197.8 kB / 3.558 GB, free: 139.4 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003246/9.459, allocations: 357.4 kB / 3.559 GB, free: 139.4 MB / 0.9636 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01993/9.479, allocations: 6.512 MB / 3.565 GB, free: 139.4 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02984/9.508, allocations: 7.582 MB / 3.572 GB, free: 138.4 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006233/9.509, allocations: 22.16 kB / 3.572 GB, free: 138.4 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003607/9.513, allocations: 10.03 kB / 3.572 GB, free: 138.4 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002899/9.513, allocations: 189.5 kB / 3.573 GB, free: 138.4 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07257/9.586, allocations: 33.91 MB / 3.606 GB, free: 123.4 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007851/9.594, allocations: 3.968 MB / 3.61 GB, free: 123.4 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00495/9.599, allocations: 3.157 MB / 3.613 GB, free: 123.4 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001257/9.6, allocations: 0.9629 MB / 3.614 GB, free: 122.4 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003711/9.604, allocations: 2.252 MB / 3.616 GB, free: 122.3 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=317): time 5.23e-06/9.604, allocations: 0 / 3.616 GB, free: 122.3 MB / 0.9636 GB Notification: Performance of matching and sorting (n=317): time 0.009283/9.613, allocations: 4.743 MB / 3.621 GB, free: 121.9 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.741e-05/9.613, allocations: 93.77 kB / 3.621 GB, free: 121.9 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009053/9.622, allocations: 4.34 MB / 3.625 GB, free: 121.5 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 0.001285/9.623, allocations: 32.92 kB / 3.625 GB, free: 121.5 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.003539/9.627, allocations: 2.422 MB / 3.627 GB, free: 120.1 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.002798/9.63, allocations: 1.072 MB / 3.628 GB, free: 119.4 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003084/9.63, allocations: 0 / 3.628 GB, free: 119.4 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0003395/9.63, allocations: 489 kB / 3.629 GB, free: 119.1 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002948/9.633, allocations: 2.062 MB / 3.631 GB, free: 119.1 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004421/9.638, allocations: 3.566 MB / 3.634 GB, free: 117.3 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00726/9.645, allocations: 3.113 MB / 3.637 GB, free: 117.2 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001034/9.645, allocations: 13.81 kB / 3.637 GB, free: 117.2 MB / 0.9636 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.01976/9.665, allocations: 6.457 MB / 3.644 GB, free: 116.9 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 2.501e-05/9.665, allocations: 7.812 kB / 3.644 GB, free: 116.9 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.997e-05/9.665, allocations: 51.08 kB / 3.644 GB, free: 116.9 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001065/9.666, allocations: 435.4 kB / 3.644 GB, free: 116.8 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004654/9.671, allocations: 1.023 MB / 3.645 GB, free: 116.8 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005137/9.676, allocations: 5.021 MB / 3.65 GB, free: 113.3 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00805/9.684, allocations: 0.588 MB / 3.651 GB, free: 113 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001444/9.686, allocations: 225.8 kB / 3.651 GB, free: 113 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.001261/9.687, allocations: 251 kB / 3.651 GB, free: 112.9 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002015/9.689, allocations: 471.3 kB / 3.651 GB, free: 112.6 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009833/9.699, allocations: 5.285 MB / 3.657 GB, free: 110.9 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.25e-05/9.699, allocations: 33.16 kB / 3.657 GB, free: 110.9 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.142e-05/9.699, allocations: 3.969 kB / 3.657 GB, free: 110.9 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006928/9.706, allocations: 4.632 MB / 3.661 GB, free: 109.2 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03709/9.743, allocations: 11.51 MB / 3.672 GB, free: 104.9 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.869e-05/9.743, allocations: 0 / 3.672 GB, free: 104.9 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003951/9.747, allocations: 0.6154 MB / 3.673 GB, free: 104.9 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00113/9.748, allocations: 377 kB / 3.673 GB, free: 104.8 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007048/9.749, allocations: 45.47 kB / 3.673 GB, free: 104.8 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005794/9.755, allocations: 4.913 MB / 3.678 GB, free: 101.3 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.396e-06/9.755, allocations: 11 kB / 3.678 GB, free: 101.3 MB / 0.9636 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01635/9.771, allocations: 7.952 MB / 3.686 GB, free: 98.23 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005563/9.777, allocations: 1.257 MB / 3.687 GB, free: 97.55 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002757/9.78, allocations: 11.75 kB / 3.687 GB, free: 97.54 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006283/9.786, allocations: 325.4 kB / 3.688 GB, free: 97.52 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007867/9.787, allocations: 167.3 kB / 3.688 GB, free: 97.49 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008896/9.788, allocations: 143.6 kB / 3.688 GB, free: 97.46 MB / 0.9636 GB Notification: Performance of sort global known variables: time 0.008744/9.796, allocations: 3.305 MB / 3.691 GB, free: 96.25 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.01284/9.809, allocations: 2.022 MB / 3.693 GB, free: 95.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.003048/9.812, allocations: 0.7796 MB / 3.694 GB, free: 95.68 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.01152/9.824, allocations: 5.1 MB / 3.699 GB, free: 93.96 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.744e-05/9.824, allocations: 2.781 kB / 3.699 GB, free: 93.96 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.006407/9.83, allocations: 2.403 MB / 3.701 GB, free: 93.05 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01686/9.847, allocations: 2.375 MB / 3.703 GB, free: 91.7 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03929/9.887, allocations: 11.65 MB / 3.715 GB, free: 81.95 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0129/9.9, allocations: 5.157 MB / 3.72 GB, free: 78.1 MB / 0.9636 GB Notification: Performance of SimCode: time 3.877e-06/9.9, allocations: 0 / 3.72 GB, free: 78.1 MB / 0.9636 GB Notification: Performance of Templates: time 0.7248/10.62, allocations: 95.94 MB / 3.814 GB, free: 219.6 MB / 0.9636 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe 2>&1)