Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Validation.MixingVolume.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolume,tolerance=1e-09,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Validation.MixingVolume") translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolume,tolerance=1e-09,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Validation.MixingVolume") [: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 8.0.0/package.mo): time 2.403/2.403, allocations: 284.9 MB / 292.2 MB, free: 10.72 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001614/0.001614, allocations: 192.2 kB / 360.4 MB, free: 7.488 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.938/1.938, allocations: 205.1 MB / 0.6188 GB, free: 12.42 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001297/0.001297, allocations: 85.59 kB / 0.7318 GB, free: 44.99 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.579e-05/1.611e-05, allocations: 4 kB / 0.8502 GB, free: 3.863 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.642/0.642, allocations: 115.2 MB / 0.9628 GB, free: 78.2 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.639/5.281, allocations: 2.086 GB / 3.048 GB, free: 34.38 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003335/5.281, allocations: 83.14 kB / 3.048 GB, free: 34.34 MB / 0.948 GB Notification: Performance of FrontEnd: time 6.623/11.9, allocations: 1.338 GB / 4.386 GB, free: 127.2 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 0.0002397/11.9, allocations: 56.52 kB / 4.386 GB, free: 127.1 MB / 0.9636 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 363 * Number of variables: 363 Notification: Performance of Generate backend data structure: time 0.008954/11.91, allocations: 2.169 MB / 4.388 GB, free: 126.1 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 5.15e-05/11.91, allocations: 7.375 kB / 4.388 GB, free: 126.1 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005811/11.92, allocations: 0.5335 MB / 4.389 GB, free: 125.9 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006298/11.93, allocations: 1.438 MB / 4.39 GB, free: 125.5 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002238/11.93, allocations: 122.1 kB / 4.391 GB, free: 125.4 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000424/11.93, allocations: 94.47 kB / 4.391 GB, free: 125.4 MB / 0.9636 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004392/11.93, allocations: 1.227 MB / 4.392 GB, free: 125.4 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004626/11.94, allocations: 1.477 MB / 4.393 GB, free: 125.2 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.953e-05/11.94, allocations: 10.77 kB / 4.393 GB, free: 125.2 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002214/11.94, allocations: 3.25 kB / 4.393 GB, free: 125.2 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.836e-05/11.94, allocations: 52.89 kB / 4.393 GB, free: 125.2 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01809/11.95, allocations: 8.223 MB / 4.401 GB, free: 119.1 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001612/11.96, allocations: 0.5448 MB / 4.402 GB, free: 118.8 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001248/11.96, allocations: 0.4968 MB / 4.402 GB, free: 118.7 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000988/11.96, allocations: 409.8 kB / 4.403 GB, free: 118.3 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.931e-05/11.96, allocations: 48.31 kB / 4.403 GB, free: 118.2 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=96): time 4.398e-06/11.96, allocations: 0 / 4.403 GB, free: 118.2 MB / 0.9636 GB Notification: Performance of matching and sorting (n=102): time 0.01236/11.97, allocations: 2.651 MB / 4.405 GB, free: 117 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.094e-05/11.97, allocations: 63.41 kB / 4.405 GB, free: 117 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002334/11.97, allocations: 0.8916 MB / 4.406 GB, free: 116.6 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 0.0004059/11.97, allocations: 28.33 kB / 4.406 GB, free: 116.6 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005399/11.97, allocations: 0.585 MB / 4.407 GB, free: 116.1 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007094/11.97, allocations: 354.3 kB / 4.407 GB, free: 115.9 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.593e-05/11.97, allocations: 0 / 4.407 GB, free: 115.9 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0001298/11.98, allocations: 355.6 kB / 4.408 GB, free: 115.5 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001067/11.98, allocations: 386.8 kB / 4.408 GB, free: 115.4 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00134/11.98, allocations: 0.7717 MB / 4.409 GB, free: 114.8 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001701/11.98, allocations: 0.5724 MB / 4.409 GB, free: 114.6 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.989e-06/11.98, allocations: 3.812 kB / 4.409 GB, free: 114.6 MB / 0.9636 GB Notification: Performance of matching and sorting (n=150) (initialization): time 0.003933/11.98, allocations: 1.276 MB / 4.411 GB, free: 114.1 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009884/11.98, allocations: 3.635 MB / 4.414 GB, free: 110.3 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.506e-05/11.98, allocations: 8.688 kB / 4.414 GB, free: 110.3 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.761e-05/11.98, allocations: 21.31 kB / 4.414 GB, free: 110.3 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002669/11.99, allocations: 285.1 kB / 4.414 GB, free: 110.3 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.796e-05/11.99, allocations: 20.91 kB / 4.414 GB, free: 110.3 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003651/11.99, allocations: 147.4 kB / 4.415 GB, free: 110.3 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003069/11.99, allocations: 59.97 kB / 4.415 GB, free: 110.2 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.59e-05/11.99, allocations: 4.719 kB / 4.415 GB, free: 110.2 MB / 0.9636 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003103/11.99, allocations: 1.086 MB / 4.416 GB, free: 109.9 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.905e-05/11.99, allocations: 8.781 kB / 4.416 GB, free: 109.9 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.155e-05/11.99, allocations: 17.98 kB / 4.416 GB, free: 109.9 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002418/12, allocations: 277.2 kB / 4.416 GB, free: 109.9 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.002e-05/12, allocations: 22.03 kB / 4.416 GB, free: 109.9 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003591/12, allocations: 146.3 kB / 4.416 GB, free: 109.8 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002897/12, allocations: 55.67 kB / 4.416 GB, free: 109.8 MB / 0.9636 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * Number of states: 0 () * Number of discrete variables: 4 (vol.regularFlow[1],vol.regularFlow[2],vol.inFlow[2],vol.inFlow[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (150): * Single equations (assignments): 150 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000507/12, allocations: 141.8 kB / 4.416 GB, free: 109.7 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006853/12, allocations: 157.6 kB / 4.416 GB, free: 109.6 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003966/12.01, allocations: 1.08 MB / 4.418 GB, free: 109.2 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.24e-05/12.01, allocations: 14.41 kB / 4.418 GB, free: 109.2 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.059e-05/12.01, allocations: 0 / 4.418 GB, free: 109.2 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002628/12.01, allocations: 1.025 MB / 4.419 GB, free: 108.7 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009024/12.02, allocations: 2.542 MB / 4.421 GB, free: 107.6 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.189e-05/12.02, allocations: 3.328 kB / 4.421 GB, free: 107.6 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002757/12.02, allocations: 257.4 kB / 4.421 GB, free: 107.6 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.015e-05/12.02, allocations: 5.625 kB / 4.421 GB, free: 107.6 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002166/12.02, allocations: 14.88 kB / 4.421 GB, free: 107.6 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.998e-06/12.02, allocations: 6.062 kB / 4.421 GB, free: 107.6 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.418e-06/12.02, allocations: 6.656 kB / 4.421 GB, free: 107.6 MB / 0.9636 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004378/12.03, allocations: 1.83 MB / 4.423 GB, free: 106.6 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00157/12.03, allocations: 322.1 kB / 4.423 GB, free: 106.4 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004777/12.03, allocations: 14.03 kB / 4.423 GB, free: 106.4 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002998/12.03, allocations: 132.1 kB / 4.424 GB, free: 106.4 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002296/12.03, allocations: 55.34 kB / 4.424 GB, free: 106.4 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001312/12.03, allocations: 36.47 kB / 4.424 GB, free: 106.4 MB / 0.9636 GB Notification: Performance of sort global known variables: time 0.001552/12.03, allocations: 0.6618 MB / 4.424 GB, free: 106.1 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0049/12.04, allocations: 0.9291 MB / 4.425 GB, free: 105.9 MB / 0.9636 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 9 (vol1.dynBal.U,vol1.dynBal.m,vol1.dynBal.mXi[1],vol.medium.Xi[1],vol.medium.T,vol.m,vol2.dynBal.U,vol2.dynBal.m,vol2.dynBal.mXi[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (102): * Single equations (assignments): 102 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.006441/12.04, allocations: 3.35 MB / 4.428 GB, free: 104.6 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.004664/12.05, allocations: 1.615 MB / 4.43 GB, free: 104 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.152e-05/12.05, allocations: 1.844 kB / 4.43 GB, free: 104 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.001239/12.05, allocations: 478.5 kB / 4.43 GB, free: 103.9 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008576/12.06, allocations: 0.8362 MB / 4.431 GB, free: 103.6 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007911/12.07, allocations: 2.765 MB / 4.434 GB, free: 101.4 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002136/12.07, allocations: 1.619 MB / 4.436 GB, free: 100 MB / 0.9636 GB Notification: Performance of SimCode: time 1.413e-06/12.07, allocations: 0 / 4.436 GB, free: 100 MB / 0.9636 GB Notification: Performance of Templates: time 0.1225/12.19, allocations: 48.79 MB / 4.483 GB, free: 53.69 MB / 0.9636 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Validation.MixingVolume.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Validation.MixingVolume.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Validation.MixingVolume.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Validation.MixingVolume.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Validation.MixingVolume.sim & ./Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Validation.MixingVolume -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Validation.MixingVolume.pipe 2>&1)