Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Storage.Examples.StratifiedEnhancedInternalHex.conf.json 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 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Storage.Examples.StratifiedEnhancedInternalHex,fileNamePrefix="Buildings_7_0_0_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 7.0.1/package.mo): time 1.954/1.954, allocations: 248.6 MB / 255.9 MB, free: 7.098 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001615/0.001615, allocations: 182.8 kB / 315.1 MB, free: 4.289 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.785/1.785, allocations: 205.1 MB / 0.5658 GB, free: 388 kB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001244/0.001244, allocations: 91.27 kB / 0.67 GB, free: 5.59 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.4675/0.4688, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2314/0.7002, allocations: 106.2 MB / 0.8835 GB, free: 13.4 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.435/2.135, allocations: 413.1 MB / 1.287 GB, free: 245.1 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003182/2.135, allocations: 91.8 kB / 1.287 GB, free: 245.1 MB / 0.8542 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 23.61/25.75, allocations: 4.493 GB / 5.78 GB, free: 37.27 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 5.009e-05/25.75, allocations: 8 kB / 5.78 GB, free: 37.27 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02031/25.77, allocations: 1.877 MB / 5.782 GB, free: 35.37 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.07035/25.84, allocations: 17.88 MB / 5.799 GB, free: 17.61 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001027/25.84, allocations: 400 kB / 5.8 GB, free: 17.22 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006806/25.85, allocations: 0.7654 MB / 5.8 GB, free: 16.46 MB / 0.9948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.05885/25.91, allocations: 14.87 MB / 5.815 GB, free: 1.566 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 1.21/27.12, allocations: 16.35 MB / 5.831 GB, free: 123.5 MB / 0.9949 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001053/27.12, allocations: 42.91 kB / 5.831 GB, free: 123.5 MB / 0.9949 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005889/27.12, allocations: 27.16 kB / 5.831 GB, free: 123.5 MB / 0.9949 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004323/27.12, allocations: 356.7 kB / 5.831 GB, free: 123.5 MB / 0.9949 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2257/27.35, allocations: 78.24 MB / 5.908 GB, free: 90.3 MB / 0.9949 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03561/27.38, allocations: 10.75 MB / 5.918 GB, free: 90.12 MB / 0.9949 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01622/27.4, allocations: 5.979 MB / 5.924 GB, free: 90.04 MB / 0.9949 GB Notification: Performance of preOpt evalFunc (simulation): time 0.09797/27.5, allocations: 26.6 MB / 5.95 GB, free: 83.68 MB / 0.9949 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002226/27.5, allocations: 115.6 kB / 5.95 GB, free: 83.63 MB / 0.9949 GB Notification: Performance of pre-optimization done (n=651): time 1.816e-05/27.5, allocations: 7.125 kB / 5.95 GB, free: 83.63 MB / 0.9949 GB Notification: Performance of matching and sorting (n=651): time 0.04573/27.54, allocations: 10.95 MB / 5.961 GB, free: 82.71 MB / 0.9949 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.579e-05/27.54, allocations: 119.4 kB / 5.961 GB, free: 82.64 MB / 0.9949 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.04569/27.59, allocations: 10.94 MB / 5.972 GB, free: 82.03 MB / 0.9949 GB Notification: Performance of collectPreVariables (initialization): time 0.003229/27.59, allocations: 33.11 kB / 5.972 GB, free: 82 MB / 0.9949 GB Notification: Performance of collectInitialEqns (initialization): time 0.01371/27.61, allocations: 5.19 MB / 5.977 GB, free: 79.4 MB / 0.9949 GB Notification: Performance of collectInitialBindings (initialization): time 0.0121/27.62, allocations: 2.213 MB / 5.979 GB, free: 77.96 MB / 0.9949 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003248/27.62, allocations: 3.594 kB / 5.979 GB, free: 77.96 MB / 0.9949 GB Notification: Performance of setup shared object (initialization): time 0.001859/27.63, allocations: 0.7659 MB / 5.98 GB, free: 77.64 MB / 0.9949 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02385/27.65, allocations: 5.602 MB / 5.985 GB, free: 77.61 MB / 0.9949 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02868/27.68, allocations: 9.408 MB / 5.994 GB, free: 73.05 MB / 0.9949 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.04355/27.72, allocations: 10.05 MB / 6.004 GB, free: 72.96 MB / 0.9949 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000202/27.72, allocations: 35.47 kB / 6.004 GB, free: 72.96 MB / 0.9949 GB Notification: Performance of matching and sorting (n=1467) (initialization): time 0.07734/27.8, allocations: 19.87 MB / 6.024 GB, free: 72.05 MB / 0.9949 GB Notification: Performance of prepare postOptimizeDAE: time 0.03129/27.83, allocations: 66.65 MB / 6.089 GB, free: 66.83 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005728/27.83, allocations: 124.8 kB / 6.089 GB, free: 66.83 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02357/27.85, allocations: 3.97 MB / 6.093 GB, free: 66.69 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02004/27.87, allocations: 2.353 MB / 6.095 GB, free: 66.69 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03827/27.91, allocations: 20.98 MB / 6.115 GB, free: 70.76 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02479/27.94, allocations: 1.501 MB / 6.117 GB, free: 70.07 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003991/27.94, allocations: 0.5395 MB / 6.117 GB, free: 70.07 MB / 1.073 GB Notification: Performance of prepare postOptimizeDAE: time 1.29e-05/27.94, allocations: 3.406 kB / 6.117 GB, free: 70.07 MB / 1.073 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.07256/28.01, allocations: 18.68 MB / 6.136 GB, free: 69.76 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006812/28.02, allocations: 122 kB / 6.136 GB, free: 69.76 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02379/28.04, allocations: 3.991 MB / 6.14 GB, free: 69.62 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01899/28.06, allocations: 2.319 MB / 6.142 GB, free: 69.62 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.6619/28.72, allocations: 19.19 MB / 6.161 GB, free: 198.1 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02503/28.75, allocations: 1.194 MB / 6.162 GB, free: 198.1 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003827/28.75, allocations: 0.5394 MB / 6.162 GB, free: 198.1 MB / 1.073 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.005808/28.75, allocations: 448.7 kB / 6.163 GB, free: 198 MB / 1.073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006048/28.76, allocations: 1.084 MB / 6.164 GB, free: 198 MB / 1.073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05061/28.81, allocations: 12.06 MB / 6.176 GB, free: 197.5 MB / 1.073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001638/28.81, allocations: 62.72 kB / 6.176 GB, free: 197.5 MB / 1.073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.671e-05/28.81, allocations: 6.094 kB / 6.176 GB, free: 197.5 MB / 1.073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.03858/28.85, allocations: 10.13 MB / 6.186 GB, free: 197 MB / 1.073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.09422/28.94, allocations: 24.98 MB / 6.21 GB, free: 195.8 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.803e-05/28.94, allocations: 17.34 kB / 6.21 GB, free: 195.8 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0113/28.96, allocations: 1.099 MB / 6.211 GB, free: 195.8 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01405/28.97, allocations: 2.442 MB / 6.213 GB, free: 195.7 MB / 1.073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001919/28.97, allocations: 98.62 kB / 6.214 GB, free: 195.7 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03087/29, allocations: 18.13 MB / 6.231 GB, free: 184 MB / 1.073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.963e-05/29, allocations: 19.28 kB / 6.231 GB, free: 184 MB / 1.073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.05716/29.06, allocations: 21.61 MB / 6.252 GB, free: 178.8 MB / 1.073 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0962/29.16, allocations: 28.57 MB / 6.28 GB, free: 172.8 MB / 1.073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0181/29.17, allocations: 2.78 MB / 6.283 GB, free: 172.1 MB / 1.073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.008567/29.18, allocations: 54.41 kB / 6.283 GB, free: 172.1 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02659/29.21, allocations: 0.5818 MB / 6.284 GB, free: 172.1 MB / 1.073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002999/29.21, allocations: 389.8 kB / 6.284 GB, free: 172.1 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00331/29.22, allocations: 274.8 kB / 6.284 GB, free: 172.1 MB / 1.073 GB Notification: Performance of sort global known variables: time 0.03572/29.25, allocations: 8.199 MB / 6.292 GB, free: 171.8 MB / 1.073 GB Notification: Performance of remove unused functions: time 0.08427/29.34, allocations: 8.166 MB / 6.3 GB, free: 171.2 MB / 1.073 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.009369/29.35, allocations: 2.034 MB / 6.302 GB, free: 170.7 MB / 1.073 GB Notification: Performance of simCode: created initialization part: time 0.06516/29.41, allocations: 21.25 MB / 6.323 GB, free: 169.9 MB / 1.073 GB Notification: Performance of simCode: created event and clocks part: time 2.673e-05/29.41, allocations: 9.719 kB / 6.323 GB, free: 169.9 MB / 1.073 GB Notification: Performance of simCode: created simulation system equations: time 0.01521/29.43, allocations: 5.089 MB / 6.328 GB, free: 169.5 MB / 1.073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.04776/29.47, allocations: 5.089 MB / 6.333 GB, free: 169.4 MB / 1.073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1171/29.59, allocations: 27.75 MB / 6.36 GB, free: 164.7 MB / 1.073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.03166/29.62, allocations: 11.2 MB / 6.371 GB, free: 163.6 MB / 1.073 GB Notification: Performance of SimCode: time 1.543e-06/29.62, allocations: 0 / 6.371 GB, free: 163.6 MB / 1.073 GB