Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.conf.json 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 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.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 7.0.1/package.mo): time 2.239/2.239, allocations: 253.1 MB / 260.4 MB, free: 7.496 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001588/0.001588, allocations: 185.2 kB / 319.6 MB, free: 3.336 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.895/1.895, allocations: 205.4 MB / 0.5704 GB, free: 15.11 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001431/0.001431, allocations: 93.16 kB / 0.6746 GB, free: 4.453 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.199e-05/1.221e-05, allocations: 0 / 0.7843 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2263/0.2263, allocations: 106.2 MB / 0.888 GB, free: 12.22 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.815/6.041, allocations: 2.203 GB / 3.091 GB, free: 154.1 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003347/6.042, allocations: 94.3 kB / 3.091 GB, free: 154 MB / 0.8698 GB Notification: Performance of FrontEnd: time 3.319/9.361, allocations: 0.7197 GB / 3.81 GB, free: 94.75 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0002581/9.361, allocations: 43.84 kB / 3.811 GB, free: 94.71 MB / 0.8698 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.006322/9.367, allocations: 1.609 MB / 3.812 GB, free: 93.06 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.749e-05/9.367, allocations: 8.031 kB / 3.812 GB, free: 93.05 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007092/9.374, allocations: 458.8 kB / 3.813 GB, free: 92.6 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006299/9.381, allocations: 1.431 MB / 3.814 GB, free: 91.15 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.654e-05/9.381, allocations: 20 kB / 3.814 GB, free: 91.13 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003716/9.381, allocations: 52 kB / 3.814 GB, free: 91.08 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002286/9.383, allocations: 0.7328 MB / 3.815 GB, free: 90.35 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002242/9.386, allocations: 0.7909 MB / 3.816 GB, free: 89.52 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.466e-05/9.386, allocations: 4 kB / 3.816 GB, free: 89.52 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001259/9.386, allocations: 4 kB / 3.816 GB, free: 89.51 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.172e-05/9.386, allocations: 12 kB / 3.816 GB, free: 89.5 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0111/9.397, allocations: 3.477 MB / 3.819 GB, free: 85.92 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001883/9.399, allocations: 0.7085 MB / 3.82 GB, free: 85.18 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009607/9.4, allocations: 394.6 kB / 3.82 GB, free: 84.79 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005969/9.401, allocations: 293.4 kB / 3.82 GB, free: 84.45 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.759e-05/9.401, allocations: 39 kB / 3.82 GB, free: 84.4 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=52): time 3.567e-06/9.401, allocations: 3.938 kB / 3.82 GB, free: 84.4 MB / 0.8698 GB Notification: Performance of matching and sorting (n=52): time 0.003653/9.404, allocations: 0.9035 MB / 3.821 GB, free: 83.49 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001051/9.405, allocations: 214 kB / 3.821 GB, free: 83.23 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003312/9.408, allocations: 1.264 MB / 3.823 GB, free: 81.96 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0003498/9.408, allocations: 25.7 kB / 3.823 GB, free: 81.93 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003163/9.409, allocations: 336.9 kB / 3.823 GB, free: 81.59 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002651/9.409, allocations: 181.2 kB / 3.823 GB, free: 81.41 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.95e-05/9.409, allocations: 0 / 3.823 GB, free: 81.41 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 8.003e-05/9.409, allocations: 330 kB / 3.823 GB, free: 81.08 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008782/9.41, allocations: 337 kB / 3.824 GB, free: 80.75 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001162/9.411, allocations: 0.6496 MB / 3.824 GB, free: 79.97 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0012/9.412, allocations: 424 kB / 3.825 GB, free: 79.56 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.131e-06/9.412, allocations: 4 kB / 3.825 GB, free: 79.56 MB / 0.8698 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.003155/9.416, allocations: 0.9585 MB / 3.826 GB, free: 78.59 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 5.471e-05/9.416, allocations: 98.52 kB / 3.826 GB, free: 78.49 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.047e-05/9.416, allocations: 4 kB / 3.826 GB, free: 78.48 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.394e-05/9.416, allocations: 0 / 3.826 GB, free: 78.48 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001851/9.418, allocations: 171.7 kB / 3.826 GB, free: 78.32 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.096e-05/9.418, allocations: 0 / 3.826 GB, free: 78.32 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003711/9.421, allocations: 167.4 kB / 3.826 GB, free: 78.15 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003042/9.422, allocations: 39.95 kB / 3.826 GB, free: 78.11 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.391e-05/9.422, allocations: 4 kB / 3.826 GB, free: 78.11 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002389/9.424, allocations: 0.7787 MB / 3.827 GB, free: 77.33 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.057e-05/9.424, allocations: 12 kB / 3.827 GB, free: 77.32 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.089e-05/9.424, allocations: 0 / 3.827 GB, free: 77.32 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001753/9.426, allocations: 167.7 kB / 3.827 GB, free: 77.16 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.286e-06/9.426, allocations: 4 kB / 3.827 GB, free: 77.15 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003603/9.43, allocations: 163.4 kB / 3.827 GB, free: 76.99 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002812/9.43, allocations: 39.95 kB / 3.827 GB, free: 76.95 MB / 0.8698 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.0003255/9.43, allocations: 120.4 kB / 3.827 GB, free: 76.83 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006163/9.431, allocations: 122.4 kB / 3.828 GB, free: 76.71 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003348/9.434, allocations: 0.9729 MB / 3.829 GB, free: 75.73 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.15e-05/9.434, allocations: 8 kB / 3.829 GB, free: 75.72 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.218e-06/9.434, allocations: 3.906 kB / 3.829 GB, free: 75.72 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.002e-05/9.434, allocations: 7.922 kB / 3.829 GB, free: 75.71 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00628/9.441, allocations: 2.342 MB / 3.831 GB, free: 73.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.388e-06/9.441, allocations: 4 kB / 3.831 GB, free: 73.3 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001559/9.442, allocations: 139.8 kB / 3.831 GB, free: 73.16 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.578e-05/9.442, allocations: 8.125 kB / 3.831 GB, free: 73.16 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001043/9.442, allocations: 15.98 kB / 3.831 GB, free: 73.14 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.558e-06/9.442, allocations: 8 kB / 3.831 GB, free: 73.13 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.669e-06/9.443, allocations: 3.938 kB / 3.831 GB, free: 73.13 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003485/9.446, allocations: 1.529 MB / 3.833 GB, free: 71.52 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001325/9.447, allocations: 363.2 kB / 3.833 GB, free: 71.15 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005164/9.448, allocations: 8 kB / 3.833 GB, free: 71.14 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002945/9.451, allocations: 95.78 kB / 3.833 GB, free: 71.05 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002434/9.451, allocations: 44.38 kB / 3.833 GB, free: 71 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001058/9.451, allocations: 31.89 kB / 3.833 GB, free: 70.97 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.002477/9.454, allocations: 0.9737 MB / 3.834 GB, free: 70 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.003575/9.457, allocations: 0.6833 MB / 3.835 GB, free: 69.31 MB / 0.8698 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.003723/9.461, allocations: 2.152 MB / 3.837 GB, free: 67.3 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.003417/9.465, allocations: 1.319 MB / 3.838 GB, free: 65.95 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.004e-05/9.465, allocations: 4 kB / 3.838 GB, free: 65.95 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0009208/9.466, allocations: 369.9 kB / 3.838 GB, free: 65.59 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005295/9.471, allocations: 0.4913 MB / 3.839 GB, free: 65.1 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006352/9.477, allocations: 1.73 MB / 3.841 GB, free: 63.3 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002003/9.479, allocations: 1.337 MB / 3.842 GB, free: 61.94 MB / 0.8698 GB Notification: Performance of SimCode: time 1.502e-06/9.479, allocations: 0 / 3.842 GB, free: 61.94 MB / 0.8698 GB Notification: Performance of Templates: time 0.1023/9.582, allocations: 42.3 MB / 3.883 GB, free: 19.9 MB / 0.8698 GB