Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.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.StratifiedNonUniformInitial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial") translateModel(Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial") [: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.46/1.46, allocations: 285.5 MB / 292.8 MB, free: 10.5 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.001082/0.001082, allocations: 193.3 kB / 361.1 MB, free: 7.129 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.394/1.394, allocations: 205.1 MB / 0.6195 GB, free: 10.34 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.0009303/0.0009304, allocations: 88.06 kB / 0.7325 GB, free: 44.29 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 7.754e-06/7.764e-06, allocations: 0 / 0.8511 GB, free: 3.043 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6046/0.6047, allocations: 115.3 MB / 0.9637 GB, free: 78.23 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8572/1.462, allocations: 403.9 MB / 1.358 GB, free: 162.6 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002189/1.462, allocations: 92.92 kB / 1.358 GB, free: 162.5 MB / 0.8542 GB Notification: Performance of FrontEnd: time 7.553/9.015, allocations: 2.069 GB / 3.427 GB, free: 147.3 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0009295/9.016, allocations: 171.7 kB / 3.427 GB, free: 147.2 MB / 0.948 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 0.01864/9.035, allocations: 5.406 MB / 3.432 GB, free: 145.6 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 6.271e-05/9.035, allocations: 11.72 kB / 3.432 GB, free: 145.6 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007857/9.043, allocations: 0.7753 MB / 3.433 GB, free: 145.2 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0176/9.061, allocations: 7.353 MB / 3.44 GB, free: 144.4 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002422/9.061, allocations: 180.3 kB / 3.44 GB, free: 144.4 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001601/9.062, allocations: 318.4 kB / 3.441 GB, free: 144.4 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01147/9.074, allocations: 5.678 MB / 3.446 GB, free: 144.4 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01377/9.088, allocations: 6.738 MB / 3.453 GB, free: 143.7 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001444/9.088, allocations: 22.03 kB / 3.453 GB, free: 143.7 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006609/9.089, allocations: 7.062 kB / 3.453 GB, free: 143.7 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001563/9.089, allocations: 170.2 kB / 3.453 GB, free: 143.7 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0408/9.13, allocations: 29.4 MB / 3.482 GB, free: 130.9 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004431/9.134, allocations: 3.343 MB / 3.485 GB, free: 130.9 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003074/9.137, allocations: 2.683 MB / 3.488 GB, free: 130.8 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008009/9.138, allocations: 0.8327 MB / 3.488 GB, free: 130 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.181e-05/9.138, allocations: 73.98 kB / 3.488 GB, free: 129.9 MB / 0.948 GB Notification: Performance of pre-optimization done (n=267): time 4.078e-06/9.138, allocations: 0 / 3.488 GB, free: 129.9 MB / 0.948 GB Notification: Performance of matching and sorting (n=267): time 0.006705/9.145, allocations: 3.666 MB / 3.492 GB, free: 129.6 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.613e-05/9.145, allocations: 77.95 kB / 3.492 GB, free: 129.5 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006724/9.152, allocations: 3.998 MB / 3.496 GB, free: 129.2 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0007467/9.152, allocations: 29.36 kB / 3.496 GB, free: 129.1 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001934/9.154, allocations: 2.15 MB / 3.498 GB, free: 127.9 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.00186/9.156, allocations: 0.8992 MB / 3.499 GB, free: 127.3 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001645/9.156, allocations: 3.531 kB / 3.499 GB, free: 127.3 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0002111/9.156, allocations: 460 kB / 3.499 GB, free: 127 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00214/9.159, allocations: 1.605 MB / 3.501 GB, free: 127 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002563/9.161, allocations: 2.838 MB / 3.504 GB, free: 125.5 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003246/9.164, allocations: 2.338 MB / 3.506 GB, free: 125.5 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.96e-05/9.165, allocations: 11 kB / 3.506 GB, free: 125.5 MB / 0.948 GB Notification: Performance of matching and sorting (n=475) (initialization): time 0.008536/9.173, allocations: 5.066 MB / 3.511 GB, free: 125.1 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.22e-05/9.173, allocations: 6.969 kB / 3.511 GB, free: 125.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.286e-05/9.173, allocations: 36.59 kB / 3.511 GB, free: 125.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009041/9.174, allocations: 429.4 kB / 3.511 GB, free: 125.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003007/9.177, allocations: 0.8492 MB / 3.512 GB, free: 125.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004882/9.182, allocations: 4.991 MB / 3.517 GB, free: 122.5 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005728/9.188, allocations: 0.4923 MB / 3.518 GB, free: 122.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005833/9.188, allocations: 180.8 kB / 3.518 GB, free: 122.3 MB / 0.948 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.0008824/9.189, allocations: 224.9 kB / 3.518 GB, free: 122.1 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001345/9.191, allocations: 420.4 kB / 3.518 GB, free: 121.9 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007061/9.198, allocations: 4.057 MB / 3.522 GB, free: 121.7 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.519e-05/9.198, allocations: 29.11 kB / 3.522 GB, free: 121.7 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.229e-05/9.198, allocations: 7.594 kB / 3.522 GB, free: 121.7 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004605/9.202, allocations: 3.585 MB / 3.526 GB, free: 121.2 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01881/9.221, allocations: 9.523 MB / 3.535 GB, free: 120.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.206e-05/9.221, allocations: 3.969 kB / 3.535 GB, free: 120.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002184/9.223, allocations: 497.6 kB / 3.536 GB, free: 120.5 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008397/9.224, allocations: 372.5 kB / 3.536 GB, free: 120.5 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001838/9.224, allocations: 50.08 kB / 3.536 GB, free: 120.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005031/9.229, allocations: 4.908 MB / 3.541 GB, free: 117.9 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.698e-06/9.23, allocations: 6 kB / 3.541 GB, free: 117.9 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.009934/9.239, allocations: 6.672 MB / 3.547 GB, free: 116.5 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003866/9.243, allocations: 1.121 MB / 3.549 GB, free: 116.2 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001221/9.245, allocations: 21.72 kB / 3.549 GB, free: 116.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003128/9.248, allocations: 220.4 kB / 3.549 GB, free: 116.1 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002305/9.248, allocations: 147.7 kB / 3.549 GB, free: 116.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002539/9.248, allocations: 128.5 kB / 3.549 GB, free: 116.1 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.004356/9.253, allocations: 3.055 MB / 3.552 GB, free: 116 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.009085/9.262, allocations: 1.836 MB / 3.554 GB, free: 115.6 MB / 0.948 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.002539/9.264, allocations: 0.6905 MB / 3.554 GB, free: 115.5 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.008577/9.273, allocations: 4.03 MB / 3.558 GB, free: 115.2 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.537e-05/9.273, allocations: 2.906 kB / 3.558 GB, free: 115.2 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.003026/9.276, allocations: 1.916 MB / 3.56 GB, free: 115 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01539/9.291, allocations: 2.248 MB / 3.562 GB, free: 114.9 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.025/9.316, allocations: 10.45 MB / 3.573 GB, free: 113 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00602/9.323, allocations: 4.762 MB / 3.577 GB, free: 111.9 MB / 0.948 GB Notification: Performance of SimCode: time 1.633e-06/9.323, allocations: 0 / 3.577 GB, free: 111.9 MB / 0.948 GB Notification: Performance of Templates: time 0.1401/9.463, allocations: 85.5 MB / 3.661 GB, free: 75.33 MB / 0.948 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe 2>&1)