Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.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.Storage.Validation.StratifiedLoadingUnloading,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.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 7.0.1/package.mo): time 2.161/2.161, allocations: 253.1 MB / 260.4 MB, free: 7.488 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.001629/0.001629, allocations: 177.1 kB / 319.6 MB, free: 3.297 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.927/1.927, allocations: 205.4 MB / 0.5704 GB, free: 15.02 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.001349/0.001349, allocations: 97.44 kB / 0.6746 GB, free: 4.387 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.017e-05/1.032e-05, allocations: 4 kB / 0.7843 GB, free: 102.5 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2062/0.2062, allocations: 106.2 MB / 0.888 GB, free: 12.19 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.402/1.608, allocations: 399.7 MB / 1.278 GB, free: 258.6 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002735/1.608, allocations: 85.97 kB / 1.278 GB, free: 258.6 MB / 0.8698 GB Notification: Performance of FrontEnd: time 10.1/11.71, allocations: 2.128 GB / 3.407 GB, free: 123.8 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.001282/11.71, allocations: 188.5 kB / 3.407 GB, free: 123.8 MB / 0.8855 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.029/11.74, allocations: 6.054 MB / 3.413 GB, free: 121.5 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.977e-05/11.74, allocations: 10.75 kB / 3.413 GB, free: 121.5 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007236/11.75, allocations: 0.8442 MB / 3.414 GB, free: 121.1 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02948/11.77, allocations: 7.784 MB / 3.421 GB, free: 120.3 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004606/11.78, allocations: 195.3 kB / 3.422 GB, free: 120.3 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003148/11.78, allocations: 364 kB / 3.422 GB, free: 120.3 MB / 0.8855 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02545/11.8, allocations: 6.559 MB / 3.428 GB, free: 120.2 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03349/11.84, allocations: 7.478 MB / 3.436 GB, free: 119.4 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004611/11.84, allocations: 19.06 kB / 3.436 GB, free: 119.4 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002875/11.84, allocations: 10.31 kB / 3.436 GB, free: 119.4 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003246/11.84, allocations: 183.9 kB / 3.436 GB, free: 119.4 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08531/11.93, allocations: 33.05 MB / 3.468 GB, free: 98.98 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0126/11.94, allocations: 4.07 MB / 3.472 GB, free: 97.66 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.009633/11.95, allocations: 3.165 MB / 3.475 GB, free: 96.63 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002167/11.95, allocations: 0.9691 MB / 3.476 GB, free: 95.67 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008499/11.96, allocations: 2.232 MB / 3.478 GB, free: 94.89 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=329): time 8.176e-06/11.96, allocations: 0 / 3.478 GB, free: 94.89 MB / 0.8855 GB Notification: Performance of matching and sorting (n=329): time 0.01967/11.98, allocations: 4.843 MB / 3.483 GB, free: 93.26 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.419e-05/11.98, allocations: 85.78 kB / 3.483 GB, free: 93.2 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01635/12, allocations: 4.334 MB / 3.487 GB, free: 91.64 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.001192/12, allocations: 29.52 kB / 3.487 GB, free: 91.61 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.004998/12, allocations: 2.388 MB / 3.49 GB, free: 89.63 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.003584/12.01, allocations: 1.118 MB / 3.491 GB, free: 88.61 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005713/12.01, allocations: 0 / 3.491 GB, free: 88.61 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0005228/12.01, allocations: 494.6 kB / 3.491 GB, free: 88.17 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006127/12.01, allocations: 2.07 MB / 3.493 GB, free: 86.35 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00825/12.02, allocations: 3.544 MB / 3.497 GB, free: 82.5 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01048/12.03, allocations: 3.184 MB / 3.5 GB, free: 79.66 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.151e-05/12.03, allocations: 16 kB / 3.5 GB, free: 79.64 MB / 0.8855 GB Notification: Performance of matching and sorting (n=577) (initialization): time 0.02223/12.05, allocations: 6.538 MB / 3.506 GB, free: 73.11 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.245e-05/12.05, allocations: 4 kB / 3.506 GB, free: 73.11 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.879e-05/12.05, allocations: 48 kB / 3.506 GB, free: 73.06 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001613/12.06, allocations: 429.6 kB / 3.507 GB, free: 72.64 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00872/12.07, allocations: 1.039 MB / 3.508 GB, free: 71.61 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008441/12.07, allocations: 5.005 MB / 3.513 GB, free: 66.39 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01085/12.08, allocations: 0.5922 MB / 3.513 GB, free: 65.82 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001713/12.09, allocations: 216 kB / 3.513 GB, free: 65.61 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 214 * 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 (548): * Single equations (assignments): 545 * 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.001739/12.09, allocations: 254.3 kB / 3.514 GB, free: 65.35 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00235/12.09, allocations: 478 kB / 3.514 GB, free: 64.88 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02018/12.11, allocations: 5.413 MB / 3.519 GB, free: 59.48 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.646e-05/12.11, allocations: 35.39 kB / 3.519 GB, free: 59.45 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.677e-05/12.11, allocations: 4 kB / 3.519 GB, free: 59.44 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01445/12.13, allocations: 4.736 MB / 3.524 GB, free: 54.61 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04085/12.17, allocations: 11.63 MB / 3.535 GB, free: 42.93 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.025e-05/12.17, allocations: 1.969 kB / 3.535 GB, free: 42.93 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006677/12.17, allocations: 0.6414 MB / 3.536 GB, free: 42.29 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001581/12.17, allocations: 365.9 kB / 3.536 GB, free: 41.94 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009579/12.18, allocations: 47.95 kB / 3.536 GB, free: 41.89 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008184/12.18, allocations: 4.92 MB / 3.541 GB, free: 36.77 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.025e-06/12.18, allocations: 3.906 kB / 3.541 GB, free: 36.77 MB / 0.8855 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.02225/12.21, allocations: 8.129 MB / 3.549 GB, free: 28.54 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005978/12.21, allocations: 1.246 MB / 3.55 GB, free: 27.27 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002691/12.21, allocations: 15.98 kB / 3.55 GB, free: 27.25 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008431/12.22, allocations: 328.7 kB / 3.551 GB, free: 26.96 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001159/12.22, allocations: 170.3 kB / 3.551 GB, free: 26.79 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006039/12.23, allocations: 131.9 kB / 3.551 GB, free: 26.66 MB / 0.8855 GB Notification: Performance of sort global known variables: time 0.009492/12.23, allocations: 3.299 MB / 3.554 GB, free: 23.36 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.01267/12.25, allocations: 2.018 MB / 3.556 GB, free: 21.34 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 20 (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,HIn_flow.h_out,HOut_flow.h_out,HInEnh_flow.h_out,HOutEnh_flow.h_out,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 (308): * Single equations (assignments): 301 * 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.002789/12.25, allocations: 0.7876 MB / 3.557 GB, free: 20.71 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.01306/12.26, allocations: 5.155 MB / 3.562 GB, free: 15.54 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.092e-05/12.26, allocations: 0 / 3.562 GB, free: 15.54 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.006258/12.27, allocations: 2.452 MB / 3.564 GB, free: 13.07 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02219/12.29, allocations: 2.366 MB / 3.567 GB, free: 10.9 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03782/12.33, allocations: 11.92 MB / 3.578 GB, free: 15.02 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0155/12.35, allocations: 5.165 MB / 3.583 GB, free: 9.824 MB / 0.9011 GB Notification: Performance of SimCode: time 1.403e-06/12.35, allocations: 0 / 3.583 GB, free: 9.824 MB / 0.9011 GB Notification: Performance of Templates: time 0.7045/13.05, allocations: 95.64 MB / 3.677 GB, free: 209.1 MB / 0.9011 GB