Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.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.MixingBoxMinimumFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow") translateModel(Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.423/1.423, allocations: 285.5 MB / 292.8 MB, free: 14.34 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001176/0.001176, allocations: 191.2 kB / 361.1 MB, free: 11.67 MB / 302.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.217/1.217, allocations: 205.1 MB / 0.6195 GB, free: 2.941 MB / 462.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008604/0.0008604, allocations: 88.56 kB / 0.7325 GB, free: 53.98 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 8.947e-06/8.967e-06, allocations: 4 kB / 0.8511 GB, free: 9.723 MB / 0.5919 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2525/0.2525, allocations: 115.3 MB / 0.9637 GB, free: 6.211 MB / 0.7012 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.176/4.428, allocations: 2.084 GB / 3.048 GB, free: 57.54 MB / 0.9356 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002756/4.428, allocations: 95.08 kB / 3.048 GB, free: 57.45 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.331/6.759, allocations: 0.7434 GB / 3.791 GB, free: 26.84 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 0.0001359/6.759, allocations: 48.11 kB / 3.791 GB, free: 26.79 MB / 0.9356 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.003674/6.763, allocations: 1.598 MB / 3.793 GB, free: 25.14 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.071e-05/6.763, allocations: 8.531 kB / 3.793 GB, free: 25.13 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003483/6.767, allocations: 457.7 kB / 3.793 GB, free: 24.68 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002863/6.769, allocations: 1.434 MB / 3.795 GB, free: 23.2 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.117e-05/6.769, allocations: 35.83 kB / 3.795 GB, free: 23.16 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001331/6.77, allocations: 51.94 kB / 3.795 GB, free: 23.11 MB / 0.9356 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001162/6.771, allocations: 0.7328 MB / 3.795 GB, free: 22.38 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001108/6.772, allocations: 0.7987 MB / 3.796 GB, free: 21.55 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.975e-05/6.772, allocations: 4 kB / 3.796 GB, free: 21.54 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.077e-05/6.772, allocations: 0 / 3.796 GB, free: 21.54 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.397e-05/6.772, allocations: 16 kB / 3.796 GB, free: 21.53 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005183/6.777, allocations: 3.466 MB / 3.799 GB, free: 17.92 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009347/6.778, allocations: 0.7076 MB / 3.8 GB, free: 17.18 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004924/6.779, allocations: 397.9 kB / 3.801 GB, free: 16.79 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003713/6.779, allocations: 299.7 kB / 3.801 GB, free: 16.45 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.876e-05/6.779, allocations: 35 kB / 3.801 GB, free: 16.4 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=52): time 2.855e-06/6.779, allocations: 0 / 3.801 GB, free: 16.4 MB / 0.9356 GB Notification: Performance of matching and sorting (n=52): time 0.001741/6.781, allocations: 0.8997 MB / 3.802 GB, free: 15.5 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.089e-05/6.781, allocations: 214.1 kB / 3.802 GB, free: 15.24 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001584/6.782, allocations: 1.268 MB / 3.803 GB, free: 13.96 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 8.405e-05/6.783, allocations: 25.7 kB / 3.803 GB, free: 13.93 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.000178/6.783, allocations: 336.7 kB / 3.804 GB, free: 13.59 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001159/6.783, allocations: 173.4 kB / 3.804 GB, free: 13.42 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.445e-05/6.783, allocations: 0 / 3.804 GB, free: 13.42 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 6.661e-05/6.783, allocations: 333.8 kB / 3.804 GB, free: 13.09 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004394/6.783, allocations: 341 kB / 3.804 GB, free: 12.76 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006179/6.784, allocations: 0.6556 MB / 3.805 GB, free: 11.97 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006348/6.785, allocations: 424.7 kB / 3.805 GB, free: 11.56 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/6.785, allocations: 4 kB / 3.805 GB, free: 11.55 MB / 0.9356 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001477/6.786, allocations: 0.9507 MB / 3.806 GB, free: 10.6 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 3.863e-05/6.786, allocations: 105.2 kB / 3.806 GB, free: 10.49 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.854e-05/6.786, allocations: 3.984 kB / 3.806 GB, free: 10.48 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.047e-05/6.786, allocations: 7.906 kB / 3.806 GB, free: 10.48 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009309/6.787, allocations: 163.8 kB / 3.807 GB, free: 10.32 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.225e-06/6.787, allocations: 7.938 kB / 3.807 GB, free: 10.31 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001791/6.789, allocations: 171.4 kB / 3.807 GB, free: 10.14 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001/6.789, allocations: 39.95 kB / 3.807 GB, free: 10.1 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 8.165e-06/6.789, allocations: 6.188 kB / 3.807 GB, free: 10.1 MB / 0.9356 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001243/6.79, allocations: 0.7865 MB / 3.808 GB, free: 9.312 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.3e-05/6.79, allocations: 4 kB / 3.808 GB, free: 9.309 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.43e-06/6.79, allocations: 4 kB / 3.808 GB, free: 9.305 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008448/6.791, allocations: 163.8 kB / 3.808 GB, free: 9.145 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.905e-06/6.791, allocations: 0 / 3.808 GB, free: 9.145 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001773/6.793, allocations: 171.5 kB / 3.808 GB, free: 8.977 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.364e-05/6.793, allocations: 43.95 kB / 3.808 GB, free: 8.934 MB / 0.9356 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.0001975/6.793, allocations: 132.4 kB / 3.808 GB, free: 8.797 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002188/6.794, allocations: 122.5 kB / 3.808 GB, free: 8.676 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001866/6.796, allocations: 0.969 MB / 3.809 GB, free: 7.695 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.404e-06/6.796, allocations: 8 kB / 3.809 GB, free: 7.688 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.261e-06/6.796, allocations: 0 / 3.809 GB, free: 7.688 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.873e-06/6.796, allocations: 7.922 kB / 3.809 GB, free: 7.68 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003272/6.799, allocations: 2.334 MB / 3.811 GB, free: 5.266 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.819e-06/6.799, allocations: 0 / 3.811 GB, free: 5.266 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007762/6.8, allocations: 136 kB / 3.812 GB, free: 5.133 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.18e-05/6.8, allocations: 15.98 kB / 3.812 GB, free: 5.117 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.677e-05/6.8, allocations: 15.91 kB / 3.812 GB, free: 5.102 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.821e-06/6.8, allocations: 4 kB / 3.812 GB, free: 5.098 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/6.8, allocations: 7.938 kB / 3.812 GB, free: 5.09 MB / 0.9356 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001713/6.801, allocations: 1.525 MB / 3.813 GB, free: 3.484 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005904/6.802, allocations: 371.2 kB / 3.813 GB, free: 3.102 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002474/6.802, allocations: 4 kB / 3.813 GB, free: 3.098 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00142/6.804, allocations: 103.7 kB / 3.814 GB, free: 2.996 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001268/6.804, allocations: 44.31 kB / 3.814 GB, free: 2.953 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.207e-05/6.804, allocations: 27.98 kB / 3.814 GB, free: 2.926 MB / 0.9356 GB Notification: Performance of sort global known variables: time 0.001228/6.805, allocations: 0.9738 MB / 3.815 GB, free: 1.949 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.002201/6.807, allocations: 0.6902 MB / 3.815 GB, free: 1.258 MB / 0.9356 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.3628/7.17, allocations: 2.138 MB / 3.817 GB, free: 249.4 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.002188/7.172, allocations: 1.318 MB / 3.819 GB, free: 249.2 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 8.896e-06/7.173, allocations: 3.875 kB / 3.819 GB, free: 249.2 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0005176/7.173, allocations: 371 kB / 3.819 GB, free: 249.2 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00305/7.176, allocations: 499.5 kB / 3.819 GB, free: 249.2 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003924/7.18, allocations: 1.747 MB / 3.821 GB, free: 248.7 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001067/7.181, allocations: 1.334 MB / 3.822 GB, free: 248 MB / 0.9356 GB Notification: Performance of SimCode: time 1.062e-06/7.181, allocations: 3.562 kB / 3.822 GB, free: 248 MB / 0.9356 GB Notification: Performance of Templates: time 0.06442/7.246, allocations: 42.33 MB / 3.864 GB, free: 247.4 MB / 0.9356 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.pipe 2>&1)