Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.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.Actuators.Dampers.Examples.MixingBox,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox") translateModel(Buildings.Fluid.Actuators.Dampers.Examples.MixingBox,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox") [: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.611/1.611, allocations: 285.5 MB / 292.8 MB, free: 10.41 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.001075/0.001075, allocations: 189.2 kB / 361.1 MB, free: 7.07 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.298/1.298, allocations: 205.1 MB / 0.6195 GB, free: 10.27 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.000874/0.000874, allocations: 82.09 kB / 0.7325 GB, free: 44.22 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.222e-05/1.266e-05, allocations: 4 kB / 0.8511 GB, free: 2.938 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6358/0.6358, allocations: 115.3 MB / 0.9637 GB, free: 78.31 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.882/4.518, allocations: 2.083 GB / 3.046 GB, free: 62.41 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002367/4.518, allocations: 97.53 kB / 3.047 GB, free: 62.32 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.072/6.59, allocations: 0.6049 GB / 3.651 GB, free: 193 MB / 0.948 GB Notification: Performance of Transformations before backend: time 8.781e-05/6.59, allocations: 32 kB / 3.651 GB, free: 193 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: 120 * Number of variables: 120 Notification: Performance of Generate backend data structure: time 0.002604/6.593, allocations: 1.353 MB / 3.653 GB, free: 191.6 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.505e-05/6.593, allocations: 12.03 kB / 3.653 GB, free: 191.6 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00299/6.596, allocations: 394.2 kB / 3.653 GB, free: 191.2 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002062/6.598, allocations: 1.096 MB / 3.654 GB, free: 190.1 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.456e-05/6.598, allocations: 19.94 kB / 3.654 GB, free: 190 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001024/6.598, allocations: 36 kB / 3.654 GB, free: 190 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008269/6.599, allocations: 0.533 MB / 3.655 GB, free: 189.5 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009979/6.6, allocations: 0.5845 MB / 3.655 GB, free: 188.9 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.092e-05/6.6, allocations: 0 / 3.655 GB, free: 188.9 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.843e-05/6.6, allocations: 3.906 kB / 3.655 GB, free: 188.9 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.138e-05/6.6, allocations: 12 kB / 3.655 GB, free: 188.8 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005504/6.605, allocations: 2.646 MB / 3.658 GB, free: 186.1 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001072/6.607, allocations: 0.5012 MB / 3.658 GB, free: 185.6 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006131/6.607, allocations: 309.4 kB / 3.659 GB, free: 185.3 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005915/6.608, allocations: 295 kB / 3.659 GB, free: 185 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.501e-05/6.608, allocations: 42.52 kB / 3.659 GB, free: 184.9 MB / 0.948 GB Notification: Performance of pre-optimization done (n=43): time 3.717e-06/6.608, allocations: 0 / 3.659 GB, free: 184.9 MB / 0.948 GB Notification: Performance of matching and sorting (n=43): time 0.002388/6.61, allocations: 0.6875 MB / 3.66 GB, free: 184.2 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.766e-05/6.61, allocations: 136.5 kB / 3.66 GB, free: 184 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001863/6.612, allocations: 0.9736 MB / 3.661 GB, free: 183.1 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 9.57e-05/6.612, allocations: 29.7 kB / 3.661 GB, free: 183 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001973/6.613, allocations: 270 kB / 3.661 GB, free: 182.7 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001424/6.613, allocations: 145.8 kB / 3.661 GB, free: 182.6 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.122e-05/6.613, allocations: 0 / 3.661 GB, free: 182.6 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 6.918e-05/6.613, allocations: 326 kB / 3.662 GB, free: 182.3 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004798/6.613, allocations: 240.8 kB / 3.662 GB, free: 182 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006478/6.614, allocations: 486.6 kB / 3.662 GB, free: 181.5 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006753/6.615, allocations: 310.5 kB / 3.663 GB, free: 181.2 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.158e-06/6.615, allocations: 0 / 3.663 GB, free: 181.2 MB / 0.948 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001639/6.616, allocations: 0.697 MB / 3.663 GB, free: 180.5 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 4.322e-05/6.616, allocations: 94.91 kB / 3.663 GB, free: 180.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.094e-05/6.616, allocations: 0 / 3.663 GB, free: 180.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.828e-05/6.616, allocations: 0 / 3.663 GB, free: 180.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009604/6.617, allocations: 135.8 kB / 3.663 GB, free: 180.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.669e-06/6.617, allocations: 3.906 kB / 3.663 GB, free: 180.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001787/6.619, allocations: 127.6 kB / 3.664 GB, free: 180.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001175/6.619, allocations: 31.97 kB / 3.664 GB, free: 180.1 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 9.417e-06/6.619, allocations: 4 kB / 3.664 GB, free: 180.1 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001271/6.621, allocations: 0.5598 MB / 3.664 GB, free: 179.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.104e-05/6.621, allocations: 4 kB / 3.664 GB, free: 179.5 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.552e-06/6.621, allocations: 0 / 3.664 GB, free: 179.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009213/6.622, allocations: 127.9 kB / 3.664 GB, free: 179.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.724e-06/6.622, allocations: 7.938 kB / 3.664 GB, free: 179.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001747/6.623, allocations: 131.6 kB / 3.664 GB, free: 179.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.749e-05/6.623, allocations: 27.97 kB / 3.664 GB, free: 179.2 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (47): * Single equations (assignments): 45 * Array equations: 1 * 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 prepare postOptimizeDAE: time 0.0001873/6.624, allocations: 117.2 kB / 3.665 GB, free: 179.1 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002628/6.624, allocations: 94.78 kB / 3.665 GB, free: 179 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001875/6.626, allocations: 0.7389 MB / 3.665 GB, free: 178.3 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.013e-06/6.626, allocations: 11.94 kB / 3.665 GB, free: 178.2 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.56e-06/6.626, allocations: 0 / 3.665 GB, free: 178.2 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.787e-06/6.626, allocations: 3.984 kB / 3.665 GB, free: 178.2 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003394/6.629, allocations: 1.824 MB / 3.667 GB, free: 176.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.499e-06/6.629, allocations: 0 / 3.667 GB, free: 176.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000846/6.63, allocations: 124.1 kB / 3.667 GB, free: 176.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.37e-05/6.63, allocations: 7.938 kB / 3.667 GB, free: 176.2 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.431e-05/6.63, allocations: 11.94 kB / 3.667 GB, free: 176.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.124e-06/6.63, allocations: 4 kB / 3.667 GB, free: 176.2 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.589e-06/6.63, allocations: 4 kB / 3.667 GB, free: 176.2 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001927/6.632, allocations: 1.235 MB / 3.669 GB, free: 174.9 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006025/6.633, allocations: 295.7 kB / 3.669 GB, free: 174.6 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002975/6.633, allocations: 7.984 kB / 3.669 GB, free: 174.6 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001603/6.635, allocations: 79.81 kB / 3.669 GB, free: 174.5 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001305/6.635, allocations: 35.95 kB / 3.669 GB, free: 174.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.917e-05/6.635, allocations: 23.98 kB / 3.669 GB, free: 174.4 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.001356/6.636, allocations: 0.7513 MB / 3.67 GB, free: 173.7 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002489/6.639, allocations: 0.5653 MB / 3.67 GB, free: 173.1 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 2 (mixBox.filter.x[1],mixBox.filter.x[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (52): * Single equations (assignments): 52 * 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.003237/6.642, allocations: 1.882 MB / 3.672 GB, free: 171.3 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001941/6.644, allocations: 0.9452 MB / 3.673 GB, free: 170.4 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 5.671e-06/6.644, allocations: 0 / 3.673 GB, free: 170.4 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0005803/6.645, allocations: 287.7 kB / 3.673 GB, free: 170.1 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003119/6.648, allocations: 397.3 kB / 3.674 GB, free: 169.7 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004098/6.652, allocations: 1.324 MB / 3.675 GB, free: 168.3 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001334/6.653, allocations: 1.182 MB / 3.676 GB, free: 167.1 MB / 0.948 GB Notification: Performance of SimCode: time 5.21e-07/6.653, allocations: 0 / 3.676 GB, free: 167.1 MB / 0.948 GB Notification: Performance of Templates: time 0.05431/6.708, allocations: 33.96 MB / 3.709 GB, free: 133.5 MB / 0.948 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.pipe 2>&1)