Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.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.Actuators.Dampers.Examples.MixingBoxMinimumFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow") translateModel(Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow") [: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.325/2.325, allocations: 284.9 MB / 292.2 MB, free: 10.75 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.001596/0.001595, allocations: 177.3 kB / 360.4 MB, free: 7.523 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.816/1.816, allocations: 205.1 MB / 0.6188 GB, free: 12.51 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.001265/0.001264, allocations: 91.55 kB / 0.7318 GB, free: 45.02 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.137e-05/1.151e-05, allocations: 4 kB / 0.8502 GB, free: 3.887 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6742/0.6742, allocations: 115.2 MB / 0.9628 GB, free: 9.879 MB / 0.6823 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.902/5.577, allocations: 2.084 GB / 3.046 GB, free: 336.1 MB / 1.104 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000321/5.577, allocations: 86.5 kB / 3.047 GB, free: 336.1 MB / 1.104 GB Notification: Performance of FrontEnd: time 3.107/8.684, allocations: 0.7434 GB / 3.79 GB, free: 55.5 MB / 1.104 GB Notification: Performance of Transformations before backend: time 0.000177/8.685, allocations: 39.94 kB / 3.79 GB, free: 55.46 MB / 1.104 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 155 * Number of variables: 155 Notification: Performance of Generate backend data structure: time 0.004827/8.689, allocations: 1.606 MB / 3.792 GB, free: 53.8 MB / 1.104 GB Notification: Performance of prepare preOptimizeDAE: time 4.085e-05/8.689, allocations: 8.031 kB / 3.792 GB, free: 53.8 MB / 1.104 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006126/8.696, allocations: 465.7 kB / 3.792 GB, free: 53.34 MB / 1.104 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004854/8.7, allocations: 1.426 MB / 3.793 GB, free: 51.86 MB / 1.104 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.747e-05/8.701, allocations: 20 kB / 3.793 GB, free: 51.84 MB / 1.104 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002098/8.701, allocations: 48 kB / 3.794 GB, free: 51.8 MB / 1.104 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002052/8.703, allocations: 0.7406 MB / 3.794 GB, free: 51.05 MB / 1.104 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001875/8.705, allocations: 0.8025 MB / 3.795 GB, free: 50.22 MB / 1.104 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.228e-05/8.705, allocations: 0 / 3.795 GB, free: 50.22 MB / 1.104 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001143/8.705, allocations: 0 / 3.795 GB, free: 50.22 MB / 1.104 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.624e-05/8.705, allocations: 16 kB / 3.795 GB, free: 50.2 MB / 1.104 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008734/8.714, allocations: 3.473 MB / 3.798 GB, free: 46.59 MB / 1.104 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001634/8.715, allocations: 0.7092 MB / 3.799 GB, free: 45.84 MB / 1.104 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000848/8.716, allocations: 402 kB / 3.8 GB, free: 45.45 MB / 1.104 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004992/8.717, allocations: 291.7 kB / 3.8 GB, free: 45.11 MB / 1.104 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.819e-05/8.717, allocations: 43 kB / 3.8 GB, free: 45.06 MB / 1.104 GB Notification: Performance of pre-optimization done (n=52): time 3.476e-06/8.717, allocations: 4 kB / 3.8 GB, free: 45.05 MB / 1.104 GB Notification: Performance of matching and sorting (n=52): time 0.003124/8.72, allocations: 0.8996 MB / 3.801 GB, free: 44.15 MB / 1.104 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.889e-05/8.72, allocations: 214 kB / 3.801 GB, free: 43.89 MB / 1.104 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002923/8.723, allocations: 1.26 MB / 3.802 GB, free: 42.62 MB / 1.104 GB Notification: Performance of collectPreVariables (initialization): time 0.0002203/8.723, allocations: 29.7 kB / 3.802 GB, free: 42.59 MB / 1.104 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002707/8.723, allocations: 336.8 kB / 3.803 GB, free: 42.25 MB / 1.104 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001944/8.724, allocations: 181.2 kB / 3.803 GB, free: 42.07 MB / 1.104 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.715e-05/8.724, allocations: 0 / 3.803 GB, free: 42.07 MB / 1.104 GB Notification: Performance of setup shared object (initialization): time 7.873e-05/8.724, allocations: 326 kB / 3.803 GB, free: 41.75 MB / 1.104 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008482/8.725, allocations: 341 kB / 3.803 GB, free: 41.41 MB / 1.104 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00113/8.726, allocations: 0.654 MB / 3.804 GB, free: 40.63 MB / 1.104 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001164/8.727, allocations: 432.5 kB / 3.804 GB, free: 40.21 MB / 1.104 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.208e-06/8.727, allocations: 0 / 3.804 GB, free: 40.21 MB / 1.104 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.002839/8.73, allocations: 0.9507 MB / 3.805 GB, free: 39.25 MB / 1.104 GB Notification: Performance of prepare postOptimizeDAE: time 4.563e-05/8.73, allocations: 104.8 kB / 3.805 GB, free: 39.14 MB / 1.104 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.653e-05/8.73, allocations: 3.938 kB / 3.805 GB, free: 39.14 MB / 1.104 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.786e-05/8.73, allocations: 4 kB / 3.805 GB, free: 39.13 MB / 1.104 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001703/8.732, allocations: 167.8 kB / 3.806 GB, free: 38.97 MB / 1.104 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.618e-06/8.732, allocations: 4 kB / 3.806 GB, free: 38.96 MB / 1.104 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003384/8.735, allocations: 164 kB / 3.806 GB, free: 38.8 MB / 1.104 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001579/8.735, allocations: 43.95 kB / 3.806 GB, free: 38.76 MB / 1.104 GB Notification: Performance of prepare postOptimizeDAE: time 9.969e-06/8.735, allocations: 4 kB / 3.806 GB, free: 38.76 MB / 1.104 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002232/8.738, allocations: 0.7825 MB / 3.807 GB, free: 37.98 MB / 1.104 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.411e-05/8.738, allocations: 7.984 kB / 3.807 GB, free: 37.97 MB / 1.104 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.917e-06/8.738, allocations: 7.938 kB / 3.807 GB, free: 37.96 MB / 1.104 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001614/8.739, allocations: 163.8 kB / 3.807 GB, free: 37.8 MB / 1.104 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.761e-06/8.739, allocations: 0 / 3.807 GB, free: 37.8 MB / 1.104 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00335/8.743, allocations: 167.4 kB / 3.807 GB, free: 37.64 MB / 1.104 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001434/8.743, allocations: 43.95 kB / 3.807 GB, free: 37.59 MB / 1.104 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 (61): * Single equations (assignments): 57 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 2 * 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.0002843/8.743, allocations: 120.8 kB / 3.807 GB, free: 37.47 MB / 1.104 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003761/8.743, allocations: 126.4 kB / 3.807 GB, free: 37.34 MB / 1.104 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003166/8.747, allocations: 0.9613 MB / 3.808 GB, free: 36.37 MB / 1.104 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.969e-06/8.747, allocations: 11.98 kB / 3.808 GB, free: 36.36 MB / 1.104 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.452e-06/8.747, allocations: 0 / 3.808 GB, free: 36.36 MB / 1.104 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.054e-05/8.747, allocations: 3.906 kB / 3.808 GB, free: 36.36 MB / 1.104 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005396/8.752, allocations: 2.345 MB / 3.81 GB, free: 33.93 MB / 1.104 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.713e-06/8.752, allocations: 0 / 3.81 GB, free: 33.93 MB / 1.104 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001428/8.754, allocations: 144 kB / 3.811 GB, free: 33.79 MB / 1.104 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.275e-05/8.754, allocations: 8 kB / 3.811 GB, free: 33.78 MB / 1.104 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.271e-05/8.754, allocations: 11.98 kB / 3.811 GB, free: 33.77 MB / 1.104 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.234e-06/8.754, allocations: 4 kB / 3.811 GB, free: 33.77 MB / 1.104 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.05e-06/8.754, allocations: 4 kB / 3.811 GB, free: 33.76 MB / 1.104 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003237/8.757, allocations: 1.533 MB / 3.812 GB, free: 32.15 MB / 1.104 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009799/8.758, allocations: 363.2 kB / 3.812 GB, free: 31.77 MB / 1.104 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000378/8.758, allocations: 11.98 kB / 3.812 GB, free: 31.76 MB / 1.104 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002498/8.761, allocations: 99.78 kB / 3.813 GB, free: 31.66 MB / 1.104 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001784/8.761, allocations: 40.31 kB / 3.813 GB, free: 31.62 MB / 1.104 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.617e-05/8.761, allocations: 31.98 kB / 3.813 GB, free: 31.59 MB / 1.104 GB Notification: Performance of sort global known variables: time 0.002165/8.763, allocations: 0.9737 MB / 3.814 GB, free: 30.62 MB / 1.104 GB Notification: Performance of remove unused functions: time 0.002877/8.766, allocations: 0.6824 MB / 3.814 GB, free: 29.93 MB / 1.104 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 4 (mixBox.filter.x[1],mixBox.filter.x[2],mixBox.filterOutMin.x[1],mixBox.filterOutMin.x[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (63): * Single equations (assignments): 63 * 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.003368/8.77, allocations: 2.146 MB / 3.816 GB, free: 27.71 MB / 1.104 GB Notification: Performance of simCode: created initialization part: time 0.003187/8.773, allocations: 1.322 MB / 3.818 GB, free: 26.36 MB / 1.104 GB Notification: Performance of simCode: created event and clocks part: time 6.001e-06/8.773, allocations: 0 / 3.818 GB, free: 26.36 MB / 1.104 GB Notification: Performance of simCode: created simulation system equations: time 0.0008406/8.774, allocations: 369.4 kB / 3.818 GB, free: 26 MB / 1.104 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004834/8.779, allocations: 499.6 kB / 3.818 GB, free: 25.51 MB / 1.104 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005481/8.784, allocations: 1.749 MB / 3.82 GB, free: 23.69 MB / 1.104 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001782/8.786, allocations: 1.339 MB / 3.821 GB, free: 22.33 MB / 1.104 GB Notification: Performance of SimCode: time 1.583e-06/8.786, allocations: 0 / 3.821 GB, free: 22.33 MB / 1.104 GB Notification: Performance of Templates: time 0.4804/9.266, allocations: 42.32 MB / 3.863 GB, free: 396.4 MB / 1.104 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.sim & ./Buildings_8.0.0_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.pipe 2>&1)