Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.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.Validation.StratifiedNonUniformInitial,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_Storage_Validation_StratifiedNonUniformInitial",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 2.409/2.409, allocations: 248.6 MB / 255.9 MB, free: 7.145 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.001604/0.001604, allocations: 183.5 kB / 315.1 MB, free: 4.25 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.153/2.153, allocations: 205.1 MB / 0.5658 GB, free: 364 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.001254/0.001254, allocations: 95.25 kB / 0.67 GB, free: 5.562 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.4329/0.4342, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.182/0.6163, allocations: 106.3 MB / 0.8835 GB, free: 13.35 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.377/1.994, allocations: 397.1 MB / 1.271 GB, free: 243.5 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004397/1.994, allocations: 85.58 kB / 1.271 GB, free: 243.5 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: 1414 * Number of variables: 1414 Notification: Performance of Generate backend data structure: time 9.684/11.68, allocations: 2.023 GB / 3.294 GB, free: 133.2 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.878e-05/11.68, allocations: 13.14 kB / 3.294 GB, free: 133.2 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006146/11.68, allocations: 0.7736 MB / 3.295 GB, free: 132.8 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02697/11.71, allocations: 7.336 MB / 3.302 GB, free: 132 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003901/11.71, allocations: 178.5 kB / 3.302 GB, free: 132 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002635/11.71, allocations: 331.5 kB / 3.302 GB, free: 132 MB / 0.8855 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02111/11.74, allocations: 5.717 MB / 3.308 GB, free: 132 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02692/11.76, allocations: 6.638 MB / 3.315 GB, free: 131.3 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003354/11.76, allocations: 18.09 kB / 3.315 GB, free: 131.3 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002084/11.76, allocations: 7.219 kB / 3.315 GB, free: 131.3 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002124/11.77, allocations: 168.7 kB / 3.315 GB, free: 131.3 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06986/11.84, allocations: 28.79 MB / 3.343 GB, free: 119.3 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009954/11.85, allocations: 3.438 MB / 3.346 GB, free: 119.2 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006981/11.85, allocations: 2.713 MB / 3.349 GB, free: 119.2 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001402/11.85, allocations: 0.8317 MB / 3.35 GB, free: 118.3 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.602e-05/11.85, allocations: 66.17 kB / 3.35 GB, free: 118.3 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=275): time 6.102e-06/11.85, allocations: 0 / 3.35 GB, free: 118.3 MB / 0.8855 GB Notification: Performance of matching and sorting (n=275): time 0.01313/11.87, allocations: 3.738 MB / 3.353 GB, free: 117.9 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.173e-05/11.87, allocations: 85.11 kB / 3.353 GB, free: 117.9 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01206/11.88, allocations: 3.998 MB / 3.357 GB, free: 117.5 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0009273/11.88, allocations: 29.14 kB / 3.357 GB, free: 117.5 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.003205/11.88, allocations: 2.134 MB / 3.359 GB, free: 116.3 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.003042/11.89, allocations: 0.9301 MB / 3.36 GB, free: 115.7 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004456/11.89, allocations: 0 / 3.36 GB, free: 115.7 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0003898/11.89, allocations: 468.8 kB / 3.361 GB, free: 115.4 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004773/11.89, allocations: 1.623 MB / 3.362 GB, free: 115.4 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006148/11.9, allocations: 2.825 MB / 3.365 GB, free: 113.9 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007545/11.91, allocations: 2.417 MB / 3.368 GB, free: 113.9 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.35e-05/11.91, allocations: 10.75 kB / 3.368 GB, free: 113.9 MB / 0.8855 GB Notification: Performance of matching and sorting (n=483) (initialization): time 0.01772/11.92, allocations: 5.162 MB / 3.373 GB, free: 113.5 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.62e-05/11.92, allocations: 3.812 kB / 3.373 GB, free: 113.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.804e-05/11.92, allocations: 39.06 kB / 3.373 GB, free: 113.5 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001582/11.93, allocations: 420.2 kB / 3.373 GB, free: 113.5 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006973/11.93, allocations: 0.8588 MB / 3.374 GB, free: 113.5 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008456/11.94, allocations: 4.982 MB / 3.379 GB, free: 110.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008557/11.95, allocations: 0.4887 MB / 3.379 GB, free: 110.7 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001202/11.95, allocations: 183 kB / 3.379 GB, free: 110.7 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 173 * Number of states: 0 () * Number of discrete variables: 2 (dHTan.local_reset,dHTanEnh.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (455): * Single equations (assignments): 453 * 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: 2 {(1,100.0%) 14,(1,100.0%) 14} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001036/11.95, allocations: 219.6 kB / 3.38 GB, free: 110.6 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001804/11.95, allocations: 420.8 kB / 3.38 GB, free: 110.3 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01386/11.97, allocations: 4.152 MB / 3.384 GB, free: 110.1 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.52e-05/11.97, allocations: 24.97 kB / 3.384 GB, free: 110.1 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.773e-05/11.97, allocations: 3.906 kB / 3.384 GB, free: 110.1 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01045/11.98, allocations: 3.658 MB / 3.388 GB, free: 109.7 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03327/12.01, allocations: 9.864 MB / 3.397 GB, free: 108.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.205e-05/12.01, allocations: 7.5 kB / 3.397 GB, free: 108.7 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005431/12.02, allocations: 0.502 MB / 3.398 GB, free: 108.7 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001532/12.02, allocations: 368.1 kB / 3.398 GB, free: 108.7 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007437/12.02, allocations: 51.06 kB / 3.398 GB, free: 108.7 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008147/12.03, allocations: 4.922 MB / 3.403 GB, free: 106.1 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.173e-05/12.03, allocations: 9.375 kB / 3.403 GB, free: 106.1 MB / 0.8855 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01802/12.05, allocations: 6.904 MB / 3.41 GB, free: 104.6 MB / 0.8855 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.02365/12.07, allocations: 9.613 MB / 3.419 GB, free: 102.7 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005128/12.07, allocations: 1.111 MB / 3.42 GB, free: 102.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002043/12.08, allocations: 19.69 kB / 3.42 GB, free: 102.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007015/12.08, allocations: 227.1 kB / 3.42 GB, free: 102.3 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008721/12.08, allocations: 159.3 kB / 3.421 GB, free: 102.3 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005285/12.09, allocations: 118.3 kB / 3.421 GB, free: 102.3 MB / 0.8855 GB Notification: Performance of sort global known variables: time 0.008504/12.09, allocations: 3.057 MB / 3.424 GB, free: 102.1 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0131/12.11, allocations: 1.929 MB / 3.426 GB, free: 101.8 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * Number of states: 20 (heaTan.vol[1].dynBal.U,heaTan.vol[2].dynBal.U,heaTan.vol[3].dynBal.U,heaTan.vol[4].dynBal.U,heaTan.vol[5].dynBal.U,heaTan.vol[6].dynBal.U,heaTan.vol[7].dynBal.U,cooTan.vol[1].dynBal.U,cooTan.vol[2].dynBal.U,cooTan.vol[3].dynBal.U,cooTan.vol[4].dynBal.U,cooTan.vol[5].dynBal.U,cooTan.vol[6].dynBal.U,cooTan.vol[7].dynBal.U,HIn_flow.h_out,HOut_flow.h_out,HInEnh_flow.h_out,HOutEnh_flow.h_out,dHTanEnh.y,dHTan.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (250): * Single equations (assignments): 245 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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: 2 {(1,100.0%) 14,(1,100.0%) 14} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002787/12.11, allocations: 0.7014 MB / 3.426 GB, free: 101.7 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.01093/12.12, allocations: 4.076 MB / 3.43 GB, free: 101.4 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-05/12.12, allocations: 3.984 kB / 3.43 GB, free: 101.4 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.005039/12.13, allocations: 1.946 MB / 3.432 GB, free: 101.2 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0214/12.15, allocations: 2.25 MB / 3.434 GB, free: 101.1 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03705/12.18, allocations: 10.75 MB / 3.445 GB, free: 99.14 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0147/12.2, allocations: 4.845 MB / 3.45 GB, free: 98.34 MB / 0.8855 GB Notification: Performance of SimCode: time 2.655e-06/12.2, allocations: 0 / 3.45 GB, free: 98.34 MB / 0.8855 GB