Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.Validation.StratifiedLoadingUnloading.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/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 BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Storage.Validation.StratifiedLoadingUnloading,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Storage_Validation_StratifiedLoadingUnloading",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Storage.Validation.StratifiedLoadingUnloading,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_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/BuildSysPro 3.5.0/package.mo): time 0.7976/0.7976, allocations: 127.4 MB / 134.6 MB, free: 4.109 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00119/0.00119, allocations: 185.3 kB / 164.4 MB, free: 6.871 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.846/1.846, allocations: 205.1 MB / 399.1 MB, free: 6.062 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009632/0.0009632, allocations: 93.2 kB / 476.3 MB, free: 8.812 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.3504/0.3515, allocations: 82.88 MB / 0.546 GB, free: 42.63 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1849/0.5363, allocations: 76.76 MB / 0.621 GB, free: 13.8 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.278/1.814, allocations: 367.2 MB / 0.9796 GB, free: 114.8 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004154/1.815, allocations: 88.89 kB / 0.9797 GB, free: 114.7 MB / 0.6198 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.435/10.25, allocations: 2.104 GB / 3.084 GB, free: 24.37 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.651e-05/10.25, allocations: 8 kB / 3.084 GB, free: 24.36 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006081/10.26, allocations: 0.8344 MB / 3.085 GB, free: 23.52 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02517/10.28, allocations: 8.718 MB / 3.093 GB, free: 14.89 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004944/10.28, allocations: 196 kB / 3.094 GB, free: 14.7 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003206/10.28, allocations: 363.9 kB / 3.094 GB, free: 14.35 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0182/10.3, allocations: 6.498 MB / 3.1 GB, free: 7.84 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02128/10.32, allocations: 7.418 MB / 3.108 GB, free: 132 kB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000294/10.32, allocations: 19.86 kB / 3.108 GB, free: 112 kB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002021/10.33, allocations: 11.06 kB / 3.108 GB, free: 104 kB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.4336/10.76, allocations: 181.6 kB / 3.108 GB, free: 120.4 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06111/10.82, allocations: 33.73 MB / 3.141 GB, free: 105.7 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006611/10.83, allocations: 4.042 MB / 3.145 GB, free: 105.7 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004976/10.83, allocations: 3.1 MB / 3.148 GB, free: 105.7 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009694/10.83, allocations: 489.9 kB / 3.148 GB, free: 105.3 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003666/10.84, allocations: 2.143 MB / 3.15 GB, free: 105.2 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=322): time 5.892e-06/10.84, allocations: 0 / 3.15 GB, free: 105.2 MB / 0.6667 GB Notification: Performance of matching and sorting (n=322): time 0.01052/10.85, allocations: 4.733 MB / 3.155 GB, free: 104.8 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.031e-05/10.85, allocations: 89.41 kB / 3.155 GB, free: 104.7 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008098/10.86, allocations: 4.226 MB / 3.159 GB, free: 104.4 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.0009746/10.86, allocations: 30.45 kB / 3.159 GB, free: 104.4 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.003311/10.86, allocations: 2.406 MB / 3.161 GB, free: 103.4 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.002574/10.86, allocations: 1.088 MB / 3.163 GB, free: 102.8 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002964/10.86, allocations: 0 / 3.163 GB, free: 102.8 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0003474/10.86, allocations: 497.3 kB / 3.163 GB, free: 102.4 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002866/10.87, allocations: 2.019 MB / 3.165 GB, free: 102.4 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003935/10.87, allocations: 3.559 MB / 3.168 GB, free: 100.6 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005785/10.88, allocations: 3.151 MB / 3.172 GB, free: 100.5 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.135e-05/10.88, allocations: 13.56 kB / 3.172 GB, free: 100.5 MB / 0.6667 GB Notification: Performance of matching and sorting (n=576) (initialization): time 0.01534/10.89, allocations: 6.452 MB / 3.178 GB, free: 100.1 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 2.416e-05/10.89, allocations: 3.25 kB / 3.178 GB, free: 100.1 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.558e-05/10.89, allocations: 49.94 kB / 3.178 GB, free: 100.1 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009461/10.89, allocations: 437.8 kB / 3.178 GB, free: 100.1 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004807/10.9, allocations: 1.034 MB / 3.179 GB, free: 100.1 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005752/10.9, allocations: 5.019 MB / 3.184 GB, free: 97.49 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007608/10.91, allocations: 0.5677 MB / 3.185 GB, free: 97.24 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001468/10.91, allocations: 223.6 kB / 3.185 GB, free: 97.24 MB / 0.6667 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 228 * 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 (547): * Single equations (assignments): 544 * 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.001071/10.91, allocations: 249 kB / 3.185 GB, free: 97.1 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001853/10.92, allocations: 461.6 kB / 3.186 GB, free: 96.86 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01071/10.93, allocations: 5.243 MB / 3.191 GB, free: 96.65 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.257e-05/10.93, allocations: 34.81 kB / 3.191 GB, free: 96.64 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.449e-05/10.93, allocations: 8.25 kB / 3.191 GB, free: 96.64 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006984/10.93, allocations: 4.593 MB / 3.195 GB, free: 96.18 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02873/10.96, allocations: 11.16 MB / 3.206 GB, free: 95.39 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.789e-06/10.96, allocations: 0 / 3.206 GB, free: 95.39 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002959/10.97, allocations: 0.6067 MB / 3.207 GB, free: 95.39 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008167/10.97, allocations: 366.4 kB / 3.207 GB, free: 95.37 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003307/10.97, allocations: 47.05 kB / 3.207 GB, free: 95.37 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004818/10.97, allocations: 4.923 MB / 3.212 GB, free: 92.75 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.448e-06/10.97, allocations: 0 / 3.212 GB, free: 92.75 MB / 0.6667 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01271/10.98, allocations: 7.717 MB / 3.22 GB, free: 92.19 MB / 0.6667 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01619/11, allocations: 11.03 MB / 3.23 GB, free: 91.24 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004642/11.01, allocations: 1.198 MB / 3.231 GB, free: 90.87 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001895/11.01, allocations: 20.09 kB / 3.232 GB, free: 90.87 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004861/11.01, allocations: 292.7 kB / 3.232 GB, free: 90.85 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000422/11.01, allocations: 175.9 kB / 3.232 GB, free: 90.84 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003168/11.01, allocations: 108.3 kB / 3.232 GB, free: 90.84 MB / 0.6667 GB Notification: Performance of sort global known variables: time 0.006741/11.02, allocations: 3.215 MB / 3.235 GB, free: 90.66 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.01286/11.03, allocations: 2.091 MB / 3.237 GB, free: 90.36 MB / 0.6667 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (298): * Single equations (assignments): 294 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.002551/11.03, allocations: 0.8018 MB / 3.238 GB, free: 90.21 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.009105/11.04, allocations: 5.013 MB / 3.243 GB, free: 89.92 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 6.402e-06/11.04, allocations: 0 / 3.243 GB, free: 89.92 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.003316/11.05, allocations: 2.359 MB / 3.245 GB, free: 89.7 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01376/11.06, allocations: 2.324 MB / 3.247 GB, free: 89.66 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03087/11.09, allocations: 11.8 MB / 3.259 GB, free: 87.72 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008522/11.1, allocations: 5.191 MB / 3.264 GB, free: 86.89 MB / 0.6667 GB Notification: Performance of SimCode: time 1.252e-06/11.1, allocations: 0 / 3.264 GB, free: 86.89 MB / 0.6667 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.Validation.StratifiedLoadingUnloading.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Storage_Validation_StratifiedLoadingUnloading_fmu --startTime=0 --stopTime=14400 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_Storage_Validation_StratifiedLoadingUnloading.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe 2>&1)