Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.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.ConstantEffectivenessZeroFlowBothStreams,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams") [: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.254/2.254, allocations: 253.1 MB / 260.4 MB, free: 7.527 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.001728/0.001728, allocations: 189.2 kB / 319.6 MB, free: 3.293 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.927/1.927, allocations: 205.4 MB / 0.5704 GB, free: 15.03 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.00132/0.00132, allocations: 93.02 kB / 0.6746 GB, free: 4.387 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 9.457e-06/9.638e-06, allocations: 0 / 0.7843 GB, free: 102.5 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2166/0.2166, allocations: 106.2 MB / 0.888 GB, free: 12.19 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.646/5.863, allocations: 2.208 GB / 3.096 GB, free: 150.8 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004604/5.863, allocations: 89.5 kB / 3.096 GB, free: 150.8 MB / 0.8698 GB Notification: Performance of FrontEnd: time 4.846/10.71, allocations: 0.969 GB / 4.065 GB, free: 146 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0001491/10.71, allocations: 31.62 kB / 4.065 GB, free: 146 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.009115/10.72, allocations: 1.761 MB / 4.067 GB, free: 145.3 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.35e-05/10.72, allocations: 11.34 kB / 4.067 GB, free: 145.3 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006058/10.73, allocations: 0.5889 MB / 4.067 GB, free: 145.2 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004408/10.73, allocations: 1.056 MB / 4.068 GB, free: 144.9 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001269/10.73, allocations: 184.9 kB / 4.068 GB, free: 144.9 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005113/10.73, allocations: 50.22 kB / 4.068 GB, free: 144.9 MB / 0.8855 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003582/10.74, allocations: 1.056 MB / 4.069 GB, free: 144.9 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003267/10.74, allocations: 1.033 MB / 4.07 GB, free: 144.8 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.514e-05/10.74, allocations: 3.594 kB / 4.07 GB, free: 144.8 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001749/10.74, allocations: 0 / 4.07 GB, free: 144.8 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.254e-05/10.74, allocations: 50.28 kB / 4.071 GB, free: 144.8 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01249/10.75, allocations: 4.089 MB / 4.075 GB, free: 143.3 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002067/10.75, allocations: 0.7298 MB / 4.075 GB, free: 143.2 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001225/10.75, allocations: 0.498 MB / 4.076 GB, free: 143.2 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001585/10.76, allocations: 0.6177 MB / 4.076 GB, free: 142.7 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.574e-05/10.76, allocations: 45.75 kB / 4.076 GB, free: 142.6 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=76): time 3.917e-06/10.76, allocations: 0 / 4.076 GB, free: 142.6 MB / 0.8855 GB Notification: Performance of matching and sorting (n=76): time 0.004907/10.76, allocations: 1.191 MB / 4.078 GB, free: 142.5 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.544e-05/10.76, allocations: 62.59 kB / 4.078 GB, free: 142.5 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001492/10.76, allocations: 0.5597 MB / 4.078 GB, free: 142.4 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0003333/10.76, allocations: 28.36 kB / 4.078 GB, free: 142.3 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.000303/10.76, allocations: 337.1 kB / 4.078 GB, free: 142.1 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003576/10.76, allocations: 253.9 kB / 4.079 GB, free: 142 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001017/10.76, allocations: 0.75 kB / 4.079 GB, free: 142 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 9.812e-05/10.76, allocations: 331.9 kB / 4.079 GB, free: 141.7 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001111/10.77, allocations: 405.7 kB / 4.079 GB, free: 141.7 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001214/10.77, allocations: 0.5389 MB / 4.08 GB, free: 141.5 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002372/10.77, allocations: 0.6131 MB / 4.081 GB, free: 141.5 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.273e-05/10.77, allocations: 1.031 kB / 4.081 GB, free: 141.5 MB / 0.8855 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.004485/10.77, allocations: 1.226 MB / 4.082 GB, free: 141.4 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001368/10.77, allocations: 453.1 kB / 4.082 GB, free: 141 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.259e-05/10.77, allocations: 1.062 kB / 4.082 GB, free: 141 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.191e-05/10.77, allocations: 5 kB / 4.082 GB, free: 141 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003554/10.78, allocations: 290.4 kB / 4.082 GB, free: 141 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000953/10.78, allocations: 1.211 MB / 4.084 GB, free: 139.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002821/10.78, allocations: 185.8 kB / 4.084 GB, free: 139.8 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002907/10.78, allocations: 37.23 kB / 4.084 GB, free: 139.8 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.421e-05/10.78, allocations: 8.469 kB / 4.084 GB, free: 139.8 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00408/10.79, allocations: 1.097 MB / 4.085 GB, free: 139.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.094e-05/10.79, allocations: 1.188 kB / 4.085 GB, free: 139.8 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.689e-05/10.79, allocations: 3.969 kB / 4.085 GB, free: 139.8 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002866/10.79, allocations: 270 kB / 4.085 GB, free: 139.8 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.645e-05/10.79, allocations: 3.875 kB / 4.085 GB, free: 139.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002772/10.79, allocations: 183.7 kB / 4.085 GB, free: 139.7 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002779/10.79, allocations: 39.48 kB / 4.085 GB, free: 139.7 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.0003879/10.79, allocations: 120.8 kB / 4.086 GB, free: 139.6 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003945/10.79, allocations: 97.62 kB / 4.086 GB, free: 139.6 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004858/10.8, allocations: 1.27 MB / 4.087 GB, free: 139.5 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.638e-05/10.8, allocations: 10.75 kB / 4.087 GB, free: 139.5 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.538e-06/10.8, allocations: 0 / 4.087 GB, free: 139.5 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.347e-05/10.8, allocations: 7.547 kB / 4.087 GB, free: 139.5 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008573/10.81, allocations: 2.646 MB / 4.089 GB, free: 139 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.389e-05/10.81, allocations: 4.375 kB / 4.089 GB, free: 139 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00312/10.81, allocations: 265 kB / 4.09 GB, free: 139 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.072e-05/10.81, allocations: 8.312 kB / 4.09 GB, free: 139 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002301/10.81, allocations: 19.19 kB / 4.09 GB, free: 139 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006625/10.81, allocations: 1.199 MB / 4.091 GB, free: 137.8 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.144e-05/10.81, allocations: 4.469 kB / 4.091 GB, free: 137.8 MB / 0.8855 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004564/10.82, allocations: 1.548 MB / 4.092 GB, free: 137.3 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001156/10.82, allocations: 311.3 kB / 4.093 GB, free: 137.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003174/10.82, allocations: 6.094 kB / 4.093 GB, free: 137.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002921/10.82, allocations: 165.9 kB / 4.093 GB, free: 137.1 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002788/10.82, allocations: 55.36 kB / 4.093 GB, free: 137.1 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001848/10.82, allocations: 40.34 kB / 4.093 GB, free: 137.1 MB / 0.8855 GB Notification: Performance of sort global known variables: time 0.001089/10.82, allocations: 441.8 kB / 4.093 GB, free: 137 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.003573/10.82, allocations: 0.6897 MB / 4.094 GB, free: 136.9 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.005563/10.83, allocations: 2.64 MB / 4.097 GB, free: 135.9 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.006161/10.84, allocations: 1.608 MB / 4.098 GB, free: 135.3 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.289e-05/10.84, allocations: 5.062 kB / 4.098 GB, free: 135.3 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.002037/10.84, allocations: 0.5386 MB / 4.099 GB, free: 135.1 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004598/10.84, allocations: 404.9 kB / 4.099 GB, free: 135.1 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03163/10.88, allocations: 2.398 MB / 4.101 GB, free: 134.4 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002227/10.88, allocations: 1.237 MB / 4.103 GB, free: 133.6 MB / 0.8855 GB Notification: Performance of SimCode: time 1.572e-06/10.88, allocations: 0 / 4.103 GB, free: 133.6 MB / 0.8855 GB Notification: Performance of Templates: time 0.1028/10.98, allocations: 38.38 MB / 4.14 GB, free: 106.9 MB / 0.8855 GB