Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.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.SeriesParallelFlow,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesParallelFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesParallelFlow",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.386/2.386, allocations: 284.8 MB / 292.1 MB, free: 10.73 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.002607/0.002606, allocations: 181.3 kB / 360.3 MB, free: 7.535 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.818/1.818, allocations: 205.1 MB / 0.6187 GB, free: 13.24 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.001293/0.001292, allocations: 82.84 kB / 0.7317 GB, free: 45.12 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2816/0.2829, allocations: 121.4 MB / 0.8502 GB, free: 3.91 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6415/0.9244, allocations: 115.2 MB / 0.9627 GB, free: 78.58 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.024/5.949, allocations: 2.063 GB / 3.025 GB, free: 273.8 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003508/5.949, allocations: 90.97 kB / 3.025 GB, free: 273.8 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: 136 * Number of variables: 136 Notification: Performance of Generate backend data structure: time 4.432/10.38, allocations: 1.073 GB / 4.099 GB, free: 2.809 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.526e-05/10.38, allocations: 8 kB / 4.099 GB, free: 2.801 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001586/10.38, allocations: 210.2 kB / 4.099 GB, free: 2.594 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006374/10.39, allocations: 1.426 MB / 4.1 GB, free: 1.113 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.722e-05/10.39, allocations: 23.98 kB / 4.1 GB, free: 1.09 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001544/10.39, allocations: 40 kB / 4.1 GB, free: 1.051 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001837/10.39, allocations: 0.7248 MB / 4.101 GB, free: 332 kB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3881/10.78, allocations: 0.8667 MB / 4.102 GB, free: 339.2 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.21e-05/10.78, allocations: 2.812 kB / 4.102 GB, free: 339.2 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001168/10.78, allocations: 3.562 kB / 4.102 GB, free: 339.2 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.84e-05/10.78, allocations: 13.31 kB / 4.102 GB, free: 339.2 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006982/10.79, allocations: 4.715 MB / 4.107 GB, free: 336.2 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001228/10.79, allocations: 0.5143 MB / 4.107 GB, free: 336.1 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007863/10.79, allocations: 445.6 kB / 4.107 GB, free: 336.1 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004108/10.79, allocations: 199.8 kB / 4.108 GB, free: 336 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006035/10.79, allocations: 301.1 kB / 4.108 GB, free: 335.9 MB / 0.948 GB Notification: Performance of pre-optimization done (n=35): time 3.507e-06/10.79, allocations: 3.719 kB / 4.108 GB, free: 335.9 MB / 0.948 GB Notification: Performance of matching and sorting (n=35): time 0.003596/10.79, allocations: 0.9634 MB / 4.109 GB, free: 335.8 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.982e-05/10.79, allocations: 80.98 kB / 4.109 GB, free: 335.7 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001886/10.8, allocations: 0.9153 MB / 4.11 GB, free: 335.6 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001617/10.8, allocations: 33.11 kB / 4.11 GB, free: 335.5 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003359/10.8, allocations: 357.9 kB / 4.11 GB, free: 335.4 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001881/10.8, allocations: 117.9 kB / 4.11 GB, free: 335.3 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.264e-05/10.8, allocations: 0 / 4.11 GB, free: 335.3 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001181/10.8, allocations: 330.1 kB / 4.111 GB, free: 335 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008455/10.8, allocations: 228.7 kB / 4.111 GB, free: 335 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001232/10.8, allocations: 0.5563 MB / 4.111 GB, free: 334.6 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001005/10.8, allocations: 322.4 kB / 4.112 GB, free: 334.6 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.897e-06/10.8, allocations: 0 / 4.112 GB, free: 334.6 MB / 0.948 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.006094/10.81, allocations: 1.091 MB / 4.113 GB, free: 334.5 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006282/10.81, allocations: 2.091 MB / 4.115 GB, free: 332.3 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.093e-05/10.81, allocations: 7.906 kB / 4.115 GB, free: 332.3 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002138/10.81, allocations: 371.4 kB / 4.115 GB, free: 332.3 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006565/10.81, allocations: 61.36 kB / 4.115 GB, free: 332.3 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005158/10.81, allocations: 1.421 MB / 4.117 GB, free: 331.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003156/10.82, allocations: 115.3 kB / 4.117 GB, free: 331.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001915/10.82, allocations: 28.47 kB / 4.117 GB, free: 331.8 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.623e-05/10.82, allocations: 7.219 kB / 4.117 GB, free: 331.8 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004282/10.82, allocations: 0.7673 MB / 4.118 GB, free: 331.7 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.315e-05/10.82, allocations: 3.812 kB / 4.118 GB, free: 331.7 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001952/10.82, allocations: 310.3 kB / 4.118 GB, free: 331.7 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004519/10.82, allocations: 71.66 kB / 4.118 GB, free: 331.7 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007306/10.83, allocations: 3.466 MB / 4.121 GB, free: 330.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001913/10.83, allocations: 108.8 kB / 4.121 GB, free: 330.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.004e-05/10.83, allocations: 22.41 kB / 4.121 GB, free: 330.4 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 {11 13} Notification: Performance of prepare postOptimizeDAE: time 0.0002395/10.83, allocations: 128.2 kB / 4.122 GB, free: 330.3 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001732/10.83, allocations: 97.09 kB / 4.122 GB, free: 330.2 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002382/10.84, allocations: 0.8701 MB / 4.122 GB, free: 330.2 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.598e-06/10.84, allocations: 3.812 kB / 4.122 GB, free: 330.2 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.027e-06/10.84, allocations: 0 / 4.122 GB, free: 330.2 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.654e-06/10.84, allocations: 0 / 4.122 GB, free: 330.2 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00416/10.84, allocations: 1.792 MB / 4.124 GB, free: 329.7 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.464e-06/10.84, allocations: 0 / 4.124 GB, free: 329.7 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000219/10.84, allocations: 33.17 kB / 4.124 GB, free: 329.7 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001018/10.84, allocations: 318.2 kB / 4.125 GB, free: 329.7 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.733e-05/10.84, allocations: 7.734 kB / 4.125 GB, free: 329.7 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002139/10.84, allocations: 1.262 MB / 4.126 GB, free: 329.2 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.853e-06/10.84, allocations: 3.812 kB / 4.126 GB, free: 329.2 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002194/10.85, allocations: 1.049 MB / 4.127 GB, free: 328.8 MB / 0.948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002423/10.85, allocations: 1.469 MB / 4.128 GB, free: 328 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006852/10.85, allocations: 230.8 kB / 4.128 GB, free: 327.9 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000214/10.85, allocations: 11.48 kB / 4.128 GB, free: 327.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001395/10.85, allocations: 78.97 kB / 4.129 GB, free: 327.9 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001306/10.85, allocations: 35.11 kB / 4.129 GB, free: 327.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.894e-05/10.85, allocations: 7.719 kB / 4.129 GB, free: 327.9 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.001344/10.85, allocations: 0.7213 MB / 4.129 GB, free: 327.8 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.004829/10.86, allocations: 0.7881 MB / 4.13 GB, free: 327.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 {11 13} Notification: Performance of Backend phase and start with SimCode phase: time 0.002048/10.86, allocations: 1.213 MB / 4.131 GB, free: 327.5 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.004034/10.86, allocations: 1.183 MB / 4.132 GB, free: 327.3 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 5.22e-06/10.86, allocations: 0 / 4.132 GB, free: 327.3 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.001039/10.87, allocations: 324 kB / 4.133 GB, free: 327.3 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007196/10.87, allocations: 0.5641 MB / 4.133 GB, free: 327.3 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007253/10.88, allocations: 1.48 MB / 4.135 GB, free: 326.9 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001991/10.88, allocations: 1.299 MB / 4.136 GB, free: 326.2 MB / 0.948 GB Notification: Performance of SimCode: time 1.714e-06/10.88, allocations: 0 / 4.136 GB, free: 326.2 MB / 0.948 GB (rm -f Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesParallelFlow_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesParallelFlow.fmu > Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.pipe 2>&1)