Running: ./testmodel.py --libraries=/home/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 (/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 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_Storage_Validation_StratifiedLoadingUnloading",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 7.0.1/package.mo): time 2.337/2.337, allocations: 248.6 MB / 255.9 MB, free: 360 kB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001691/0.001691, allocations: 182 kB / 315.1 MB, free: 7.77 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.129/2.129, allocations: 205.1 MB / 0.5658 GB, free: 25.46 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001254/0.001254, allocations: 79.66 kB / 0.67 GB, free: 2.957 MB / 0.4948 GB Notification: Performance of FrontEnd - loaded program: time 0.2618/0.2631, allocations: 112.4 MB / 0.7797 GB, free: 2.473 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5297/0.7928, allocations: 106.2 MB / 0.8835 GB, free: 77.29 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.954/1.747, allocations: 398.7 MB / 1.273 GB, free: 8.988 MB / 0.7917 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003213/1.747, allocations: 87.45 kB / 1.273 GB, free: 8.945 MB / 0.7917 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 10.78/12.53, allocations: 2.134 GB / 3.407 GB, free: 124.6 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.776e-05/12.53, allocations: 10.94 kB / 3.407 GB, free: 124.6 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007433/12.54, allocations: 0.8405 MB / 3.408 GB, free: 124.2 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03657/12.57, allocations: 7.783 MB / 3.416 GB, free: 123.4 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004823/12.57, allocations: 196.6 kB / 3.416 GB, free: 123.4 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002992/12.58, allocations: 362.8 kB / 3.416 GB, free: 123.4 MB / 0.8855 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02491/12.6, allocations: 6.558 MB / 3.423 GB, free: 123.3 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0318/12.63, allocations: 7.482 MB / 3.43 GB, free: 122.5 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004949/12.64, allocations: 15.78 kB / 3.43 GB, free: 122.5 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002823/12.64, allocations: 12.81 kB / 3.43 GB, free: 122.5 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002286/12.64, allocations: 186.3 kB / 3.43 GB, free: 122.5 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08055/12.72, allocations: 33.06 MB / 3.463 GB, free: 108.4 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01122/12.73, allocations: 4.056 MB / 3.467 GB, free: 108.3 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008329/12.74, allocations: 3.171 MB / 3.47 GB, free: 108.3 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001935/12.74, allocations: 0.969 MB / 3.471 GB, free: 107.3 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007663/12.75, allocations: 2.226 MB / 3.473 GB, free: 107.2 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=329): time 9.478e-06/12.75, allocations: 7.688 kB / 3.473 GB, free: 107.2 MB / 0.8855 GB Notification: Performance of matching and sorting (n=329): time 0.02337/12.77, allocations: 4.851 MB / 3.477 GB, free: 106.9 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.979e-05/12.77, allocations: 87.16 kB / 3.478 GB, free: 106.8 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01283/12.78, allocations: 4.329 MB / 3.482 GB, free: 106.5 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.001186/12.79, allocations: 33.08 kB / 3.482 GB, free: 106.4 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.004559/12.79, allocations: 2.384 MB / 3.484 GB, free: 105.1 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.00494/12.8, allocations: 1.121 MB / 3.485 GB, free: 104.3 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005961/12.8, allocations: 0 / 3.485 GB, free: 104.3 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0004686/12.8, allocations: 493.1 kB / 3.486 GB, free: 104 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005821/12.8, allocations: 2.071 MB / 3.488 GB, free: 104 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007499/12.81, allocations: 3.538 MB / 3.491 GB, free: 102.3 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01083/12.82, allocations: 3.186 MB / 3.494 GB, free: 102.2 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001515/12.82, allocations: 14.75 kB / 3.494 GB, free: 102.2 MB / 0.8855 GB Notification: Performance of matching and sorting (n=577) (initialization): time 0.02776/12.85, allocations: 6.531 MB / 3.501 GB, free: 101.8 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.416e-05/12.85, allocations: 3.938 kB / 3.501 GB, free: 101.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001067/12.85, allocations: 47.28 kB / 3.501 GB, free: 101.8 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001995/12.85, allocations: 435.4 kB / 3.501 GB, free: 101.8 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009293/12.86, allocations: 1.038 MB / 3.502 GB, free: 101.8 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009196/12.87, allocations: 4.999 MB / 3.507 GB, free: 99.19 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01393/12.88, allocations: 0.5906 MB / 3.508 GB, free: 98.94 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002012/12.89, allocations: 218.5 kB / 3.508 GB, free: 98.94 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.003077/12.89, allocations: 252.5 kB / 3.508 GB, free: 98.8 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00271/12.89, allocations: 471 kB / 3.509 GB, free: 98.56 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02052/12.91, allocations: 5.419 MB / 3.514 GB, free: 98.36 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.258e-05/12.91, allocations: 36.25 kB / 3.514 GB, free: 98.36 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.501e-05/12.91, allocations: 11.19 kB / 3.514 GB, free: 98.35 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01634/12.93, allocations: 4.726 MB / 3.518 GB, free: 97.89 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04165/12.97, allocations: 11.65 MB / 3.53 GB, free: 95.75 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.18e-05/12.97, allocations: 0 / 3.53 GB, free: 95.75 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006668/12.98, allocations: 0.6345 MB / 3.53 GB, free: 95.73 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001565/12.98, allocations: 367.6 kB / 3.531 GB, free: 95.64 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008455/12.98, allocations: 48.08 kB / 3.531 GB, free: 95.62 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008158/12.99, allocations: 4.929 MB / 3.536 GB, free: 92.12 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.766e-06/12.99, allocations: 3.281 kB / 3.536 GB, free: 92.12 MB / 0.8855 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.02253/13.01, allocations: 8.122 MB / 3.544 GB, free: 88.98 MB / 0.8855 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.02918/13.04, allocations: 11.53 MB / 3.555 GB, free: 84.3 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00647/13.05, allocations: 1.246 MB / 3.556 GB, free: 83.62 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002769/13.05, allocations: 16.2 kB / 3.556 GB, free: 83.61 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01279/13.06, allocations: 318.9 kB / 3.556 GB, free: 83.59 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001725/13.06, allocations: 181.9 kB / 3.557 GB, free: 83.56 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001177/13.06, allocations: 130.2 kB / 3.557 GB, free: 83.54 MB / 0.8855 GB Notification: Performance of sort global known variables: time 0.01152/13.08, allocations: 3.294 MB / 3.56 GB, free: 82.33 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.01659/13.09, allocations: 2.135 MB / 3.562 GB, free: 81.85 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.00343/13.1, allocations: 0.7872 MB / 3.563 GB, free: 81.64 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0138/13.11, allocations: 5.151 MB / 3.568 GB, free: 77.14 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.264e-05/13.11, allocations: 3.984 kB / 3.568 GB, free: 77.13 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.006408/13.12, allocations: 2.443 MB / 3.57 GB, free: 74.98 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02587/13.14, allocations: 2.381 MB / 3.573 GB, free: 73.35 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06206/13.21, allocations: 11.95 MB / 3.584 GB, free: 63.51 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02163/13.23, allocations: 5.22 MB / 3.589 GB, free: 59.6 MB / 0.8855 GB Notification: Performance of SimCode: time 1.613e-06/13.23, allocations: 0 / 3.589 GB, free: 59.6 MB / 0.8855 GB