Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlow.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.ParallelFlow,fileNamePrefix="Buildings_8_Buildings_Fluid_Examples_Performance_PressureDrop_ParallelFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlow,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.606/1.606, allocations: 289.8 MB / 297.1 MB, free: 6.688 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.00112/0.00112, allocations: 185.2 kB / 366.3 MB, free: 1.969 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.587/1.587, allocations: 205.1 MB / 0.6256 GB, free: 5.812 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.0009487/0.0009489, allocations: 89.77 kB / 0.7396 GB, free: 39.65 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3155/0.3165, allocations: 122.4 MB / 0.8591 GB, free: 13.28 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.841/1.158, allocations: 116.3 MB / 0.9727 GB, free: 68.32 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.019/6.177, allocations: 2.064 GB / 3.036 GB, free: 12.88 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002424/6.177, allocations: 84.58 kB / 3.036 GB, free: 12.79 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.066/10.24, allocations: 0.962 GB / 3.998 GB, free: 148.8 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.175e-05/10.24, allocations: 12 kB / 3.998 GB, free: 148.8 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001493/10.24, allocations: 194.4 kB / 3.999 GB, free: 148.6 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004314/10.25, allocations: 1.358 MB / 4 GB, free: 147.2 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.432e-05/10.25, allocations: 16 kB / 4 GB, free: 147.1 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001814/10.25, allocations: 36 kB / 4 GB, free: 147.1 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000924/10.25, allocations: 0.5094 MB / 4 GB, free: 146.6 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009042/10.25, allocations: 0.7171 MB / 4.001 GB, free: 145.8 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.068e-05/10.25, allocations: 4 kB / 4.001 GB, free: 145.8 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.409e-05/10.25, allocations: 0 / 4.001 GB, free: 145.8 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.423e-05/10.25, allocations: 16 kB / 4.001 GB, free: 145.8 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005027/10.26, allocations: 4.166 MB / 4.005 GB, free: 141.4 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000556/10.26, allocations: 486.3 kB / 4.006 GB, free: 140.9 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003442/10.26, allocations: 339.3 kB / 4.006 GB, free: 140.5 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003168/10.26, allocations: 202.7 kB / 4.006 GB, free: 140.3 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003275/10.26, allocations: 278.9 kB / 4.006 GB, free: 140 MB / 0.948 GB Notification: Performance of pre-optimization done (n=33): time 2.755e-06/10.26, allocations: 0 / 4.006 GB, free: 140 MB / 0.948 GB Notification: Performance of matching and sorting (n=33): time 0.002192/10.26, allocations: 0.845 MB / 4.007 GB, free: 139.2 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.772e-05/10.26, allocations: 81.11 kB / 4.007 GB, free: 139.1 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001136/10.26, allocations: 0.8713 MB / 4.008 GB, free: 138.2 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 7.109e-05/10.26, allocations: 29.7 kB / 4.008 GB, free: 138.1 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002356/10.26, allocations: 332.2 kB / 4.009 GB, free: 137.8 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 8.822e-05/10.26, allocations: 110.4 kB / 4.009 GB, free: 137.7 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.522e-05/10.26, allocations: 112 / 4.009 GB, free: 137.7 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.236e-05/10.26, allocations: 333.9 kB / 4.009 GB, free: 137.4 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002509/10.26, allocations: 208.9 kB / 4.009 GB, free: 137.2 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003995/10.26, allocations: 0.5238 MB / 4.01 GB, free: 136.5 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003472/10.26, allocations: 306.3 kB / 4.01 GB, free: 136.2 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.419e-06/10.26, allocations: 0 / 4.01 GB, free: 136.2 MB / 0.948 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001921/10.26, allocations: 0.9543 MB / 4.011 GB, free: 135.2 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006497/10.26, allocations: 2.096 MB / 4.013 GB, free: 133 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.099e-05/10.27, allocations: 8 kB / 4.013 GB, free: 133 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006067/10.27, allocations: 275.2 kB / 4.013 GB, free: 132.7 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000313/10.27, allocations: 75.89 kB / 4.013 GB, free: 132.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001889/10.27, allocations: 1.261 MB / 4.015 GB, free: 131.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001543/10.27, allocations: 111.4 kB / 4.015 GB, free: 131.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001163/10.27, allocations: 24 kB / 4.015 GB, free: 131.2 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.725e-05/10.27, allocations: 5.719 kB / 4.015 GB, free: 131.2 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001248/10.27, allocations: 0.6501 MB / 4.015 GB, free: 130.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.362e-05/10.27, allocations: 8 kB / 4.015 GB, free: 130.5 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005874/10.27, allocations: 221.1 kB / 4.016 GB, free: 130.3 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002684/10.27, allocations: 72.03 kB / 4.016 GB, free: 130.3 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003892/10.28, allocations: 2.828 MB / 4.018 GB, free: 127.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001447/10.28, allocations: 95.59 kB / 4.018 GB, free: 127.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.095e-05/10.28, allocations: 24 kB / 4.018 GB, free: 127.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 {10 11} Notification: Performance of prepare postOptimizeDAE: time 0.0002744/10.28, allocations: 120.9 kB / 4.019 GB, free: 127.1 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003313/10.28, allocations: 94.78 kB / 4.019 GB, free: 127 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001464/10.28, allocations: 0.7256 MB / 4.019 GB, free: 126.2 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.495e-06/10.28, allocations: 8 kB / 4.019 GB, free: 126.2 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/10.28, allocations: 0 / 4.019 GB, free: 126.2 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.986e-06/10.28, allocations: 3.906 kB / 4.019 GB, free: 126.2 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002984/10.28, allocations: 1.611 MB / 4.021 GB, free: 124.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.963e-06/10.28, allocations: 224 / 4.021 GB, free: 124.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001584/10.28, allocations: 35.92 kB / 4.021 GB, free: 124.5 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004144/10.28, allocations: 231.5 kB / 4.021 GB, free: 124.3 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.046e-05/10.28, allocations: 7.984 kB / 4.021 GB, free: 124.3 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001004/10.28, allocations: 1.116 MB / 4.022 GB, free: 123.1 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.322e-06/10.28, allocations: 4 kB / 4.022 GB, free: 123.1 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001122/10.29, allocations: 0.919 MB / 4.023 GB, free: 122.1 MB / 0.948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001272/10.29, allocations: 1.327 MB / 4.025 GB, free: 120.7 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005928/10.29, allocations: 215.9 kB / 4.025 GB, free: 120.5 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002641/10.29, allocations: 11.92 kB / 4.025 GB, free: 120.5 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008197/10.29, allocations: 63.77 kB / 4.025 GB, free: 120.4 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001018/10.29, allocations: 39.81 kB / 4.025 GB, free: 120.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.693e-05/10.29, allocations: 12 kB / 4.025 GB, free: 120.4 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.0009019/10.29, allocations: 0.6806 MB / 4.026 GB, free: 119.7 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.003817/10.29, allocations: 0.6751 MB / 4.026 GB, free: 119 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.001676/10.29, allocations: 1.023 MB / 4.027 GB, free: 118 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002503/10.3, allocations: 1.084 MB / 4.028 GB, free: 116.9 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 5.721e-06/10.3, allocations: 0 / 4.028 GB, free: 116.9 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0005307/10.3, allocations: 292.3 kB / 4.029 GB, free: 116.6 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002963/10.3, allocations: 0.534 MB / 4.029 GB, free: 116 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003183/10.3, allocations: 1.41 MB / 4.03 GB, free: 114.6 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001199/10.31, allocations: 1.259 MB / 4.032 GB, free: 113.3 MB / 0.948 GB Notification: Performance of SimCode: time 1.493e-06/10.31, allocations: 0 / 4.032 GB, free: 113.3 MB / 0.948 GB (rm -f Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlow.pipe ; mkfifo Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlow.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlow.pipe >> ../files/Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Examples_Performance_PressureDrop_ParallelFlow_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Examples_Performance_PressureDrop_ParallelFlow.fmu > Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlow.pipe 2>&1)