Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.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.MixingBox,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox") translateModel(Buildings.Fluid.Actuators.Dampers.Examples.MixingBox,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.362/2.362, allocations: 284.9 MB / 292.2 MB, free: 10.76 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.001628/0.001628, allocations: 189.2 kB / 360.4 MB, free: 7.531 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.803/1.803, allocations: 205.1 MB / 0.6188 GB, free: 13.16 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.001197/0.001197, allocations: 93.66 kB / 0.7318 GB, free: 45.09 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.164e-05/1.178e-05, allocations: 4 kB / 0.8503 GB, free: 3.961 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.616/0.6161, allocations: 115.2 MB / 0.9628 GB, free: 78.4 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.925/5.541, allocations: 2.083 GB / 3.045 GB, free: 267.6 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003157/5.541, allocations: 90.73 kB / 3.045 GB, free: 267.6 MB / 0.9323 GB Notification: Performance of FrontEnd: time 2.511/8.052, allocations: 0.6049 GB / 3.65 GB, free: 83.57 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001437/8.052, allocations: 31.98 kB / 3.65 GB, free: 83.54 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.004228/8.056, allocations: 1.348 MB / 3.652 GB, free: 82.14 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.337e-05/8.056, allocations: 12.03 kB / 3.652 GB, free: 82.12 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006826/8.063, allocations: 394.2 kB / 3.652 GB, free: 81.74 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005308/8.069, allocations: 1.098 MB / 3.653 GB, free: 80.59 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.472e-05/8.069, allocations: 19.91 kB / 3.653 GB, free: 80.57 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002676/8.069, allocations: 47.94 kB / 3.653 GB, free: 80.52 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002264/8.071, allocations: 0.5252 MB / 3.654 GB, free: 80 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002268/8.074, allocations: 0.5845 MB / 3.654 GB, free: 79.39 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.915e-05/8.074, allocations: 0 / 3.654 GB, free: 79.39 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001445/8.074, allocations: 0 / 3.654 GB, free: 79.39 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.136e-05/8.074, allocations: 12 kB / 3.654 GB, free: 79.38 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01002/8.084, allocations: 2.648 MB / 3.657 GB, free: 76.61 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001649/8.086, allocations: 490.8 kB / 3.657 GB, free: 76.12 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009639/8.087, allocations: 312.7 kB / 3.658 GB, free: 75.82 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007096/8.087, allocations: 288.2 kB / 3.658 GB, free: 75.48 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.954e-05/8.087, allocations: 46.41 kB / 3.658 GB, free: 75.43 MB / 0.948 GB Notification: Performance of pre-optimization done (n=43): time 4.609e-06/8.087, allocations: 0 / 3.658 GB, free: 75.43 MB / 0.948 GB Notification: Performance of matching and sorting (n=43): time 0.00379/8.091, allocations: 0.6992 MB / 3.659 GB, free: 74.72 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.828e-05/8.091, allocations: 136.5 kB / 3.659 GB, free: 74.55 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003308/8.095, allocations: 0.9696 MB / 3.66 GB, free: 73.57 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002358/8.095, allocations: 29.7 kB / 3.66 GB, free: 73.53 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002836/8.095, allocations: 274.4 kB / 3.66 GB, free: 73.25 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002343/8.095, allocations: 141.9 kB / 3.66 GB, free: 73.11 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.501e-05/8.096, allocations: 0 / 3.66 GB, free: 73.11 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 9.316e-05/8.096, allocations: 329.9 kB / 3.66 GB, free: 72.79 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008798/8.097, allocations: 236.8 kB / 3.661 GB, free: 72.55 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001201/8.098, allocations: 499.2 kB / 3.661 GB, free: 71.97 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001192/8.099, allocations: 306.5 kB / 3.661 GB, free: 71.68 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.159e-06/8.099, allocations: 0 / 3.661 GB, free: 71.68 MB / 0.948 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.003031/8.102, allocations: 0.6931 MB / 3.662 GB, free: 70.97 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 5.208e-05/8.102, allocations: 94.91 kB / 3.662 GB, free: 70.88 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.118e-05/8.102, allocations: 0 / 3.662 GB, free: 70.88 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.905e-05/8.102, allocations: 3.984 kB / 3.662 GB, free: 70.87 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001841/8.104, allocations: 131.8 kB / 3.662 GB, free: 70.74 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.756e-06/8.104, allocations: 0 / 3.662 GB, free: 70.74 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003498/8.108, allocations: 131.6 kB / 3.663 GB, free: 70.61 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001836/8.108, allocations: 32.08 kB / 3.663 GB, free: 70.58 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.321e-05/8.108, allocations: 8.562 kB / 3.663 GB, free: 70.57 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002386/8.11, allocations: 0.5637 MB / 3.663 GB, free: 70.01 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.073e-05/8.11, allocations: 3.984 kB / 3.663 GB, free: 70.01 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.017e-05/8.11, allocations: 0 / 3.663 GB, free: 70.01 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001702/8.112, allocations: 127.8 kB / 3.663 GB, free: 69.88 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.933e-06/8.112, allocations: 4 kB / 3.663 GB, free: 69.88 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003361/8.115, allocations: 131.6 kB / 3.663 GB, free: 69.75 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000175/8.116, allocations: 27.97 kB / 3.663 GB, free: 69.72 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.0003279/8.116, allocations: 124.9 kB / 3.663 GB, free: 69.59 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004455/8.116, allocations: 94.78 kB / 3.664 GB, free: 69.5 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003482/8.12, allocations: 0.7429 MB / 3.664 GB, free: 68.75 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.16e-05/8.12, allocations: 4 kB / 3.664 GB, free: 68.74 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.296e-06/8.12, allocations: 0 / 3.664 GB, free: 68.74 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.521e-05/8.12, allocations: 7.891 kB / 3.664 GB, free: 68.73 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006364/8.126, allocations: 1.818 MB / 3.666 GB, free: 66.84 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.066e-05/8.126, allocations: 3.906 kB / 3.666 GB, free: 66.84 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001594/8.128, allocations: 124.1 kB / 3.666 GB, free: 66.72 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.755e-05/8.128, allocations: 4 kB / 3.666 GB, free: 66.71 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.56e-05/8.128, allocations: 19.92 kB / 3.666 GB, free: 66.7 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.076e-05/8.128, allocations: 7.938 kB / 3.666 GB, free: 66.69 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.312e-06/8.128, allocations: 8 kB / 3.666 GB, free: 66.68 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003715/8.132, allocations: 1.228 MB / 3.667 GB, free: 65.36 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001177/8.133, allocations: 295.7 kB / 3.668 GB, free: 65.05 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004359/8.134, allocations: 7.906 kB / 3.668 GB, free: 65.04 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002866/8.137, allocations: 83.84 kB / 3.668 GB, free: 64.96 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002394/8.137, allocations: 43.84 kB / 3.668 GB, free: 64.91 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001199/8.137, allocations: 24 kB / 3.668 GB, free: 64.89 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.002409/8.139, allocations: 0.7474 MB / 3.669 GB, free: 64.13 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.003686/8.143, allocations: 0.5537 MB / 3.669 GB, free: 63.58 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.004331/8.147, allocations: 1.891 MB / 3.671 GB, free: 61.62 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.003371/8.151, allocations: 0.9413 MB / 3.672 GB, free: 60.66 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 9.327e-06/8.151, allocations: 0 / 3.672 GB, free: 60.66 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.001/8.152, allocations: 291.7 kB / 3.672 GB, free: 60.38 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005547/8.158, allocations: 397.8 kB / 3.673 GB, free: 60 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006078/8.164, allocations: 1.324 MB / 3.674 GB, free: 58.61 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002024/8.166, allocations: 1.186 MB / 3.675 GB, free: 57.4 MB / 0.948 GB Notification: Performance of SimCode: time 1.312e-06/8.166, allocations: 0 / 3.675 GB, free: 57.4 MB / 0.948 GB Notification: Performance of Templates: time 0.0837/8.249, allocations: 33.95 MB / 3.708 GB, free: 23.64 MB / 0.948 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.sim & ./Buildings_8.0.0_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.pipe 2>&1)