Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.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.SeriesFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow") [: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.472/2.472, allocations: 253.1 MB / 260.4 MB, free: 7.539 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.001712/0.001711, allocations: 173.3 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.813/1.813, 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.001326/0.001326, allocations: 91.33 kB / 0.6746 GB, free: 4.438 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 9.157e-06/9.327e-06, allocations: 0 / 0.7843 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.21/0.21, allocations: 106.2 MB / 0.888 GB, free: 12.21 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.396/5.606, allocations: 2.182 GB / 3.07 GB, free: 177.2 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002824/5.606, allocations: 89.44 kB / 3.07 GB, free: 177.1 MB / 0.8698 GB Notification: Performance of FrontEnd: time 4.441/10.05, allocations: 0.9279 GB / 3.998 GB, free: 238.1 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0001601/10.05, allocations: 27.22 kB / 3.998 GB, free: 238.1 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: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.003531/10.05, allocations: 1.126 MB / 3.999 GB, free: 237.5 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.693e-05/10.05, allocations: 8.812 kB / 3.999 GB, free: 237.5 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001515/10.05, allocations: 190 kB / 3.999 GB, free: 237.4 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004753/10.06, allocations: 1.098 MB / 4 GB, free: 236.9 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.425e-05/10.06, allocations: 15.34 kB / 4 GB, free: 236.9 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000147/10.06, allocations: 38 kB / 4 GB, free: 236.9 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001499/10.06, allocations: 490.3 kB / 4.001 GB, free: 236.8 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001642/10.06, allocations: 0.6846 MB / 4.001 GB, free: 236.4 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.85e-05/10.06, allocations: 5 kB / 4.001 GB, free: 236.4 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.677e-05/10.06, allocations: 7.156 kB / 4.001 GB, free: 236.4 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.405e-05/10.06, allocations: 17.62 kB / 4.001 GB, free: 236.4 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006931/10.07, allocations: 4.67 MB / 4.006 GB, free: 232.6 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00119/10.07, allocations: 452.8 kB / 4.006 GB, free: 232.4 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005934/10.07, allocations: 250.8 kB / 4.007 GB, free: 232.4 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004168/10.07, allocations: 194.1 kB / 4.007 GB, free: 232.2 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005818/10.07, allocations: 262.2 kB / 4.007 GB, free: 232.1 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=31): time 4.107e-06/10.07, allocations: 2.344 kB / 4.007 GB, free: 232.1 MB / 0.8698 GB Notification: Performance of matching and sorting (n=31): time 0.00193/10.07, allocations: 0.4923 MB / 4.008 GB, free: 231.9 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.079e-05/10.07, allocations: 85.92 kB / 4.008 GB, free: 231.8 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002028/10.07, allocations: 0.8753 MB / 4.008 GB, free: 231.5 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001478/10.07, allocations: 29.08 kB / 4.008 GB, free: 231.4 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003726/10.08, allocations: 339 kB / 4.009 GB, free: 231.2 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001366/10.08, allocations: 112 kB / 4.009 GB, free: 231.2 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.394e-05/10.08, allocations: 0 / 4.009 GB, free: 231.2 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 8.401e-05/10.08, allocations: 329.7 kB / 4.009 GB, free: 230.8 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005317/10.08, allocations: 187.2 kB / 4.009 GB, free: 230.8 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007754/10.08, allocations: 0.5076 MB / 4.01 GB, free: 230.3 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006808/10.08, allocations: 276.7 kB / 4.01 GB, free: 230.3 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.532e-06/10.08, allocations: 1.375 kB / 4.01 GB, free: 230.3 MB / 0.8698 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001872/10.08, allocations: 0.6292 MB / 4.011 GB, free: 230.1 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004465/10.08, allocations: 2.096 MB / 4.013 GB, free: 227.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.753e-05/10.08, allocations: 6.406 kB / 4.013 GB, free: 227.8 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.532e-05/10.08, allocations: 7.844 kB / 4.013 GB, free: 227.8 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003722/10.08, allocations: 284.4 kB / 4.013 GB, free: 227.8 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00456/10.09, allocations: 6.235 MB / 4.019 GB, free: 221.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001742/10.09, allocations: 84.59 kB / 4.019 GB, free: 221.8 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001147/10.09, allocations: 26.36 kB / 4.019 GB, free: 221.8 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.351e-05/10.09, allocations: 7.344 kB / 4.019 GB, free: 221.8 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001161/10.09, allocations: 417.4 kB / 4.02 GB, free: 221.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.125e-05/10.09, allocations: 8.531 kB / 4.02 GB, free: 221.7 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.076e-05/10.09, allocations: 12.97 kB / 4.02 GB, free: 221.7 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001187/10.09, allocations: 153.6 kB / 4.02 GB, free: 221.7 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.491e-05/10.09, allocations: 9.625 kB / 4.02 GB, free: 221.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00153/10.09, allocations: 74.47 kB / 4.02 GB, free: 221.7 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.067e-05/10.09, allocations: 23.19 kB / 4.02 GB, free: 221.7 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 (53): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 10 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 10 {1,1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002706/10.09, allocations: 133.5 kB / 4.02 GB, free: 221.5 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002333/10.09, allocations: 93.05 kB / 4.02 GB, free: 221.5 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001419/10.1, allocations: 463.2 kB / 4.021 GB, free: 221.3 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.024e-05/10.1, allocations: 4.844 kB / 4.021 GB, free: 221.3 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.544e-06/10.1, allocations: 4.781 kB / 4.021 GB, free: 221.3 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.267e-06/10.1, allocations: 1.594 kB / 4.021 GB, free: 221.3 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003648/10.1, allocations: 1.271 MB / 4.022 GB, free: 220.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.101e-05/10.1, allocations: 6.062 kB / 4.022 GB, free: 220.7 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001435/10.1, allocations: 155.7 kB / 4.022 GB, free: 220.7 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.469e-05/10.1, allocations: 4 kB / 4.022 GB, free: 220.7 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.99e-05/10.1, allocations: 12.92 kB / 4.022 GB, free: 220.7 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003121/10.1, allocations: 6.076 MB / 4.028 GB, free: 214.7 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.727e-06/10.1, allocations: 3.094 kB / 4.028 GB, free: 214.7 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001327/10.11, allocations: 0.6429 MB / 4.029 GB, free: 214.3 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006337/10.11, allocations: 210 kB / 4.029 GB, free: 214.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002088/10.11, allocations: 4.578 kB / 4.029 GB, free: 214.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009986/10.11, allocations: 56.16 kB / 4.029 GB, free: 214.1 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001329/10.11, allocations: 26.72 kB / 4.029 GB, free: 214.1 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.072e-05/10.11, allocations: 12.41 kB / 4.029 GB, free: 214.1 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.00158/10.11, allocations: 0.6815 MB / 4.03 GB, free: 213.8 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.002526/10.11, allocations: 451.8 kB / 4.03 GB, free: 213.8 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 (31): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 10 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 10 {1,1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002119/10.11, allocations: 1.051 MB / 4.031 GB, free: 213.5 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.005971/10.12, allocations: 0.9555 MB / 4.032 GB, free: 213.2 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 7.684e-06/10.12, allocations: 1.062 kB / 4.032 GB, free: 213.2 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.00167/10.12, allocations: 290.1 kB / 4.032 GB, free: 213.2 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003985/10.13, allocations: 375 kB / 4.033 GB, free: 213.1 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004487/10.13, allocations: 1.378 MB / 4.034 GB, free: 212.6 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001454/10.13, allocations: 1.263 MB / 4.035 GB, free: 211.9 MB / 0.8698 GB Notification: Performance of SimCode: time 1.443e-06/10.13, allocations: 0 / 4.035 GB, free: 211.9 MB / 0.8698 GB Notification: Performance of Templates: time 0.06178/10.19, allocations: 21.93 MB / 4.057 GB, free: 195.7 MB / 0.8698 GB