Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading,fileNamePrefix="Buildings_latest_Buildings_Fluid_Storage_Validation_StratifiedLoadingUnloading",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading,fileNamePrefix="Buildings_latest_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 10.0.0-master/package.mo): time 2.053/2.053, allocations: 390.4 MB / 397.7 MB, free: 11.3 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001318/0.001318, allocations: 185.2 kB / 490.8 MB, free: 1.961 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.359/1.359, allocations: 221.3 MB / 0.7863 GB, free: 13.75 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001057/0.001057, allocations: 95.75 kB / 0.9264 GB, free: 14.28 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 0.632/0.6331, allocations: 149.1 MB / 1.072 GB, free: 182.5 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2786/0.9117, allocations: 143 MB / 1.212 GB, free: 40.07 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9902/1.902, allocations: 419.2 MB / 1.621 GB, free: 12.34 MB / 1.042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003571/1.902, allocations: 87.02 kB / 1.621 GB, free: 12.3 MB / 1.042 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 7.242/9.144, allocations: 2.26 GB / 3.881 GB, free: 62.63 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 3.989e-05/9.144, allocations: 12 kB / 3.881 GB, free: 62.62 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006348/9.151, allocations: 0.8577 MB / 3.882 GB, free: 61.75 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01753/9.168, allocations: 8.02 MB / 3.89 GB, free: 53.67 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002221/9.168, allocations: 200 kB / 3.89 GB, free: 53.47 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001518/9.17, allocations: 355.9 kB / 3.89 GB, free: 53.12 MB / 1.167 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01122/9.181, allocations: 6.506 MB / 3.896 GB, free: 46.61 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01265/9.194, allocations: 7.597 MB / 3.904 GB, free: 38.7 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001446/9.194, allocations: 15.88 kB / 3.904 GB, free: 38.68 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006458/9.195, allocations: 12 kB / 3.904 GB, free: 38.67 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001716/9.195, allocations: 253.1 kB / 3.904 GB, free: 38.42 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04257/9.237, allocations: 33.93 MB / 3.937 GB, free: 2.926 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005675/9.243, allocations: 3.975 MB / 3.941 GB, free: 14.96 MB / 1.182 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004738/9.248, allocations: 3.147 MB / 3.944 GB, free: 11.81 MB / 1.182 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001383/9.249, allocations: 0.9661 MB / 3.945 GB, free: 10.66 MB / 1.182 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003781/9.253, allocations: 2.245 MB / 3.947 GB, free: 8.383 MB / 1.182 GB Notification: Performance of pre-optimization done (n=317): time 6.011e-06/9.253, allocations: 0 / 3.947 GB, free: 8.383 MB / 1.182 GB Notification: Performance of matching and sorting (n=317): time 0.00978/9.263, allocations: 4.751 MB / 3.952 GB, free: 3.582 MB / 1.182 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.581e-05/9.263, allocations: 85.91 kB / 3.952 GB, free: 3.484 MB / 1.182 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.5141/9.777, allocations: 4.418 MB / 3.956 GB, free: 290.2 MB / 1.182 GB Notification: Performance of collectPreVariables (initialization): time 0.001029/9.778, allocations: 29.39 kB / 3.956 GB, free: 290.2 MB / 1.182 GB Notification: Performance of collectInitialEqns (initialization): time 0.002971/9.781, allocations: 2.435 MB / 3.959 GB, free: 289.7 MB / 1.182 GB Notification: Performance of collectInitialBindings (initialization): time 0.002289/9.784, allocations: 1.074 MB / 3.96 GB, free: 289.2 MB / 1.182 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003261/9.784, allocations: 0 / 3.96 GB, free: 289.2 MB / 1.182 GB Notification: Performance of setup shared object (initialization): time 0.0002567/9.784, allocations: 491.2 kB / 3.96 GB, free: 288.9 MB / 1.182 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002818/9.787, allocations: 2.057 MB / 3.962 GB, free: 288.9 MB / 1.182 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003308/9.79, allocations: 3.565 MB / 3.966 GB, free: 287.1 MB / 1.182 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004514/9.795, allocations: 3.116 MB / 3.969 GB, free: 287 MB / 1.182 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.509e-05/9.795, allocations: 13.25 kB / 3.969 GB, free: 287 MB / 1.182 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.01041/9.805, allocations: 6.461 MB / 3.975 GB, free: 286.6 MB / 1.182 GB Notification: Performance of prepare postOptimizeDAE: time 2.034e-05/9.805, allocations: 3.906 kB / 3.975 GB, free: 286.6 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.92e-05/9.805, allocations: 53.92 kB / 3.975 GB, free: 286.6 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008452/9.806, allocations: 442.6 kB / 3.976 GB, free: 286.6 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003828/9.81, allocations: 1.024 MB / 3.977 GB, free: 286.6 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004603/9.815, allocations: 5.009 MB / 3.982 GB, free: 284 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00628/9.821, allocations: 0.597 MB / 3.982 GB, free: 283.9 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008977/9.822, allocations: 217.3 kB / 3.982 GB, free: 283.9 MB / 1.182 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.0009975/9.823, allocations: 254.2 kB / 3.983 GB, free: 283.8 MB / 1.182 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001399/9.824, allocations: 477.1 kB / 3.983 GB, free: 283.5 MB / 1.182 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008659/9.833, allocations: 5.31 MB / 3.988 GB, free: 283.3 MB / 1.182 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.828e-05/9.833, allocations: 30.66 kB / 3.988 GB, free: 283.3 MB / 1.182 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.19e-05/9.833, allocations: 3.781 kB / 3.988 GB, free: 283.3 MB / 1.182 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006012/9.839, allocations: 4.634 MB / 3.993 GB, free: 282.9 MB / 1.182 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02286/9.862, allocations: 11.52 MB / 4.004 GB, free: 282.1 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.14e-05/9.862, allocations: 2.656 kB / 4.004 GB, free: 282.1 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002882/9.865, allocations: 0.614 MB / 4.005 GB, free: 282.1 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007941/9.866, allocations: 370.8 kB / 4.005 GB, free: 282.1 MB / 1.182 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002921/9.866, allocations: 40.69 kB / 4.005 GB, free: 282.1 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004541/9.871, allocations: 4.927 MB / 4.01 GB, free: 279.5 MB / 1.182 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.031e-06/9.871, allocations: 3.891 kB / 4.01 GB, free: 279.5 MB / 1.182 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01209/9.883, allocations: 7.965 MB / 4.018 GB, free: 278.7 MB / 1.182 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01459/9.897, allocations: 11.34 MB / 4.029 GB, free: 277.6 MB / 1.182 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004428/9.902, allocations: 1.265 MB / 4.03 GB, free: 277.3 MB / 1.182 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002023/9.904, allocations: 18.92 kB / 4.03 GB, free: 277.3 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005528/9.909, allocations: 317.2 kB / 4.03 GB, free: 277.2 MB / 1.182 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004274/9.91, allocations: 171.8 kB / 4.03 GB, free: 277.2 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004383/9.91, allocations: 136 kB / 4.031 GB, free: 277.2 MB / 1.182 GB Notification: Performance of sort global known variables: time 0.005815/9.916, allocations: 3.362 MB / 4.034 GB, free: 277.1 MB / 1.182 GB Notification: Performance of remove unused functions: time 0.01096/9.927, allocations: 2.138 MB / 4.036 GB, free: 276.9 MB / 1.182 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.002486/9.93, allocations: 0.7714 MB / 4.037 GB, free: 276.8 MB / 1.182 GB Notification: Performance of simCode: created initialization part: time 0.008056/9.938, allocations: 5.098 MB / 4.042 GB, free: 276.5 MB / 1.182 GB Notification: Performance of simCode: created event and clocks part: time 8.346e-06/9.938, allocations: 3.469 kB / 4.042 GB, free: 276.5 MB / 1.182 GB Notification: Performance of simCode: created simulation system equations: time 0.002994/9.941, allocations: 2.399 MB / 4.044 GB, free: 276.3 MB / 1.182 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01342/9.954, allocations: 2.378 MB / 4.046 GB, free: 276.2 MB / 1.182 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02847/9.983, allocations: 11.75 MB / 4.058 GB, free: 274.3 MB / 1.182 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007392/9.99, allocations: 5.243 MB / 4.063 GB, free: 273.4 MB / 1.182 GB Notification: Performance of SimCode: time 2.545e-06/9.99, allocations: 0 / 4.063 GB, free: 273.4 MB / 1.182 GB (rm -f Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe >> ../files/Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Storage_Validation_StratifiedLoadingUnloading_fmu --startTime=0 --stopTime=14400 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Storage_Validation_StratifiedLoadingUnloading.fmu > Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe 2>&1)