Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.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.Examples.ConstantEffectiveness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness") [: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.142/2.142, allocations: 253.1 MB / 260.4 MB, free: 7.445 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.001627/0.001627, allocations: 189.2 kB / 319.6 MB, free: 3.324 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.893/1.893, allocations: 205.4 MB / 0.5704 GB, free: 15.07 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.001399/0.001398, allocations: 104.1 kB / 0.6746 GB, free: 4.43 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 8.226e-06/8.375e-06, allocations: 0 / 0.7843 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2049/0.2049, allocations: 106.3 MB / 0.888 GB, free: 12.22 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.329/5.534, allocations: 2.208 GB / 3.096 GB, free: 155 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002942/5.534, allocations: 81.58 kB / 3.096 GB, free: 155 MB / 0.8698 GB Notification: Performance of FrontEnd: time 5.105/10.64, allocations: 0.9686 GB / 4.064 GB, free: 126.3 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 0.0001392/10.64, allocations: 31.66 kB / 4.064 GB, free: 126.3 MB / 0.9011 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.00924/10.65, allocations: 1.76 MB / 4.066 GB, free: 125.6 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.508e-05/10.65, allocations: 7.812 kB / 4.066 GB, free: 125.6 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006042/10.65, allocations: 0.5878 MB / 4.067 GB, free: 125.5 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004409/10.66, allocations: 1.061 MB / 4.068 GB, free: 125.2 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001281/10.66, allocations: 181.3 kB / 4.068 GB, free: 125.2 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000403/10.66, allocations: 53.41 kB / 4.068 GB, free: 125.2 MB / 0.9011 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003195/10.66, allocations: 1.056 MB / 4.069 GB, free: 125.2 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002821/10.67, allocations: 1.035 MB / 4.07 GB, free: 125.1 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.304e-05/10.67, allocations: 0.75 kB / 4.07 GB, free: 125.1 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001631/10.67, allocations: 0 / 4.07 GB, free: 125.1 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.812e-05/10.67, allocations: 46.92 kB / 4.07 GB, free: 125.1 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.012/10.68, allocations: 4.095 MB / 4.074 GB, free: 123.6 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001949/10.68, allocations: 0.7254 MB / 4.075 GB, free: 123.6 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00118/10.68, allocations: 0.5016 MB / 4.075 GB, free: 123.6 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001594/10.68, allocations: 0.6203 MB / 4.076 GB, free: 123 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.514e-05/10.68, allocations: 41.25 kB / 4.076 GB, free: 123 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=76): time 3.867e-06/10.68, allocations: 0 / 4.076 GB, free: 123 MB / 0.9011 GB Notification: Performance of matching and sorting (n=76): time 0.004635/10.69, allocations: 1.2 MB / 4.077 GB, free: 122.9 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.265e-05/10.69, allocations: 59.75 kB / 4.077 GB, free: 122.8 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001221/10.69, allocations: 0.5628 MB / 4.078 GB, free: 122.7 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 0.0002466/10.69, allocations: 32.89 kB / 4.078 GB, free: 122.7 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.000232/10.69, allocations: 329.1 kB / 4.078 GB, free: 122.5 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003029/10.69, allocations: 246.5 kB / 4.078 GB, free: 122.3 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001029/10.69, allocations: 3.75 kB / 4.078 GB, free: 122.3 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 9.309e-05/10.69, allocations: 334.1 kB / 4.078 GB, free: 122 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001089/10.69, allocations: 404.8 kB / 4.079 GB, free: 122 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001177/10.69, allocations: 0.5337 MB / 4.079 GB, free: 121.9 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002123/10.7, allocations: 0.6192 MB / 4.08 GB, free: 121.9 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.002e-06/10.7, allocations: 3.469 kB / 4.08 GB, free: 121.9 MB / 0.9011 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.003975/10.7, allocations: 1.224 MB / 4.081 GB, free: 121.8 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001349/10.7, allocations: 451.5 kB / 4.082 GB, free: 121.3 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.192e-05/10.7, allocations: 0 / 4.082 GB, free: 121.3 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.337e-05/10.7, allocations: 7.406 kB / 4.082 GB, free: 121.3 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003292/10.7, allocations: 291.2 kB / 4.082 GB, free: 121.3 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009527/10.7, allocations: 1.21 MB / 4.083 GB, free: 120.2 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002795/10.71, allocations: 191.5 kB / 4.083 GB, free: 120.1 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002124/10.71, allocations: 41.3 kB / 4.083 GB, free: 120.1 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.166e-05/10.71, allocations: 3.125 kB / 4.083 GB, free: 120.1 MB / 0.9011 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003654/10.71, allocations: 1.096 MB / 4.084 GB, free: 120.1 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.031e-05/10.71, allocations: 0 / 4.084 GB, free: 120.1 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.387e-05/10.71, allocations: 10.19 kB / 4.084 GB, free: 120.1 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002689/10.71, allocations: 265.5 kB / 4.085 GB, free: 120.1 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.109e-05/10.71, allocations: 3.906 kB / 4.085 GB, free: 120.1 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002659/10.72, allocations: 181.9 kB / 4.085 GB, free: 120.1 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001792/10.72, allocations: 43.08 kB / 4.085 GB, free: 120.1 MB / 0.9011 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.0004098/10.72, allocations: 118.7 kB / 4.085 GB, free: 120 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003075/10.72, allocations: 94.53 kB / 4.085 GB, free: 119.9 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004362/10.72, allocations: 1.276 MB / 4.086 GB, free: 119.8 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.261e-05/10.72, allocations: 11.22 kB / 4.086 GB, free: 119.8 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.486e-06/10.72, allocations: 0 / 4.086 GB, free: 119.8 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.237e-05/10.72, allocations: 3.141 kB / 4.086 GB, free: 119.8 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00777/10.73, allocations: 2.644 MB / 4.089 GB, free: 119.4 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-05/10.73, allocations: 6.188 kB / 4.089 GB, free: 119.4 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002713/10.73, allocations: 268.1 kB / 4.089 GB, free: 119.4 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.888e-05/10.73, allocations: 10.31 kB / 4.089 GB, free: 119.4 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001378/10.73, allocations: 17.66 kB / 4.089 GB, free: 119.4 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006466/10.73, allocations: 1.198 MB / 4.09 GB, free: 118.2 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.084e-06/10.73, allocations: 3.844 kB / 4.09 GB, free: 118.2 MB / 0.9011 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00393/10.74, allocations: 1.546 MB / 4.092 GB, free: 117.6 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009248/10.74, allocations: 305.9 kB / 4.092 GB, free: 117.5 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002557/10.74, allocations: 6.344 kB / 4.092 GB, free: 117.5 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002639/10.74, allocations: 169 kB / 4.092 GB, free: 117.4 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002043/10.74, allocations: 61.36 kB / 4.092 GB, free: 117.4 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001486/10.74, allocations: 39.09 kB / 4.092 GB, free: 117.4 MB / 0.9011 GB Notification: Performance of sort global known variables: time 0.0009027/10.74, allocations: 439.9 kB / 4.093 GB, free: 117.3 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.003183/10.75, allocations: 0.6884 MB / 4.094 GB, free: 117.3 MB / 0.9011 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.004878/10.75, allocations: 2.635 MB / 4.096 GB, free: 116.4 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.005847/10.76, allocations: 1.602 MB / 4.098 GB, free: 116.3 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 1.182e-05/10.76, allocations: 0 / 4.098 GB, free: 116.3 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.001867/10.76, allocations: 0.5486 MB / 4.098 GB, free: 116.3 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004526/10.76, allocations: 409.9 kB / 4.099 GB, free: 116.2 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03063/10.79, allocations: 2.396 MB / 4.101 GB, free: 115.8 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001916/10.8, allocations: 1.233 MB / 4.102 GB, free: 115.1 MB / 0.9011 GB Notification: Performance of SimCode: time 2.134e-06/10.8, allocations: 0 / 4.102 GB, free: 115.1 MB / 0.9011 GB Notification: Performance of Templates: time 0.108/10.9, allocations: 38.36 MB / 4.14 GB, free: 104.1 MB / 0.9011 GB