Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir.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.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir") [: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.417/2.417, allocations: 253.1 MB / 260.4 MB, free: 7.602 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.001612/0.001612, allocations: 188 kB / 319.6 MB, free: 3.316 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.911/1.911, allocations: 205.4 MB / 0.5704 GB, free: 15.04 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.001832/0.001832, allocations: 98.66 kB / 0.6746 GB, free: 4.402 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 9.448e-06/9.638e-06, allocations: 0 / 0.7843 GB, free: 102.5 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2157/0.2157, allocations: 106.2 MB / 0.888 GB, free: 12.19 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.329/6.545, allocations: 2.442 GB / 3.33 GB, free: 243.4 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000292/6.546, allocations: 94.55 kB / 3.33 GB, free: 243.4 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.069/8.615, allocations: 467.3 MB / 3.786 GB, free: 126 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0002083/8.615, allocations: 39.91 kB / 3.786 GB, free: 126 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: 253 * Number of variables: 253 Notification: Performance of Generate backend data structure: time 0.005292/8.62, allocations: 1.507 MB / 3.788 GB, free: 124.4 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.69e-05/8.62, allocations: 11.97 kB / 3.788 GB, free: 124.4 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005295/8.626, allocations: 0.4976 MB / 3.788 GB, free: 123.9 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004839/8.631, allocations: 1.359 MB / 3.79 GB, free: 122.5 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.886e-05/8.631, allocations: 32 kB / 3.79 GB, free: 122.5 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002806/8.631, allocations: 75.83 kB / 3.79 GB, free: 122.4 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003389/8.634, allocations: 1.187 MB / 3.791 GB, free: 121.2 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003256/8.638, allocations: 1.151 MB / 3.792 GB, free: 120.1 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.958e-05/8.638, allocations: 4 kB / 3.792 GB, free: 120.1 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001704/8.638, allocations: 0 / 3.792 GB, free: 120.1 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.296e-05/8.638, allocations: 41.98 kB / 3.792 GB, free: 120 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01046/8.649, allocations: 4.816 MB / 3.797 GB, free: 114.9 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002265/8.651, allocations: 0.9496 MB / 3.798 GB, free: 113.9 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001137/8.652, allocations: 0.5394 MB / 3.798 GB, free: 113.4 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004399/8.653, allocations: 206.8 kB / 3.798 GB, free: 113.2 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.258e-05/8.653, allocations: 43.22 kB / 3.799 GB, free: 113.1 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=78): time 3.186e-06/8.653, allocations: 0 / 3.799 GB, free: 113.1 MB / 0.8698 GB Notification: Performance of matching and sorting (n=81): time 0.008935/8.662, allocations: 2.518 MB / 3.801 GB, free: 110.5 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.968e-05/8.662, allocations: 60.06 kB / 3.801 GB, free: 110.5 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001538/8.663, allocations: 0.7946 MB / 3.802 GB, free: 109.6 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0002015/8.663, allocations: 33.7 kB / 3.802 GB, free: 109.6 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002232/8.664, allocations: 399.9 kB / 3.802 GB, free: 109.2 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004045/8.664, allocations: 271.9 kB / 3.803 GB, free: 108.9 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.371e-05/8.664, allocations: 0 / 3.803 GB, free: 108.9 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 9.256e-05/8.664, allocations: 345.8 kB / 3.803 GB, free: 108.6 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009635/8.665, allocations: 433.2 kB / 3.803 GB, free: 108.2 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001042/8.666, allocations: 0.5911 MB / 3.804 GB, free: 107.5 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001134/8.667, allocations: 0.5431 MB / 3.804 GB, free: 107 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.577e-06/8.667, allocations: 4 kB / 3.804 GB, free: 107 MB / 0.8698 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.002819/8.67, allocations: 1.173 MB / 3.806 GB, free: 105.8 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002119/8.67, allocations: 1.058 MB / 3.807 GB, free: 104.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.184e-05/8.671, allocations: 0 / 3.807 GB, free: 104.6 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003542/8.671, allocations: 72.81 kB / 3.807 GB, free: 104.6 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001976/8.673, allocations: 187.7 kB / 3.807 GB, free: 104.4 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002756/8.676, allocations: 2.91 MB / 3.81 GB, free: 101.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002779/8.678, allocations: 107.7 kB / 3.81 GB, free: 101.2 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001195/8.679, allocations: 32.05 kB / 3.81 GB, free: 101.2 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.082e-05/8.679, allocations: 4 kB / 3.81 GB, free: 101.2 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002514/8.681, allocations: 1.044 MB / 3.811 GB, free: 100.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.688e-06/8.681, allocations: 4 kB / 3.811 GB, free: 100.1 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003185/8.682, allocations: 72.81 kB / 3.811 GB, free: 100.1 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001453/8.683, allocations: 172.1 kB / 3.811 GB, free: 99.89 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002089/8.685, allocations: 1.727 MB / 3.813 GB, free: 98.05 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002749/8.688, allocations: 107.7 kB / 3.813 GB, free: 97.94 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001182/8.688, allocations: 32.06 kB / 3.813 GB, free: 97.91 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (92): * Single equations (assignments): 89 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003788/8.688, allocations: 124.7 kB / 3.813 GB, free: 97.78 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003402/8.689, allocations: 110.7 kB / 3.813 GB, free: 97.67 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002932/8.692, allocations: 1.132 MB / 3.814 GB, free: 96.53 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.225e-05/8.692, allocations: 8 kB / 3.814 GB, free: 96.52 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.696e-06/8.692, allocations: 8 kB / 3.814 GB, free: 96.51 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002221/8.694, allocations: 1.197 MB / 3.815 GB, free: 95.24 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006651/8.701, allocations: 2.625 MB / 3.818 GB, free: 92.57 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.196e-05/8.701, allocations: 4 kB / 3.818 GB, free: 92.57 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002182/8.703, allocations: 231.9 kB / 3.818 GB, free: 92.34 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003345/8.703, allocations: 76.72 kB / 3.818 GB, free: 92.26 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.596e-05/8.703, allocations: 15.92 kB / 3.818 GB, free: 92.25 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002523/8.706, allocations: 2.908 MB / 3.821 GB, free: 89.17 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.033e-06/8.706, allocations: 0 / 3.821 GB, free: 89.17 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00403/8.71, allocations: 1.999 MB / 3.823 GB, free: 87.08 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001188/8.711, allocations: 339.7 kB / 3.823 GB, free: 86.73 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002928/8.712, allocations: 8 kB / 3.823 GB, free: 86.72 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002197/8.714, allocations: 95.67 kB / 3.823 GB, free: 86.63 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001862/8.714, allocations: 48.5 kB / 3.823 GB, free: 86.58 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001139/8.714, allocations: 31.98 kB / 3.824 GB, free: 86.55 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.001258/8.715, allocations: 0.6323 MB / 3.824 GB, free: 85.91 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.003578/8.719, allocations: 0.7226 MB / 3.825 GB, free: 85.18 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 7 (vol[1].dynBal.U,vol[1].dynBal.mXi[1],vol[2].dynBal.U,vol[2].dynBal.mXi[1],vol[3].dynBal.U,vol[3].dynBal.m,vol[3].dynBal.mXi[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (76): * Single equations (assignments): 73 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002545/8.722, allocations: 1.511 MB / 3.826 GB, free: 83.8 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.004746/8.726, allocations: 1.832 MB / 3.828 GB, free: 81.94 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 9.397e-06/8.727, allocations: 0 / 3.828 GB, free: 81.94 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.00144/8.728, allocations: 0.637 MB / 3.829 GB, free: 81.29 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006465/8.734, allocations: 0.7216 MB / 3.829 GB, free: 80.58 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007095/8.742, allocations: 2.659 MB / 3.832 GB, free: 77.87 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001875/8.744, allocations: 1.547 MB / 3.834 GB, free: 76.29 MB / 0.8698 GB Notification: Performance of SimCode: time 1.242e-06/8.744, allocations: 0 / 3.834 GB, free: 76.29 MB / 0.8698 GB Notification: Performance of Templates: time 0.08684/8.83, allocations: 37.6 MB / 3.87 GB, free: 39.05 MB / 0.8698 GB