Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Storage.Examples.StratifiedEnhancedInternalHex.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.Examples.StratifiedEnhancedInternalHex,fileNamePrefix="Buildings_latest_Buildings_Fluid_Storage_Examples_StratifiedEnhancedInternalHex",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Storage.Examples.StratifiedEnhancedInternalHex,fileNamePrefix="Buildings_latest_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 10.0.0-master/package.mo): time 1.994/1.994, allocations: 390.4 MB / 397.7 MB, free: 11.24 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.001236/0.001236, allocations: 184.1 kB / 490.8 MB, free: 1.949 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.466/1.466, allocations: 221.4 MB / 0.7863 GB, free: 13.69 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.001157/0.001157, allocations: 95.25 kB / 0.9264 GB, free: 14.21 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 0.6485/0.6497, allocations: 149.1 MB / 1.072 GB, free: 182.5 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2886/0.9383, allocations: 143 MB / 1.212 GB, free: 40.04 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.023/1.961, allocations: 432.5 MB / 1.634 GB, free: 15.2 MB / 1.057 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002325/1.962, allocations: 90.39 kB / 1.634 GB, free: 15.16 MB / 1.057 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 17.52/19.49, allocations: 4.717 GB / 6.351 GB, free: 93.82 MB / 1.276 GB Notification: Performance of prepare preOptimizeDAE: time 5.558e-05/19.49, allocations: 12.97 kB / 6.351 GB, free: 93.82 MB / 1.276 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01487/19.5, allocations: 1.894 MB / 6.353 GB, free: 92.92 MB / 1.276 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05555/19.56, allocations: 18.34 MB / 6.371 GB, free: 91.22 MB / 1.276 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001049/19.56, allocations: 403.2 kB / 6.371 GB, free: 91.22 MB / 1.276 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007383/19.57, allocations: 0.7614 MB / 6.372 GB, free: 91.21 MB / 1.276 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.04249/19.61, allocations: 14.87 MB / 6.386 GB, free: 91.16 MB / 1.276 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06386/19.67, allocations: 16.46 MB / 6.402 GB, free: 89.02 MB / 1.276 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000992/19.67, allocations: 47.59 kB / 6.402 GB, free: 89.01 MB / 1.276 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005614/19.68, allocations: 30.44 kB / 6.402 GB, free: 89.01 MB / 1.276 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003383/19.68, allocations: 352 kB / 6.403 GB, free: 89.01 MB / 1.276 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1456/19.82, allocations: 79.02 MB / 6.48 GB, free: 55 MB / 1.276 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01945/19.84, allocations: 10.75 MB / 6.49 GB, free: 54.8 MB / 1.276 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.009691/19.85, allocations: 5.972 MB / 6.496 GB, free: 54.72 MB / 1.276 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0613/19.92, allocations: 26.75 MB / 6.522 GB, free: 48.11 MB / 1.276 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002249/19.92, allocations: 120.2 kB / 6.522 GB, free: 48.06 MB / 1.276 GB Notification: Performance of pre-optimization done (n=651): time 3.011e-05/19.92, allocations: 5.688 kB / 6.522 GB, free: 48.06 MB / 1.276 GB Notification: Performance of matching and sorting (n=651): time 0.03303/19.95, allocations: 10.96 MB / 6.533 GB, free: 47.14 MB / 1.276 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.687e-05/19.95, allocations: 115.1 kB / 6.533 GB, free: 47.07 MB / 1.276 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03213/19.98, allocations: 11.06 MB / 6.544 GB, free: 46.31 MB / 1.276 GB Notification: Performance of collectPreVariables (initialization): time 0.002981/19.98, allocations: 39.89 kB / 6.544 GB, free: 46.28 MB / 1.276 GB Notification: Performance of collectInitialEqns (initialization): time 0.009252/19.99, allocations: 5.209 MB / 6.549 GB, free: 43.36 MB / 1.276 GB Notification: Performance of collectInitialBindings (initialization): time 0.007564/20, allocations: 2.202 MB / 6.551 GB, free: 41.92 MB / 1.276 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002899/20, allocations: 0 / 6.551 GB, free: 41.92 MB / 1.276 GB Notification: Performance of setup shared object (initialization): time 0.001791/20.01, allocations: 0.7755 MB / 6.552 GB, free: 41.59 MB / 1.276 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01473/20.02, allocations: 5.601 MB / 6.558 GB, free: 41.57 MB / 1.276 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01632/20.04, allocations: 9.405 MB / 6.567 GB, free: 37.01 MB / 1.276 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02613/20.06, allocations: 10.06 MB / 6.577 GB, free: 36.91 MB / 1.276 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0004303/20.06, allocations: 34.31 kB / 6.577 GB, free: 36.91 MB / 1.276 GB Notification: Performance of matching and sorting (n=1467) (initialization): time 0.05588/20.12, allocations: 19.88 MB / 6.596 GB, free: 36 MB / 1.276 GB Notification: Performance of prepare postOptimizeDAE: time 0.02587/20.15, allocations: 67.12 MB / 6.662 GB, free: 30.77 MB / 1.339 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000655/20.15, allocations: 121.3 kB / 6.662 GB, free: 30.77 MB / 1.339 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01354/20.16, allocations: 3.978 MB / 6.666 GB, free: 30.63 MB / 1.339 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01153/20.17, allocations: 2.339 MB / 6.668 GB, free: 30.63 MB / 1.339 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02257/20.19, allocations: 20.98 MB / 6.688 GB, free: 34.71 MB / 1.354 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01839/20.21, allocations: 1.509 MB / 6.69 GB, free: 34.03 MB / 1.354 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003986/20.22, allocations: 0.5372 MB / 6.69 GB, free: 34.03 MB / 1.354 GB Notification: Performance of prepare postOptimizeDAE: time 1.347e-05/20.22, allocations: 3.875 kB / 6.69 GB, free: 34.03 MB / 1.354 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.04663/20.26, allocations: 18.68 MB / 6.709 GB, free: 33.71 MB / 1.354 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004958/20.26, allocations: 118.6 kB / 6.709 GB, free: 33.71 MB / 1.354 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01299/20.28, allocations: 3.996 MB / 6.713 GB, free: 33.57 MB / 1.354 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01129/20.29, allocations: 2.316 MB / 6.715 GB, free: 33.5 MB / 1.354 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02209/20.31, allocations: 19.18 MB / 6.734 GB, free: 23.22 MB / 1.354 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01766/20.33, allocations: 1.201 MB / 6.735 GB, free: 22.76 MB / 1.354 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00455/20.33, allocations: 0.5349 MB / 6.735 GB, free: 22.76 MB / 1.354 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.006368/20.34, allocations: 457.1 kB / 6.736 GB, free: 22.41 MB / 1.354 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006056/20.34, allocations: 1.103 MB / 6.737 GB, free: 21.81 MB / 1.354 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02963/20.37, allocations: 12.07 MB / 6.749 GB, free: 17.91 MB / 1.354 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.53e-05/20.37, allocations: 61.53 kB / 6.749 GB, free: 17.91 MB / 1.354 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.526e-05/20.37, allocations: 3.875 kB / 6.749 GB, free: 17.91 MB / 1.354 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02526/20.4, allocations: 10.13 MB / 6.759 GB, free: 14.37 MB / 1.354 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.08047/20.48, allocations: 25.15 MB / 6.783 GB, free: 4.77 MB / 1.354 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.245e-05/20.48, allocations: 15.75 kB / 6.783 GB, free: 4.77 MB / 1.354 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006169/20.49, allocations: 1.102 MB / 6.784 GB, free: 4.676 MB / 1.354 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008007/20.49, allocations: 2.446 MB / 6.787 GB, free: 4.016 MB / 1.354 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002149/20.5, allocations: 99.94 kB / 6.787 GB, free: 3.988 MB / 1.354 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01835/20.52, allocations: 18.12 MB / 6.804 GB, free: 5.73 MB / 1.37 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.271e-05/20.52, allocations: 18.53 kB / 6.804 GB, free: 5.727 MB / 1.37 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 1.362/21.88, allocations: 21.86 MB / 6.826 GB, free: 269 MB / 1.37 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.04156/21.92, allocations: 28.63 MB / 6.854 GB, free: 263.4 MB / 1.37 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01088/21.93, allocations: 2.836 MB / 6.856 GB, free: 262.7 MB / 1.37 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005329/21.93, allocations: 49.8 kB / 6.857 GB, free: 262.7 MB / 1.37 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01301/21.95, allocations: 0.5813 MB / 6.857 GB, free: 262.7 MB / 1.37 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002068/21.95, allocations: 390.5 kB / 6.857 GB, free: 262.7 MB / 1.37 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001347/21.95, allocations: 294.9 kB / 6.858 GB, free: 262.7 MB / 1.37 GB Notification: Performance of sort global known variables: time 0.0192/21.97, allocations: 8.295 MB / 6.866 GB, free: 262.4 MB / 1.37 GB Notification: Performance of remove unused functions: time 0.04681/22.02, allocations: 8.268 MB / 6.874 GB, free: 261.8 MB / 1.37 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.00696/22.02, allocations: 2.054 MB / 6.876 GB, free: 261.4 MB / 1.37 GB Notification: Performance of simCode: created initialization part: time 0.04789/22.07, allocations: 21.26 MB / 6.897 GB, free: 260.5 MB / 1.37 GB Notification: Performance of simCode: created event and clocks part: time 2.9e-05/22.07, allocations: 11.12 kB / 6.897 GB, free: 260.5 MB / 1.37 GB Notification: Performance of simCode: created simulation system equations: time 0.0109/22.08, allocations: 5.087 MB / 6.902 GB, free: 260.1 MB / 1.37 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02883/22.11, allocations: 5.104 MB / 6.907 GB, free: 260.1 MB / 1.37 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06092/22.17, allocations: 27.95 MB / 6.934 GB, free: 255.3 MB / 1.37 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01729/22.19, allocations: 11.27 MB / 6.945 GB, free: 254.2 MB / 1.37 GB Notification: Performance of SimCode: time 1.403e-06/22.19, allocations: 0 / 6.945 GB, free: 254.2 MB / 1.37 GB (rm -f Buildings_latest_Buildings.Fluid.Storage.Examples.StratifiedEnhancedInternalHex.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Storage.Examples.StratifiedEnhancedInternalHex.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Storage.Examples.StratifiedEnhancedInternalHex.pipe >> ../files/Buildings_latest_Buildings.Fluid.Storage.Examples.StratifiedEnhancedInternalHex.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Storage.Examples.StratifiedEnhancedInternalHex_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Storage_Examples_StratifiedEnhancedInternalHex_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Storage_Examples_StratifiedEnhancedInternalHex.fmu > Buildings_latest_Buildings.Fluid.Storage.Examples.StratifiedEnhancedInternalHex.pipe 2>&1)