Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolume.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolume,tolerance=1e-09,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolume") translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolume,tolerance=1e-09,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.605/1.605, allocations: 285.5 MB / 292.8 MB, free: 10.49 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001607/0.001607, allocations: 173.3 kB / 361.1 MB, free: 7.082 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.59/1.59, allocations: 205.1 MB / 0.6195 GB, free: 10.28 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009177/0.0009181, allocations: 88 kB / 0.7326 GB, free: 44.23 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 8.686e-06/8.696e-06, allocations: 0 / 0.8511 GB, free: 2.973 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7307/0.7307, allocations: 115.3 MB / 0.9637 GB, free: 78.31 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.132/4.863, allocations: 2.086 GB / 3.049 GB, free: 48.67 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002848/4.863, allocations: 92 kB / 3.049 GB, free: 48.59 MB / 0.948 GB Notification: Performance of FrontEnd: time 4.576/9.439, allocations: 1.338 GB / 4.387 GB, free: 127.7 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 0.0002743/9.439, allocations: 53.72 kB / 4.387 GB, free: 127.7 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.008029/9.447, allocations: 2.177 MB / 4.39 GB, free: 126.6 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 6.127e-05/9.447, allocations: 7.781 kB / 4.39 GB, free: 126.6 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004267/9.452, allocations: 0.5344 MB / 4.39 GB, free: 126.5 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004645/9.456, allocations: 1.433 MB / 4.391 GB, free: 126 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002069/9.457, allocations: 123.7 kB / 4.392 GB, free: 126 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005319/9.457, allocations: 89.62 kB / 4.392 GB, free: 126 MB / 0.9636 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002564/9.46, allocations: 1.227 MB / 4.393 GB, free: 126 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002656/9.462, allocations: 1.486 MB / 4.394 GB, free: 125.7 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.374e-05/9.462, allocations: 5.75 kB / 4.394 GB, free: 125.7 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001261/9.463, allocations: 6.391 kB / 4.394 GB, free: 125.7 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.408e-05/9.463, allocations: 59.59 kB / 4.394 GB, free: 125.7 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009803/9.473, allocations: 8.214 MB / 4.402 GB, free: 120.7 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008269/9.473, allocations: 0.5491 MB / 4.403 GB, free: 120.7 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007733/9.474, allocations: 0.492 MB / 4.403 GB, free: 120.7 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006303/9.475, allocations: 406.8 kB / 4.404 GB, free: 120.3 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.607e-05/9.475, allocations: 54.59 kB / 4.404 GB, free: 120.3 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=96): time 3.296e-06/9.475, allocations: 5.125 kB / 4.404 GB, free: 120.3 MB / 0.9636 GB Notification: Performance of matching and sorting (n=102): time 0.006403/9.481, allocations: 2.651 MB / 4.406 GB, free: 119.1 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.726e-05/9.481, allocations: 65.84 kB / 4.407 GB, free: 119 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001165/9.482, allocations: 0.8938 MB / 4.407 GB, free: 118.6 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 7.638e-05/9.483, allocations: 30.98 kB / 4.407 GB, free: 118.6 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003099/9.483, allocations: 0.5829 MB / 4.408 GB, free: 118.2 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002673/9.483, allocations: 352.1 kB / 4.408 GB, free: 117.9 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.631e-05/9.483, allocations: 2.938 kB / 4.408 GB, free: 117.9 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 8.855e-05/9.483, allocations: 351.7 kB / 4.409 GB, free: 117.6 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005289/9.484, allocations: 388.9 kB / 4.409 GB, free: 117.4 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007181/9.485, allocations: 0.7675 MB / 4.41 GB, free: 116.8 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008377/9.485, allocations: 0.5779 MB / 4.41 GB, free: 116.6 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.099e-06/9.485, allocations: 2.688 kB / 4.41 GB, free: 116.6 MB / 0.9636 GB Notification: Performance of matching and sorting (n=150) (initialization): time 0.001925/9.487, allocations: 1.277 MB / 4.412 GB, free: 116.2 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007045/9.488, allocations: 3.634 MB / 4.415 GB, free: 112.4 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.548e-05/9.488, allocations: 8.594 kB / 4.415 GB, free: 112.4 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.304e-05/9.488, allocations: 17.12 kB / 4.415 GB, free: 112.4 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001216/9.489, allocations: 283.6 kB / 4.415 GB, free: 112.3 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.333e-05/9.489, allocations: 20.03 kB / 4.415 GB, free: 112.3 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001782/9.491, allocations: 149.2 kB / 4.416 GB, free: 112.3 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001109/9.491, allocations: 53.06 kB / 4.416 GB, free: 112.3 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 9.377e-06/9.491, allocations: 5.469 kB / 4.416 GB, free: 112.3 MB / 0.9636 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001583/9.493, allocations: 1.083 MB / 4.417 GB, free: 112 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.796e-06/9.493, allocations: 8.562 kB / 4.417 GB, free: 112 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.613e-05/9.493, allocations: 18.22 kB / 4.417 GB, free: 112 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001077/9.494, allocations: 282.1 kB / 4.417 GB, free: 111.9 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.243e-05/9.494, allocations: 21.66 kB / 4.417 GB, free: 111.9 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001682/9.496, allocations: 152.7 kB / 4.417 GB, free: 111.9 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.373e-05/9.496, allocations: 54.39 kB / 4.417 GB, free: 111.9 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.0002832/9.496, allocations: 139.9 kB / 4.417 GB, free: 111.8 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000258/9.496, allocations: 152.8 kB / 4.418 GB, free: 111.7 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001875/9.498, allocations: 1.088 MB / 4.419 GB, free: 111.3 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.082e-05/9.498, allocations: 8.469 kB / 4.419 GB, free: 111.3 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.993e-06/9.498, allocations: 2.812 kB / 4.419 GB, free: 111.3 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001261/9.5, allocations: 1.025 MB / 4.42 GB, free: 110.8 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004791/9.504, allocations: 2.546 MB / 4.422 GB, free: 109.7 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.649e-06/9.504, allocations: 5.062 kB / 4.422 GB, free: 109.7 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001429/9.506, allocations: 254.8 kB / 4.422 GB, free: 109.6 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.427e-05/9.506, allocations: 14.62 kB / 4.422 GB, free: 109.6 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.256e-05/9.506, allocations: 14.09 kB / 4.422 GB, free: 109.6 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.41e-05/9.506, allocations: 9.781 kB / 4.422 GB, free: 109.6 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.255e-06/9.506, allocations: 3.938 kB / 4.422 GB, free: 109.6 MB / 0.9636 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002996/9.509, allocations: 1.819 MB / 4.424 GB, free: 108.7 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009762/9.51, allocations: 324.3 kB / 4.424 GB, free: 108.5 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000214/9.51, allocations: 7.875 kB / 4.424 GB, free: 108.5 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001385/9.512, allocations: 134.3 kB / 4.425 GB, free: 108.5 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001266/9.512, allocations: 60.73 kB / 4.425 GB, free: 108.4 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.078e-05/9.512, allocations: 40.75 kB / 4.425 GB, free: 108.4 MB / 0.9636 GB Notification: Performance of sort global known variables: time 0.001096/9.513, allocations: 0.6595 MB / 4.425 GB, free: 108.2 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.003509/9.517, allocations: 0.9242 MB / 4.426 GB, free: 108 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.005156/9.522, allocations: 3.342 MB / 4.429 GB, free: 106.6 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.002923/9.525, allocations: 1.611 MB / 4.431 GB, free: 106.1 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 7.044e-06/9.525, allocations: 2.906 kB / 4.431 GB, free: 106.1 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0006525/9.525, allocations: 487.1 kB / 4.432 GB, free: 105.9 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004594/9.53, allocations: 0.8261 MB / 4.432 GB, free: 105.8 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00574/9.536, allocations: 2.76 MB / 4.435 GB, free: 104.8 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001513/9.537, allocations: 1.615 MB / 4.437 GB, free: 104 MB / 0.9636 GB Notification: Performance of SimCode: time 1.072e-06/9.537, allocations: 0 / 4.437 GB, free: 104 MB / 0.9636 GB Notification: Performance of Templates: time 0.07499/9.612, allocations: 48.8 MB / 4.484 GB, free: 60.89 MB / 0.9636 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolume.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolume.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolume.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolume.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolume.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolume -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolume.pipe 2>&1)