Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlow.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.ParallelFlow,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Examples_Performance_PressureDrop_ParallelFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlow,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Examples_Performance_PressureDrop_ParallelFlow",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.503/2.503, allocations: 284.8 MB / 292.1 MB, free: 10.77 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.001637/0.001637, allocations: 181.3 kB / 360.3 MB, free: 7.531 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.997/1.997, allocations: 205.1 MB / 0.6187 GB, free: 13.2 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.001244/0.001244, allocations: 86.39 kB / 0.7317 GB, free: 45.11 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2875/0.2888, allocations: 121.4 MB / 0.8502 GB, free: 3.922 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6474/0.9362, allocations: 115.2 MB / 0.9627 GB, free: 78.59 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.774/5.71, allocations: 2.063 GB / 3.025 GB, free: 55.73 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002857/5.71, allocations: 82.83 kB / 3.025 GB, free: 55.68 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: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 4.806/10.52, allocations: 0.962 GB / 3.987 GB, free: 213.1 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.196e-05/10.52, allocations: 12 kB / 3.987 GB, free: 213.1 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001696/10.52, allocations: 186.5 kB / 3.988 GB, free: 212.9 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006772/10.52, allocations: 1.377 MB / 3.989 GB, free: 211.4 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.122e-05/10.52, allocations: 16 kB / 3.989 GB, free: 211.4 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001979/10.52, allocations: 40 kB / 3.989 GB, free: 211.4 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00139/10.53, allocations: 0.5056 MB / 3.989 GB, free: 210.9 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001436/10.53, allocations: 0.709 MB / 3.99 GB, free: 210.1 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.881e-05/10.53, allocations: 7.922 kB / 3.99 GB, free: 210.1 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.156e-05/10.53, allocations: 7.906 kB / 3.99 GB, free: 210.1 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.839e-05/10.53, allocations: 12 kB / 3.99 GB, free: 210.1 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005841/10.53, allocations: 4.153 MB / 3.994 GB, free: 205.7 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001048/10.53, allocations: 481.8 kB / 3.995 GB, free: 205.2 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006274/10.54, allocations: 348 kB / 3.995 GB, free: 204.8 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004039/10.54, allocations: 194.2 kB / 3.995 GB, free: 204.6 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005505/10.54, allocations: 283.5 kB / 3.995 GB, free: 204.3 MB / 0.948 GB Notification: Performance of pre-optimization done (n=33): time 3.617e-06/10.54, allocations: 4 kB / 3.995 GB, free: 204.3 MB / 0.948 GB Notification: Performance of matching and sorting (n=33): time 0.003233/10.54, allocations: 0.8335 MB / 3.996 GB, free: 203.5 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.393e-05/10.54, allocations: 81.11 kB / 3.996 GB, free: 203.4 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00176/10.54, allocations: 0.8752 MB / 3.997 GB, free: 202.5 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.000144/10.54, allocations: 33.69 kB / 3.997 GB, free: 202.4 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002854/10.54, allocations: 332.2 kB / 3.998 GB, free: 202.1 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001231/10.54, allocations: 114.4 kB / 3.998 GB, free: 202 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.787e-05/10.54, allocations: 0 / 3.998 GB, free: 202 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.255e-05/10.54, allocations: 326 kB / 3.998 GB, free: 201.7 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005105/10.54, allocations: 212.9 kB / 3.998 GB, free: 201.5 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006752/10.54, allocations: 0.5171 MB / 3.999 GB, free: 200.8 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005948/10.54, allocations: 294.6 kB / 3.999 GB, free: 200.5 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.603e-06/10.54, allocations: 4 kB / 3.999 GB, free: 200.5 MB / 0.948 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.003131/10.55, allocations: 0.9624 MB / 4 GB, free: 199.6 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004075/10.55, allocations: 2.1 MB / 4.002 GB, free: 197.3 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.406e-05/10.55, allocations: 4 kB / 4.002 GB, free: 197.3 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009075/10.55, allocations: 275.2 kB / 4.002 GB, free: 197 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005158/10.55, allocations: 83.97 kB / 4.002 GB, free: 196.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003442/10.55, allocations: 1.259 MB / 4.004 GB, free: 195.6 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002174/10.55, allocations: 103.4 kB / 4.004 GB, free: 195.5 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001365/10.55, allocations: 24 kB / 4.004 GB, free: 195.5 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.512e-05/10.55, allocations: 5.25 kB / 4.004 GB, free: 195.5 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002035/10.56, allocations: 0.6521 MB / 4.004 GB, free: 194.9 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.02e-05/10.56, allocations: 11.98 kB / 4.004 GB, free: 194.9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009811/10.56, allocations: 217.3 kB / 4.005 GB, free: 194.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004834/10.56, allocations: 67.91 kB / 4.005 GB, free: 194.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005749/10.56, allocations: 2.829 MB / 4.007 GB, free: 191.6 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001974/10.57, allocations: 95.56 kB / 4.007 GB, free: 191.5 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000146/10.57, allocations: 20 kB / 4.007 GB, free: 191.5 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 {10 11} Notification: Performance of prepare postOptimizeDAE: time 0.0002244/10.57, allocations: 120.9 kB / 4.008 GB, free: 191.4 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001976/10.57, allocations: 102.8 kB / 4.008 GB, free: 191.3 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002039/10.57, allocations: 0.7219 MB / 4.008 GB, free: 190.6 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.141e-05/10.57, allocations: 4 kB / 4.008 GB, free: 190.5 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/10.57, allocations: 0 / 4.008 GB, free: 190.5 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.166e-06/10.57, allocations: 0 / 4.008 GB, free: 190.5 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003979/10.57, allocations: 1.609 MB / 4.01 GB, free: 188.9 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.554e-06/10.57, allocations: 4.125 kB / 4.01 GB, free: 188.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002856/10.57, allocations: 39.91 kB / 4.01 GB, free: 188.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006958/10.57, allocations: 235.4 kB / 4.01 GB, free: 188.6 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.942e-05/10.57, allocations: 4 kB / 4.01 GB, free: 188.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001802/10.58, allocations: 1.11 MB / 4.011 GB, free: 187.4 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.898e-06/10.58, allocations: 4 kB / 4.011 GB, free: 187.4 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001983/10.58, allocations: 0.919 MB / 4.012 GB, free: 186.4 MB / 0.948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.00224/10.58, allocations: 1.343 MB / 4.014 GB, free: 185 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007464/10.58, allocations: 219.8 kB / 4.014 GB, free: 184.8 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002057/10.58, allocations: 4 kB / 4.014 GB, free: 184.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001344/10.58, allocations: 67.77 kB / 4.014 GB, free: 184.7 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001251/10.58, allocations: 27.97 kB / 4.014 GB, free: 184.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.13e-05/10.58, allocations: 15.98 kB / 4.014 GB, free: 184.7 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.001317/10.58, allocations: 0.6806 MB / 4.014 GB, free: 184 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.004867/10.59, allocations: 0.6751 MB / 4.015 GB, free: 183.3 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 {10 11} Notification: Performance of Backend phase and start with SimCode phase: time 0.001707/10.59, allocations: 1.031 MB / 4.016 GB, free: 182.3 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.003747/10.59, allocations: 1.092 MB / 4.017 GB, free: 181.2 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 5.671e-06/10.59, allocations: 0 / 4.017 GB, free: 181.2 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0009294/10.6, allocations: 283.8 kB / 4.017 GB, free: 180.9 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005502/10.6, allocations: 0.5229 MB / 4.018 GB, free: 180.4 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003802/10.61, allocations: 1.416 MB / 4.019 GB, free: 178.9 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001075/10.61, allocations: 1.259 MB / 4.021 GB, free: 177.6 MB / 0.948 GB Notification: Performance of SimCode: time 1.884e-06/10.61, allocations: 3.938 kB / 4.021 GB, free: 177.6 MB / 0.948 GB (rm -f Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlow.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlow.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlow.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_Examples_Performance_PressureDrop_ParallelFlow_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_Examples_Performance_PressureDrop_ParallelFlow.fmu > Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlow.pipe 2>&1)