Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesParallelDpOptimised",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised,fileNamePrefix="Buildings_8_0_0_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.0/package.mo): time 2.385/2.385, allocations: 284.8 MB / 292.1 MB, free: 10.75 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.003467/0.003466, allocations: 181.2 kB / 360.3 MB, free: 7.516 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.837/1.837, allocations: 205.1 MB / 0.6187 GB, free: 12.45 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001205/0.001204, allocations: 85.95 kB / 0.7317 GB, free: 44.95 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2762/0.2774, allocations: 121.4 MB / 0.8502 GB, free: 3.746 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6185/0.896, allocations: 115.2 MB / 0.9628 GB, free: 78.24 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.932/5.828, allocations: 2.065 GB / 3.028 GB, free: 274.3 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003116/5.828, allocations: 87.3 kB / 3.028 GB, free: 274.3 MB / 0.9323 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 9.063/14.89, allocations: 1.994 GB / 5.023 GB, free: 192.9 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.801e-05/14.89, allocations: 8 kB / 5.023 GB, free: 192.9 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001975/14.89, allocations: 206.3 kB / 5.023 GB, free: 192.7 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007417/14.9, allocations: 1.46 MB / 5.024 GB, free: 191.2 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.7e-05/14.9, allocations: 16 kB / 5.024 GB, free: 191.2 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000229/14.9, allocations: 43.94 kB / 5.024 GB, free: 191.2 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002813/14.9, allocations: 0.7248 MB / 5.025 GB, free: 190.5 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00322/14.91, allocations: 0.8604 MB / 5.026 GB, free: 189.5 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.886e-05/14.91, allocations: 7.938 kB / 5.026 GB, free: 189.5 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001725/14.91, allocations: 0 / 5.026 GB, free: 189.5 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.922e-05/14.91, allocations: 16 kB / 5.026 GB, free: 189.5 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01114/14.92, allocations: 4.701 MB / 5.03 GB, free: 184.5 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00152/14.92, allocations: 0.5062 MB / 5.031 GB, free: 184 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00137/14.92, allocations: 431.6 kB / 5.031 GB, free: 183.6 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007114/14.92, allocations: 201.8 kB / 5.032 GB, free: 183.4 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006115/14.92, allocations: 296.2 kB / 5.032 GB, free: 183.1 MB / 0.948 GB Notification: Performance of pre-optimization done (n=35): time 3.737e-06/14.92, allocations: 0 / 5.032 GB, free: 183.1 MB / 0.948 GB Notification: Performance of matching and sorting (n=35): time 0.003417/14.93, allocations: 0.8739 MB / 5.033 GB, free: 182.2 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.525e-05/14.93, allocations: 85.11 kB / 5.033 GB, free: 182.1 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001928/14.93, allocations: 0.9259 MB / 5.034 GB, free: 181.1 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001714/14.93, allocations: 25.7 kB / 5.034 GB, free: 181.1 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003349/14.93, allocations: 352.4 kB / 5.034 GB, free: 180.8 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001339/14.93, allocations: 122.2 kB / 5.034 GB, free: 180.6 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.848e-05/14.93, allocations: 0 / 5.034 GB, free: 180.6 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.357e-05/14.93, allocations: 326 kB / 5.034 GB, free: 180.3 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004899/14.93, allocations: 216.9 kB / 5.035 GB, free: 180.1 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007284/14.93, allocations: 0.5536 MB / 5.035 GB, free: 179.4 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009345/14.93, allocations: 313.9 kB / 5.036 GB, free: 179.1 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.175e-06/14.93, allocations: 4 kB / 5.036 GB, free: 179.1 MB / 0.948 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.003477/14.94, allocations: 0.9937 MB / 5.036 GB, free: 178.1 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004612/14.94, allocations: 2.101 MB / 5.039 GB, free: 175.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.565e-05/14.94, allocations: 4 kB / 5.039 GB, free: 175.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009939/14.94, allocations: 274.6 kB / 5.039 GB, free: 175.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006583/14.94, allocations: 71.89 kB / 5.039 GB, free: 175.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002015/14.94, allocations: 1.221 MB / 5.04 GB, free: 174.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00216/14.94, allocations: 103.6 kB / 5.04 GB, free: 174.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.511e-05/14.94, allocations: 27.98 kB / 5.04 GB, free: 174.1 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.204e-05/14.94, allocations: 8 kB / 5.04 GB, free: 174.1 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002052/14.94, allocations: 0.6906 MB / 5.041 GB, free: 173.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.968e-06/14.94, allocations: 4 kB / 5.041 GB, free: 173.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001198/14.95, allocations: 253.4 kB / 5.041 GB, free: 173.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006034/14.95, allocations: 71.89 kB / 5.041 GB, free: 173.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005452/14.95, allocations: 2.899 MB / 5.044 GB, free: 170.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001987/14.95, allocations: 103.6 kB / 5.044 GB, free: 170 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.514e-05/14.95, allocations: 24 kB / 5.044 GB, free: 170 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.0002881/14.95, allocations: 128.9 kB / 5.044 GB, free: 169.8 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002483/14.95, allocations: 106.8 kB / 5.044 GB, free: 169.7 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002251/14.96, allocations: 0.779 MB / 5.045 GB, free: 168.9 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.987e-06/14.96, allocations: 4 kB / 5.045 GB, free: 168.9 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.447e-06/14.96, allocations: 0 / 5.045 GB, free: 168.9 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.414e-06/14.96, allocations: 4 kB / 5.045 GB, free: 168.9 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003918/14.96, allocations: 1.696 MB / 5.047 GB, free: 167.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.176e-06/14.96, allocations: 4 kB / 5.047 GB, free: 167.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004333/14.96, allocations: 44.12 kB / 5.047 GB, free: 167.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007465/14.96, allocations: 225 kB / 5.047 GB, free: 166.9 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.245e-05/14.96, allocations: 8 kB / 5.047 GB, free: 166.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001475/14.96, allocations: 1.068 MB / 5.048 GB, free: 165.8 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.336e-06/14.96, allocations: 3.938 kB / 5.048 GB, free: 165.8 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00212/14.97, allocations: 0.975 MB / 5.049 GB, free: 164.8 MB / 0.948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002212/14.97, allocations: 1.404 MB / 5.05 GB, free: 163.3 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007733/14.97, allocations: 223.8 kB / 5.051 GB, free: 163.1 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000228/14.97, allocations: 11.89 kB / 5.051 GB, free: 163 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001484/14.97, allocations: 79.77 kB / 5.051 GB, free: 163 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001177/14.97, allocations: 35.94 kB / 5.051 GB, free: 162.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.198e-05/14.97, allocations: 11.98 kB / 5.051 GB, free: 162.9 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.00134/14.97, allocations: 0.7141 MB / 5.051 GB, free: 162.2 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.005244/14.98, allocations: 0.7967 MB / 5.052 GB, free: 161.4 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.002223/14.98, allocations: 1.299 MB / 5.054 GB, free: 160.2 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002705/14.98, allocations: 1.015 MB / 5.055 GB, free: 159.2 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 7.474e-06/14.98, allocations: 320 / 5.055 GB, free: 159.2 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0006779/14.98, allocations: 243.4 kB / 5.055 GB, free: 159 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005975/14.99, allocations: 0.5705 MB / 5.055 GB, free: 158.4 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003915/14.99, allocations: 1.468 MB / 5.057 GB, free: 156.9 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001127/14.99, allocations: 1.308 MB / 5.058 GB, free: 155.5 MB / 0.948 GB Notification: Performance of SimCode: time 1.142e-06/14.99, allocations: 4 kB / 5.058 GB, free: 155.5 MB / 0.948 GB (rm -f Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesParallelDpOptimised_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesParallelDpOptimised.fmu > Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.pipe 2>&1)