Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater") translateModel(Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater") [: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.1.4-maint.8.1.x/package.mo): time 1.561/1.561, allocations: 289.8 MB / 297.1 MB, free: 6.586 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.001112/0.001112, allocations: 173.3 kB / 366.3 MB, free: 1.914 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.715/1.715, allocations: 205.1 MB / 0.6256 GB, free: 5.746 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.0009941/0.0009941, allocations: 90.41 kB / 0.7395 GB, free: 39.57 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 9.187e-06/9.207e-06, allocations: 4 kB / 0.859 GB, free: 13.29 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7435/0.7436, allocations: 116.3 MB / 0.9726 GB, free: 68.34 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.043/1.786, allocations: 400.3 MB / 1.363 GB, free: 84.14 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004249/1.787, allocations: 89.09 kB / 1.364 GB, free: 84.1 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.103/2.889, allocations: 240.9 MB / 1.599 GB, free: 270.2 MB / 0.948 GB Notification: Performance of Transformations before backend: time 7.288e-05/2.89, allocations: 18.25 kB / 1.599 GB, free: 270.2 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 110 * Number of variables: 110 Notification: Performance of Generate backend data structure: time 0.001673/2.891, allocations: 0.8692 MB / 1.6 GB, free: 269.8 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.517e-05/2.891, allocations: 7.781 kB / 1.6 GB, free: 269.8 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003512/2.892, allocations: 84.55 kB / 1.6 GB, free: 269.7 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02835/2.92, allocations: 12.2 MB / 1.612 GB, free: 269.1 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.521e-05/2.92, allocations: 11.84 kB / 1.612 GB, free: 269.1 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.745e-05/2.92, allocations: 31.38 kB / 1.612 GB, free: 269.1 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005297/2.921, allocations: 262.6 kB / 1.612 GB, free: 269.1 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005957/2.921, allocations: 426.4 kB / 1.612 GB, free: 268.9 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.102e-05/2.921, allocations: 2.25 kB / 1.612 GB, free: 268.9 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.025e-05/2.921, allocations: 3.719 kB / 1.612 GB, free: 268.9 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.082e-05/2.921, allocations: 16.94 kB / 1.612 GB, free: 268.9 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002754/2.924, allocations: 2.658 MB / 1.615 GB, free: 267.2 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001943/2.924, allocations: 136.3 kB / 1.615 GB, free: 267.2 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001298/2.925, allocations: 94.72 kB / 1.615 GB, free: 267.2 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003355/2.925, allocations: 342 kB / 1.616 GB, free: 266.8 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.684e-05/2.925, allocations: 37.84 kB / 1.616 GB, free: 266.8 MB / 0.948 GB Notification: Performance of pre-optimization done (n=22): time 2.505e-06/2.925, allocations: 0 / 1.616 GB, free: 266.8 MB / 0.948 GB Notification: Performance of matching and sorting (n=22): time 0.0005788/2.926, allocations: 229.5 kB / 1.616 GB, free: 266.7 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.422e-05/2.926, allocations: 58.44 kB / 1.616 GB, free: 266.6 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004959/2.926, allocations: 434.2 kB / 1.616 GB, free: 266.5 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 2.874e-05/2.926, allocations: 25.7 kB / 1.616 GB, free: 266.5 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001792/2.926, allocations: 269.4 kB / 1.617 GB, free: 266.3 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 6.527e-05/2.926, allocations: 77.53 kB / 1.617 GB, free: 266.3 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.141e-05/2.926, allocations: 0 / 1.617 GB, free: 266.3 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001167/2.927, allocations: 361.6 kB / 1.617 GB, free: 266 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001187/2.927, allocations: 83.97 kB / 1.617 GB, free: 266 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002005/2.927, allocations: 227.8 kB / 1.617 GB, free: 265.8 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002398/2.927, allocations: 132.5 kB / 1.617 GB, free: 265.8 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.84e-06/2.927, allocations: 3.938 kB / 1.617 GB, free: 265.8 MB / 0.948 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0005318/2.928, allocations: 342.8 kB / 1.618 GB, free: 265.7 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004872/2.928, allocations: 1.651 MB / 1.619 GB, free: 264 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.011e-05/2.928, allocations: 6.031 kB / 1.619 GB, free: 264 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.567e-05/2.928, allocations: 11.58 kB / 1.619 GB, free: 264 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002923/2.928, allocations: 77.33 kB / 1.619 GB, free: 264 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.208e-05/2.929, allocations: 8.656 kB / 1.619 GB, free: 264 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000467/2.929, allocations: 53.08 kB / 1.619 GB, free: 264 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.116e-05/2.929, allocations: 21.78 kB / 1.619 GB, free: 264 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 8.015e-06/2.929, allocations: 3.062 kB / 1.619 GB, free: 264 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004219/2.929, allocations: 266.4 kB / 1.62 GB, free: 264 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.232e-06/2.929, allocations: 7.688 kB / 1.62 GB, free: 264 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.512e-06/2.93, allocations: 3.5 kB / 1.62 GB, free: 264 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000228/2.93, allocations: 78.28 kB / 1.62 GB, free: 264 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.386e-06/2.93, allocations: 11.11 kB / 1.62 GB, free: 264 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003226/2.93, allocations: 43.55 kB / 1.62 GB, free: 264 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.832e-05/2.93, allocations: 30.25 kB / 1.62 GB, free: 264 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (44): * Single equations (assignments): 44 * 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.0001029/2.93, allocations: 122 kB / 1.62 GB, free: 263.9 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.654e-05/2.93, allocations: 52.34 kB / 1.62 GB, free: 263.8 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005269/2.931, allocations: 272.8 kB / 1.62 GB, free: 263.8 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.783e-06/2.931, allocations: 3.844 kB / 1.62 GB, free: 263.8 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.082e-06/2.931, allocations: 0 / 1.62 GB, free: 263.8 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003662/2.931, allocations: 362.5 kB / 1.621 GB, free: 263.5 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001365/2.933, allocations: 0.9626 MB / 1.622 GB, free: 263.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.048e-06/2.933, allocations: 3.219 kB / 1.622 GB, free: 263.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00022/2.933, allocations: 48.66 kB / 1.622 GB, free: 263.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.111e-06/2.933, allocations: 3.969 kB / 1.622 GB, free: 263.1 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.455e-05/2.933, allocations: 11.19 kB / 1.622 GB, free: 263.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.238e-06/2.933, allocations: 6.438 kB / 1.622 GB, free: 263.1 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.392e-06/2.933, allocations: 7.375 kB / 1.622 GB, free: 263.1 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006786/2.934, allocations: 0.6021 MB / 1.622 GB, free: 262.7 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001959/2.934, allocations: 170.5 kB / 1.622 GB, free: 262.6 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.621e-05/2.934, allocations: 3.844 kB / 1.622 GB, free: 262.6 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003507/2.934, allocations: 29.39 kB / 1.622 GB, free: 262.6 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.5e-05/2.934, allocations: 22.48 kB / 1.622 GB, free: 262.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.898e-05/2.934, allocations: 17.77 kB / 1.623 GB, free: 262.6 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.0003547/2.935, allocations: 329.3 kB / 1.623 GB, free: 262.5 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001256/2.936, allocations: 373 kB / 1.623 GB, free: 262.4 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 2 (vol.dynBal.U,vol1.dynBal.U) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.000869/2.937, allocations: 394 kB / 1.624 GB, free: 262.3 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0005716/2.937, allocations: 390.3 kB / 1.624 GB, free: 262.3 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 5.901e-06/2.937, allocations: 7.797 kB / 1.624 GB, free: 262.3 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001316/2.938, allocations: 95.39 kB / 1.624 GB, free: 262.3 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001477/2.939, allocations: 314.4 kB / 1.624 GB, free: 262.3 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001474/2.941, allocations: 0.8121 MB / 1.625 GB, free: 262 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000476/2.941, allocations: 0.9632 MB / 1.626 GB, free: 261.3 MB / 0.948 GB Notification: Performance of SimCode: time 1.744e-06/2.941, allocations: 3.25 kB / 1.626 GB, free: 261.3 MB / 0.948 GB Notification: Performance of Templates: time 0.02177/2.963, allocations: 12.75 MB / 1.639 GB, free: 261 MB / 0.948 GB make -j1 -f Buildings_8_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater.makefile (rm -f Buildings_8_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater.pipe ; mkfifo Buildings_8_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater.pipe >> ../files/Buildings_8_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater.sim & ./Buildings_8_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater.pipe 2>&1)