Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.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.SeriesParallelDp,fileNamePrefix="Buildings_8_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesParallelDp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp,fileNamePrefix="Buildings_8_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesParallelDp",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.66/1.66, allocations: 289.8 MB / 297.1 MB, free: 6.641 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.001736/0.001736, allocations: 181.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.762/1.762, allocations: 205.1 MB / 0.6256 GB, free: 5.832 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.00107/0.00107, allocations: 90.27 kB / 0.7395 GB, free: 39.58 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3353/0.3364, allocations: 122.4 MB / 0.8591 GB, free: 13.17 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8402/1.177, allocations: 116.3 MB / 0.9727 GB, free: 68.26 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.821/5.998, allocations: 2.066 GB / 3.039 GB, free: 9.008 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002515/5.998, allocations: 87.89 kB / 3.039 GB, free: 8.922 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: 135 * Number of variables: 135 Notification: Performance of Generate backend data structure: time 4.12/10.12, allocations: 1.082 GB / 4.122 GB, free: 18.45 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 6.554e-05/10.12, allocations: 8 kB / 4.122 GB, free: 18.44 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001948/10.12, allocations: 206.3 kB / 4.122 GB, free: 18.24 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005656/10.13, allocations: 1.449 MB / 4.123 GB, free: 16.73 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.024e-05/10.13, allocations: 20 kB / 4.123 GB, free: 16.71 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003193/10.13, allocations: 43.94 kB / 4.123 GB, free: 16.67 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001561/10.13, allocations: 0.7247 MB / 4.124 GB, free: 15.95 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001713/10.13, allocations: 0.8744 MB / 4.125 GB, free: 14.99 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.825e-05/10.13, allocations: 0 / 4.125 GB, free: 14.99 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.97e-05/10.13, allocations: 4 kB / 4.125 GB, free: 14.99 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.182e-05/10.13, allocations: 12 kB / 4.125 GB, free: 14.98 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00789/10.14, allocations: 4.684 MB / 4.129 GB, free: 9.965 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009573/10.14, allocations: 0.5112 MB / 4.13 GB, free: 9.445 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005655/10.14, allocations: 436.6 kB / 4.13 GB, free: 9.02 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004233/10.14, allocations: 202.5 kB / 4.13 GB, free: 8.785 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004689/10.14, allocations: 308.9 kB / 4.131 GB, free: 8.465 MB / 0.948 GB Notification: Performance of pre-optimization done (n=35): time 6.011e-06/10.14, allocations: 0 / 4.131 GB, free: 8.465 MB / 0.948 GB Notification: Performance of matching and sorting (n=35): time 0.002577/10.14, allocations: 0.8833 MB / 4.132 GB, free: 7.57 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.492e-05/10.14, allocations: 85.09 kB / 4.132 GB, free: 7.469 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001804/10.15, allocations: 0.9182 MB / 4.133 GB, free: 6.535 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001074/10.15, allocations: 25.7 kB / 4.133 GB, free: 6.504 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003529/10.15, allocations: 364.3 kB / 4.133 GB, free: 6.141 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001284/10.15, allocations: 110.4 kB / 4.133 GB, free: 6.031 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.799e-05/10.15, allocations: 4 kB / 4.133 GB, free: 6.027 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 9.634e-05/10.15, allocations: 329.9 kB / 4.133 GB, free: 5.699 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002658/10.15, allocations: 216.9 kB / 4.134 GB, free: 5.488 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004676/10.15, allocations: 0.5497 MB / 4.134 GB, free: 4.789 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004278/10.15, allocations: 313.9 kB / 4.134 GB, free: 4.484 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.131e-06/10.15, allocations: 4 kB / 4.134 GB, free: 4.48 MB / 0.948 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.002189/10.15, allocations: 1.016 MB / 4.135 GB, free: 3.453 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008486/10.15, allocations: 2.104 MB / 4.138 GB, free: 1.188 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.34e-05/10.15, allocations: 8 kB / 4.138 GB, free: 1.18 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006392/10.15, allocations: 304.7 kB / 4.138 GB, free: 0.8828 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003865/10.15, allocations: 71.89 kB / 4.138 GB, free: 0.8125 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.5083/10.66, allocations: 1.297 MB / 4.139 GB, free: 330.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00162/10.66, allocations: 113.8 kB / 4.139 GB, free: 330.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.81e-05/10.66, allocations: 28.22 kB / 4.139 GB, free: 330.8 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.594e-05/10.66, allocations: 3.906 kB / 4.139 GB, free: 330.8 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001302/10.66, allocations: 0.6987 MB / 4.14 GB, free: 330.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.488e-06/10.66, allocations: 7.531 kB / 4.14 GB, free: 330.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006587/10.66, allocations: 235.6 kB / 4.14 GB, free: 330.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003138/10.66, allocations: 78.45 kB / 4.14 GB, free: 330.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003663/10.67, allocations: 2.942 MB / 4.143 GB, free: 329.5 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001297/10.67, allocations: 99.14 kB / 4.143 GB, free: 329.5 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.176e-05/10.67, allocations: 22.56 kB / 4.143 GB, free: 329.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 {11 12} Notification: Performance of prepare postOptimizeDAE: time 0.0002291/10.67, allocations: 127.1 kB / 4.143 GB, free: 329.4 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001604/10.67, allocations: 102.1 kB / 4.143 GB, free: 329.4 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00134/10.67, allocations: 0.7738 MB / 4.144 GB, free: 329.3 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.699e-06/10.67, allocations: 7.562 kB / 4.144 GB, free: 329.3 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/10.67, allocations: 7.562 kB / 4.144 GB, free: 329.3 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.813e-06/10.67, allocations: 3.891 kB / 4.144 GB, free: 329.3 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002639/10.67, allocations: 1.717 MB / 4.146 GB, free: 328.9 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.991e-06/10.67, allocations: 3.594 kB / 4.146 GB, free: 328.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002201/10.67, allocations: 36.14 kB / 4.146 GB, free: 328.9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004813/10.67, allocations: 263.3 kB / 4.146 GB, free: 328.9 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.065e-05/10.67, allocations: 2.562 kB / 4.146 GB, free: 328.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001184/10.68, allocations: 1.144 MB / 4.147 GB, free: 328.4 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.211e-06/10.68, allocations: 5.5 kB / 4.147 GB, free: 328.4 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00116/10.68, allocations: 0.9625 MB / 4.148 GB, free: 328 MB / 0.948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001381/10.68, allocations: 1.425 MB / 4.15 GB, free: 327.2 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005539/10.68, allocations: 227 kB / 4.15 GB, free: 327.1 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001356/10.68, allocations: 7.5 kB / 4.15 GB, free: 327.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007644/10.68, allocations: 87.28 kB / 4.15 GB, free: 327.1 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.995e-05/10.68, allocations: 24.89 kB / 4.15 GB, free: 327.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.085e-05/10.68, allocations: 13.84 kB / 4.15 GB, free: 327.1 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.0009404/10.68, allocations: 0.7188 MB / 4.151 GB, free: 327 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.003602/10.68, allocations: 0.7957 MB / 4.151 GB, free: 327 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 {11 12} Notification: Performance of Backend phase and start with SimCode phase: time 0.001788/10.69, allocations: 1.272 MB / 4.153 GB, free: 326.7 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002713/10.69, allocations: 1.149 MB / 4.154 GB, free: 326.5 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 4.107e-06/10.69, allocations: 3.656 kB / 4.154 GB, free: 326.5 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0005501/10.69, allocations: 293.6 kB / 4.154 GB, free: 326.5 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003207/10.69, allocations: 0.5785 MB / 4.155 GB, free: 326.5 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002849/10.7, allocations: 1.487 MB / 4.156 GB, free: 326.1 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000803/10.7, allocations: 1.295 MB / 4.157 GB, free: 325.4 MB / 0.948 GB Notification: Performance of SimCode: time 2.013e-06/10.7, allocations: 0 / 4.157 GB, free: 325.4 MB / 0.948 GB (rm -f Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.pipe ; mkfifo Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.pipe >> ../files/Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesParallelDp_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesParallelDp.fmu > Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.pipe 2>&1)