Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.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.MassExchangers.Validation.ConstantEffectivenessZeroFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow") [: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.012/2.012, allocations: 253.1 MB / 260.4 MB, free: 0.5859 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.001743/0.001742, allocations: 183.8 kB / 319.6 MB, free: 7.672 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 2.138/2.138, allocations: 205.4 MB / 0.5704 GB, free: 25.84 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.001361/0.001361, allocations: 90.7 kB / 0.6746 GB, free: 3.305 MB / 0.4948 GB Notification: Performance of FrontEnd - loaded program: time 1.097e-05/1.103e-05, allocations: 0 / 0.7843 GB, free: 2.926 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5264/0.5264, allocations: 106.2 MB / 0.888 GB, free: 77.15 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.466/5.993, allocations: 2.207 GB / 3.095 GB, free: 231.3 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004831/5.994, allocations: 81.91 kB / 3.095 GB, free: 231.3 MB / 0.8698 GB Notification: Performance of FrontEnd: time 4.894/10.89, allocations: 0.969 GB / 4.064 GB, free: 142.1 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0001406/10.89, allocations: 31.72 kB / 4.064 GB, free: 142.1 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 209 * Number of variables: 209 Notification: Performance of Generate backend data structure: time 0.009006/10.9, allocations: 1.757 MB / 4.066 GB, free: 141.5 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.643e-05/10.9, allocations: 10 kB / 4.066 GB, free: 141.5 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006039/10.9, allocations: 0.5874 MB / 4.066 GB, free: 141.5 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004299/10.91, allocations: 1.059 MB / 4.067 GB, free: 141.2 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001298/10.91, allocations: 183.6 kB / 4.067 GB, free: 141.2 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004444/10.91, allocations: 52.91 kB / 4.067 GB, free: 141.2 MB / 0.8855 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003515/10.91, allocations: 1.049 MB / 4.068 GB, free: 141.2 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00321/10.92, allocations: 1.036 MB / 4.069 GB, free: 141.1 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.037e-05/10.92, allocations: 0 / 4.069 GB, free: 141.1 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001687/10.92, allocations: 0 / 4.069 GB, free: 141.1 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.595e-05/10.92, allocations: 62.06 kB / 4.07 GB, free: 141.1 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01225/10.93, allocations: 4.093 MB / 4.074 GB, free: 139.6 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002037/10.93, allocations: 0.7187 MB / 4.074 GB, free: 139.6 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001235/10.93, allocations: 0.5015 MB / 4.075 GB, free: 139.6 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001542/10.93, allocations: 0.6247 MB / 4.075 GB, free: 139 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.38e-05/10.93, allocations: 47.5 kB / 4.075 GB, free: 139 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=76): time 3.557e-06/10.93, allocations: 0 / 4.075 GB, free: 139 MB / 0.8855 GB Notification: Performance of matching and sorting (n=76): time 0.004683/10.94, allocations: 1.183 MB / 4.077 GB, free: 138.9 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.201e-05/10.94, allocations: 59.91 kB / 4.077 GB, free: 138.8 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001209/10.94, allocations: 0.5686 MB / 4.077 GB, free: 138.7 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0002817/10.94, allocations: 25.7 kB / 4.077 GB, free: 138.6 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002266/10.94, allocations: 330.5 kB / 4.077 GB, free: 138.5 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003102/10.94, allocations: 253.1 kB / 4.078 GB, free: 138.4 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001013/10.94, allocations: 2.953 kB / 4.078 GB, free: 138.4 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 8.911e-05/10.94, allocations: 332.1 kB / 4.078 GB, free: 138.1 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00107/10.94, allocations: 406.2 kB / 4.078 GB, free: 138.1 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001228/10.94, allocations: 0.5426 MB / 4.079 GB, free: 137.9 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00219/10.95, allocations: 0.6144 MB / 4.08 GB, free: 137.9 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.348e-06/10.95, allocations: 3.375 kB / 4.08 GB, free: 137.9 MB / 0.8855 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.004228/10.95, allocations: 1.219 MB / 4.081 GB, free: 137.8 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001306/10.95, allocations: 463.5 kB / 4.081 GB, free: 137.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.185e-05/10.95, allocations: 0 / 4.081 GB, free: 137.4 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.258e-05/10.95, allocations: 7.75 kB / 4.081 GB, free: 137.4 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003485/10.95, allocations: 294 kB / 4.081 GB, free: 137.4 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009696/10.95, allocations: 1.206 MB / 4.083 GB, free: 136.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002837/10.96, allocations: 190.8 kB / 4.083 GB, free: 136.2 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002783/10.96, allocations: 39.78 kB / 4.083 GB, free: 136.2 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.423e-05/10.96, allocations: 3.469 kB / 4.083 GB, free: 136.2 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003877/10.96, allocations: 1.095 MB / 4.084 GB, free: 136.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.397e-05/10.96, allocations: 2.281 kB / 4.084 GB, free: 136.2 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.435e-05/10.96, allocations: 7.594 kB / 4.084 GB, free: 136.2 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002808/10.96, allocations: 265.7 kB / 4.084 GB, free: 136.2 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.469e-05/10.96, allocations: 6.5 kB / 4.084 GB, free: 136.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002787/10.97, allocations: 181.9 kB / 4.084 GB, free: 136.2 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002805/10.97, allocations: 43.36 kB / 4.084 GB, free: 136.2 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 2 (hex.i1_w,hex.i2_w) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (86): * Single equations (assignments): 83 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * 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: Performance of prepare postOptimizeDAE: time 0.0003895/10.97, allocations: 118 kB / 4.085 GB, free: 136.1 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003745/10.97, allocations: 97.67 kB / 4.085 GB, free: 136 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004701/10.97, allocations: 1.267 MB / 4.086 GB, free: 135.9 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.561e-05/10.97, allocations: 7.906 kB / 4.086 GB, free: 135.9 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.041e-05/10.97, allocations: 3.75 kB / 4.086 GB, free: 135.9 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.543e-05/10.97, allocations: 3.797 kB / 4.086 GB, free: 135.9 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008209/10.98, allocations: 2.645 MB / 4.088 GB, free: 135.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.31e-05/10.98, allocations: 5.5 kB / 4.088 GB, free: 135.5 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003593/10.98, allocations: 267.9 kB / 4.089 GB, free: 135.5 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.781e-05/10.98, allocations: 10.78 kB / 4.089 GB, free: 135.5 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002995/10.99, allocations: 15.89 kB / 4.089 GB, free: 135.5 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000813/10.99, allocations: 1.199 MB / 4.09 GB, free: 134.3 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.235e-05/10.99, allocations: 9.969 kB / 4.09 GB, free: 134.3 MB / 0.8855 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005329/10.99, allocations: 1.538 MB / 4.091 GB, free: 133.8 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00129/10.99, allocations: 308.9 kB / 4.092 GB, free: 133.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004571/10.99, allocations: 3.812 kB / 4.092 GB, free: 133.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003773/11, allocations: 171.8 kB / 4.092 GB, free: 133.6 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003652/11, allocations: 52.78 kB / 4.092 GB, free: 133.6 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000251/11, allocations: 40.98 kB / 4.092 GB, free: 133.6 MB / 0.8855 GB Notification: Performance of sort global known variables: time 0.001217/11, allocations: 444.4 kB / 4.092 GB, free: 133.5 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.004809/11, allocations: 0.6918 MB / 4.093 GB, free: 133.5 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (76): * Single equations (assignments): 74 * 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: 0 * 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: Performance of Backend phase and start with SimCode phase: time 0.00698/11.01, allocations: 2.632 MB / 4.096 GB, free: 132.6 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.008218/11.02, allocations: 1.613 MB / 4.097 GB, free: 132.6 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.412e-05/11.02, allocations: 0 / 4.097 GB, free: 132.6 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.002771/11.02, allocations: 0.5352 MB / 4.098 GB, free: 132.6 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006599/11.03, allocations: 414.9 kB / 4.098 GB, free: 132.5 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03653/11.07, allocations: 2.4 MB / 4.101 GB, free: 132.1 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00185/11.07, allocations: 1.233 MB / 4.102 GB, free: 131.4 MB / 0.8855 GB Notification: Performance of SimCode: time 1.493e-06/11.07, allocations: 0 / 4.102 GB, free: 131.4 MB / 0.8855 GB Notification: Performance of Templates: time 0.114/11.18, allocations: 38.37 MB / 4.139 GB, free: 130.6 MB / 0.8855 GB