Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.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.Actuators.Dampers.Examples.MixingBox,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox") translateModel(Buildings.Fluid.Actuators.Dampers.Examples.MixingBox,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.534/1.534, allocations: 289.8 MB / 297.1 MB, free: 6.688 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.001237/0.001237, allocations: 181.3 kB / 366.3 MB, free: 2.043 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.297/1.297, allocations: 205.1 MB / 0.6256 GB, free: 5.867 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.0008858/0.0008858, allocations: 83.11 kB / 0.7396 GB, free: 39.7 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 8.135e-06/8.165e-06, allocations: 4 kB / 0.859 GB, free: 13.41 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6079/0.6079, allocations: 116.3 MB / 0.9726 GB, free: 68.04 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.342/4.95, allocations: 2.084 GB / 3.056 GB, free: 351.1 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002862/4.951, allocations: 101.6 kB / 3.056 GB, free: 351.1 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.655/6.606, allocations: 0.6049 GB / 3.661 GB, free: 116.3 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001698/6.606, allocations: 27.98 kB / 3.661 GB, free: 116.3 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.003915/6.61, allocations: 1.344 MB / 3.663 GB, free: 114.9 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.11e-05/6.61, allocations: 8.031 kB / 3.663 GB, free: 114.9 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003478/6.613, allocations: 398.2 kB / 3.663 GB, free: 114.5 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002927/6.616, allocations: 1.102 MB / 3.664 GB, free: 113.3 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.458e-05/6.616, allocations: 19.98 kB / 3.664 GB, free: 113.3 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002031/6.617, allocations: 36 kB / 3.664 GB, free: 113.3 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009593/6.617, allocations: 0.5368 MB / 3.665 GB, free: 112.7 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009404/6.618, allocations: 0.5811 MB / 3.665 GB, free: 112.1 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.787e-05/6.618, allocations: 8 kB / 3.665 GB, free: 112.1 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.306e-05/6.619, allocations: 0 / 3.665 GB, free: 112.1 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.369e-05/6.619, allocations: 12 kB / 3.665 GB, free: 112.1 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004777/6.623, allocations: 2.661 MB / 3.668 GB, free: 109.3 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006523/6.624, allocations: 498.4 kB / 3.668 GB, free: 108.8 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003575/6.624, allocations: 298.6 kB / 3.669 GB, free: 108.6 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003605/6.625, allocations: 295.5 kB / 3.669 GB, free: 108.2 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.462e-05/6.625, allocations: 38.5 kB / 3.669 GB, free: 108.2 MB / 0.948 GB Notification: Performance of pre-optimization done (n=43): time 2.965e-06/6.625, allocations: 0 / 3.669 GB, free: 108.2 MB / 0.948 GB Notification: Performance of matching and sorting (n=43): time 0.001619/6.626, allocations: 0.696 MB / 3.67 GB, free: 107.5 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.63e-05/6.627, allocations: 140.5 kB / 3.67 GB, free: 107.3 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00143/6.628, allocations: 0.9696 MB / 3.671 GB, free: 106.3 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 9.28e-05/6.628, allocations: 29.81 kB / 3.671 GB, free: 106.3 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001532/6.628, allocations: 281.6 kB / 3.671 GB, free: 106 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001065/6.628, allocations: 137.9 kB / 3.671 GB, free: 105.9 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.604e-05/6.628, allocations: 4 kB / 3.671 GB, free: 105.9 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 5.528e-05/6.628, allocations: 325.9 kB / 3.671 GB, free: 105.5 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003148/6.629, allocations: 244.8 kB / 3.672 GB, free: 105.3 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004438/6.629, allocations: 490.6 kB / 3.672 GB, free: 104.7 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004684/6.63, allocations: 306.5 kB / 3.672 GB, free: 104.4 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.287e-06/6.63, allocations: 0 / 3.672 GB, free: 104.4 MB / 0.948 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001136/6.631, allocations: 0.6932 MB / 3.673 GB, free: 103.7 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 3.724e-05/6.631, allocations: 102.8 kB / 3.673 GB, free: 103.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.666e-05/6.631, allocations: 0 / 3.673 GB, free: 103.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.55e-05/6.631, allocations: 4 kB / 3.673 GB, free: 103.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007088/6.632, allocations: 135.8 kB / 3.673 GB, free: 103.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.588e-06/6.632, allocations: 4 kB / 3.673 GB, free: 103.5 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001378/6.633, allocations: 127.6 kB / 3.673 GB, free: 103.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.93e-05/6.633, allocations: 27.97 kB / 3.673 GB, free: 103.3 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 7.213e-06/6.633, allocations: 4 kB / 3.673 GB, free: 103.3 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008591/6.634, allocations: 0.556 MB / 3.674 GB, free: 102.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.674e-06/6.634, allocations: 7.938 kB / 3.674 GB, free: 102.7 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.489e-06/6.634, allocations: 4 kB / 3.674 GB, free: 102.7 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000642/6.635, allocations: 127.8 kB / 3.674 GB, free: 102.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.364e-06/6.635, allocations: 0 / 3.674 GB, free: 102.6 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001249/6.636, allocations: 127.6 kB / 3.674 GB, free: 102.5 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.291e-05/6.636, allocations: 31.97 kB / 3.674 GB, free: 102.5 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.0001457/6.636, allocations: 117.1 kB / 3.674 GB, free: 102.3 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001548/6.636, allocations: 98.78 kB / 3.674 GB, free: 102.2 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001311/6.638, allocations: 0.739 MB / 3.675 GB, free: 101.5 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.375e-06/6.638, allocations: 4 kB / 3.675 GB, free: 101.5 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.02e-06/6.638, allocations: 0 / 3.675 GB, free: 101.5 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.873e-06/6.638, allocations: 3.984 kB / 3.675 GB, free: 101.5 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002313/6.64, allocations: 1.837 MB / 3.677 GB, free: 99.58 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.987e-06/6.64, allocations: 4 kB / 3.677 GB, free: 99.57 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006145/6.641, allocations: 120.1 kB / 3.677 GB, free: 99.46 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.402e-06/6.641, allocations: 4 kB / 3.677 GB, free: 99.45 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.274e-05/6.641, allocations: 11.91 kB / 3.677 GB, free: 99.44 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.052e-06/6.641, allocations: 11.92 kB / 3.677 GB, free: 99.43 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.986e-06/6.641, allocations: 0 / 3.677 GB, free: 99.43 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001271/6.642, allocations: 1.227 MB / 3.678 GB, free: 98.11 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000392/6.642, allocations: 295.7 kB / 3.679 GB, free: 97.8 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001762/6.643, allocations: 7.984 kB / 3.679 GB, free: 97.79 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001074/6.644, allocations: 79.88 kB / 3.679 GB, free: 97.71 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001185/6.644, allocations: 35.95 kB / 3.679 GB, free: 97.68 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.793e-05/6.644, allocations: 27.89 kB / 3.679 GB, free: 97.65 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.0008557/6.645, allocations: 0.7513 MB / 3.68 GB, free: 96.89 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001618/6.646, allocations: 0.5537 MB / 3.68 GB, free: 96.33 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.002114/6.648, allocations: 1.89 MB / 3.682 GB, free: 94.38 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001335/6.65, allocations: 0.9413 MB / 3.683 GB, free: 93.42 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 4.197e-06/6.65, allocations: 0 / 3.683 GB, free: 93.42 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0003447/6.65, allocations: 292.1 kB / 3.683 GB, free: 93.14 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001996/6.652, allocations: 402.9 kB / 3.683 GB, free: 92.74 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002511/6.655, allocations: 1.324 MB / 3.685 GB, free: 91.36 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007863/6.655, allocations: 1.183 MB / 3.686 GB, free: 90.15 MB / 0.948 GB Notification: Performance of SimCode: time 4.41e-07/6.656, allocations: 4 kB / 3.686 GB, free: 90.15 MB / 0.948 GB Notification: Performance of Templates: time 0.05241/6.708, allocations: 33.95 MB / 3.719 GB, free: 56.36 MB / 0.948 GB make -j1 -f Buildings_8_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.makefile (rm -f Buildings_8_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.pipe ; mkfifo Buildings_8_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.pipe >> ../files/Buildings_8_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.sim & ./Buildings_8_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.pipe 2>&1)