Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.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.SeriesParallelDp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp") [: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.106/2.106, allocations: 253.1 MB / 260.4 MB, free: 7.488 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.001634/0.001633, allocations: 173.3 kB / 319.6 MB, free: 3.312 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.771/1.771, allocations: 205.4 MB / 0.5704 GB, free: 15.12 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.001357/0.001356, allocations: 98.69 kB / 0.6746 GB, free: 4.5 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.439e-05/1.452e-05, allocations: 4 kB / 0.7843 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2417/0.2417, allocations: 106.3 MB / 0.888 GB, free: 12.21 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.512/5.754, allocations: 2.184 GB / 3.073 GB, free: 173.5 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002842/5.754, allocations: 85.08 kB / 3.073 GB, free: 173.5 MB / 0.8698 GB Notification: Performance of FrontEnd: time 4.623/10.38, allocations: 1.044 GB / 4.116 GB, free: 132.1 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0002072/10.38, allocations: 32.84 kB / 4.116 GB, free: 132.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: 135 * Number of variables: 135 Notification: Performance of Generate backend data structure: time 0.007628/10.38, allocations: 1.344 MB / 4.118 GB, free: 130.7 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.356e-05/10.38, allocations: 12.03 kB / 4.118 GB, free: 130.7 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00174/10.39, allocations: 202.3 kB / 4.118 GB, free: 130.5 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006946/10.39, allocations: 1.452 MB / 4.119 GB, free: 129 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.973e-05/10.39, allocations: 19.91 kB / 4.119 GB, free: 129 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001983/10.39, allocations: 40 kB / 4.119 GB, free: 128.9 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001923/10.4, allocations: 0.7248 MB / 4.12 GB, free: 128.2 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001756/10.4, allocations: 0.8684 MB / 4.121 GB, free: 127.3 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.578e-05/10.4, allocations: 0 / 4.121 GB, free: 127.3 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.528e-05/10.4, allocations: 7.938 kB / 4.121 GB, free: 127.2 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.731e-05/10.4, allocations: 16 kB / 4.121 GB, free: 127.2 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006543/10.4, allocations: 4.697 MB / 4.125 GB, free: 122.2 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001241/10.41, allocations: 0.5165 MB / 4.126 GB, free: 121.7 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007529/10.41, allocations: 435.5 kB / 4.126 GB, free: 121.3 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003829/10.41, allocations: 196.9 kB / 4.127 GB, free: 121.1 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000569/10.41, allocations: 305 kB / 4.127 GB, free: 120.8 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=35): time 3.457e-06/10.41, allocations: 0 / 4.127 GB, free: 120.8 MB / 0.8698 GB Notification: Performance of matching and sorting (n=35): time 0.003384/10.41, allocations: 0.8754 MB / 4.128 GB, free: 119.9 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.683e-05/10.41, allocations: 85.09 kB / 4.128 GB, free: 119.8 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001886/10.41, allocations: 0.9298 MB / 4.129 GB, free: 118.8 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.000136/10.41, allocations: 29.7 kB / 4.129 GB, free: 118.8 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.000303/10.41, allocations: 352.3 kB / 4.129 GB, free: 118.5 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001204/10.41, allocations: 114.3 kB / 4.129 GB, free: 118.3 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.756e-05/10.41, allocations: 0 / 4.129 GB, free: 118.3 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 6.894e-05/10.41, allocations: 329.9 kB / 4.13 GB, free: 118 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004944/10.41, allocations: 224.8 kB / 4.13 GB, free: 117.8 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007134/10.41, allocations: 0.542 MB / 4.13 GB, free: 117.1 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006318/10.41, allocations: 321.5 kB / 4.131 GB, free: 116.8 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.971e-06/10.42, allocations: 0 / 4.131 GB, free: 116.8 MB / 0.8698 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.00325/10.42, allocations: 1.011 MB / 4.132 GB, free: 115.8 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.000412/10.42, allocations: 2.092 MB / 4.134 GB, free: 113.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.547e-05/10.42, allocations: 19.92 kB / 4.134 GB, free: 113.5 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001012/10.42, allocations: 305.4 kB / 4.134 GB, free: 113.2 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006295/10.42, allocations: 71.83 kB / 4.134 GB, free: 113.1 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003245/10.42, allocations: 1.298 MB / 4.135 GB, free: 111.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002025/10.43, allocations: 111.5 kB / 4.135 GB, free: 111.7 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.602e-05/10.43, allocations: 24 kB / 4.135 GB, free: 111.7 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.145e-05/10.43, allocations: 4 kB / 4.135 GB, free: 111.7 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002157/10.43, allocations: 0.6995 MB / 4.136 GB, free: 111 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.038e-05/10.43, allocations: 8 kB / 4.136 GB, free: 111 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001065/10.43, allocations: 241 kB / 4.136 GB, free: 110.7 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005946/10.43, allocations: 75.89 kB / 4.136 GB, free: 110.7 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005951/10.44, allocations: 2.939 MB / 4.139 GB, free: 107.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001878/10.44, allocations: 100 kB / 4.139 GB, free: 107.5 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.996e-05/10.44, allocations: 28 kB / 4.139 GB, free: 107.5 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_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 (35): * Single equations (assignments): 33 * 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 {11 12} Notification: Performance of prepare postOptimizeDAE: time 0.0002234/10.44, allocations: 125.9 kB / 4.139 GB, free: 107.4 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001837/10.44, allocations: 98.78 kB / 4.14 GB, free: 107.3 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002179/10.44, allocations: 0.787 MB / 4.14 GB, free: 106.5 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.476e-06/10.44, allocations: 4 kB / 4.14 GB, free: 106.5 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.908e-06/10.44, allocations: 4 kB / 4.14 GB, free: 106.5 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.424e-06/10.44, allocations: 0 / 4.14 GB, free: 106.5 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003981/10.44, allocations: 1.725 MB / 4.142 GB, free: 104.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.665e-06/10.44, allocations: 4 kB / 4.142 GB, free: 104.7 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000411/10.44, allocations: 31.97 kB / 4.142 GB, free: 104.6 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007763/10.45, allocations: 260.9 kB / 4.142 GB, free: 104.4 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.019e-05/10.45, allocations: 4 kB / 4.142 GB, free: 104.4 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001939/10.45, allocations: 1.146 MB / 4.143 GB, free: 103.2 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.885e-06/10.45, allocations: 4 kB / 4.143 GB, free: 103.2 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002037/10.45, allocations: 0.9673 MB / 4.144 GB, free: 102.2 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006946/10.45, allocations: 227.8 kB / 4.145 GB, free: 101.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002126/10.45, allocations: 4 kB / 4.145 GB, free: 101.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001428/10.45, allocations: 87.66 kB / 4.145 GB, free: 101.8 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001296/10.45, allocations: 27.95 kB / 4.145 GB, free: 101.8 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.204e-05/10.45, allocations: 12 kB / 4.145 GB, free: 101.8 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.001396/10.45, allocations: 0.7219 MB / 4.145 GB, free: 101.1 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.002555/10.46, allocations: 0.5461 MB / 4.146 GB, free: 100.5 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_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 (13): * Single equations (assignments): 10 * 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 {11 12} Notification: Performance of Backend phase and start with SimCode phase: time 0.001961/10.46, allocations: 1.285 MB / 4.147 GB, free: 99.23 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0039/10.46, allocations: 1.142 MB / 4.148 GB, free: 98.07 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 7.213e-06/10.46, allocations: 0 / 4.148 GB, free: 98.07 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0009809/10.46, allocations: 304.3 kB / 4.149 GB, free: 97.77 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0059/10.47, allocations: 0.5719 MB / 4.149 GB, free: 97.2 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003845/10.47, allocations: 1.494 MB / 4.151 GB, free: 95.65 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001068/10.47, allocations: 1.296 MB / 4.152 GB, free: 94.32 MB / 0.8698 GB Notification: Performance of SimCode: time 1.253e-06/10.47, allocations: 0 / 4.152 GB, free: 94.32 MB / 0.8698 GB Notification: Performance of Templates: time 0.067/10.54, allocations: 27.01 MB / 4.178 GB, free: 67.47 MB / 0.8698 GB