Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised") translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.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 8.0.0/package.mo): time 2.257/2.257, allocations: 284.9 MB / 292.2 MB, free: 10.75 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001699/0.001699, allocations: 177.3 kB / 360.4 MB, free: 7.543 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.829/1.829, allocations: 205.1 MB / 0.6188 GB, free: 12.45 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001335/0.001334, allocations: 94.64 kB / 0.7318 GB, free: 45.02 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.191e-05/1.207e-05, allocations: 4 kB / 0.8502 GB, free: 3.883 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6612/0.6612, allocations: 115.2 MB / 0.9628 GB, free: 78.43 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.611/5.272, allocations: 2.065 GB / 3.028 GB, free: 52.84 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002841/5.273, allocations: 85.56 kB / 3.028 GB, free: 52.79 MB / 0.948 GB Notification: Performance of FrontEnd: time 8.119/13.39, allocations: 1.8 GB / 4.829 GB, free: 94.4 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001705/13.39, allocations: 31.98 kB / 4.829 GB, free: 94.37 MB / 0.948 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.003023/13.4, allocations: 1.134 MB / 4.83 GB, free: 93.18 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.364e-05/13.4, allocations: 12.53 kB / 4.83 GB, free: 93.17 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001351/13.4, allocations: 194.4 kB / 4.83 GB, free: 92.98 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004047/13.4, allocations: 1.112 MB / 4.831 GB, free: 91.81 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.541e-05/13.4, allocations: 20 kB / 4.831 GB, free: 91.79 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000124/13.4, allocations: 40 kB / 4.831 GB, free: 91.75 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001317/13.4, allocations: 489.7 kB / 4.831 GB, free: 91.27 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001337/13.4, allocations: 0.6816 MB / 4.832 GB, free: 90.51 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.691e-05/13.4, allocations: 4 kB / 4.832 GB, free: 90.51 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.083e-05/13.4, allocations: 4 kB / 4.832 GB, free: 90.5 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.641e-05/13.4, allocations: 12 kB / 4.832 GB, free: 90.49 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006026/13.41, allocations: 4.683 MB / 4.837 GB, free: 85.45 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009345/13.41, allocations: 452.5 kB / 4.837 GB, free: 84.99 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004815/13.41, allocations: 247.3 kB / 4.837 GB, free: 84.75 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003831/13.41, allocations: 190.2 kB / 4.838 GB, free: 84.53 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005006/13.41, allocations: 261.7 kB / 4.838 GB, free: 84.25 MB / 0.948 GB Notification: Performance of pre-optimization done (n=31): time 2.604e-06/13.41, allocations: 4 kB / 4.838 GB, free: 84.25 MB / 0.948 GB Notification: Performance of matching and sorting (n=31): time 0.003075/13.42, allocations: 0.7677 MB / 4.839 GB, free: 83.47 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.008e-05/13.42, allocations: 85.09 kB / 4.839 GB, free: 83.37 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001807/13.42, allocations: 0.8795 MB / 4.84 GB, free: 82.47 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001534/13.42, allocations: 29.92 kB / 4.84 GB, free: 82.44 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.00032/13.42, allocations: 336.9 kB / 4.84 GB, free: 82.11 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001186/13.42, allocations: 106.5 kB / 4.84 GB, free: 82 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.42e-05/13.42, allocations: 0 / 4.84 GB, free: 82 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.512e-05/13.42, allocations: 330 kB / 4.84 GB, free: 81.67 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004107/13.42, allocations: 184.8 kB / 4.84 GB, free: 81.49 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006264/13.42, allocations: 0.5077 MB / 4.841 GB, free: 80.84 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005499/13.42, allocations: 274.1 kB / 4.841 GB, free: 80.57 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.641e-06/13.42, allocations: 0 / 4.841 GB, free: 80.57 MB / 0.948 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.002895/13.42, allocations: 0.9063 MB / 4.842 GB, free: 79.66 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004264/13.42, allocations: 2.098 MB / 4.844 GB, free: 77.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.378e-05/13.42, allocations: 4 kB / 4.844 GB, free: 77.39 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007603/13.42, allocations: 229.9 kB / 4.844 GB, free: 77.17 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004624/13.42, allocations: 67.91 kB / 4.844 GB, free: 77.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001693/13.43, allocations: 1.14 MB / 4.846 GB, free: 75.94 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00155/13.43, allocations: 91.53 kB / 4.846 GB, free: 75.85 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001135/13.43, allocations: 27.98 kB / 4.846 GB, free: 75.82 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.24e-05/13.43, allocations: 4 kB / 4.846 GB, free: 75.82 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001889/13.43, allocations: 0.5858 MB / 4.846 GB, free: 75.23 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.251e-05/13.43, allocations: 8 kB / 4.846 GB, free: 75.22 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008855/13.43, allocations: 205.6 kB / 4.846 GB, free: 75.02 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004187/13.43, allocations: 67.84 kB / 4.847 GB, free: 74.95 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005068/13.44, allocations: 2.747 MB / 4.849 GB, free: 72.08 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001459/13.44, allocations: 75.69 kB / 4.849 GB, free: 72.01 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.573e-05/13.44, allocations: 24 kB / 4.849 GB, free: 71.98 MB / 0.948 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.0002064/13.44, allocations: 132.8 kB / 4.849 GB, free: 71.85 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001907/13.44, allocations: 94.78 kB / 4.85 GB, free: 71.75 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001817/13.44, allocations: 0.6628 MB / 4.85 GB, free: 71.08 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.366e-06/13.44, allocations: 4 kB / 4.85 GB, free: 71.07 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.03e-06/13.44, allocations: 0 / 4.85 GB, free: 71.07 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.355e-06/13.44, allocations: 7.922 kB / 4.85 GB, free: 71.07 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0036/13.44, allocations: 1.487 MB / 4.852 GB, free: 69.51 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.626e-06/13.44, allocations: 8 kB / 4.852 GB, free: 69.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002266/13.44, allocations: 23.98 kB / 4.852 GB, free: 69.48 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005606/13.44, allocations: 193.2 kB / 4.852 GB, free: 69.29 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.948e-05/13.44, allocations: 11.98 kB / 4.852 GB, free: 69.28 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001339/13.45, allocations: 1.007 MB / 4.853 GB, free: 68.25 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.945e-06/13.45, allocations: 4 kB / 4.853 GB, free: 68.24 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001732/13.45, allocations: 0.8675 MB / 4.854 GB, free: 67.29 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006416/13.45, allocations: 215.8 kB / 4.854 GB, free: 67.06 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002035/13.45, allocations: 4 kB / 4.854 GB, free: 67.06 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001027/13.45, allocations: 51.8 kB / 4.854 GB, free: 67.01 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001206/13.45, allocations: 35.94 kB / 4.854 GB, free: 66.97 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.83e-05/13.45, allocations: 12 kB / 4.854 GB, free: 66.96 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.002571/13.45, allocations: 0.6847 MB / 4.855 GB, free: 66.27 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002253/13.45, allocations: 483.3 kB / 4.855 GB, free: 65.79 MB / 0.948 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.001715/13.46, allocations: 1.102 MB / 4.856 GB, free: 64.7 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002392/13.46, allocations: 0.9162 MB / 4.857 GB, free: 63.77 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 7.624e-06/13.46, allocations: 0 / 4.857 GB, free: 63.77 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0006676/13.46, allocations: 206.2 kB / 4.857 GB, free: 63.56 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003338/13.46, allocations: 371.3 kB / 4.858 GB, free: 63.2 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003623/13.47, allocations: 1.402 MB / 4.859 GB, free: 61.74 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009859/13.47, allocations: 1.259 MB / 4.86 GB, free: 60.45 MB / 0.948 GB Notification: Performance of SimCode: time 1.263e-06/13.47, allocations: 0 / 4.86 GB, free: 60.45 MB / 0.948 GB Notification: Performance of Templates: time 0.05881/13.53, allocations: 23.36 MB / 4.883 GB, free: 37.25 MB / 0.948 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.sim & ./Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe 2>&1)