Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Storage.Examples.ExpansionVessel.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.Storage.Examples.ExpansionVessel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Storage.Examples.ExpansionVessel") [: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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.139/2.139, allocations: 253.1 MB / 260.4 MB, free: 7.504 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001595/0.001595, allocations: 185.2 kB / 319.6 MB, free: 3.316 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.009/2.009, allocations: 205.4 MB / 0.5704 GB, free: 15.06 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00124/0.00124, allocations: 90.44 kB / 0.6746 GB, free: 4.43 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.342e-05/1.36e-05, allocations: 4 kB / 0.7843 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2014/0.2014, allocations: 106.2 MB / 0.888 GB, free: 12.22 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.56/1.761, allocations: 387.5 MB / 1.266 GB, free: 253.6 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003908/1.762, allocations: 81.27 kB / 1.267 GB, free: 253.6 MB / 0.8698 GB Notification: Performance of FrontEnd: time 0.3606/2.122, allocations: 100.8 MB / 1.365 GB, free: 223.5 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 5.249e-05/2.122, allocations: 19.66 kB / 1.365 GB, free: 223.5 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 62 * Number of variables: 62 Notification: Performance of Generate backend data structure: time 0.001729/2.124, allocations: 0.6582 MB / 1.366 GB, free: 222.9 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.143e-05/2.124, allocations: 12.12 kB / 1.366 GB, free: 222.9 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003661/2.125, allocations: 47.86 kB / 1.366 GB, free: 222.9 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03024/2.155, allocations: 6.496 MB / 1.372 GB, free: 218.9 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.473e-05/2.155, allocations: 7.938 kB / 1.372 GB, free: 218.9 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.255e-05/2.155, allocations: 24.03 kB / 1.372 GB, free: 218.9 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006385/2.156, allocations: 139.7 kB / 1.372 GB, free: 218.9 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007388/2.156, allocations: 245.4 kB / 1.372 GB, free: 218.7 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.556e-05/2.156, allocations: 3.906 kB / 1.372 GB, free: 218.7 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.148e-05/2.156, allocations: 1.375 kB / 1.372 GB, free: 218.7 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.992e-05/2.157, allocations: 11.55 kB / 1.372 GB, free: 218.7 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002834/2.159, allocations: 1.427 MB / 1.374 GB, free: 217.4 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004751/2.16, allocations: 117 kB / 1.374 GB, free: 217.3 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001745/2.16, allocations: 50.06 kB / 1.374 GB, free: 217.3 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001708/2.16, allocations: 82.95 kB / 1.374 GB, free: 217.2 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000263/2.161, allocations: 97.28 kB / 1.374 GB, free: 217.1 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=15): time 3.807e-06/2.161, allocations: 0 / 1.374 GB, free: 217.1 MB / 0.8698 GB Notification: Performance of matching and sorting (n=15): time 0.0005862/2.161, allocations: 139.3 kB / 1.374 GB, free: 217 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.404e-05/2.161, allocations: 62.36 kB / 1.374 GB, free: 217 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005733/2.162, allocations: 267.5 kB / 1.375 GB, free: 216.8 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 4.047e-05/2.162, allocations: 26.83 kB / 1.375 GB, free: 216.8 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001688/2.162, allocations: 182.1 kB / 1.375 GB, free: 216.6 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 8.236e-05/2.162, allocations: 53.55 kB / 1.375 GB, free: 216.6 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.247e-05/2.162, allocations: 4.875 kB / 1.375 GB, free: 216.5 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001112/2.162, allocations: 337.8 kB / 1.375 GB, free: 216.2 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002123/2.163, allocations: 51.27 kB / 1.375 GB, free: 216.2 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002763/2.163, allocations: 121.2 kB / 1.375 GB, free: 216.1 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004193/2.163, allocations: 83.38 kB / 1.375 GB, free: 216 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.092e-06/2.163, allocations: 0.8125 kB / 1.375 GB, free: 216 MB / 0.8698 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.000951/2.164, allocations: 227.3 kB / 1.376 GB, free: 215.9 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.365e-05/2.164, allocations: 4.844 kB / 1.376 GB, free: 215.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.419e-05/2.164, allocations: 3 kB / 1.376 GB, free: 215.9 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.937e-05/2.164, allocations: 3.938 kB / 1.376 GB, free: 215.9 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006202/2.165, allocations: 66.22 kB / 1.376 GB, free: 215.9 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.29e-05/2.165, allocations: 3.438 kB / 1.376 GB, free: 215.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007261/2.166, allocations: 33.39 kB / 1.376 GB, free: 215.9 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.746e-05/2.166, allocations: 12 kB / 1.376 GB, free: 215.9 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001388/2.166, allocations: 125 kB / 1.376 GB, free: 215.7 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.997e-05/2.166, allocations: 30.22 kB / 1.376 GB, free: 215.7 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006439/2.167, allocations: 145.7 kB / 1.376 GB, free: 215.6 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.504e-06/2.167, allocations: 2.344 kB / 1.376 GB, free: 215.6 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.783e-06/2.167, allocations: 0 / 1.376 GB, free: 215.6 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005006/2.167, allocations: 450.3 kB / 1.376 GB, free: 215.2 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008151/2.168, allocations: 302.6 kB / 1.377 GB, free: 214.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.518e-06/2.168, allocations: 0.9062 kB / 1.377 GB, free: 214.9 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004324/2.169, allocations: 38.42 kB / 1.377 GB, free: 214.9 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.534e-06/2.169, allocations: 0.6875 kB / 1.377 GB, free: 214.9 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.098e-05/2.169, allocations: 5.203 kB / 1.377 GB, free: 214.9 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.218e-06/2.169, allocations: 1.219 kB / 1.377 GB, free: 214.9 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/2.169, allocations: 0 / 1.377 GB, free: 214.9 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0007266/2.169, allocations: 234.9 kB / 1.377 GB, free: 214.7 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002322/2.17, allocations: 122 kB / 1.377 GB, free: 214.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001078/2.17, allocations: 13.19 kB / 1.377 GB, free: 214.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005497/2.17, allocations: 19.8 kB / 1.377 GB, free: 214.6 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001044/2.171, allocations: 14.66 kB / 1.377 GB, free: 214.6 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.4e-05/2.171, allocations: 12.89 kB / 1.377 GB, free: 214.6 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.0004226/2.171, allocations: 212.1 kB / 1.377 GB, free: 214.4 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001034/2.172, allocations: 132.1 kB / 1.378 GB, free: 214.4 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (expVes.m,expVes.H,vol.dynBal.U) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005976/2.173, allocations: 245.6 kB / 1.378 GB, free: 214.2 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.000542/2.173, allocations: 159.3 kB / 1.378 GB, free: 214.2 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/2.173, allocations: 0 / 1.378 GB, free: 214.2 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001982/2.173, allocations: 57.7 kB / 1.378 GB, free: 214.1 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001917/2.175, allocations: 165.7 kB / 1.378 GB, free: 214.1 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002022/2.177, allocations: 0.5162 MB / 1.379 GB, free: 213.7 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006167/2.178, allocations: 0.8361 MB / 1.379 GB, free: 212.9 MB / 0.8698 GB Notification: Performance of SimCode: time 1.242e-06/2.178, allocations: 0 / 1.379 GB, free: 212.9 MB / 0.8698 GB Notification: Performance of Templates: time 0.0229/2.201, allocations: 6.243 MB / 1.386 GB, free: 207.9 MB / 0.8698 GB