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: "" <> buildModelFMU(Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Storage_Validation_StratifiedLoadingUnloading",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading,fileNamePrefix="Buildings_maint_8_0_x_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 8.0.1-maint.8.0.x/package.mo): time 1.356/1.356, allocations: 285.5 MB / 292.8 MB, free: 10.49 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.001176/0.001176, allocations: 177.3 kB / 361.1 MB, free: 7.094 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.118/1.118, allocations: 205.1 MB / 0.6195 GB, free: 10.28 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.0009081/0.0009081, allocations: 88.95 kB / 0.7326 GB, free: 44.25 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2097/0.2106, allocations: 121.4 MB / 0.8511 GB, free: 2.875 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5294/0.7401, allocations: 115.3 MB / 0.9638 GB, free: 78.23 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7677/1.508, allocations: 406.5 MB / 1.361 GB, free: 157.6 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002539/1.508, allocations: 86.3 kB / 1.361 GB, free: 157.6 MB / 0.8542 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 6.636/8.144, allocations: 2.189 GB / 3.55 GB, free: 140.6 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.282e-05/8.144, allocations: 7.844 kB / 3.55 GB, free: 140.6 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005353/8.15, allocations: 0.8478 MB / 3.551 GB, free: 140.2 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01892/8.169, allocations: 7.798 MB / 3.558 GB, free: 139.4 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003451/8.169, allocations: 195.6 kB / 3.558 GB, free: 139.4 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002499/8.171, allocations: 360 kB / 3.559 GB, free: 139.4 MB / 0.9636 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01486/8.186, allocations: 6.508 MB / 3.565 GB, free: 139.4 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02036/8.207, allocations: 7.578 MB / 3.573 GB, free: 138.4 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003501/8.207, allocations: 22.69 kB / 3.573 GB, free: 138.4 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002371/8.209, allocations: 10.5 kB / 3.573 GB, free: 138.4 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001915/8.21, allocations: 188 kB / 3.573 GB, free: 138.4 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05261/8.262, allocations: 33.9 MB / 3.606 GB, free: 123.4 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007304/8.27, allocations: 3.966 MB / 3.61 GB, free: 123.4 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005112/8.275, allocations: 3.162 MB / 3.613 GB, free: 123 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001191/8.276, allocations: 0.96 MB / 3.614 GB, free: 122 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004281/8.28, allocations: 2.248 MB / 3.616 GB, free: 121.3 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=317): time 6.943e-06/8.28, allocations: 1.031 kB / 3.616 GB, free: 121.3 MB / 0.9636 GB Notification: Performance of matching and sorting (n=317): time 0.009261/8.29, allocations: 4.747 MB / 3.621 GB, free: 119.7 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.919e-05/8.29, allocations: 90.19 kB / 3.621 GB, free: 119.6 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008374/8.298, allocations: 4.347 MB / 3.625 GB, free: 118 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 0.0009838/8.299, allocations: 29.52 kB / 3.625 GB, free: 118 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.002843/8.302, allocations: 2.416 MB / 3.627 GB, free: 116.3 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.00213/8.304, allocations: 1.075 MB / 3.628 GB, free: 115.5 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002352/8.304, allocations: 0 / 3.628 GB, free: 115.5 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.000204/8.305, allocations: 493.6 kB / 3.629 GB, free: 115.1 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002376/8.307, allocations: 2.06 MB / 3.631 GB, free: 114.4 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002897/8.31, allocations: 3.555 MB / 3.634 GB, free: 111.7 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004132/8.314, allocations: 3.122 MB / 3.637 GB, free: 110.8 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.289e-05/8.314, allocations: 13.97 kB / 3.637 GB, free: 110.8 MB / 0.9636 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.0104/8.324, allocations: 6.453 MB / 3.644 GB, free: 108.8 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 2.046e-05/8.325, allocations: 4.875 kB / 3.644 GB, free: 108.8 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.311e-05/8.325, allocations: 49.19 kB / 3.644 GB, free: 108.8 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000947/8.326, allocations: 440.1 kB / 3.644 GB, free: 108.7 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004114/8.33, allocations: 1.021 MB / 3.645 GB, free: 108.7 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004645/8.334, allocations: 5.02 MB / 3.65 GB, free: 105.2 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006274/8.341, allocations: 0.5974 MB / 3.651 GB, free: 105 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007641/8.341, allocations: 223 kB / 3.651 GB, free: 104.9 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.0009317/8.342, allocations: 244 kB / 3.651 GB, free: 104.7 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001043/8.343, allocations: 475.5 kB / 3.652 GB, free: 104.5 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008311/8.352, allocations: 5.292 MB / 3.657 GB, free: 102.7 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.434e-05/8.352, allocations: 30.72 kB / 3.657 GB, free: 102.7 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.133e-05/8.352, allocations: 5.938 kB / 3.657 GB, free: 102.7 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005802/8.358, allocations: 4.626 MB / 3.661 GB, free: 101 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02026/8.378, allocations: 11.52 MB / 3.673 GB, free: 96.75 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.286e-05/8.378, allocations: 4.938 kB / 3.673 GB, free: 96.75 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002794/8.381, allocations: 0.6141 MB / 3.673 GB, free: 96.71 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007464/8.381, allocations: 369.2 kB / 3.673 GB, free: 96.62 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002082/8.382, allocations: 47.92 kB / 3.674 GB, free: 96.61 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004385/8.386, allocations: 4.913 MB / 3.678 GB, free: 93.02 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.218e-06/8.386, allocations: 4 kB / 3.678 GB, free: 93.02 MB / 0.9636 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.009865/8.396, allocations: 7.945 MB / 3.686 GB, free: 86.05 MB / 0.9636 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01258/8.409, allocations: 11.34 MB / 3.697 GB, free: 76.06 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003461/8.412, allocations: 1.255 MB / 3.698 GB, free: 74.96 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001039/8.413, allocations: 20.3 kB / 3.698 GB, free: 74.95 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003232/8.416, allocations: 319.3 kB / 3.699 GB, free: 74.75 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003126/8.417, allocations: 174.8 kB / 3.699 GB, free: 74.65 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002907/8.417, allocations: 132.9 kB / 3.699 GB, free: 74.54 MB / 0.9636 GB Notification: Performance of sort global known variables: time 0.005744/8.423, allocations: 3.309 MB / 3.702 GB, free: 71.68 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.01379/8.437, allocations: 2.131 MB / 3.704 GB, free: 69.56 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.00227/8.439, allocations: 0.7853 MB / 3.705 GB, free: 69 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.006517/8.445, allocations: 5.106 MB / 3.71 GB, free: 64.41 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 8.215e-06/8.445, allocations: 4 kB / 3.71 GB, free: 64.41 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.002652/8.448, allocations: 2.393 MB / 3.712 GB, free: 62.24 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01187/8.46, allocations: 2.384 MB / 3.715 GB, free: 60.6 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02246/8.482, allocations: 11.67 MB / 3.726 GB, free: 50.71 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00619/8.489, allocations: 5.202 MB / 3.731 GB, free: 46.73 MB / 0.9636 GB Notification: Performance of SimCode: time 1.072e-06/8.489, allocations: 0 / 3.731 GB, free: 46.73 MB / 0.9636 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_Storage_Validation_StratifiedLoadingUnloading_fmu --startTime=0 --stopTime=14400 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_Storage_Validation_StratifiedLoadingUnloading.fmu > Buildings_maint.8.0.x_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe 2>&1)