Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.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.Examples.Performance.PressureDrop.ParallelFlowOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised") [: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.376/2.376, allocations: 253.1 MB / 260.4 MB, free: 7.484 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.001646/0.001646, allocations: 193.2 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.88/1.88, 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.001321/0.00132, allocations: 89.72 kB / 0.6746 GB, free: 4.441 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.056e-05/1.075e-05, allocations: 4 kB / 0.7843 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2057/0.2057, allocations: 106.2 MB / 0.8881 GB, free: 12.21 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.433/5.639, allocations: 2.182 GB / 3.07 GB, free: 181 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003289/5.639, allocations: 87.19 kB / 3.07 GB, free: 180.9 MB / 0.8698 GB Notification: Performance of FrontEnd: time 7.856/13.5, allocations: 1.727 GB / 4.797 GB, free: 116.4 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0002052/13.5, allocations: 31.91 kB / 4.797 GB, free: 116.3 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: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.006998/13.5, allocations: 1.188 MB / 4.798 GB, free: 115.1 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.014e-05/13.5, allocations: 8.031 kB / 4.798 GB, free: 115.1 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001701/13.5, allocations: 186.5 kB / 4.798 GB, free: 114.9 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006684/13.51, allocations: 1.375 MB / 4.8 GB, free: 113.5 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.418e-05/13.51, allocations: 20 kB / 4.8 GB, free: 113.5 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001861/13.51, allocations: 40 kB / 4.8 GB, free: 113.5 MB / 0.8855 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001396/13.51, allocations: 0.5017 MB / 4.8 GB, free: 113 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001385/13.51, allocations: 0.7084 MB / 4.801 GB, free: 112.2 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.466e-05/13.51, allocations: 8 kB / 4.801 GB, free: 112.2 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.782e-05/13.51, allocations: 0 / 4.801 GB, free: 112.2 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.766e-05/13.51, allocations: 16 kB / 4.801 GB, free: 112.2 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005778/13.52, allocations: 4.157 MB / 4.805 GB, free: 107.8 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001021/13.52, allocations: 486.8 kB / 4.806 GB, free: 107.3 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006283/13.52, allocations: 345.1 kB / 4.806 GB, free: 106.9 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004169/13.52, allocations: 192.4 kB / 4.806 GB, free: 106.7 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005596/13.52, allocations: 282.9 kB / 4.806 GB, free: 106.4 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=33): time 3.907e-06/13.52, allocations: 0 / 4.806 GB, free: 106.4 MB / 0.8855 GB Notification: Performance of matching and sorting (n=33): time 0.003165/13.53, allocations: 0.8204 MB / 4.807 GB, free: 105.6 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.83e-05/13.53, allocations: 85.05 kB / 4.807 GB, free: 105.5 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001819/13.53, allocations: 0.8713 MB / 4.808 GB, free: 104.6 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0001633/13.53, allocations: 25.7 kB / 4.808 GB, free: 104.6 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003065/13.53, allocations: 340.2 kB / 4.808 GB, free: 104.2 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001278/13.53, allocations: 106.4 kB / 4.809 GB, free: 104.1 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.697e-05/13.53, allocations: 0 / 4.809 GB, free: 104.1 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 8.497e-05/13.53, allocations: 333.9 kB / 4.809 GB, free: 103.8 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004692/13.53, allocations: 212.8 kB / 4.809 GB, free: 103.6 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007016/13.53, allocations: 0.5201 MB / 4.81 GB, free: 102.9 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006189/13.53, allocations: 301.4 kB / 4.81 GB, free: 102.6 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.46e-06/13.53, allocations: 4 kB / 4.81 GB, free: 102.6 MB / 0.8855 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.003025/13.53, allocations: 0.9475 MB / 4.811 GB, free: 101.7 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004732/13.53, allocations: 2.092 MB / 4.813 GB, free: 99.45 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.819e-05/13.53, allocations: 8 kB / 4.813 GB, free: 99.44 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008869/13.53, allocations: 253.5 kB / 4.813 GB, free: 99.19 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005224/13.54, allocations: 67.89 kB / 4.813 GB, free: 99.12 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001897/13.54, allocations: 1.185 MB / 4.814 GB, free: 97.91 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001843/13.54, allocations: 95.58 kB / 4.814 GB, free: 97.82 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001031/13.54, allocations: 27.98 kB / 4.814 GB, free: 97.79 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.305e-05/13.54, allocations: 4 kB / 4.814 GB, free: 97.79 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001931/13.54, allocations: 0.6466 MB / 4.815 GB, free: 97.14 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.018e-05/13.54, allocations: 4 kB / 4.815 GB, free: 97.14 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001078/13.54, allocations: 224.5 kB / 4.815 GB, free: 96.92 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004725/13.54, allocations: 75.83 kB / 4.815 GB, free: 96.84 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005091/13.55, allocations: 2.793 MB / 4.818 GB, free: 93.93 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00179/13.55, allocations: 91.66 kB / 4.818 GB, free: 93.84 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.118e-05/13.55, allocations: 27.94 kB / 4.818 GB, free: 93.81 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.pulse_m_flow.T_start,pulse_m_flow.T_start,$PRE.pulse_m_flow.count,pulse_m_flow.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (35): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 20} Notification: Performance of prepare postOptimizeDAE: time 0.000226/13.55, allocations: 126 kB / 4.818 GB, free: 93.68 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001644/13.55, allocations: 90.88 kB / 4.818 GB, free: 93.59 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002055/13.55, allocations: 0.72 MB / 4.819 GB, free: 92.87 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.666e-06/13.55, allocations: 4 kB / 4.819 GB, free: 92.86 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.509e-06/13.55, allocations: 0 / 4.819 GB, free: 92.86 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.124e-06/13.55, allocations: 0 / 4.819 GB, free: 92.86 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003762/13.56, allocations: 1.616 MB / 4.821 GB, free: 91.19 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.114e-06/13.56, allocations: 4 kB / 4.821 GB, free: 91.18 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002668/13.56, allocations: 40.69 kB / 4.821 GB, free: 91.14 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006625/13.56, allocations: 209 kB / 4.821 GB, free: 90.94 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.81e-05/13.56, allocations: 8 kB / 4.821 GB, free: 90.93 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001368/13.56, allocations: 1.04 MB / 4.822 GB, free: 89.86 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.013e-06/13.56, allocations: 3.938 kB / 4.822 GB, free: 89.86 MB / 0.8855 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001922/13.56, allocations: 0.9107 MB / 4.823 GB, free: 88.88 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006358/13.56, allocations: 219.9 kB / 4.823 GB, free: 88.64 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002042/13.56, allocations: 7.906 kB / 4.823 GB, free: 88.64 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001254/13.56, allocations: 67.77 kB / 4.823 GB, free: 88.57 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001136/13.56, allocations: 27.91 kB / 4.823 GB, free: 88.54 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.048e-05/13.56, allocations: 19.98 kB / 4.823 GB, free: 88.52 MB / 0.8855 GB Notification: Performance of sort global known variables: time 0.001301/13.56, allocations: 0.6806 MB / 4.824 GB, free: 87.83 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.002306/13.57, allocations: 0.4916 MB / 4.824 GB, free: 87.34 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,pulse_m_flow.T_start,pulse_m_flow.count) * Number of discrete states: 1 (pulse_m_flow.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 20} Notification: Performance of Backend phase and start with SimCode phase: time 0.001821/13.57, allocations: 1.041 MB / 4.825 GB, free: 86.43 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.002473/13.57, allocations: 0.9671 MB / 4.826 GB, free: 85.44 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 6.963e-06/13.57, allocations: 0 / 4.826 GB, free: 85.44 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0006283/13.57, allocations: 223.2 kB / 4.827 GB, free: 85.22 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005538/13.58, allocations: 0.5262 MB / 4.827 GB, free: 84.7 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004081/13.58, allocations: 1.414 MB / 4.828 GB, free: 83.23 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001119/13.58, allocations: 1.263 MB / 4.83 GB, free: 81.94 MB / 0.8855 GB Notification: Performance of SimCode: time 1.773e-06/13.58, allocations: 0 / 4.83 GB, free: 81.94 MB / 0.8855 GB Notification: Performance of Templates: time 0.06257/13.65, allocations: 24.51 MB / 4.854 GB, free: 57.7 MB / 0.8855 GB