Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesParallelDpOptimised",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesParallelDpOptimised",fmuType="me",version="2.0",platforms={"static"}) [: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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.374/1.374, allocations: 285.5 MB / 292.8 MB, free: 9.773 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009699/0.0009699, allocations: 181.2 kB / 361.1 MB, free: 332 kB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.069/1.069, allocations: 205.1 MB / 0.6195 GB, free: 2.836 MB / 442.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008036/0.0008036, allocations: 93.55 kB / 0.7326 GB, free: 0.9922 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.3988/0.3996, allocations: 121.4 MB / 0.8512 GB, free: 152 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1635/0.5632, allocations: 115.3 MB / 0.9638 GB, free: 56.25 MB / 0.6355 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.228/3.791, allocations: 2.066 GB / 3.029 GB, free: 306.1 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002247/3.791, allocations: 95.94 kB / 3.029 GB, free: 306 MB / 0.948 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 5.79/9.582, allocations: 1.994 GB / 5.024 GB, free: 133.3 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.259e-05/9.582, allocations: 8 kB / 5.024 GB, free: 133.3 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001423/9.583, allocations: 202.3 kB / 5.024 GB, free: 133.1 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004265/9.587, allocations: 1.457 MB / 5.025 GB, free: 131.6 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.31e-05/9.587, allocations: 19.94 kB / 5.025 GB, free: 131.6 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000184/9.588, allocations: 47.98 kB / 5.025 GB, free: 131.5 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001105/9.589, allocations: 0.7248 MB / 5.026 GB, free: 130.8 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001102/9.59, allocations: 0.8565 MB / 5.027 GB, free: 129.9 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.757e-05/9.59, allocations: 4 kB / 5.027 GB, free: 129.9 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.507e-05/9.59, allocations: 0 / 5.027 GB, free: 129.9 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.532e-05/9.59, allocations: 20 kB / 5.027 GB, free: 129.8 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004372/9.594, allocations: 4.695 MB / 5.032 GB, free: 124.8 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005928/9.595, allocations: 0.502 MB / 5.032 GB, free: 124.3 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003978/9.595, allocations: 434.3 kB / 5.033 GB, free: 123.9 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002744/9.596, allocations: 198.5 kB / 5.033 GB, free: 123.7 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000326/9.596, allocations: 301 kB / 5.033 GB, free: 123.4 MB / 0.948 GB Notification: Performance of pre-optimization done (n=35): time 2.615e-06/9.596, allocations: 3.938 kB / 5.033 GB, free: 123.4 MB / 0.948 GB Notification: Performance of matching and sorting (n=35): time 0.001887/9.598, allocations: 0.8757 MB / 5.034 GB, free: 122.5 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.342e-05/9.598, allocations: 85.11 kB / 5.034 GB, free: 122.4 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001105/9.599, allocations: 0.9142 MB / 5.035 GB, free: 121.4 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 6.707e-05/9.599, allocations: 33.7 kB / 5.035 GB, free: 121.4 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002149/9.599, allocations: 357.7 kB / 5.035 GB, free: 121 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 8.622e-05/9.599, allocations: 118.3 kB / 5.035 GB, free: 120.9 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.334e-05/9.599, allocations: 0 / 5.035 GB, free: 120.9 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 5.972e-05/9.6, allocations: 326 kB / 5.036 GB, free: 120.6 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000243/9.6, allocations: 216.9 kB / 5.036 GB, free: 120.4 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004071/9.6, allocations: 0.5497 MB / 5.036 GB, free: 119.7 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003373/9.601, allocations: 310.5 kB / 5.037 GB, free: 119.4 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.1e-06/9.601, allocations: 4 kB / 5.037 GB, free: 119.4 MB / 0.948 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.001641/9.602, allocations: 1 MB / 5.038 GB, free: 118.4 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004338/9.603, allocations: 2.105 MB / 5.04 GB, free: 116.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.335e-05/9.603, allocations: 4 kB / 5.04 GB, free: 116.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005283/9.603, allocations: 264.7 kB / 5.04 GB, free: 115.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003181/9.604, allocations: 75.89 kB / 5.04 GB, free: 115.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00107/9.605, allocations: 1.219 MB / 5.041 GB, free: 114.5 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001131/9.606, allocations: 111.5 kB / 5.041 GB, free: 114.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.198e-05/9.606, allocations: 31.89 kB / 5.041 GB, free: 114.4 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.056e-05/9.606, allocations: 4 kB / 5.041 GB, free: 114.4 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001071/9.607, allocations: 0.68 MB / 5.042 GB, free: 113.7 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.478e-06/9.607, allocations: 8.094 kB / 5.042 GB, free: 113.7 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006158/9.608, allocations: 244.6 kB / 5.042 GB, free: 113.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002906/9.608, allocations: 75.89 kB / 5.042 GB, free: 113.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003158/9.611, allocations: 2.91 MB / 5.045 GB, free: 110.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001049/9.612, allocations: 103.6 kB / 5.045 GB, free: 110.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.038e-05/9.612, allocations: 27.94 kB / 5.045 GB, free: 110.2 MB / 0.948 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 {1 22} Notification: Performance of prepare postOptimizeDAE: time 0.0001703/9.612, allocations: 132.8 kB / 5.045 GB, free: 110.1 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001853/9.613, allocations: 98.78 kB / 5.046 GB, free: 110 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001193/9.614, allocations: 0.7807 MB / 5.046 GB, free: 109.2 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.101e-06/9.614, allocations: 8 kB / 5.046 GB, free: 109.2 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/9.614, allocations: 3.984 kB / 5.046 GB, free: 109.2 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.771e-06/9.614, allocations: 0 / 5.046 GB, free: 109.2 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002392/9.616, allocations: 1.695 MB / 5.048 GB, free: 107.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.21e-06/9.616, allocations: 4 kB / 5.048 GB, free: 107.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002007/9.616, allocations: 40.12 kB / 5.048 GB, free: 107.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003889/9.617, allocations: 228.5 kB / 5.048 GB, free: 107.2 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.521e-05/9.617, allocations: 4 kB / 5.048 GB, free: 107.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007699/9.618, allocations: 1.082 MB / 5.049 GB, free: 106.1 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.278e-06/9.618, allocations: 0 / 5.049 GB, free: 106.1 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001031/9.619, allocations: 0.9716 MB / 5.05 GB, free: 105 MB / 0.948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001236/9.62, allocations: 1.398 MB / 5.052 GB, free: 103.5 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004339/9.62, allocations: 227.7 kB / 5.052 GB, free: 103.3 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002098/9.621, allocations: 4 kB / 5.052 GB, free: 103.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008036/9.621, allocations: 83.75 kB / 5.052 GB, free: 103.2 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.84e-05/9.621, allocations: 27.95 kB / 5.052 GB, free: 103.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.85e-05/9.622, allocations: 12 kB / 5.052 GB, free: 103.2 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.0008239/9.622, allocations: 0.7219 MB / 5.053 GB, free: 102.4 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.003387/9.626, allocations: 0.8 MB / 5.053 GB, free: 101.6 MB / 0.948 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 {1 22} Notification: Performance of Backend phase and start with SimCode phase: time 0.001674/9.627, allocations: 1.302 MB / 5.055 GB, free: 100.3 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001529/9.629, allocations: 1.011 MB / 5.056 GB, free: 99.27 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.758e-06/9.629, allocations: 0 / 5.056 GB, free: 99.27 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0003576/9.629, allocations: 250.9 kB / 5.056 GB, free: 99.02 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002884/9.632, allocations: 0.5667 MB / 5.056 GB, free: 98.46 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00267/9.635, allocations: 1.468 MB / 5.058 GB, free: 96.94 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007766/9.636, allocations: 1.296 MB / 5.059 GB, free: 95.61 MB / 0.948 GB Notification: Performance of SimCode: time 4.01e-07/9.636, allocations: 0 / 5.059 GB, free: 95.61 MB / 0.948 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesParallelDpOptimised_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesParallelDpOptimised.fmu > Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.pipe 2>&1)