Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.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.ParallelDpOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised") [: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.349/2.349, allocations: 253.1 MB / 260.4 MB, free: 7.535 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.001681/0.001681, allocations: 181 kB / 319.6 MB, free: 3.309 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.822/1.822, allocations: 205.4 MB / 0.5704 GB, free: 14.95 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.001289/0.001289, allocations: 94.97 kB / 0.6746 GB, free: 4.305 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.211e-05/1.219e-05, allocations: 0 / 0.7843 GB, free: 102.5 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1989/0.199, allocations: 106.2 MB / 0.888 GB, free: 12.16 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.622/5.821, allocations: 2.184 GB / 3.073 GB, free: 177.9 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003064/5.821, allocations: 93.75 kB / 3.073 GB, free: 177.9 MB / 0.8698 GB Notification: Performance of FrontEnd: time 7.884/13.71, allocations: 1.739 GB / 4.811 GB, free: 100.9 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0001901/13.71, allocations: 31.98 kB / 4.812 GB, free: 100.9 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: 125 * Number of variables: 125 Notification: Performance of Generate backend data structure: time 0.00688/13.71, allocations: 1.192 MB / 4.813 GB, free: 99.63 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.733e-05/13.71, allocations: 12.03 kB / 4.813 GB, free: 99.62 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001645/13.71, allocations: 190.5 kB / 4.813 GB, free: 99.43 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00663/13.72, allocations: 1.397 MB / 4.814 GB, free: 97.98 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.018e-05/13.72, allocations: 16 kB / 4.814 GB, free: 97.96 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001391/13.72, allocations: 40 kB / 4.814 GB, free: 97.92 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001366/13.72, allocations: 0.4978 MB / 4.815 GB, free: 97.43 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001413/13.72, allocations: 0.7162 MB / 4.815 GB, free: 96.63 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.886e-05/13.72, allocations: 7.938 kB / 4.815 GB, free: 96.62 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.302e-05/13.72, allocations: 0 / 4.815 GB, free: 96.62 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.97e-05/13.72, allocations: 19.98 kB / 4.815 GB, free: 96.61 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005812/13.73, allocations: 4.144 MB / 4.82 GB, free: 92.22 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009623/13.73, allocations: 466.8 kB / 4.82 GB, free: 91.75 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006012/13.73, allocations: 322.2 kB / 4.82 GB, free: 91.43 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003894/13.73, allocations: 190.2 kB / 4.82 GB, free: 91.21 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005463/13.73, allocations: 288.2 kB / 4.821 GB, free: 90.91 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=33): time 5.381e-06/13.73, allocations: 112 / 4.821 GB, free: 90.91 MB / 0.8698 GB Notification: Performance of matching and sorting (n=33): time 0.001759/13.73, allocations: 0.524 MB / 4.821 GB, free: 90.38 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.221e-05/13.73, allocations: 89.09 kB / 4.821 GB, free: 90.27 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001705/13.74, allocations: 0.8793 MB / 4.822 GB, free: 89.37 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001184/13.74, allocations: 29.7 kB / 4.822 GB, free: 89.34 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003085/13.74, allocations: 337 kB / 4.823 GB, free: 89 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001189/13.74, allocations: 110.5 kB / 4.823 GB, free: 88.89 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.605e-05/13.74, allocations: 0 / 4.823 GB, free: 88.89 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 8.336e-05/13.74, allocations: 329.9 kB / 4.823 GB, free: 88.56 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004561/13.74, allocations: 200.9 kB / 4.823 GB, free: 88.37 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007077/13.74, allocations: 0.5123 MB / 4.824 GB, free: 87.71 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006015/13.74, allocations: 289.4 kB / 4.824 GB, free: 87.43 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.891e-06/13.74, allocations: 4 kB / 4.824 GB, free: 87.42 MB / 0.8698 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0016/13.74, allocations: 0.6473 MB / 4.825 GB, free: 86.77 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004581/13.74, allocations: 2.105 MB / 4.827 GB, free: 84.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.514e-05/13.74, allocations: 4 kB / 4.827 GB, free: 84.5 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.371e-05/13.74, allocations: 8 kB / 4.827 GB, free: 84.49 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001108/13.74, allocations: 123.8 kB / 4.827 GB, free: 84.37 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.421e-05/13.74, allocations: 11.94 kB / 4.827 GB, free: 84.36 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001819/13.74, allocations: 99.44 kB / 4.827 GB, free: 84.26 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.314e-05/13.74, allocations: 28 kB / 4.827 GB, free: 84.23 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.155e-05/13.74, allocations: 4 kB / 4.827 GB, free: 84.23 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00103/13.75, allocations: 449.9 kB / 4.827 GB, free: 83.79 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.516e-06/13.75, allocations: 4 kB / 4.827 GB, free: 83.79 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.355e-05/13.75, allocations: 8 kB / 4.827 GB, free: 83.78 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009133/13.75, allocations: 111.8 kB / 4.827 GB, free: 83.67 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.053e-05/13.75, allocations: 11.94 kB / 4.827 GB, free: 83.66 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001684/13.75, allocations: 95.69 kB / 4.828 GB, free: 83.57 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.556e-05/13.75, allocations: 24 kB / 4.828 GB, free: 83.54 MB / 0.8698 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_p.T_start,pulse_p.T_start,$PRE.pulse_p.count,pulse_p.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (55): * Single equations (assignments): 54 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002067/13.75, allocations: 132.7 kB / 4.828 GB, free: 83.41 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001662/13.75, allocations: 98.78 kB / 4.828 GB, free: 83.31 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001304/13.75, allocations: 483 kB / 4.828 GB, free: 82.83 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.454e-06/13.75, allocations: 4 kB / 4.828 GB, free: 82.82 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.175e-06/13.75, allocations: 3.906 kB / 4.828 GB, free: 82.82 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.834e-06/13.75, allocations: 7.922 kB / 4.828 GB, free: 82.81 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002815/13.75, allocations: 1.364 MB / 4.83 GB, free: 81.38 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.101e-06/13.75, allocations: 0 / 4.83 GB, free: 81.38 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006832/13.75, allocations: 67.89 kB / 4.83 GB, free: 81.32 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.048e-05/13.75, allocations: 8.219 kB / 4.83 GB, free: 81.31 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.586e-05/13.75, allocations: 8 kB / 4.83 GB, free: 81.3 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.903e-06/13.75, allocations: 7.938 kB / 4.83 GB, free: 81.29 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.701e-06/13.75, allocations: 7.984 kB / 4.83 GB, free: 81.29 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001168/13.75, allocations: 0.6651 MB / 4.83 GB, free: 80.54 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005931/13.76, allocations: 219.8 kB / 4.831 GB, free: 80.31 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002029/13.76, allocations: 7.938 kB / 4.831 GB, free: 80.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00129/13.76, allocations: 79.69 kB / 4.831 GB, free: 80.22 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001243/13.76, allocations: 31.88 kB / 4.831 GB, free: 80.19 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.108e-05/13.76, allocations: 11.98 kB / 4.831 GB, free: 80.18 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.001311/13.76, allocations: 0.6886 MB / 4.831 GB, free: 79.48 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.002096/13.76, allocations: 471.4 kB / 4.832 GB, free: 79.02 MB / 0.8698 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_p.T_start,pulse_p.count) * Number of discrete states: 1 (pulse_p.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 31 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001827/13.76, allocations: 1.118 MB / 4.833 GB, free: 77.9 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.00183/13.76, allocations: 0.7847 MB / 4.834 GB, free: 77.11 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 5.952e-06/13.76, allocations: 0 / 4.834 GB, free: 77.11 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.000484/13.76, allocations: 207.7 kB / 4.834 GB, free: 76.9 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005535/13.77, allocations: 0.5254 MB / 4.834 GB, free: 76.38 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003731/13.77, allocations: 1.394 MB / 4.836 GB, free: 74.94 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00113/13.78, allocations: 1.276 MB / 4.837 GB, free: 73.63 MB / 0.8698 GB Notification: Performance of SimCode: time 1.273e-06/13.78, allocations: 0 / 4.837 GB, free: 73.63 MB / 0.8698 GB Notification: Performance of Templates: time 0.05982/13.84, allocations: 23.32 MB / 4.86 GB, free: 50.48 MB / 0.8698 GB