Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp.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.SeriesDp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp") [: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.189/2.189, allocations: 253.1 MB / 260.4 MB, free: 7.594 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.001677/0.001677, allocations: 181.3 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.864/1.864, allocations: 205.4 MB / 0.5704 GB, free: 15.05 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.001322/0.001321, allocations: 94.7 kB / 0.6746 GB, free: 4.426 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 8.756e-06/8.776e-06, allocations: 0 / 0.7843 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2149/0.2149, allocations: 106.3 MB / 0.8881 GB, free: 12.19 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.364/5.579, allocations: 2.184 GB / 3.072 GB, free: 178.2 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002928/5.579, allocations: 91.64 kB / 3.073 GB, free: 178.2 MB / 0.8698 GB Notification: Performance of FrontEnd: time 4.366/9.945, allocations: 0.9396 GB / 4.012 GB, free: 235.3 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0001615/9.945, allocations: 36.3 kB / 4.012 GB, free: 235.3 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.003524/9.949, allocations: 1.131 MB / 4.013 GB, free: 234.6 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.014e-05/9.949, allocations: 12.75 kB / 4.013 GB, free: 234.6 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001603/9.95, allocations: 187 kB / 4.013 GB, free: 234.5 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00489/9.955, allocations: 1.12 MB / 4.015 GB, free: 234.1 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.674e-05/9.955, allocations: 18.88 kB / 4.015 GB, free: 234.1 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001756/9.956, allocations: 36.34 kB / 4.015 GB, free: 234.1 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001483/9.957, allocations: 489.5 kB / 4.015 GB, free: 233.9 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001633/9.959, allocations: 0.6868 MB / 4.016 GB, free: 233.6 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.932e-05/9.959, allocations: 6.281 kB / 4.016 GB, free: 233.6 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.406e-05/9.959, allocations: 3.344 kB / 4.016 GB, free: 233.6 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.114e-05/9.959, allocations: 13.03 kB / 4.016 GB, free: 233.6 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006737/9.966, allocations: 4.671 MB / 4.02 GB, free: 229.4 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001035/9.967, allocations: 437.3 kB / 4.021 GB, free: 229.2 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005431/9.967, allocations: 246.6 kB / 4.021 GB, free: 229.1 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004352/9.968, allocations: 199.8 kB / 4.021 GB, free: 228.9 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005478/9.968, allocations: 257.1 kB / 4.021 GB, free: 228.7 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=31): time 3.877e-06/9.968, allocations: 224 / 4.021 GB, free: 228.7 MB / 0.8698 GB Notification: Performance of matching and sorting (n=31): time 0.003153/9.971, allocations: 0.7616 MB / 4.022 GB, free: 228.3 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.424e-05/9.972, allocations: 88.91 kB / 4.022 GB, free: 228.2 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002095/9.974, allocations: 0.881 MB / 4.023 GB, free: 227.8 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001569/9.974, allocations: 28.42 kB / 4.023 GB, free: 227.7 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003272/9.974, allocations: 331.1 kB / 4.023 GB, free: 227.5 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001285/9.974, allocations: 106.7 kB / 4.024 GB, free: 227.4 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.389e-05/9.974, allocations: 0 / 4.024 GB, free: 227.4 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 7.888e-05/9.974, allocations: 331.7 kB / 4.024 GB, free: 227.1 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000495/9.975, allocations: 189.8 kB / 4.024 GB, free: 227 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007692/9.976, allocations: 0.5099 MB / 4.025 GB, free: 226.5 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006351/9.976, allocations: 282.7 kB / 4.025 GB, free: 226.3 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.993e-06/9.976, allocations: 2 kB / 4.025 GB, free: 226.3 MB / 0.8698 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.00311/9.98, allocations: 0.882 MB / 4.026 GB, free: 225.9 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005003/9.98, allocations: 2.104 MB / 4.028 GB, free: 223.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.996e-05/9.98, allocations: 5.25 kB / 4.028 GB, free: 223.7 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009083/9.981, allocations: 252.6 kB / 4.028 GB, free: 223.6 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005034/9.982, allocations: 66.59 kB / 4.028 GB, free: 223.6 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003089/9.985, allocations: 1.236 MB / 4.029 GB, free: 222.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001708/9.986, allocations: 83.38 kB / 4.029 GB, free: 222.7 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001252/9.987, allocations: 28.83 kB / 4.029 GB, free: 222.7 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.434e-05/9.987, allocations: 4.562 kB / 4.029 GB, free: 222.7 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00196/9.989, allocations: 0.5784 MB / 4.03 GB, free: 222.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.588e-05/9.989, allocations: 4.812 kB / 4.03 GB, free: 222.4 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001058/9.99, allocations: 221.3 kB / 4.03 GB, free: 222.3 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004579/9.99, allocations: 60.03 kB / 4.03 GB, free: 222.3 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00539/9.996, allocations: 2.75 MB / 4.033 GB, free: 220.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001568/9.997, allocations: 82.03 kB / 4.033 GB, free: 220.2 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.388e-05/9.997, allocations: 23.56 kB / 4.033 GB, free: 220.2 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 {9 11} Notification: Performance of prepare postOptimizeDAE: time 0.0002457/9.998, allocations: 128.3 kB / 4.033 GB, free: 220.1 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002336/9.998, allocations: 92.09 kB / 4.033 GB, free: 220 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002/10, allocations: 0.6582 MB / 4.034 GB, free: 219.7 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.259e-05/10, allocations: 7.812 kB / 4.034 GB, free: 219.7 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/10, allocations: 0 / 4.034 GB, free: 219.7 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.876e-06/10, allocations: 0.9062 kB / 4.034 GB, free: 219.7 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004084/10, allocations: 1.476 MB / 4.035 GB, free: 218.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.015e-05/10, allocations: 8.875 kB / 4.035 GB, free: 218.7 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002385/10, allocations: 27.14 kB / 4.035 GB, free: 218.7 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006823/10.01, allocations: 221.2 kB / 4.036 GB, free: 218.6 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.003e-05/10.01, allocations: 7.781 kB / 4.036 GB, free: 218.6 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001933/10.01, allocations: 1.092 MB / 4.037 GB, free: 217.8 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.064e-05/10.01, allocations: 6.094 kB / 4.037 GB, free: 217.8 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002053/10.01, allocations: 0.8534 MB / 4.037 GB, free: 217.2 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007764/10.01, allocations: 210.4 kB / 4.038 GB, free: 217.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002246/10.01, allocations: 3.625 kB / 4.038 GB, free: 217.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001077/10.01, allocations: 51.77 kB / 4.038 GB, free: 217 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001392/10.01, allocations: 38.7 kB / 4.038 GB, free: 217 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.7e-05/10.01, allocations: 12.75 kB / 4.038 GB, free: 217 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.001581/10.01, allocations: 0.6833 MB / 4.038 GB, free: 216.7 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.002869/10.02, allocations: 480 kB / 4.039 GB, free: 216.6 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 {9 11} Notification: Performance of Backend phase and start with SimCode phase: time 0.002162/10.02, allocations: 1.096 MB / 4.04 GB, free: 216.2 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.003834/10.02, allocations: 1.042 MB / 4.041 GB, free: 215.1 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 6.261e-06/10.02, allocations: 0 / 4.041 GB, free: 215.1 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0009899/10.02, allocations: 263.9 kB / 4.041 GB, free: 214.9 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003498/10.03, allocations: 378.4 kB / 4.042 GB, free: 214.5 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003737/10.03, allocations: 1.385 MB / 4.043 GB, free: 213.1 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001005/10.03, allocations: 1.262 MB / 4.044 GB, free: 211.8 MB / 0.8698 GB Notification: Performance of SimCode: time 1.082e-06/10.03, allocations: 0 / 4.044 GB, free: 211.8 MB / 0.8698 GB Notification: Performance of Templates: time 0.05832/10.09, allocations: 23.03 MB / 4.067 GB, free: 189.1 MB / 0.8698 GB