Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.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.Movers.Examples.SpeedControlled_y_pumpCurves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves") translateModel(Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves") [: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.291/2.291, allocations: 284.9 MB / 292.2 MB, free: 1.473 MB / 227.1 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001654/0.001654, allocations: 186.5 kB / 360.4 MB, free: 15.61 MB / 291.1 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.824/1.824, allocations: 205.1 MB / 0.6188 GB, free: 6.621 MB / 467.1 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001397/0.001397, allocations: 91.59 kB / 0.7318 GB, free: 46.94 MB / 0.5186 GB Notification: Performance of FrontEnd - loaded program: time 1.165e-05/1.179e-05, allocations: 0 / 0.8502 GB, free: 13.71 MB / 0.5967 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6532/0.6532, allocations: 115.2 MB / 0.9628 GB, free: 86.38 MB / 0.6749 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.096/1.749, allocations: 442 MB / 1.394 GB, free: 144.9 MB / 0.8624 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002656/1.749, allocations: 90.94 kB / 1.395 GB, free: 144.9 MB / 0.8624 GB Notification: Performance of FrontEnd: time 6.788/8.537, allocations: 1.44 GB / 2.834 GB, free: 90.11 MB / 1.003 GB Notification: Performance of Transformations before backend: time 0.0008836/8.538, allocations: 105.5 kB / 2.835 GB, free: 90.09 MB / 1.003 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 529 * Number of variables: 529 Notification: Performance of Generate backend data structure: time 0.0135/8.552, allocations: 3.714 MB / 2.838 GB, free: 88.55 MB / 1.003 GB Notification: Performance of prepare preOptimizeDAE: time 4.52e-05/8.552, allocations: 12.56 kB / 2.838 GB, free: 88.55 MB / 1.003 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01203/8.564, allocations: 1.209 MB / 2.839 GB, free: 88.31 MB / 1.003 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1056/8.67, allocations: 28.57 MB / 2.867 GB, free: 86.62 MB / 1.003 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002116/8.67, allocations: 69.81 kB / 2.867 GB, free: 86.62 MB / 1.003 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001195/8.671, allocations: 144.1 kB / 2.867 GB, free: 86.62 MB / 1.003 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.007467/8.678, allocations: 1.921 MB / 2.869 GB, free: 86.6 MB / 1.003 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008288/8.687, allocations: 2.292 MB / 2.872 GB, free: 86.25 MB / 1.003 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.903e-05/8.687, allocations: 4.75 kB / 2.872 GB, free: 86.25 MB / 1.003 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003778/8.687, allocations: 3.875 kB / 2.872 GB, free: 86.25 MB / 1.003 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.761e-05/8.687, allocations: 53.28 kB / 2.872 GB, free: 86.25 MB / 1.003 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02911/8.717, allocations: 12.07 MB / 2.883 GB, free: 80.25 MB / 1.003 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004897/8.721, allocations: 1.956 MB / 2.885 GB, free: 80.21 MB / 1.003 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002032/8.724, allocations: 0.8383 MB / 2.886 GB, free: 80.2 MB / 1.003 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01193/8.736, allocations: 3.973 MB / 2.89 GB, free: 78.32 MB / 1.003 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.865e-05/8.736, allocations: 49.42 kB / 2.89 GB, free: 78.28 MB / 1.003 GB Notification: Performance of pre-optimization done (n=119): time 4.258e-06/8.736, allocations: 0 / 2.89 GB, free: 78.28 MB / 1.003 GB Notification: Performance of matching and sorting (n=119): time 0.01339/8.749, allocations: 2.807 MB / 2.893 GB, free: 77.97 MB / 1.003 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.844e-05/8.749, allocations: 66.62 kB / 2.893 GB, free: 77.91 MB / 1.003 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006869/8.756, allocations: 2.596 MB / 2.895 GB, free: 77.61 MB / 1.003 GB Notification: Performance of collectPreVariables (initialization): time 0.0006989/8.757, allocations: 28.55 kB / 2.895 GB, free: 77.58 MB / 1.003 GB Notification: Performance of collectInitialEqns (initialization): time 0.001064/8.758, allocations: 1.042 MB / 2.896 GB, free: 77.07 MB / 1.003 GB Notification: Performance of collectInitialBindings (initialization): time 0.001026/8.759, allocations: 391.7 kB / 2.897 GB, free: 76.81 MB / 1.003 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002187/8.759, allocations: 0 / 2.897 GB, free: 76.81 MB / 1.003 GB Notification: Performance of setup shared object (initialization): time 0.0001725/8.759, allocations: 381.3 kB / 2.897 GB, free: 76.51 MB / 1.003 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00215/8.761, allocations: 0.8432 MB / 2.898 GB, free: 76.5 MB / 1.003 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002918/8.764, allocations: 1.628 MB / 2.9 GB, free: 75.55 MB / 1.003 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006277/8.771, allocations: 1.274 MB / 2.901 GB, free: 75.53 MB / 1.003 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.681e-05/8.771, allocations: 7.625 kB / 2.901 GB, free: 75.53 MB / 1.003 GB Notification: Performance of matching and sorting (n=247) (initialization): time 0.0135/8.784, allocations: 3.377 MB / 2.904 GB, free: 75.21 MB / 1.003 GB Notification: Performance of prepare postOptimizeDAE: time 0.001847/8.786, allocations: 8.047 MB / 2.912 GB, free: 66.88 MB / 1.003 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.96e-05/8.786, allocations: 18.41 kB / 2.912 GB, free: 66.88 MB / 1.003 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003682/8.79, allocations: 0.8772 MB / 2.913 GB, free: 66.81 MB / 1.003 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003679/8.794, allocations: 399.3 kB / 2.913 GB, free: 66.81 MB / 1.003 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008122/8.802, allocations: 5.946 MB / 2.919 GB, free: 62.65 MB / 1.003 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005949/8.808, allocations: 310.7 kB / 2.919 GB, free: 62.54 MB / 1.003 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001025/8.809, allocations: 178.2 kB / 2.92 GB, free: 62.54 MB / 1.003 GB Notification: Performance of prepare postOptimizeDAE: time 1.704e-05/8.809, allocations: 6.812 kB / 2.92 GB, free: 62.54 MB / 1.003 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01392/8.823, allocations: 2.826 MB / 2.922 GB, free: 62.43 MB / 1.003 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.819e-05/8.823, allocations: 17.62 kB / 2.922 GB, free: 62.43 MB / 1.003 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004834/8.828, allocations: 1.03 MB / 2.923 GB, free: 62.36 MB / 1.003 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003109/8.831, allocations: 373.8 kB / 2.924 GB, free: 62.36 MB / 1.003 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03031/8.861, allocations: 13.88 MB / 2.937 GB, free: 54.68 MB / 1.003 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005299/8.867, allocations: 256.6 kB / 2.938 GB, free: 54.61 MB / 1.003 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008821/8.868, allocations: 158.2 kB / 2.938 GB, free: 54.61 MB / 1.003 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: pum3.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: pum2.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: pum1.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: pum.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 81 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (191): * Single equations (assignments): 179 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 8 {1 4,1 5,1 4,1 5,1 4,1 5,1 4,1 5} Notification: Performance of prepare postOptimizeDAE: time 0.001183/8.869, allocations: 174.1 kB / 2.938 GB, free: 54.48 MB / 1.003 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00123/8.87, allocations: 343.6 kB / 2.938 GB, free: 54.3 MB / 1.003 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01416/8.884, allocations: 2.961 MB / 2.941 GB, free: 54.09 MB / 1.003 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.339e-05/8.884, allocations: 19.38 kB / 2.941 GB, free: 54.09 MB / 1.003 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.062e-05/8.884, allocations: 3.906 kB / 2.941 GB, free: 54.09 MB / 1.003 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.671e-05/8.884, allocations: 7.875 kB / 2.941 GB, free: 54.09 MB / 1.003 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02003/8.905, allocations: 4.846 MB / 2.946 GB, free: 53.58 MB / 1.003 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.836e-05/8.905, allocations: 0 / 2.946 GB, free: 53.58 MB / 1.003 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002439/8.907, allocations: 221.2 kB / 2.946 GB, free: 53.58 MB / 1.003 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002191/8.909, allocations: 0.5656 MB / 2.947 GB, free: 53.52 MB / 1.003 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003527/8.91, allocations: 31.89 kB / 2.947 GB, free: 53.52 MB / 1.003 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005266/8.915, allocations: 5.194 MB / 2.952 GB, free: 49.35 MB / 1.003 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.006e-05/8.915, allocations: 2.281 kB / 2.952 GB, free: 49.35 MB / 1.003 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01104/8.926, allocations: 2.673 MB / 2.954 GB, free: 48.71 MB / 1.003 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002679/8.929, allocations: 0.6178 MB / 2.955 GB, free: 48.4 MB / 1.003 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001372/8.93, allocations: 0 / 2.955 GB, free: 48.4 MB / 1.003 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00492/8.935, allocations: 188 kB / 2.955 GB, free: 48.39 MB / 1.003 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004207/8.936, allocations: 90.36 kB / 2.955 GB, free: 48.39 MB / 1.003 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003195/8.936, allocations: 81.62 kB / 2.955 GB, free: 48.39 MB / 1.003 GB Notification: Performance of sort global known variables: time 0.005479/8.941, allocations: 1.941 MB / 2.957 GB, free: 48.21 MB / 1.003 GB Notification: Performance of remove unused functions: time 0.01261/8.954, allocations: 1.906 MB / 2.959 GB, free: 47.92 MB / 1.003 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (109): * Single equations (assignments): 91 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 8 {1 4,1 4,1 4,1 4,1 6,1 6,1 6,1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.005977/8.96, allocations: 2.315 MB / 2.961 GB, free: 47.27 MB / 1.003 GB Notification: Performance of simCode: created initialization part: time 0.01097/8.971, allocations: 3.914 MB / 2.965 GB, free: 46.8 MB / 1.003 GB Notification: Performance of simCode: created event and clocks part: time 8.316e-06/8.971, allocations: 4.469 kB / 2.965 GB, free: 46.8 MB / 1.003 GB Notification: Performance of simCode: created simulation system equations: time 0.002712/8.974, allocations: 0.8589 MB / 2.966 GB, free: 46.79 MB / 1.003 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01304/8.987, allocations: 1.512 MB / 2.967 GB, free: 46.76 MB / 1.003 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01674/9.004, allocations: 4.727 MB / 2.972 GB, free: 45.57 MB / 1.003 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004011/9.008, allocations: 2.612 MB / 2.975 GB, free: 44.8 MB / 1.003 GB Notification: Performance of SimCode: time 1.273e-06/9.008, allocations: 0 / 2.975 GB, free: 44.8 MB / 1.003 GB Notification: Performance of Templates: time 0.2342/9.242, allocations: 91.35 MB / 3.064 GB, free: 15.79 MB / 1.003 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.sim & ./Buildings_8.0.0_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.pipe 2>&1)