Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.conf.json 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/IBPSA 4.0.0-master/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: "" <> buildModelFMU(IBPSA.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Storage_Examples_StratifiedUnloadAtMinimumTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Storage_Examples_StratifiedUnloadAtMinimumTemperature",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/Complex 4.0.0+maint.om/package.mo): time 0.001173/0.001173, allocations: 190.1 kB / 7.802 MB, free: 2.449 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4512/0.4512, allocations: 90.85 MB / 99.07 MB, free: 14.91 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.203/1.203, allocations: 221.4 MB / 342.7 MB, free: 5.121 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000974/0.0009741, allocations: 94.03 kB / 415.5 MB, free: 6.371 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1581/0.1591, allocations: 78.45 MB / 494 MB, free: 7.941 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3324/0.4915, allocations: 72.29 MB / 0.553 GB, free: 73.23 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.573/1.065, allocations: 377.1 MB / 0.9212 GB, free: 11.68 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002937/1.065, allocations: 86.52 kB / 0.9213 GB, free: 11.64 MB / 0.5886 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 586 * Number of variables: 586 Notification: Performance of Generate backend data structure: time 3.567/4.632, allocations: 1.002 GB / 1.923 GB, free: 95.26 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.007e-05/4.632, allocations: 7.594 kB / 1.923 GB, free: 95.26 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002443/4.634, allocations: 363.7 kB / 1.924 GB, free: 95.09 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008159/4.643, allocations: 3.156 MB / 1.927 GB, free: 94.62 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001184/4.643, allocations: 75.66 kB / 1.927 GB, free: 94.62 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006459/4.643, allocations: 141 kB / 1.927 GB, free: 94.62 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004893/4.648, allocations: 2.257 MB / 1.929 GB, free: 94.6 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00425/4.653, allocations: 2.697 MB / 1.932 GB, free: 94.26 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.339e-05/4.653, allocations: 13.41 kB / 1.932 GB, free: 94.25 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002144/4.653, allocations: 3.938 kB / 1.932 GB, free: 94.25 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.86e-05/4.653, allocations: 66.34 kB / 1.932 GB, free: 94.25 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01591/4.669, allocations: 12.96 MB / 1.945 GB, free: 87.95 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002024/4.671, allocations: 1.52 MB / 1.946 GB, free: 87.82 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001346/4.672, allocations: 1.114 MB / 1.947 GB, free: 87.8 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006858/4.673, allocations: 0.7114 MB / 1.948 GB, free: 87.05 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.151e-05/4.673, allocations: 57.62 kB / 1.948 GB, free: 87 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=126): time 4.658e-06/4.673, allocations: 0 / 1.948 GB, free: 87 MB / 0.6042 GB Notification: Performance of matching and sorting (n=126): time 0.003016/4.676, allocations: 1.677 MB / 1.95 GB, free: 86.83 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.727e-05/4.676, allocations: 144.4 kB / 1.95 GB, free: 86.67 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0022/4.678, allocations: 1.791 MB / 1.951 GB, free: 86.45 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 0.0001942/4.679, allocations: 31.94 kB / 1.951 GB, free: 86.42 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009209/4.68, allocations: 0.9372 MB / 1.952 GB, free: 85.89 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005563/4.68, allocations: 433.6 kB / 1.953 GB, free: 85.61 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.821e-05/4.68, allocations: 0 / 1.953 GB, free: 85.61 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001103/4.68, allocations: 371.6 kB / 1.953 GB, free: 85.31 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008528/4.681, allocations: 0.6875 MB / 1.954 GB, free: 85.3 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001191/4.682, allocations: 1.197 MB / 1.955 GB, free: 84.7 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001484/4.684, allocations: 0.9442 MB / 1.956 GB, free: 84.69 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.949e-06/4.684, allocations: 12.28 kB / 1.956 GB, free: 84.69 MB / 0.6042 GB Notification: Performance of matching and sorting (n=213) (initialization): time 0.00353/4.687, allocations: 2.222 MB / 1.958 GB, free: 84.51 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.001021/4.688, allocations: 5.688 MB / 1.964 GB, free: 78.56 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.052e-05/4.688, allocations: 17.41 kB / 1.964 GB, free: 78.56 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001615/4.69, allocations: 438.9 kB / 1.964 GB, free: 78.54 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001316/4.691, allocations: 356.4 kB / 1.964 GB, free: 78.54 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003055/4.695, allocations: 2.964 MB / 1.967 GB, free: 76.72 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002646/4.697, allocations: 273.9 kB / 1.968 GB, free: 76.63 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001694/4.697, allocations: 77.97 kB / 1.968 GB, free: 76.63 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.017e-05/4.697, allocations: 9.719 kB / 1.968 GB, free: 76.63 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003215/4.701, allocations: 1.959 MB / 1.97 GB, free: 76.58 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.806e-05/4.701, allocations: 15.78 kB / 1.97 GB, free: 76.58 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005282/4.701, allocations: 223.3 kB / 1.97 GB, free: 76.57 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001434/4.703, allocations: 371.8 kB / 1.97 GB, free: 76.57 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003138/4.706, allocations: 3.682 MB / 1.974 GB, free: 74 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002345/4.708, allocations: 240.7 kB / 1.974 GB, free: 73.93 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001614/4.708, allocations: 80.34 kB / 1.974 GB, free: 73.93 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 63 * Number of states: 0 () * Number of discrete variables: 8 ($PRE.onOffBot.y,onOffBot.y,$PRE.onOffMid.y,onOffMid.y,and2.y,nor.y,$PRE.onOffHea.y,onOffHea.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (182): * Single equations (assignments): 180 * Array equations: 0 * Algorithm blocks: 0 * 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: 1 {(1,100.0%) 10} * Non-linear torn systems: 1 {3 19} Notification: Performance of prepare postOptimizeDAE: time 0.0004611/4.709, allocations: 149.4 kB / 1.974 GB, free: 73.82 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004705/4.709, allocations: 206.9 kB / 1.974 GB, free: 73.71 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003522/4.713, allocations: 1.964 MB / 1.976 GB, free: 73.6 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.893e-05/4.713, allocations: 19.28 kB / 1.976 GB, free: 73.59 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.778e-06/4.713, allocations: 3.125 kB / 1.976 GB, free: 73.59 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002289/4.715, allocations: 1.543 MB / 1.978 GB, free: 73.48 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01001/4.725, allocations: 4.272 MB / 1.982 GB, free: 73.03 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.626e-06/4.725, allocations: 3.719 kB / 1.982 GB, free: 73.03 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001015/4.726, allocations: 212.5 kB / 1.982 GB, free: 73.03 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001501/4.728, allocations: 410.3 kB / 1.983 GB, free: 73.02 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001338/4.728, allocations: 18.83 kB / 1.983 GB, free: 73.02 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003095/4.731, allocations: 2.903 MB / 1.985 GB, free: 71.19 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.68e-06/4.731, allocations: 0 / 1.985 GB, free: 71.19 MB / 0.6042 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005208/4.736, allocations: 2.962 MB / 1.988 GB, free: 70.71 MB / 0.6042 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.007023/4.743, allocations: 4.39 MB / 1.993 GB, free: 69.86 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001913/4.745, allocations: 0.5411 MB / 1.993 GB, free: 69.64 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000778/4.746, allocations: 12.14 kB / 1.993 GB, free: 69.64 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002143/4.748, allocations: 159.7 kB / 1.993 GB, free: 69.63 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002051/4.748, allocations: 87.41 kB / 1.993 GB, free: 69.63 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000183/4.749, allocations: 60.64 kB / 1.993 GB, free: 69.63 MB / 0.6042 GB Notification: Performance of sort global known variables: time 0.002942/4.752, allocations: 1.365 MB / 1.995 GB, free: 69.48 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.008268/4.76, allocations: 1.584 MB / 1.996 GB, free: 69.23 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 5 (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) * Number of discrete variables: 5 (onOffBot.y,onOffMid.y,and2.y,nor.y,onOffHea.y) * Number of discrete states: 3 (onOffMid.y,onOffBot.y,onOffHea.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (103): * Single equations (assignments): 97 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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: 1 {(1,100.0%) 10} * Non-linear torn systems: 1 {3 19} Notification: Performance of Backend phase and start with SimCode phase: time 0.001488/4.761, allocations: 0.5521 MB / 1.997 GB, free: 69.09 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.005398/4.767, allocations: 3.138 MB / 2 GB, free: 68.75 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 9.608e-06/4.767, allocations: 1.078 kB / 2 GB, free: 68.75 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.001397/4.768, allocations: 0.935 MB / 2.001 GB, free: 68.64 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005699/4.774, allocations: 1.016 MB / 2.002 GB, free: 68.62 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01102/4.785, allocations: 4.361 MB / 2.006 GB, free: 67.74 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002286/4.787, allocations: 2.411 MB / 2.008 GB, free: 66.99 MB / 0.6042 GB Notification: Performance of SimCode: time 6.82e-07/4.787, allocations: 0 / 2.008 GB, free: 66.99 MB / 0.6042 GB (rm -f IBPSA_latest_IBPSA.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Storage_Examples_StratifiedUnloadAtMinimumTemperature_fmu --startTime=0 --stopTime=21600 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Storage_Examples_StratifiedUnloadAtMinimumTemperature.fmu > IBPSA_latest_IBPSA.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.pipe 2>&1)