Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.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.SeriesDpOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised") [: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.065/2.065, allocations: 253.1 MB / 260.4 MB, free: 7.602 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.001702/0.001702, allocations: 189.2 kB / 319.6 MB, free: 3.328 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.848/1.848, 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.001339/0.001338, allocations: 87.39 kB / 0.6746 GB, free: 4.43 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.337e-05/1.356e-05, allocations: 8 kB / 0.7843 GB, free: 102.5 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2095/0.2096, allocations: 106.3 MB / 0.8881 GB, free: 12.19 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.368/5.577, allocations: 2.184 GB / 3.073 GB, free: 174.6 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003438/5.578, allocations: 90.38 kB / 3.073 GB, free: 174.5 MB / 0.8698 GB Notification: Performance of FrontEnd: time 7.805/13.38, allocations: 1.737 GB / 4.81 GB, free: 102 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0001405/13.38, allocations: 27.98 kB / 4.81 GB, free: 102 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.002647/13.39, allocations: 1.141 MB / 4.811 GB, free: 100.8 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.532e-05/13.39, allocations: 11.97 kB / 4.811 GB, free: 100.8 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001368/13.39, allocations: 190.5 kB / 4.811 GB, free: 100.6 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004067/13.39, allocations: 1.12 MB / 4.812 GB, free: 99.43 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.499e-05/13.39, allocations: 16 kB / 4.812 GB, free: 99.42 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000126/13.39, allocations: 36 kB / 4.812 GB, free: 99.38 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00128/13.39, allocations: 489.7 kB / 4.813 GB, free: 98.91 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001368/13.39, allocations: 0.685 MB / 4.813 GB, free: 98.14 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.53e-05/13.39, allocations: 11.84 kB / 4.813 GB, free: 98.13 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.948e-05/13.39, allocations: 0 / 4.813 GB, free: 98.13 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.227e-05/13.39, allocations: 16 kB / 4.813 GB, free: 98.12 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005945/13.4, allocations: 4.656 MB / 4.818 GB, free: 93.1 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009297/13.4, allocations: 452.9 kB / 4.818 GB, free: 92.65 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004755/13.4, allocations: 247.2 kB / 4.819 GB, free: 92.41 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003981/13.4, allocations: 206.1 kB / 4.819 GB, free: 92.17 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005044/13.4, allocations: 253.2 kB / 4.819 GB, free: 91.9 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=31): time 3.596e-06/13.4, allocations: 0 / 4.819 GB, free: 91.9 MB / 0.8698 GB Notification: Performance of matching and sorting (n=31): time 0.002981/13.41, allocations: 0.7663 MB / 4.82 GB, free: 91.13 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.024e-05/13.41, allocations: 89.09 kB / 4.82 GB, free: 91.02 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00176/13.41, allocations: 0.8756 MB / 4.821 GB, free: 90.13 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001229/13.41, allocations: 29.7 kB / 4.821 GB, free: 90.09 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002893/13.41, allocations: 336.2 kB / 4.821 GB, free: 89.76 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001136/13.41, allocations: 106.7 kB / 4.821 GB, free: 89.65 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.265e-05/13.41, allocations: 0 / 4.821 GB, free: 89.65 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 7.352e-05/13.41, allocations: 325.9 kB / 4.821 GB, free: 89.33 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00043/13.41, allocations: 188.8 kB / 4.822 GB, free: 89.14 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000644/13.41, allocations: 0.5113 MB / 4.822 GB, free: 88.48 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005707/13.41, allocations: 281.5 kB / 4.822 GB, free: 88.21 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.73e-06/13.41, allocations: 3.938 kB / 4.822 GB, free: 88.21 MB / 0.8698 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.002913/13.41, allocations: 0.8954 MB / 4.823 GB, free: 87.3 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004679/13.41, allocations: 2.093 MB / 4.825 GB, free: 85.05 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.556e-05/13.41, allocations: 8 kB / 4.825 GB, free: 85.04 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007854/13.41, allocations: 236.6 kB / 4.826 GB, free: 84.8 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004523/13.41, allocations: 63.91 kB / 4.826 GB, free: 84.74 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001739/13.42, allocations: 1.139 MB / 4.827 GB, free: 83.58 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001578/13.42, allocations: 91.53 kB / 4.827 GB, free: 83.49 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.179e-05/13.42, allocations: 24 kB / 4.827 GB, free: 83.46 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.24e-05/13.42, allocations: 7.906 kB / 4.827 GB, free: 83.46 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001841/13.42, allocations: 0.5858 MB / 4.827 GB, free: 82.87 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.067e-05/13.42, allocations: 7.906 kB / 4.827 GB, free: 82.86 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008936/13.42, allocations: 207.2 kB / 4.828 GB, free: 82.66 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004095/13.42, allocations: 63.91 kB / 4.828 GB, free: 82.59 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005173/13.43, allocations: 2.767 MB / 4.83 GB, free: 79.72 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001487/13.43, allocations: 71.75 kB / 4.83 GB, free: 79.65 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.609e-05/13.43, allocations: 28 kB / 4.83 GB, free: 79.62 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 (34): * Single equations (assignments): 32 * 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 19} Notification: Performance of prepare postOptimizeDAE: time 0.000216/13.43, allocations: 116.9 kB / 4.831 GB, free: 79.5 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001722/13.43, allocations: 94.78 kB / 4.831 GB, free: 79.41 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001863/13.43, allocations: 0.6666 MB / 4.831 GB, free: 78.73 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.075e-05/13.43, allocations: 7.906 kB / 4.831 GB, free: 78.72 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/13.43, allocations: 4 kB / 4.831 GB, free: 78.71 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.743e-06/13.43, allocations: 0 / 4.831 GB, free: 78.71 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003504/13.43, allocations: 1.485 MB / 4.833 GB, free: 77.16 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.345e-06/13.43, allocations: 4 kB / 4.833 GB, free: 77.15 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002217/13.43, allocations: 27.92 kB / 4.833 GB, free: 77.12 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005508/13.43, allocations: 193.2 kB / 4.833 GB, free: 76.93 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.066e-05/13.43, allocations: 4 kB / 4.833 GB, free: 76.93 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001346/13.44, allocations: 1.02 MB / 4.834 GB, free: 75.88 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.973e-06/13.44, allocations: 8.062 kB / 4.834 GB, free: 75.88 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00185/13.44, allocations: 0.8522 MB / 4.835 GB, free: 74.94 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00079/13.44, allocations: 211.9 kB / 4.835 GB, free: 74.71 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002133/13.44, allocations: 3.984 kB / 4.835 GB, free: 74.71 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001047/13.44, allocations: 51.86 kB / 4.835 GB, free: 74.66 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001281/13.44, allocations: 35.86 kB / 4.835 GB, free: 74.62 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.895e-05/13.44, allocations: 12 kB / 4.835 GB, free: 74.61 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.001416/13.44, allocations: 0.6808 MB / 4.836 GB, free: 73.92 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.002492/13.44, allocations: 475.4 kB / 4.836 GB, free: 73.46 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 (12): * Single equations (assignments): 9 * 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 19} Notification: Performance of Backend phase and start with SimCode phase: time 0.002047/13.45, allocations: 1.109 MB / 4.837 GB, free: 72.35 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.002698/13.45, allocations: 0.9121 MB / 4.838 GB, free: 71.42 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.137e-05/13.45, allocations: 0 / 4.838 GB, free: 71.42 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0007395/13.45, allocations: 210.2 kB / 4.838 GB, free: 71.21 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003661/13.45, allocations: 388.4 kB / 4.839 GB, free: 70.83 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004162/13.46, allocations: 1.39 MB / 4.84 GB, free: 69.39 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001144/13.46, allocations: 1.262 MB / 4.841 GB, free: 68.1 MB / 0.8698 GB Notification: Performance of SimCode: time 2.805e-06/13.46, allocations: 4 kB / 4.841 GB, free: 68.1 MB / 0.8698 GB Notification: Performance of Templates: time 0.06026/13.52, allocations: 23.35 MB / 4.864 GB, free: 44.9 MB / 0.8698 GB