Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised,fileNamePrefix="Buildings_8_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesParallelFlowOptimised",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised,fileNamePrefix="Buildings_8_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesParallelFlowOptimised",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.1.4-maint.8.1.x/package.mo): time 1.625/1.625, allocations: 289.8 MB / 297.1 MB, free: 6.672 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.001213/0.001213, allocations: 185.3 kB / 366.3 MB, free: 2.008 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.643/1.643, allocations: 205.1 MB / 0.6256 GB, free: 5.84 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.00105/0.00105, allocations: 95.7 kB / 0.7395 GB, free: 39.67 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3186/0.3198, allocations: 122.4 MB / 0.8591 GB, free: 13.27 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7803/1.1, allocations: 116.3 MB / 0.9727 GB, free: 68.59 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.096/6.197, allocations: 2.064 GB / 3.036 GB, free: 357 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002516/6.197, allocations: 83.94 kB / 3.037 GB, free: 357 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: 136 * Number of variables: 136 Notification: Performance of Generate backend data structure: time 6.829/13.03, allocations: 1.984 GB / 5.021 GB, free: 196 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.488e-05/13.03, allocations: 15.98 kB / 5.021 GB, free: 196 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001159/13.03, allocations: 202.3 kB / 5.021 GB, free: 195.8 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003659/13.03, allocations: 1.433 MB / 5.022 GB, free: 194.3 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.618e-05/13.03, allocations: 16 kB / 5.022 GB, free: 194.3 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001003/13.03, allocations: 43.91 kB / 5.022 GB, free: 194.2 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009815/13.03, allocations: 0.7209 MB / 5.023 GB, free: 193.5 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009964/13.03, allocations: 0.8682 MB / 5.024 GB, free: 192.6 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.083e-05/13.03, allocations: 3.938 kB / 5.024 GB, free: 192.6 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.816e-05/13.03, allocations: 4 kB / 5.024 GB, free: 192.5 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.569e-05/13.03, allocations: 12 kB / 5.024 GB, free: 192.5 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004047/13.04, allocations: 4.725 MB / 5.029 GB, free: 187.5 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007202/13.04, allocations: 0.5261 MB / 5.029 GB, free: 187 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004474/13.04, allocations: 447.3 kB / 5.029 GB, free: 186.5 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003182/13.04, allocations: 194.5 kB / 5.03 GB, free: 186.3 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003586/13.04, allocations: 312.8 kB / 5.03 GB, free: 186 MB / 0.948 GB Notification: Performance of pre-optimization done (n=35): time 2.534e-06/13.04, allocations: 0 / 5.03 GB, free: 186 MB / 0.948 GB Notification: Performance of matching and sorting (n=35): time 0.002027/13.04, allocations: 0.9537 MB / 5.031 GB, free: 185 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.074e-05/13.04, allocations: 89.11 kB / 5.031 GB, free: 184.9 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009809/13.04, allocations: 0.9178 MB / 5.032 GB, free: 184 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 6.812e-05/13.04, allocations: 29.7 kB / 5.032 GB, free: 183.9 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.000205/13.04, allocations: 356.3 kB / 5.032 GB, free: 183.6 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 7.376e-05/13.04, allocations: 114.3 kB / 5.032 GB, free: 183.5 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.404e-05/13.04, allocations: 0 / 5.032 GB, free: 183.5 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.199e-05/13.04, allocations: 329.9 kB / 5.033 GB, free: 183.1 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002549/13.04, allocations: 224.9 kB / 5.033 GB, free: 182.9 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004275/13.04, allocations: 0.5575 MB / 5.033 GB, free: 182.2 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003328/13.04, allocations: 317.7 kB / 5.034 GB, free: 181.9 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/13.04, allocations: 0 / 5.034 GB, free: 181.9 MB / 0.948 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.001691/13.05, allocations: 1.074 MB / 5.035 GB, free: 180.8 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.000428/13.05, allocations: 2.101 MB / 5.037 GB, free: 178.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.016e-05/13.05, allocations: 4 kB / 5.037 GB, free: 178.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006558/13.05, allocations: 331 kB / 5.037 GB, free: 178.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002271/13.05, allocations: 71.84 kB / 5.037 GB, free: 178.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001209/13.05, allocations: 1.345 MB / 5.039 GB, free: 176.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001083/13.05, allocations: 115.5 kB / 5.039 GB, free: 176.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.224e-05/13.05, allocations: 24 kB / 5.039 GB, free: 176.7 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 8.135e-06/13.05, allocations: 4 kB / 5.039 GB, free: 176.7 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001186/13.05, allocations: 0.762 MB / 5.039 GB, free: 175.9 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.151e-06/13.05, allocations: 7.984 kB / 5.039 GB, free: 175.9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007518/13.05, allocations: 314.5 kB / 5.04 GB, free: 175.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002078/13.05, allocations: 63.91 kB / 5.04 GB, free: 175.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003726/13.06, allocations: 3.436 MB / 5.043 GB, free: 172 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001067/13.06, allocations: 107.5 kB / 5.043 GB, free: 171.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.594e-05/13.06, allocations: 24 kB / 5.043 GB, free: 171.8 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 (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.0001884/13.06, allocations: 125 kB / 5.043 GB, free: 171.7 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001186/13.06, allocations: 106.8 kB / 5.043 GB, free: 171.6 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001348/13.06, allocations: 0.8431 MB / 5.044 GB, free: 170.7 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.419e-06/13.06, allocations: 4 kB / 5.044 GB, free: 170.7 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.936e-06/13.06, allocations: 7.984 kB / 5.044 GB, free: 170.7 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.394e-06/13.06, allocations: 0 / 5.044 GB, free: 170.7 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002324/13.06, allocations: 1.783 MB / 5.046 GB, free: 168.9 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.198e-06/13.06, allocations: 0 / 5.046 GB, free: 168.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001173/13.06, allocations: 23.98 kB / 5.046 GB, free: 168.9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005308/13.06, allocations: 290.9 kB / 5.046 GB, free: 168.6 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.281e-05/13.06, allocations: 11.94 kB / 5.046 GB, free: 168.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009283/13.06, allocations: 1.195 MB / 5.048 GB, free: 167.3 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.408e-06/13.06, allocations: 7.906 kB / 5.048 GB, free: 167.3 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001119/13.06, allocations: 1.034 MB / 5.049 GB, free: 166.2 MB / 0.948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001355/13.06, allocations: 1.476 MB / 5.05 GB, free: 164.7 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000386/13.06, allocations: 235.7 kB / 5.05 GB, free: 164.4 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001345/13.07, allocations: 11.98 kB / 5.05 GB, free: 164.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007304/13.07, allocations: 75.77 kB / 5.05 GB, free: 164.3 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.288e-05/13.07, allocations: 31.95 kB / 5.05 GB, free: 164.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.051e-05/13.07, allocations: 15.89 kB / 5.05 GB, free: 164.3 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.0007999/13.07, allocations: 0.7139 MB / 5.051 GB, free: 163.6 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.003482/13.07, allocations: 0.7923 MB / 5.052 GB, free: 162.8 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 (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.001667/13.07, allocations: 1.22 MB / 5.053 GB, free: 161.5 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001899/13.07, allocations: 1.082 MB / 5.054 GB, free: 160.4 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 4.128e-06/13.07, allocations: 1.375 kB / 5.054 GB, free: 160.4 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0004544/13.07, allocations: 267.4 kB / 5.054 GB, free: 160.2 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003104/13.08, allocations: 0.5669 MB / 5.055 GB, free: 159.6 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002705/13.08, allocations: 1.484 MB / 5.056 GB, free: 158.1 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006821/13.08, allocations: 1.292 MB / 5.058 GB, free: 156.8 MB / 0.948 GB Notification: Performance of SimCode: time 1.152e-06/13.08, allocations: 0 / 5.058 GB, free: 156.8 MB / 0.948 GB (rm -f Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.pipe ; mkfifo Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.pipe >> ../files/Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesParallelFlowOptimised_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesParallelFlowOptimised.fmu > Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.pipe 2>&1)