Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.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.SeriesParallelFlowOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised") [: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.056/2.056, allocations: 253.1 MB / 260.4 MB, free: 11.41 MB / 210.8 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001595/0.001595, allocations: 186.1 kB / 319.6 MB, free: 2.094 MB / 242.8 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.916/1.916, allocations: 205.4 MB / 0.5704 GB, free: 8.012 MB / 434.8 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00131/0.001309, allocations: 98.53 kB / 0.6746 GB, free: 21.48 MB / 466.8 MB Notification: Performance of FrontEnd - loaded program: time 1.517e-05/1.538e-05, allocations: 4 kB / 0.7843 GB, free: 5.066 MB / 0.5496 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6469/0.6469, allocations: 106.2 MB / 0.888 GB, free: 64.99 MB / 0.5964 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.936/5.583, allocations: 2.181 GB / 3.069 GB, free: 75.04 MB / 0.8777 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002824/5.584, allocations: 91.98 kB / 3.069 GB, free: 74.99 MB / 0.8777 GB Notification: Performance of FrontEnd: time 8.66/14.24, allocations: 1.913 GB / 4.982 GB, free: 197.9 MB / 0.8777 GB Notification: Performance of Transformations before backend: time 0.0002287/14.24, allocations: 31.75 kB / 4.982 GB, free: 197.9 MB / 0.8777 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 136 * Number of variables: 136 Notification: Performance of Generate backend data structure: time 0.007733/14.25, allocations: 1.343 MB / 4.984 GB, free: 196.5 MB / 0.8777 GB Notification: Performance of prepare preOptimizeDAE: time 4.553e-05/14.25, allocations: 16.02 kB / 4.984 GB, free: 196.5 MB / 0.8777 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00185/14.25, allocations: 210 kB / 4.984 GB, free: 196.3 MB / 0.8777 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007424/14.26, allocations: 1.423 MB / 4.985 GB, free: 194.8 MB / 0.8777 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.264e-05/14.26, allocations: 19.98 kB / 4.985 GB, free: 194.8 MB / 0.8777 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002189/14.26, allocations: 44 kB / 4.985 GB, free: 194.7 MB / 0.8777 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002003/14.26, allocations: 0.7209 MB / 4.986 GB, free: 194 MB / 0.8777 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001797/14.27, allocations: 0.8643 MB / 4.987 GB, free: 193.1 MB / 0.8777 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.919e-05/14.27, allocations: 7.844 kB / 4.987 GB, free: 193.1 MB / 0.8777 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.03e-05/14.27, allocations: 4 kB / 4.987 GB, free: 193.1 MB / 0.8777 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.829e-05/14.27, allocations: 20 kB / 4.987 GB, free: 193 MB / 0.8777 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007343/14.27, allocations: 4.715 MB / 4.991 GB, free: 188 MB / 0.8777 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001241/14.27, allocations: 0.5229 MB / 4.992 GB, free: 187.5 MB / 0.8777 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007809/14.27, allocations: 455.6 kB / 4.992 GB, free: 187.1 MB / 0.8777 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003818/14.28, allocations: 201.9 kB / 4.993 GB, free: 186.8 MB / 0.8777 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005628/14.28, allocations: 301 kB / 4.993 GB, free: 186.5 MB / 0.8777 GB Notification: Performance of pre-optimization done (n=35): time 2.494e-06/14.28, allocations: 0 / 4.993 GB, free: 186.5 MB / 0.8777 GB Notification: Performance of matching and sorting (n=35): time 0.003319/14.28, allocations: 0.9573 MB / 4.994 GB, free: 185.6 MB / 0.8777 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.526e-05/14.28, allocations: 81.11 kB / 4.994 GB, free: 185.5 MB / 0.8777 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001689/14.28, allocations: 0.9139 MB / 4.995 GB, free: 184.5 MB / 0.8777 GB Notification: Performance of collectPreVariables (initialization): time 9.301e-05/14.28, allocations: 33.7 kB / 4.995 GB, free: 184.5 MB / 0.8777 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002928/14.28, allocations: 347.2 kB / 4.995 GB, free: 184.2 MB / 0.8777 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001111/14.28, allocations: 122.3 kB / 4.995 GB, free: 184 MB / 0.8777 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.821e-05/14.28, allocations: 0 / 4.995 GB, free: 184 MB / 0.8777 GB Notification: Performance of setup shared object (initialization): time 7.472e-05/14.28, allocations: 326 kB / 4.996 GB, free: 183.7 MB / 0.8777 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000487/14.28, allocations: 224.9 kB / 4.996 GB, free: 183.5 MB / 0.8777 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007382/14.28, allocations: 0.5498 MB / 4.996 GB, free: 182.8 MB / 0.8777 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006257/14.28, allocations: 329.3 kB / 4.997 GB, free: 182.5 MB / 0.8777 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.11e-06/14.28, allocations: 0 / 4.997 GB, free: 182.5 MB / 0.8777 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.003212/14.29, allocations: 1.083 MB / 4.998 GB, free: 181.4 MB / 0.8777 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004257/14.29, allocations: 2.093 MB / 5 GB, free: 179.2 MB / 0.8777 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.36e-05/14.29, allocations: 8 kB / 5 GB, free: 179.1 MB / 0.8777 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001172/14.29, allocations: 340.4 kB / 5 GB, free: 178.8 MB / 0.8777 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004306/14.29, allocations: 63.91 kB / 5 GB, free: 178.7 MB / 0.8777 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002258/14.29, allocations: 1.352 MB / 5.001 GB, free: 177.4 MB / 0.8777 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001972/14.29, allocations: 111.5 kB / 5.002 GB, free: 177.3 MB / 0.8777 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.093e-05/14.29, allocations: 24 kB / 5.002 GB, free: 177.2 MB / 0.8777 GB Notification: Performance of prepare postOptimizeDAE: time 1.211e-05/14.29, allocations: 8 kB / 5.002 GB, free: 177.2 MB / 0.8777 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002193/14.3, allocations: 0.7493 MB / 5.002 GB, free: 176.5 MB / 0.8777 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.158e-05/14.3, allocations: 11.98 kB / 5.002 GB, free: 176.5 MB / 0.8777 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0014/14.3, allocations: 316.7 kB / 5.003 GB, free: 176.2 MB / 0.8777 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004031/14.3, allocations: 63.84 kB / 5.003 GB, free: 176.1 MB / 0.8777 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00662/14.3, allocations: 3.434 MB / 5.006 GB, free: 172.5 MB / 0.8777 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001876/14.31, allocations: 103.6 kB / 5.006 GB, free: 172.4 MB / 0.8777 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.281e-05/14.31, allocations: 31.98 kB / 5.006 GB, free: 172.4 MB / 0.8777 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_m_flow.T_start,pulse_m_flow.T_start,$PRE.pulse_m_flow.count,pulse_m_flow.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 {2 22} Notification: Performance of prepare postOptimizeDAE: time 0.0002268/14.31, allocations: 124.4 kB / 5.006 GB, free: 172.3 MB / 0.8777 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002082/14.31, allocations: 98.78 kB / 5.006 GB, free: 172.2 MB / 0.8777 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002331/14.31, allocations: 0.8506 MB / 5.007 GB, free: 171.3 MB / 0.8777 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.526e-06/14.31, allocations: 4 kB / 5.007 GB, free: 171.3 MB / 0.8777 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/14.31, allocations: 3.984 kB / 5.007 GB, free: 171.3 MB / 0.8777 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.494e-06/14.31, allocations: 3.938 kB / 5.007 GB, free: 171.3 MB / 0.8777 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004252/14.31, allocations: 1.776 MB / 5.009 GB, free: 169.5 MB / 0.8777 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.366e-06/14.31, allocations: 4 kB / 5.009 GB, free: 169.5 MB / 0.8777 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002179/14.31, allocations: 27.92 kB / 5.009 GB, free: 169.5 MB / 0.8777 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001028/14.31, allocations: 292.8 kB / 5.009 GB, free: 169.2 MB / 0.8777 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.955e-05/14.31, allocations: 8 kB / 5.009 GB, free: 169.2 MB / 0.8777 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0017/14.32, allocations: 1.201 MB / 5.01 GB, free: 168 MB / 0.8777 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.201e-06/14.32, allocations: 3.938 kB / 5.01 GB, free: 167.9 MB / 0.8777 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002169/14.32, allocations: 1.041 MB / 5.011 GB, free: 166.8 MB / 0.8777 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006456/14.32, allocations: 235.7 kB / 5.012 GB, free: 166.6 MB / 0.8777 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002164/14.32, allocations: 7.984 kB / 5.012 GB, free: 166.6 MB / 0.8777 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00136/14.32, allocations: 79.75 kB / 5.012 GB, free: 166.5 MB / 0.8777 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001251/14.32, allocations: 27.91 kB / 5.012 GB, free: 166.5 MB / 0.8777 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.123e-05/14.32, allocations: 15.98 kB / 5.012 GB, free: 166.5 MB / 0.8777 GB Notification: Performance of sort global known variables: time 0.001317/14.32, allocations: 0.7139 MB / 5.012 GB, free: 165.7 MB / 0.8777 GB Notification: Performance of remove unused functions: time 0.002448/14.32, allocations: 0.5656 MB / 5.013 GB, free: 165.2 MB / 0.8777 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_m_flow.T_start,pulse_m_flow.count) * Number of discrete states: 1 (pulse_m_flow.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 {2 22} Notification: Performance of Backend phase and start with SimCode phase: time 0.002009/14.33, allocations: 1.203 MB / 5.014 GB, free: 164.1 MB / 0.8777 GB Notification: Performance of simCode: created initialization part: time 0.002805/14.33, allocations: 1.077 MB / 5.015 GB, free: 163 MB / 0.8777 GB Notification: Performance of simCode: created event and clocks part: time 5.1e-06/14.33, allocations: 0 / 5.015 GB, free: 163 MB / 0.8777 GB Notification: Performance of simCode: created simulation system equations: time 0.0007822/14.33, allocations: 273.1 kB / 5.016 GB, free: 162.7 MB / 0.8777 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005706/14.34, allocations: 0.5646 MB / 5.016 GB, free: 162.2 MB / 0.8777 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003682/14.34, allocations: 1.487 MB / 5.018 GB, free: 160.6 MB / 0.8777 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001042/14.34, allocations: 1.296 MB / 5.019 GB, free: 159.3 MB / 0.8777 GB Notification: Performance of SimCode: time 1.693e-06/14.34, allocations: 0 / 5.019 GB, free: 159.3 MB / 0.8777 GB Notification: Performance of Templates: time 0.06743/14.41, allocations: 27.36 MB / 5.046 GB, free: 132.3 MB / 0.8777 GB