Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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) 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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial,fileNamePrefix="Buildings_9_Buildings_Fluid_Storage_Validation_StratifiedNonUniformInitial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial,fileNamePrefix="Buildings_9_Buildings_Fluid_Storage_Validation_StratifiedNonUniformInitial",fmuType="me",version="2.0",platforms={"static"}) [: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 9.1.1-maint.9.1.x/package.mo): time 2.183/2.183, allocations: 387.2 MB / 394.5 MB, free: 13.67 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001033/0.001033, allocations: 193.2 kB / 487 MB, free: 5.395 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.308/1.308, allocations: 221.3 MB / 0.7819 GB, free: 1.527 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009246/0.0009248, allocations: 102.9 kB / 0.9213 GB, free: 2.77 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.5478/0.5488, allocations: 148.4 MB / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2332/0.7819, allocations: 142.3 MB / 1.205 GB, free: 26.19 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9245/1.707, allocations: 415.8 MB / 1.611 GB, free: 7.852 MB / 1.042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002786/1.707, allocations: 89.38 kB / 1.611 GB, free: 7.809 MB / 1.042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1414 * Number of variables: 1414 Notification: Performance of Generate backend data structure: time 7.091/8.798, allocations: 2.143 GB / 3.754 GB, free: 170.2 MB / 1.182 GB Notification: Performance of prepare preOptimizeDAE: time 3.999e-05/8.798, allocations: 8 kB / 3.754 GB, free: 170.2 MB / 1.182 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004949/8.803, allocations: 0.7881 MB / 3.755 GB, free: 169.4 MB / 1.182 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01781/8.82, allocations: 7.567 MB / 3.762 GB, free: 161.8 MB / 1.182 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002575/8.821, allocations: 184 kB / 3.762 GB, free: 161.6 MB / 1.182 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001827/8.823, allocations: 319.9 kB / 3.763 GB, free: 161.3 MB / 1.182 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01211/8.835, allocations: 5.668 MB / 3.768 GB, free: 155.7 MB / 1.182 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02083/8.856, allocations: 6.745 MB / 3.775 GB, free: 148.7 MB / 1.182 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002753/8.856, allocations: 15.88 kB / 3.775 GB, free: 148.7 MB / 1.182 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001626/8.858, allocations: 15.91 kB / 3.775 GB, free: 148.6 MB / 1.182 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001826/8.858, allocations: 222.4 kB / 3.775 GB, free: 148.4 MB / 1.182 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04382/8.902, allocations: 29.42 MB / 3.804 GB, free: 117.9 MB / 1.182 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004976/8.907, allocations: 3.346 MB / 3.807 GB, free: 114.6 MB / 1.182 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00347/8.91, allocations: 2.697 MB / 3.81 GB, free: 111.9 MB / 1.182 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000912/8.911, allocations: 0.8261 MB / 3.811 GB, free: 110.9 MB / 1.182 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.327e-05/8.911, allocations: 72.67 kB / 3.811 GB, free: 110.8 MB / 1.182 GB Notification: Performance of pre-optimization done (n=267): time 5.951e-06/8.911, allocations: 3.984 kB / 3.811 GB, free: 110.8 MB / 1.182 GB Notification: Performance of matching and sorting (n=267): time 0.007342/8.919, allocations: 3.67 MB / 3.814 GB, free: 107.1 MB / 1.182 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.898e-05/8.919, allocations: 77.52 kB / 3.814 GB, free: 107 MB / 1.182 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00865/8.927, allocations: 4.079 MB / 3.818 GB, free: 102.9 MB / 1.182 GB Notification: Performance of collectPreVariables (initialization): time 0.0009079/8.928, allocations: 29.7 kB / 3.818 GB, free: 102.9 MB / 1.182 GB Notification: Performance of collectInitialEqns (initialization): time 0.002386/8.931, allocations: 2.16 MB / 3.82 GB, free: 100.7 MB / 1.182 GB Notification: Performance of collectInitialBindings (initialization): time 0.002213/8.933, allocations: 0.9047 MB / 3.821 GB, free: 99.79 MB / 1.182 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006096/8.933, allocations: 4 kB / 3.821 GB, free: 99.78 MB / 1.182 GB Notification: Performance of setup shared object (initialization): time 0.00035/8.934, allocations: 461.9 kB / 3.822 GB, free: 99.32 MB / 1.182 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002634/8.936, allocations: 1.604 MB / 3.823 GB, free: 97.72 MB / 1.182 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003175/8.94, allocations: 2.826 MB / 3.826 GB, free: 94.33 MB / 1.182 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003891/8.944, allocations: 2.347 MB / 3.828 GB, free: 91.96 MB / 1.182 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.605e-05/8.944, allocations: 12 kB / 3.828 GB, free: 91.95 MB / 1.182 GB Notification: Performance of matching and sorting (n=475) (initialization): time 0.00994/8.954, allocations: 5.071 MB / 3.833 GB, free: 86.84 MB / 1.182 GB Notification: Performance of prepare postOptimizeDAE: time 2.201e-05/8.954, allocations: 7.984 kB / 3.833 GB, free: 86.83 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.278e-05/8.954, allocations: 43.94 kB / 3.833 GB, free: 86.79 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001006/8.955, allocations: 421.7 kB / 3.834 GB, free: 86.38 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003437/8.958, allocations: 0.8502 MB / 3.835 GB, free: 85.52 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004814/8.963, allocations: 4.981 MB / 3.839 GB, free: 80.32 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005412/8.968, allocations: 0.4919 MB / 3.84 GB, free: 79.82 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008446/8.969, allocations: 180 kB / 3.84 GB, free: 79.65 MB / 1.182 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 181 * Number of states: 0 () * Number of discrete variables: 2 (dHTan.local_reset,dHTanEnh.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (447): * Single equations (assignments): 445 * 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: 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.001383/8.971, allocations: 219.6 kB / 3.84 GB, free: 79.43 MB / 1.182 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001829/8.973, allocations: 426.8 kB / 3.841 GB, free: 79 MB / 1.182 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008039/8.981, allocations: 4.07 MB / 3.845 GB, free: 74.88 MB / 1.182 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.46e-05/8.981, allocations: 27.98 kB / 3.845 GB, free: 74.85 MB / 1.182 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.173e-05/8.981, allocations: 7.906 kB / 3.845 GB, free: 74.84 MB / 1.182 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005004/8.986, allocations: 3.58 MB / 3.848 GB, free: 71.16 MB / 1.182 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02025/9.006, allocations: 9.535 MB / 3.858 GB, free: 61.54 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.525e-05/9.006, allocations: 8.125 kB / 3.858 GB, free: 61.53 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002325/9.008, allocations: 499.2 kB / 3.858 GB, free: 61.04 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008313/9.009, allocations: 365.4 kB / 3.858 GB, free: 60.68 MB / 1.182 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003711/9.01, allocations: 51.89 kB / 3.858 GB, free: 60.62 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004648/9.014, allocations: 4.917 MB / 3.863 GB, free: 55.48 MB / 1.182 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.346e-06/9.014, allocations: 4 kB / 3.863 GB, free: 55.47 MB / 1.182 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.009102/9.023, allocations: 6.695 MB / 3.87 GB, free: 48.44 MB / 1.182 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01107/9.035, allocations: 9.367 MB / 3.879 GB, free: 38.72 MB / 1.182 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00344/9.038, allocations: 1.128 MB / 3.88 GB, free: 37.57 MB / 1.182 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001686/9.04, allocations: 23.98 kB / 3.88 GB, free: 37.54 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004251/9.044, allocations: 227 kB / 3.88 GB, free: 37.32 MB / 1.182 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002667/9.044, allocations: 141.7 kB / 3.88 GB, free: 37.18 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004373/9.045, allocations: 135.8 kB / 3.881 GB, free: 37.05 MB / 1.182 GB Notification: Performance of sort global known variables: time 0.005661/9.05, allocations: 3.109 MB / 3.884 GB, free: 33.94 MB / 1.182 GB Notification: Performance of remove unused functions: time 0.009919/9.06, allocations: 1.928 MB / 3.885 GB, free: 32 MB / 1.182 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 16 (heaTan.vol[1].dynBal.U,heaTan.vol[2].dynBal.U,heaTan.vol[3].dynBal.U,heaTan.vol[4].dynBal.U,heaTan.vol[5].dynBal.U,heaTan.vol[6].dynBal.U,heaTan.vol[7].dynBal.U,cooTan.vol[1].dynBal.U,cooTan.vol[2].dynBal.U,cooTan.vol[3].dynBal.U,cooTan.vol[4].dynBal.U,cooTan.vol[5].dynBal.U,cooTan.vol[6].dynBal.U,cooTan.vol[7].dynBal.U,dHTanEnh.y,dHTan.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (242): * Single equations (assignments): 237 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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 Backend phase and start with SimCode phase: time 0.001912/9.062, allocations: 0.7075 MB / 3.886 GB, free: 31.36 MB / 1.182 GB Notification: Performance of simCode: created initialization part: time 0.006187/9.069, allocations: 4.019 MB / 3.89 GB, free: 27.3 MB / 1.182 GB Notification: Performance of simCode: created event and clocks part: time 1.088e-05/9.069, allocations: 3.938 kB / 3.89 GB, free: 27.3 MB / 1.182 GB Notification: Performance of simCode: created simulation system equations: time 0.002656/9.071, allocations: 1.921 MB / 3.892 GB, free: 25.36 MB / 1.182 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01115/9.082, allocations: 2.232 MB / 3.894 GB, free: 23.15 MB / 1.182 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02336/9.106, allocations: 10.55 MB / 3.904 GB, free: 12.46 MB / 1.182 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007112/9.113, allocations: 4.85 MB / 3.909 GB, free: 7.582 MB / 1.182 GB Notification: Performance of SimCode: time 1.002e-06/9.113, allocations: 0 / 3.909 GB, free: 7.582 MB / 1.182 GB (rm -f Buildings_9_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe ; mkfifo Buildings_9_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe >> ../files/Buildings_9_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Storage_Validation_StratifiedNonUniformInitial_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Storage_Validation_StratifiedNonUniformInitial.fmu > Buildings_9_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe 2>&1)