Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Storage.Examples.StratifiedEnhancedInternalHex.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.StratifiedEnhancedInternalHex,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Storage_Examples_StratifiedEnhancedInternalHex",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Storage.Examples.StratifiedEnhancedInternalHex,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Storage_Examples_StratifiedEnhancedInternalHex",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.001297/0.001297, allocations: 188.5 kB / 7.8 MB, free: 2.496 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4506/0.4506, allocations: 90.85 MB / 99.07 MB, free: 14.94 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.226/1.226, allocations: 221.4 MB / 342.7 MB, free: 5.211 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.0009296/0.0009298, allocations: 97.31 kB / 415.5 MB, free: 6.434 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1614/0.1623, allocations: 78.45 MB / 493.9 MB, free: 7.984 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.338/0.5003, allocations: 72.3 MB / 0.553 GB, free: 73.46 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5818/1.082, allocations: 383.9 MB / 0.9279 GB, free: 6.793 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002429/1.082, allocations: 87.08 kB / 0.928 GB, free: 6.75 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: 3221 * Number of variables: 3221 Notification: Performance of Generate backend data structure: time 16.29/17.38, allocations: 4.717 GB / 5.645 GB, free: 43.55 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.496e-05/17.38, allocations: 12.19 kB / 5.645 GB, free: 43.55 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01276/17.39, allocations: 1.893 MB / 5.647 GB, free: 42.64 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04892/17.44, allocations: 18.35 MB / 5.665 GB, free: 40.82 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008251/17.44, allocations: 403.7 kB / 5.665 GB, free: 40.82 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006106/17.45, allocations: 0.76 MB / 5.666 GB, free: 40.82 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.03806/17.48, allocations: 14.87 MB / 5.68 GB, free: 40.77 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05301/17.54, allocations: 16.46 MB / 5.696 GB, free: 38.48 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007205/17.54, allocations: 39.66 kB / 5.696 GB, free: 38.45 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005532/17.54, allocations: 26.41 kB / 5.696 GB, free: 38.45 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000309/17.54, allocations: 362.8 kB / 5.697 GB, free: 38.45 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.9615/18.51, allocations: 79.02 MB / 5.774 GB, free: 97.41 MB / 0.7449 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01848/18.52, allocations: 10.74 MB / 5.784 GB, free: 97.25 MB / 0.7449 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01119/18.54, allocations: 5.969 MB / 5.79 GB, free: 97.19 MB / 0.7449 GB Notification: Performance of preOpt evalFunc (simulation): time 0.05828/18.59, allocations: 26.73 MB / 5.816 GB, free: 91.14 MB / 0.7449 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001405/18.59, allocations: 118 kB / 5.816 GB, free: 91.09 MB / 0.7449 GB Notification: Performance of pre-optimization done (n=651): time 1.229e-05/18.59, allocations: 0 / 5.816 GB, free: 91.09 MB / 0.7449 GB Notification: Performance of matching and sorting (n=651): time 0.02744/18.62, allocations: 10.97 MB / 5.827 GB, free: 90.78 MB / 0.7449 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.14e-05/18.62, allocations: 117.2 kB / 5.827 GB, free: 90.71 MB / 0.7449 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02336/18.64, allocations: 11.06 MB / 5.838 GB, free: 90.18 MB / 0.7449 GB Notification: Performance of collectPreVariables (initialization): time 0.002724/18.65, allocations: 34.67 kB / 5.838 GB, free: 90.15 MB / 0.7449 GB Notification: Performance of collectInitialEqns (initialization): time 0.007502/18.66, allocations: 5.215 MB / 5.843 GB, free: 87.79 MB / 0.7449 GB Notification: Performance of collectInitialBindings (initialization): time 0.007345/18.66, allocations: 2.202 MB / 5.845 GB, free: 86.35 MB / 0.7449 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001913/18.66, allocations: 0 / 5.845 GB, free: 86.35 MB / 0.7449 GB Notification: Performance of setup shared object (initialization): time 0.001152/18.67, allocations: 0.7746 MB / 5.846 GB, free: 86.02 MB / 0.7449 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00945/18.68, allocations: 5.612 MB / 5.851 GB, free: 86 MB / 0.7449 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01331/18.69, allocations: 9.405 MB / 5.861 GB, free: 81.44 MB / 0.7449 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02394/18.71, allocations: 10.05 MB / 5.87 GB, free: 81.34 MB / 0.7449 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002263/18.71, allocations: 36.56 kB / 5.871 GB, free: 81.34 MB / 0.7449 GB Notification: Performance of matching and sorting (n=1467) (initialization): time 0.05109/18.76, allocations: 19.88 MB / 5.89 GB, free: 80.43 MB / 0.7449 GB Notification: Performance of prepare postOptimizeDAE: time 0.0147/18.78, allocations: 67.11 MB / 5.955 GB, free: 27.21 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006229/18.78, allocations: 121 kB / 5.956 GB, free: 27.21 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01427/18.79, allocations: 3.982 MB / 5.959 GB, free: 27.07 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.013/18.81, allocations: 2.337 MB / 5.962 GB, free: 27.07 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02525/18.83, allocations: 20.99 MB / 5.982 GB, free: 15.15 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01796/18.85, allocations: 1.506 MB / 5.984 GB, free: 14.46 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003614/18.85, allocations: 0.5446 MB / 5.984 GB, free: 14.46 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.327e-05/18.85, allocations: 4.438 kB / 5.984 GB, free: 14.46 MB / 0.7605 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.04986/18.9, allocations: 18.67 MB / 6.002 GB, free: 13.73 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005911/18.9, allocations: 121 kB / 6.003 GB, free: 13.73 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01499/18.92, allocations: 3.997 MB / 6.007 GB, free: 13.58 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0124/18.93, allocations: 2.315 MB / 6.009 GB, free: 13.41 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02325/18.95, allocations: 19.17 MB / 6.027 GB, free: 19.15 MB / 0.7762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01953/18.97, allocations: 1.199 MB / 6.029 GB, free: 18.68 MB / 0.7762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00407/18.98, allocations: 0.5358 MB / 6.029 GB, free: 18.68 MB / 0.7762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 549 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1233): * Single equations (assignments): 1215 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 15 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 8,(1,100.0%) 8,(1,100.0%) 8} * Non-linear torn systems: 12 {2 16,2 16,2 16,2 16,2 16,2 16,2 17,2 17,2 17,2 17,2 17,2 17} Notification: Performance of prepare postOptimizeDAE: time 0.004756/18.98, allocations: 449.6 kB / 6.03 GB, free: 18.34 MB / 0.7762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004988/18.99, allocations: 1.105 MB / 6.031 GB, free: 17.75 MB / 0.7762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03053/19.02, allocations: 12.07 MB / 6.042 GB, free: 17.25 MB / 0.7762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.227e-05/19.02, allocations: 67.11 kB / 6.043 GB, free: 17.25 MB / 0.7762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.566e-05/19.02, allocations: 5.312 kB / 6.043 GB, free: 17.25 MB / 0.7762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02179/19.04, allocations: 10.13 MB / 6.052 GB, free: 13.87 MB / 0.7762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.5634/19.6, allocations: 25.4 MB / 6.077 GB, free: 131.5 MB / 0.7762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.088e-05/19.6, allocations: 15.03 kB / 6.077 GB, free: 131.5 MB / 0.7762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006265/19.61, allocations: 1.1 MB / 6.078 GB, free: 131.5 MB / 0.7762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007765/19.62, allocations: 2.45 MB / 6.081 GB, free: 131.3 MB / 0.7762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001371/19.62, allocations: 96.17 kB / 6.081 GB, free: 131.3 MB / 0.7762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01467/19.63, allocations: 18.13 MB / 6.099 GB, free: 119.7 MB / 0.7762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-05/19.63, allocations: 19.91 kB / 6.099 GB, free: 119.7 MB / 0.7762 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.03474/19.67, allocations: 21.68 MB / 6.12 GB, free: 114.6 MB / 0.7762 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.04252/19.71, allocations: 28.64 MB / 6.148 GB, free: 108.7 MB / 0.7762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01246/19.72, allocations: 2.834 MB / 6.15 GB, free: 108.1 MB / 0.7762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006576/19.73, allocations: 47.28 kB / 6.15 GB, free: 108.1 MB / 0.7762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01298/19.74, allocations: 0.5847 MB / 6.151 GB, free: 108 MB / 0.7762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001781/19.75, allocations: 387.9 kB / 6.151 GB, free: 108 MB / 0.7762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001935/19.75, allocations: 291.6 kB / 6.152 GB, free: 108 MB / 0.7762 GB Notification: Performance of sort global known variables: time 0.02074/19.77, allocations: 8.301 MB / 6.16 GB, free: 107.7 MB / 0.7762 GB Notification: Performance of remove unused functions: time 0.04882/19.82, allocations: 8.269 MB / 6.168 GB, free: 107.1 MB / 0.7762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 54 * Number of states: 30 (tanSte.vol[1].dynBal.U,tanSte.vol[2].dynBal.U,tanSte.vol[3].dynBal.U,tanSte.vol[4].dynBal.U,tanDyn.vol[1].dynBal.U,tanDyn.vol[2].dynBal.U,tanDyn.vol[3].dynBal.U,tanDyn.vol[4].dynBal.U,tanDyn.indTanHex.vol[1].dynBal.U,tanDyn.indTanHex.vol[2].dynBal.U,tanDyn.indTanHex.vol[3].dynBal.U,tanDyn.indTanHex.vol[4].dynBal.U,tanDyn.indTanHex.vol[5].dynBal.U,tanDyn.indTanHex.vol[6].dynBal.U,tanDyn.indTanHex.cap[1].T,tanDyn.indTanHex.cap[2].T,tanDyn.indTanHex.cap[3].T,tanDyn.indTanHex.cap[4].T,tanDyn.indTanHex.cap[5].T,tanDyn.indTanHex.cap[6].T,tanDynSol.vol[1].dynBal.U,tanDynSol.vol[2].dynBal.U,tanDynSol.vol[3].dynBal.U,tanDynSol.vol[4].dynBal.U,tanDynSol.indTanHex.cap[1].T,tanDynSol.indTanHex.cap[2].T,tanDynSol.indTanHex.cap[3].T,tanDynSol.indTanHex.cap[4].T,tanDynSol.indTanHex.cap[5].T,tanDynSol.indTanHex.cap[6].T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (561): * Single equations (assignments): 537 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 15 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 8,(1,100.0%) 8,(1,100.0%) 8} * Non-linear torn systems: 12 {2 16,2 16,2 16,2 16,2 16,2 16,1 5,1 5,1 5,1 5,1 5,1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.006205/19.82, allocations: 2.063 MB / 6.17 GB, free: 106.7 MB / 0.7762 GB Notification: Performance of simCode: created initialization part: time 0.06124/19.88, allocations: 21.26 MB / 6.191 GB, free: 105.8 MB / 0.7762 GB Notification: Performance of simCode: created event and clocks part: time 3.272e-05/19.88, allocations: 7.156 kB / 6.191 GB, free: 105.8 MB / 0.7762 GB Notification: Performance of simCode: created simulation system equations: time 0.01108/19.9, allocations: 5.086 MB / 6.196 GB, free: 105.4 MB / 0.7762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03068/19.93, allocations: 5.101 MB / 6.201 GB, free: 105.4 MB / 0.7762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06879/20, allocations: 27.95 MB / 6.228 GB, free: 100.6 MB / 0.7762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02347/20.02, allocations: 11.27 MB / 6.239 GB, free: 99.39 MB / 0.7762 GB Notification: Performance of SimCode: time 1.032e-06/20.02, allocations: 0 / 6.239 GB, free: 99.39 MB / 0.7762 GB (rm -f IBPSA_latest_IBPSA.Fluid.Storage.Examples.StratifiedEnhancedInternalHex.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Storage.Examples.StratifiedEnhancedInternalHex.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Storage.Examples.StratifiedEnhancedInternalHex.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Storage.Examples.StratifiedEnhancedInternalHex.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Storage_Examples_StratifiedEnhancedInternalHex_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Storage_Examples_StratifiedEnhancedInternalHex.fmu > IBPSA_latest_IBPSA.Fluid.Storage.Examples.StratifiedEnhancedInternalHex.pipe 2>&1)