Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised,fileNamePrefix="Buildings_latest_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesParallelDpOptimised",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised,fileNamePrefix="Buildings_latest_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesParallelDpOptimised",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 10.0.0-master/package.mo): time 2.209/2.209, allocations: 390.4 MB / 397.7 MB, free: 11.24 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001343/0.001343, allocations: 173.3 kB / 490.8 MB, free: 1.918 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.567/1.567, allocations: 221.3 MB / 0.7863 GB, free: 13.66 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009578/0.0009578, allocations: 100 kB / 0.9264 GB, free: 14.19 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 0.6652/0.6662, allocations: 149.1 MB / 1.072 GB, free: 182.5 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2958/0.962, allocations: 143 MB / 1.212 GB, free: 40.03 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.491/6.453, allocations: 1.872 GB / 3.084 GB, free: 430.9 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000397/6.454, allocations: 90.38 kB / 3.084 GB, free: 430.9 MB / 1.151 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 7.563/14.02, allocations: 2.01 GB / 5.093 GB, free: 166.6 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.803e-05/14.02, allocations: 8 kB / 5.093 GB, free: 166.6 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00153/14.02, allocations: 198.4 kB / 5.094 GB, free: 166.4 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004522/14.02, allocations: 1.465 MB / 5.095 GB, free: 164.9 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.306e-05/14.02, allocations: 16 kB / 5.095 GB, free: 164.9 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001987/14.02, allocations: 40 kB / 5.095 GB, free: 164.9 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001178/14.02, allocations: 0.7209 MB / 5.096 GB, free: 164.1 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001179/14.03, allocations: 0.8604 MB / 5.097 GB, free: 163.2 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.995e-05/14.03, allocations: 3.938 kB / 5.097 GB, free: 163.2 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.333e-05/14.03, allocations: 4 kB / 5.097 GB, free: 163.2 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.521e-05/14.03, allocations: 16 kB / 5.097 GB, free: 163.2 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004791/14.03, allocations: 4.7 MB / 5.101 GB, free: 158.2 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006161/14.03, allocations: 0.5034 MB / 5.102 GB, free: 157.6 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004193/14.03, allocations: 425.7 kB / 5.102 GB, free: 157.2 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002978/14.03, allocations: 202.5 kB / 5.102 GB, free: 157 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003357/14.03, allocations: 294.6 kB / 5.103 GB, free: 156.7 MB / 1.151 GB Notification: Performance of pre-optimization done (n=35): time 2.325e-06/14.03, allocations: 0 / 5.103 GB, free: 156.7 MB / 1.151 GB Notification: Performance of matching and sorting (n=35): time 0.002006/14.03, allocations: 0.8714 MB / 5.103 GB, free: 155.8 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.768e-05/14.03, allocations: 89.05 kB / 5.104 GB, free: 155.7 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001201/14.04, allocations: 0.922 MB / 5.104 GB, free: 154.8 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 7.491e-05/14.04, allocations: 29.7 kB / 5.104 GB, free: 154.7 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002308/14.04, allocations: 344.4 kB / 5.105 GB, free: 154.4 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 8.973e-05/14.04, allocations: 126.2 kB / 5.105 GB, free: 154.3 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.441e-05/14.04, allocations: 0 / 5.105 GB, free: 154.3 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 5.855e-05/14.04, allocations: 326 kB / 5.105 GB, free: 153.9 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002643/14.04, allocations: 224.8 kB / 5.105 GB, free: 153.7 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004095/14.04, allocations: 0.5436 MB / 5.106 GB, free: 153 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003244/14.04, allocations: 314.5 kB / 5.106 GB, free: 152.7 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.956e-06/14.04, allocations: 0 / 5.106 GB, free: 152.7 MB / 1.151 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.001678/14.04, allocations: 1.012 MB / 5.107 GB, free: 151.7 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003652/14.04, allocations: 2.092 MB / 5.109 GB, free: 149.4 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.023e-05/14.04, allocations: 8 kB / 5.109 GB, free: 149.4 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005256/14.04, allocations: 272.5 kB / 5.11 GB, free: 149.2 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003133/14.04, allocations: 75.83 kB / 5.11 GB, free: 149.1 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00107/14.04, allocations: 1.22 MB / 5.111 GB, free: 147.9 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001124/14.04, allocations: 115.5 kB / 5.111 GB, free: 147.7 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.122e-05/14.04, allocations: 24 kB / 5.111 GB, free: 147.7 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.001e-05/14.04, allocations: 4 kB / 5.111 GB, free: 147.7 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001059/14.04, allocations: 0.6727 MB / 5.112 GB, free: 147 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.041e-06/14.04, allocations: 8.047 kB / 5.112 GB, free: 147 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006115/14.04, allocations: 250 kB / 5.112 GB, free: 146.8 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002886/14.04, allocations: 75.89 kB / 5.112 GB, free: 146.7 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002983/14.05, allocations: 2.912 MB / 5.115 GB, free: 143.7 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001059/14.05, allocations: 99.66 kB / 5.115 GB, free: 143.6 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.715e-05/14.05, allocations: 24 kB / 5.115 GB, free: 143.6 MB / 1.151 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 {1 22} Notification: Performance of prepare postOptimizeDAE: time 0.0001668/14.05, allocations: 137.8 kB / 5.115 GB, free: 143.4 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000122/14.05, allocations: 98.78 kB / 5.115 GB, free: 143.3 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001177/14.05, allocations: 0.7655 MB / 5.116 GB, free: 142.5 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.159e-06/14.05, allocations: 8 kB / 5.116 GB, free: 142.5 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.844e-06/14.05, allocations: 0 / 5.116 GB, free: 142.5 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.111e-06/14.05, allocations: 3.984 kB / 5.116 GB, free: 142.5 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00216/14.05, allocations: 1.711 MB / 5.118 GB, free: 140.8 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/14.05, allocations: 0 / 5.118 GB, free: 140.8 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002075/14.05, allocations: 40.12 kB / 5.118 GB, free: 140.7 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003934/14.05, allocations: 224.7 kB / 5.118 GB, free: 140.5 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.569e-05/14.05, allocations: 4 kB / 5.118 GB, free: 140.5 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007627/14.05, allocations: 1.077 MB / 5.119 GB, free: 139.4 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.088e-06/14.05, allocations: 8.062 kB / 5.119 GB, free: 139.4 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000994/14.06, allocations: 0.9679 MB / 5.12 GB, free: 138.3 MB / 1.151 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001221/14.06, allocations: 1.409 MB / 5.121 GB, free: 136.8 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004021/14.06, allocations: 235.7 kB / 5.121 GB, free: 136.6 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001336/14.06, allocations: 4 kB / 5.121 GB, free: 136.6 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007232/14.06, allocations: 79.75 kB / 5.121 GB, free: 136.5 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.146e-05/14.06, allocations: 27.95 kB / 5.122 GB, free: 136.5 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.294e-05/14.06, allocations: 16 kB / 5.122 GB, free: 136.5 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.0007451/14.06, allocations: 0.718 MB / 5.122 GB, free: 135.7 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.003077/14.06, allocations: 0.7961 MB / 5.123 GB, free: 134.9 MB / 1.151 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 {1 22} Notification: Performance of Backend phase and start with SimCode phase: time 0.00158/14.06, allocations: 1.293 MB / 5.124 GB, free: 133.6 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001532/14.06, allocations: 1.012 MB / 5.125 GB, free: 132.6 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 3.237e-06/14.06, allocations: 0 / 5.125 GB, free: 132.6 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0003366/14.07, allocations: 231.1 kB / 5.125 GB, free: 132.4 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002843/14.07, allocations: 0.5859 MB / 5.126 GB, free: 131.8 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00234/14.07, allocations: 1.476 MB / 5.128 GB, free: 130.3 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006678/14.07, allocations: 1.3 MB / 5.129 GB, free: 128.9 MB / 1.151 GB Notification: Performance of SimCode: time 7.31e-07/14.07, allocations: 0 / 5.129 GB, free: 128.9 MB / 1.151 GB (rm -f Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.pipe >> ../files/Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesParallelDpOptimised_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesParallelDpOptimised.fmu > Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.pipe 2>&1)