Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Storage.Examples.StratifiedEnhancedInternalHex.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Storage.Examples.StratifiedEnhancedInternalHex,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Storage_Examples_StratifiedEnhancedInternalHex",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Storage.Examples.StratifiedEnhancedInternalHex,fileNamePrefix="Buildings_maint_8_0_x_Buildings_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/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.407/1.407, allocations: 285.5 MB / 292.8 MB, free: 9.895 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.0009974/0.0009971, allocations: 189.2 kB / 361.1 MB, free: 388 kB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.209/1.209, allocations: 205.1 MB / 0.6195 GB, free: 2.875 MB / 442.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008153/0.0008153, allocations: 96.19 kB / 0.7326 GB, free: 1.141 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.4353/0.4362, allocations: 121.4 MB / 0.8511 GB, free: 151.6 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1755/0.6117, allocations: 115.3 MB / 0.9638 GB, free: 56.31 MB / 0.6355 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7246/1.336, allocations: 419.9 MB / 1.374 GB, free: 15.71 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001991/1.337, allocations: 87.45 kB / 1.374 GB, free: 15.66 MB / 0.8855 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 14.1/15.43, allocations: 4.617 GB / 5.991 GB, free: 69.98 MB / 1.089 GB Notification: Performance of prepare preOptimizeDAE: time 4.57e-05/15.43, allocations: 8.312 kB / 5.991 GB, free: 69.98 MB / 1.089 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01267/15.45, allocations: 1.881 MB / 5.993 GB, free: 69.09 MB / 1.089 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04531/15.49, allocations: 17.92 MB / 6.01 GB, free: 67.2 MB / 1.089 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009434/15.49, allocations: 406.6 kB / 6.01 GB, free: 67.2 MB / 1.089 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005628/15.5, allocations: 0.7585 MB / 6.011 GB, free: 67.19 MB / 1.089 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.03749/15.53, allocations: 14.87 MB / 6.026 GB, free: 67.14 MB / 1.089 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05563/15.59, allocations: 16.46 MB / 6.042 GB, free: 61.93 MB / 1.089 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0009645/15.59, allocations: 42.28 kB / 6.042 GB, free: 61.91 MB / 1.089 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005533/15.6, allocations: 27.17 kB / 6.042 GB, free: 61.91 MB / 1.089 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006829/15.6, allocations: 357.1 kB / 6.042 GB, free: 61.89 MB / 1.089 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.9882/16.59, allocations: 79.11 MB / 6.119 GB, free: 151.5 MB / 1.089 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01671/16.6, allocations: 10.75 MB / 6.13 GB, free: 151.4 MB / 1.089 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008819/16.61, allocations: 5.972 MB / 6.136 GB, free: 151.3 MB / 1.089 GB Notification: Performance of preOpt evalFunc (simulation): time 0.05792/16.67, allocations: 26.75 MB / 6.162 GB, free: 145.3 MB / 1.089 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001562/16.67, allocations: 119.5 kB / 6.162 GB, free: 145.2 MB / 1.089 GB Notification: Performance of pre-optimization done (n=651): time 2.271e-05/16.67, allocations: 0 / 6.162 GB, free: 145.2 MB / 1.089 GB Notification: Performance of matching and sorting (n=651): time 0.03071/16.7, allocations: 10.95 MB / 6.173 GB, free: 144.9 MB / 1.089 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.559e-05/16.7, allocations: 122.5 kB / 6.173 GB, free: 144.8 MB / 1.089 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02609/16.73, allocations: 10.94 MB / 6.184 GB, free: 144.3 MB / 1.089 GB Notification: Performance of collectPreVariables (initialization): time 0.002622/16.73, allocations: 32.02 kB / 6.184 GB, free: 144.3 MB / 1.089 GB Notification: Performance of collectInitialEqns (initialization): time 0.007778/16.74, allocations: 5.206 MB / 6.189 GB, free: 142.3 MB / 1.089 GB Notification: Performance of collectInitialBindings (initialization): time 0.007052/16.74, allocations: 2.2 MB / 6.191 GB, free: 140.9 MB / 1.089 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002533/16.75, allocations: 0 / 6.191 GB, free: 140.9 MB / 1.089 GB Notification: Performance of setup shared object (initialization): time 0.001536/16.75, allocations: 0.7743 MB / 6.192 GB, free: 140.6 MB / 1.089 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0104/16.76, allocations: 5.603 MB / 6.197 GB, free: 140.5 MB / 1.089 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01407/16.77, allocations: 9.408 MB / 6.206 GB, free: 136 MB / 1.089 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02279/16.8, allocations: 10.05 MB / 6.216 GB, free: 135.9 MB / 1.089 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002247/16.8, allocations: 36.28 kB / 6.216 GB, free: 135.9 MB / 1.089 GB Notification: Performance of matching and sorting (n=1467) (initialization): time 0.04653/16.84, allocations: 19.86 MB / 6.235 GB, free: 135 MB / 1.089 GB Notification: Performance of prepare postOptimizeDAE: time 0.01448/16.86, allocations: 66.66 MB / 6.301 GB, free: 81.76 MB / 1.104 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004788/16.86, allocations: 122 kB / 6.301 GB, free: 81.76 MB / 1.104 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01301/16.87, allocations: 3.974 MB / 6.305 GB, free: 81.62 MB / 1.104 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009924/16.88, allocations: 2.344 MB / 6.307 GB, free: 81.62 MB / 1.104 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02011/16.9, allocations: 20.99 MB / 6.327 GB, free: 85.7 MB / 1.12 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01474/16.92, allocations: 1.509 MB / 6.329 GB, free: 85.01 MB / 1.12 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002502/16.92, allocations: 0.5397 MB / 6.329 GB, free: 85.01 MB / 1.12 GB Notification: Performance of prepare postOptimizeDAE: time 7.965e-06/16.92, allocations: 3.875 kB / 6.329 GB, free: 85.01 MB / 1.12 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.04082/16.96, allocations: 18.67 MB / 6.348 GB, free: 84.7 MB / 1.12 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004867/16.96, allocations: 119.8 kB / 6.348 GB, free: 84.7 MB / 1.12 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01179/16.97, allocations: 3.994 MB / 6.352 GB, free: 84.56 MB / 1.12 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009393/16.98, allocations: 2.316 MB / 6.354 GB, free: 84.56 MB / 1.12 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0197/17, allocations: 19.18 MB / 6.373 GB, free: 74.39 MB / 1.12 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01412/17.01, allocations: 1.19 MB / 6.374 GB, free: 73.93 MB / 1.12 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002992/17.02, allocations: 0.5412 MB / 6.374 GB, free: 73.93 MB / 1.12 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.004548/17.02, allocations: 452.1 kB / 6.375 GB, free: 73.75 MB / 1.12 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00454/17.03, allocations: 1.09 MB / 6.376 GB, free: 73.16 MB / 1.12 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02744/17.05, allocations: 12.06 MB / 6.388 GB, free: 72.67 MB / 1.12 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.056e-05/17.05, allocations: 65.25 kB / 6.388 GB, free: 72.67 MB / 1.12 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.961e-05/17.05, allocations: 8.156 kB / 6.388 GB, free: 72.67 MB / 1.12 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01985/17.07, allocations: 10.13 MB / 6.398 GB, free: 72.11 MB / 1.12 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06742/17.14, allocations: 25.1 MB / 6.422 GB, free: 70.74 MB / 1.12 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.015e-05/17.14, allocations: 18.88 kB / 6.422 GB, free: 70.74 MB / 1.12 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006024/17.15, allocations: 1.095 MB / 6.423 GB, free: 70.74 MB / 1.12 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00816/17.16, allocations: 2.454 MB / 6.426 GB, free: 70.61 MB / 1.12 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001775/17.16, allocations: 92.3 kB / 6.426 GB, free: 70.61 MB / 1.12 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01809/17.18, allocations: 18.12 MB / 6.443 GB, free: 74.73 MB / 1.136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-05/17.18, allocations: 21.88 kB / 6.443 GB, free: 74.73 MB / 1.136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.03879/17.21, allocations: 21.63 MB / 6.464 GB, free: 69.17 MB / 1.136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.04872/17.26, allocations: 28.57 MB / 6.492 GB, free: 58.97 MB / 1.136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01013/17.27, allocations: 2.829 MB / 6.495 GB, free: 57.42 MB / 1.136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005816/17.28, allocations: 49 kB / 6.495 GB, free: 57.41 MB / 1.136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01295/17.29, allocations: 0.5807 MB / 6.496 GB, free: 57.37 MB / 1.136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00258/17.29, allocations: 391.4 kB / 6.496 GB, free: 57.3 MB / 1.136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002553/17.3, allocations: 286.1 kB / 6.496 GB, free: 57.25 MB / 1.136 GB Notification: Performance of sort global known variables: time 0.01891/17.32, allocations: 8.203 MB / 6.504 GB, free: 54.22 MB / 1.136 GB Notification: Performance of remove unused functions: time 0.04363/17.36, allocations: 8.259 MB / 6.512 GB, free: 52.21 MB / 1.136 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.006041/17.37, allocations: 2.052 MB / 6.514 GB, free: 51.66 MB / 1.136 GB Notification: Performance of simCode: created initialization part: time 0.04034/17.41, allocations: 21.26 MB / 6.535 GB, free: 44.06 MB / 1.136 GB Notification: Performance of simCode: created event and clocks part: time 2.742e-05/17.41, allocations: 8.656 kB / 6.535 GB, free: 44.06 MB / 1.136 GB Notification: Performance of simCode: created simulation system equations: time 0.009723/17.42, allocations: 5.084 MB / 6.54 GB, free: 42.14 MB / 1.136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02751/17.44, allocations: 5.125 MB / 6.545 GB, free: 41.27 MB / 1.136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6119/18.06, allocations: 27.8 MB / 6.572 GB, free: 188.1 MB / 1.136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0153/18.07, allocations: 11.21 MB / 6.583 GB, free: 187 MB / 1.136 GB Notification: Performance of SimCode: time 1.483e-06/18.07, allocations: 0 / 6.583 GB, free: 187 MB / 1.136 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Storage.Examples.StratifiedEnhancedInternalHex.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Storage.Examples.StratifiedEnhancedInternalHex.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Storage.Examples.StratifiedEnhancedInternalHex.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Storage.Examples.StratifiedEnhancedInternalHex.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_Storage_Examples_StratifiedEnhancedInternalHex_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_Storage_Examples_StratifiedEnhancedInternalHex.fmu > Buildings_maint.8.0.x_Buildings.Fluid.Storage.Examples.StratifiedEnhancedInternalHex.pipe 2>&1)