Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlow,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Examples_Performance_PressureDrop_ParallelFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlow,fileNamePrefix="Buildings_maint_8_0_x_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.1-maint.8.0.x/package.mo): time 1.398/1.398, allocations: 285.5 MB / 292.8 MB, free: 10.51 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.0009737/0.0009736, allocations: 180.4 kB / 361.1 MB, free: 7.113 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.19/1.19, allocations: 205.1 MB / 0.6195 GB, free: 10.31 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.0008728/0.0008728, allocations: 90.73 kB / 0.7325 GB, free: 44.25 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2223/0.2232, allocations: 121.4 MB / 0.8512 GB, free: 2.883 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4855/0.7087, allocations: 115.3 MB / 0.9638 GB, free: 78.38 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.012/3.721, allocations: 2.063 GB / 3.026 GB, free: 74.23 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002464/3.721, allocations: 89.81 kB / 3.027 GB, free: 74.14 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 2.698/6.419, allocations: 0.962 GB / 3.989 GB, free: 224 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.341e-05/6.419, allocations: 12 kB / 3.989 GB, free: 224 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001433/6.421, allocations: 188.5 kB / 3.989 GB, free: 223.8 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004087/6.425, allocations: 1.371 MB / 3.99 GB, free: 222.4 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.321e-05/6.425, allocations: 19.94 kB / 3.99 GB, free: 222.4 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001342/6.425, allocations: 43.98 kB / 3.99 GB, free: 222.3 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007538/6.426, allocations: 0.5056 MB / 3.991 GB, free: 221.8 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007975/6.427, allocations: 0.709 MB / 3.991 GB, free: 221.1 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.731e-05/6.427, allocations: 3.938 kB / 3.991 GB, free: 221.1 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.259e-05/6.427, allocations: 4 kB / 3.991 GB, free: 221 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.254e-05/6.427, allocations: 15.91 kB / 3.991 GB, free: 221 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00314/6.43, allocations: 4.165 MB / 3.995 GB, free: 216.6 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004818/6.431, allocations: 475.5 kB / 3.996 GB, free: 216.1 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003099/6.431, allocations: 343.5 kB / 3.996 GB, free: 215.8 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002552/6.431, allocations: 194.2 kB / 3.996 GB, free: 215.6 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002806/6.431, allocations: 283.5 kB / 3.997 GB, free: 215.3 MB / 0.948 GB Notification: Performance of pre-optimization done (n=33): time 1.724e-06/6.431, allocations: 0 / 3.997 GB, free: 215.3 MB / 0.948 GB Notification: Performance of matching and sorting (n=33): time 0.001673/6.433, allocations: 0.8339 MB / 3.997 GB, free: 214.4 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.755e-05/6.433, allocations: 89.09 kB / 3.998 GB, free: 214.3 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008578/6.434, allocations: 0.8713 MB / 3.998 GB, free: 213.4 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 4.838e-05/6.434, allocations: 33.64 kB / 3.998 GB, free: 213.4 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001657/6.434, allocations: 332.2 kB / 3.999 GB, free: 213.1 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 6.61e-05/6.434, allocations: 110.4 kB / 3.999 GB, free: 213 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.177e-05/6.434, allocations: 0 / 3.999 GB, free: 213 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 4.786e-05/6.434, allocations: 330 kB / 3.999 GB, free: 212.6 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002263/6.435, allocations: 208.9 kB / 3.999 GB, free: 212.4 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000364/6.435, allocations: 0.5201 MB / 4 GB, free: 211.8 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003113/6.435, allocations: 290.6 kB / 4 GB, free: 211.5 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.398e-06/6.435, allocations: 4 kB / 4 GB, free: 211.5 MB / 0.948 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001513/6.437, allocations: 0.9584 MB / 4.001 GB, free: 210.5 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003325/6.437, allocations: 2.1 MB / 4.003 GB, free: 208.3 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.041e-05/6.437, allocations: 4 kB / 4.003 GB, free: 208.3 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004683/6.438, allocations: 279.2 kB / 4.003 GB, free: 208 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002538/6.438, allocations: 75.98 kB / 4.003 GB, free: 207.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00145/6.439, allocations: 1.268 MB / 4.005 GB, free: 206.6 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009076/6.44, allocations: 99.55 kB / 4.005 GB, free: 206.5 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.028e-05/6.44, allocations: 27.98 kB / 4.005 GB, free: 206.5 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 9.287e-06/6.44, allocations: 4 kB / 4.005 GB, free: 206.5 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001022/6.441, allocations: 0.6539 MB / 4.005 GB, free: 205.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.945e-06/6.441, allocations: 8 kB / 4.005 GB, free: 205.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005022/6.442, allocations: 213.3 kB / 4.006 GB, free: 205.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002212/6.442, allocations: 71.89 kB / 4.006 GB, free: 205.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002862/6.445, allocations: 2.826 MB / 4.008 GB, free: 202.6 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008366/6.446, allocations: 95.56 kB / 4.009 GB, free: 202.5 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.549e-05/6.446, allocations: 20 kB / 4.009 GB, free: 202.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.0001305/6.446, allocations: 135.8 kB / 4.009 GB, free: 202.4 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001108/6.446, allocations: 102.8 kB / 4.009 GB, free: 202.2 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001003/6.447, allocations: 0.7179 MB / 4.01 GB, free: 201.5 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.024e-06/6.447, allocations: 8 kB / 4.01 GB, free: 201.5 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.344e-06/6.447, allocations: 4 kB / 4.01 GB, free: 201.5 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.392e-06/6.447, allocations: 3.984 kB / 4.01 GB, free: 201.5 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00198/6.449, allocations: 1.613 MB / 4.011 GB, free: 199.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.336e-06/6.449, allocations: 4.312 kB / 4.011 GB, free: 199.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001422/6.449, allocations: 31.97 kB / 4.011 GB, free: 199.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003407/6.45, allocations: 235.2 kB / 4.011 GB, free: 199.6 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.264e-05/6.45, allocations: 4 kB / 4.011 GB, free: 199.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008347/6.451, allocations: 1.106 MB / 4.012 GB, free: 198.4 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.368e-06/6.451, allocations: 4 kB / 4.012 GB, free: 198.4 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0008629/6.452, allocations: 0.9229 MB / 4.013 GB, free: 197.4 MB / 0.948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001094/6.453, allocations: 1.343 MB / 4.015 GB, free: 196 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003123/6.453, allocations: 219.8 kB / 4.015 GB, free: 195.7 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001666/6.453, allocations: 4 kB / 4.015 GB, free: 195.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006903/6.454, allocations: 67.77 kB / 4.015 GB, free: 195.7 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.2e-05/6.454, allocations: 31.95 kB / 4.015 GB, free: 195.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.261e-05/6.454, allocations: 8 kB / 4.015 GB, free: 195.6 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.0007038/6.455, allocations: 0.6845 MB / 4.016 GB, free: 194.9 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002888/6.458, allocations: 0.675 MB / 4.016 GB, free: 194.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.001201/6.459, allocations: 1.039 MB / 4.017 GB, free: 193.2 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.00187/6.461, allocations: 1.09 MB / 4.018 GB, free: 192.1 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.347e-06/6.461, allocations: 0 / 4.018 GB, free: 192.1 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0004573/6.461, allocations: 288.7 kB / 4.019 GB, free: 191.8 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002456/6.464, allocations: 0.5167 MB / 4.019 GB, free: 191.3 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002128/6.466, allocations: 1.402 MB / 4.021 GB, free: 189.9 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006412/6.466, allocations: 1.267 MB / 4.022 GB, free: 188.6 MB / 0.948 GB Notification: Performance of SimCode: time 7.31e-07/6.466, allocations: 0 / 4.022 GB, free: 188.6 MB / 0.948 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlow.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlow.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlow.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_Examples_Performance_PressureDrop_ParallelFlow_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_Examples_Performance_PressureDrop_ParallelFlow.fmu > Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlow.pipe 2>&1)