Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading,fileNamePrefix="Buildings_8_Buildings_Fluid_Storage_Validation_StratifiedLoadingUnloading",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.476/1.476, allocations: 289.8 MB / 297.1 MB, free: 6.699 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.00121/0.00121, allocations: 183.8 kB / 366.3 MB, free: 1.996 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.284/1.284, allocations: 205.1 MB / 0.6256 GB, free: 7.465 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.0008896/0.0008897, allocations: 93.11 kB / 0.7396 GB, free: 39.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2392/0.2401, allocations: 122.4 MB / 0.8591 GB, free: 13.49 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6566/0.8968, allocations: 116.3 MB / 0.9726 GB, free: 76.17 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8974/1.794, allocations: 407.5 MB / 1.371 GB, free: 144.3 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002571/1.795, allocations: 80.2 kB / 1.371 GB, free: 144.3 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 8.089/9.883, allocations: 2.189 GB / 3.56 GB, free: 122 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 4.396e-05/9.884, allocations: 10.66 kB / 3.56 GB, free: 122 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006756/9.89, allocations: 0.85 MB / 3.56 GB, free: 121.6 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02056/9.911, allocations: 7.796 MB / 3.568 GB, free: 120.7 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004207/9.911, allocations: 195.3 kB / 3.568 GB, free: 120.7 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002997/9.914, allocations: 359.5 kB / 3.569 GB, free: 120.7 MB / 0.9948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01889/9.933, allocations: 6.511 MB / 3.575 GB, free: 120.7 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02881/9.962, allocations: 7.576 MB / 3.582 GB, free: 119.8 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002776/9.962, allocations: 32.58 kB / 3.582 GB, free: 119.8 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00167/9.964, allocations: 11.47 kB / 3.582 GB, free: 119.8 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002042/9.964, allocations: 184.5 kB / 3.583 GB, free: 119.8 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05856/10.02, allocations: 33.91 MB / 3.616 GB, free: 104.8 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007591/10.03, allocations: 3.958 MB / 3.62 GB, free: 104.7 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005026/10.04, allocations: 3.164 MB / 3.623 GB, free: 104.7 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001606/10.04, allocations: 0.9604 MB / 3.624 GB, free: 103.7 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004414/10.04, allocations: 2.246 MB / 3.626 GB, free: 103.6 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=317): time 7.274e-06/10.04, allocations: 3.828 kB / 3.626 GB, free: 103.6 MB / 0.9948 GB Notification: Performance of matching and sorting (n=317): time 0.00971/10.05, allocations: 4.748 MB / 3.63 GB, free: 103.3 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.028e-05/10.05, allocations: 87.09 kB / 3.631 GB, free: 103.2 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008187/10.06, allocations: 4.341 MB / 3.635 GB, free: 102.9 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 0.001134/10.06, allocations: 34.58 kB / 3.635 GB, free: 102.8 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.003128/10.06, allocations: 2.421 MB / 3.637 GB, free: 101.5 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.002858/10.07, allocations: 1.073 MB / 3.638 GB, free: 100.8 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002782/10.07, allocations: 0 / 3.638 GB, free: 100.8 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.0003136/10.07, allocations: 489.6 kB / 3.639 GB, free: 100.4 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002943/10.07, allocations: 2.06 MB / 3.641 GB, free: 100.4 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003572/10.07, allocations: 3.563 MB / 3.644 GB, free: 98.61 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005008/10.08, allocations: 3.126 MB / 3.647 GB, free: 98.56 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.618e-05/10.08, allocations: 14.31 kB / 3.647 GB, free: 98.56 MB / 0.9948 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.01222/10.09, allocations: 6.454 MB / 3.654 GB, free: 98.18 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 2.228e-05/10.09, allocations: 2.438 kB / 3.654 GB, free: 98.18 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.189e-05/10.09, allocations: 48.78 kB / 3.654 GB, free: 98.18 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009529/10.09, allocations: 437 kB / 3.654 GB, free: 98.16 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0045/10.1, allocations: 1.027 MB / 3.655 GB, free: 98.16 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005679/10.1, allocations: 5.017 MB / 3.66 GB, free: 95.53 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007884/10.11, allocations: 0.5924 MB / 3.66 GB, free: 95.28 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001517/10.11, allocations: 217.7 kB / 3.661 GB, free: 95.28 MB / 0.9948 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.001168/10.11, allocations: 247.5 kB / 3.661 GB, free: 95.14 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001983/10.12, allocations: 475.8 kB / 3.661 GB, free: 94.9 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01054/10.13, allocations: 5.291 MB / 3.667 GB, free: 94.7 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.283e-05/10.13, allocations: 31.06 kB / 3.667 GB, free: 94.7 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.161e-05/10.13, allocations: 10.75 kB / 3.667 GB, free: 94.7 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007435/10.13, allocations: 4.622 MB / 3.671 GB, free: 94.23 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03066/10.16, allocations: 11.51 MB / 3.682 GB, free: 93.39 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.482e-05/10.16, allocations: 0 / 3.682 GB, free: 93.39 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003331/10.17, allocations: 0.6152 MB / 3.683 GB, free: 93.39 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000963/10.17, allocations: 367.2 kB / 3.683 GB, free: 93.37 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006039/10.17, allocations: 43.97 kB / 3.683 GB, free: 93.37 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007029/10.18, allocations: 4.927 MB / 3.688 GB, free: 90.75 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.086e-05/10.18, allocations: 4.469 kB / 3.688 GB, free: 90.75 MB / 0.9948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01693/10.19, allocations: 7.951 MB / 3.696 GB, free: 89.8 MB / 0.9948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01897/10.21, allocations: 11.33 MB / 3.707 GB, free: 85.18 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005229/10.22, allocations: 1.257 MB / 3.708 GB, free: 84.5 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002566/10.22, allocations: 18.05 kB / 3.708 GB, free: 84.5 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00616/10.23, allocations: 320.4 kB / 3.709 GB, free: 84.48 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000808/10.23, allocations: 164.4 kB / 3.709 GB, free: 84.45 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001097/10.23, allocations: 141.3 kB / 3.709 GB, free: 84.43 MB / 0.9948 GB Notification: Performance of sort global known variables: time 0.00816/10.24, allocations: 3.305 MB / 3.712 GB, free: 83.21 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.01328/10.25, allocations: 2.136 MB / 3.714 GB, free: 82.73 MB / 0.9948 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.003708/10.25, allocations: 0.7754 MB / 3.715 GB, free: 82.53 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.01155/10.27, allocations: 5.106 MB / 3.72 GB, free: 80.8 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 1.504e-05/10.27, allocations: 3.906 kB / 3.72 GB, free: 80.8 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.004363/10.27, allocations: 2.4 MB / 3.722 GB, free: 79.89 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01444/10.28, allocations: 2.379 MB / 3.725 GB, free: 79.5 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03886/10.32, allocations: 11.67 MB / 3.736 GB, free: 75.84 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01259/10.34, allocations: 5.203 MB / 3.741 GB, free: 74.29 MB / 0.9948 GB Notification: Performance of SimCode: time 1.422e-06/10.34, allocations: 0 / 3.741 GB, free: 74.29 MB / 0.9948 GB (rm -f Buildings_8_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe ; mkfifo Buildings_8_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe >> ../files/Buildings_8_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Storage_Validation_StratifiedLoadingUnloading_fmu --startTime=0 --stopTime=14400 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Storage_Validation_StratifiedLoadingUnloading.fmu > Buildings_8_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe 2>&1)