Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised,fileNamePrefix="Buildings_9_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesParallelDpOptimised",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised,fileNamePrefix="Buildings_9_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 9.1.1-maint.9.1.x/package.mo): time 2.151/2.151, allocations: 387.2 MB / 394.5 MB, free: 13.68 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.0011/0.0011, allocations: 184.5 kB / 487 MB, free: 5.363 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.552/1.552, allocations: 221.3 MB / 0.7819 GB, free: 1.391 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001096/0.001096, allocations: 99.98 kB / 0.9213 GB, free: 2.641 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.7104/0.7116, allocations: 148.5 MB / 1.066 GB, free: 168.1 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.351/1.063, allocations: 142.3 MB / 1.205 GB, free: 26.11 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.753/5.816, allocations: 1.871 GB / 3.076 GB, free: 429.8 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002588/5.816, allocations: 94.7 kB / 3.077 GB, free: 429.7 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 6.565/12.38, allocations: 2.01 GB / 5.086 GB, free: 169.9 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.637e-05/12.38, allocations: 12 kB / 5.086 GB, free: 169.9 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001623/12.38, allocations: 202.3 kB / 5.086 GB, free: 169.7 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004729/12.39, allocations: 1.457 MB / 5.088 GB, free: 168.2 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.106e-05/12.39, allocations: 20 kB / 5.088 GB, free: 168.2 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000204/12.39, allocations: 36 kB / 5.088 GB, free: 168.2 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001194/12.39, allocations: 0.7248 MB / 5.089 GB, free: 167.4 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001237/12.39, allocations: 0.8682 MB / 5.089 GB, free: 166.5 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.166e-05/12.39, allocations: 4 kB / 5.089 GB, free: 166.5 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.895e-05/12.39, allocations: 4 kB / 5.089 GB, free: 166.5 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.635e-05/12.39, allocations: 15.91 kB / 5.089 GB, free: 166.5 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005111/12.4, allocations: 4.697 MB / 5.094 GB, free: 161.4 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006136/12.4, allocations: 0.5049 MB / 5.095 GB, free: 160.9 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004171/12.4, allocations: 433.2 kB / 5.095 GB, free: 160.5 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002937/12.4, allocations: 202.5 kB / 5.095 GB, free: 160.3 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003418/12.4, allocations: 301 kB / 5.095 GB, free: 159.9 MB / 1.151 GB Notification: Performance of pre-optimization done (n=35): time 2.685e-06/12.4, allocations: 3.938 kB / 5.095 GB, free: 159.9 MB / 1.151 GB Notification: Performance of matching and sorting (n=35): time 0.002051/12.4, allocations: 0.8597 MB / 5.096 GB, free: 159.1 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.388e-05/12.4, allocations: 85.09 kB / 5.096 GB, free: 159 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001256/12.4, allocations: 0.9259 MB / 5.097 GB, free: 158 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 7.804e-05/12.4, allocations: 25.7 kB / 5.097 GB, free: 158 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002521/12.4, allocations: 364.3 kB / 5.098 GB, free: 157.6 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001013/12.4, allocations: 110.3 kB / 5.098 GB, free: 157.5 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.386e-05/12.4, allocations: 0 / 5.098 GB, free: 157.5 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 8.424e-05/12.4, allocations: 330 kB / 5.098 GB, free: 157.2 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000266/12.4, allocations: 216.9 kB / 5.098 GB, free: 157 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004442/12.4, allocations: 0.5458 MB / 5.099 GB, free: 156.3 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003716/12.4, allocations: 309.7 kB / 5.099 GB, free: 156 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.725e-06/12.4, allocations: 4 kB / 5.099 GB, free: 156 MB / 1.151 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.001804/12.4, allocations: 1.001 MB / 5.1 GB, free: 155 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005501/12.4, allocations: 2.102 MB / 5.102 GB, free: 152.7 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.921e-05/12.4, allocations: 7.938 kB / 5.102 GB, free: 152.7 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005646/12.41, allocations: 279.8 kB / 5.102 GB, free: 152.4 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000328/12.41, allocations: 67.89 kB / 5.102 GB, free: 152.4 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001165/12.41, allocations: 1.216 MB / 5.104 GB, free: 151.1 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001205/12.41, allocations: 115.4 kB / 5.104 GB, free: 151 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.856e-05/12.41, allocations: 24 kB / 5.104 GB, free: 151 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.012e-05/12.41, allocations: 4 kB / 5.104 GB, free: 151 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001099/12.41, allocations: 0.6833 MB / 5.104 GB, free: 150.3 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.813e-06/12.41, allocations: 4 kB / 5.104 GB, free: 150.3 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006315/12.41, allocations: 250.8 kB / 5.105 GB, free: 150 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002911/12.41, allocations: 72.14 kB / 5.105 GB, free: 150 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003422/12.41, allocations: 2.91 MB / 5.108 GB, free: 146.9 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00119/12.41, allocations: 103.6 kB / 5.108 GB, free: 146.8 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.11e-05/12.41, allocations: 27.98 kB / 5.108 GB, free: 146.8 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.0002219/12.42, allocations: 121.1 kB / 5.108 GB, free: 146.7 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002143/12.42, allocations: 102.8 kB / 5.108 GB, free: 146.6 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001335/12.42, allocations: 0.7807 MB / 5.109 GB, free: 145.8 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.752e-06/12.42, allocations: 4 kB / 5.109 GB, free: 145.8 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.955e-06/12.42, allocations: 0 / 5.109 GB, free: 145.8 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.812e-06/12.42, allocations: 3.984 kB / 5.109 GB, free: 145.8 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002473/12.42, allocations: 1.703 MB / 5.11 GB, free: 144 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.881e-06/12.42, allocations: 4 kB / 5.11 GB, free: 144 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002083/12.42, allocations: 36.12 kB / 5.11 GB, free: 144 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004168/12.42, allocations: 225.9 kB / 5.111 GB, free: 143.8 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.856e-05/12.42, allocations: 7.984 kB / 5.111 GB, free: 143.8 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007934/12.42, allocations: 1.073 MB / 5.112 GB, free: 142.7 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.068e-06/12.42, allocations: 0 / 5.112 GB, free: 142.7 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001023/12.42, allocations: 0.972 MB / 5.113 GB, free: 141.6 MB / 1.151 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001258/12.42, allocations: 1.417 MB / 5.114 GB, free: 140.1 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004372/12.42, allocations: 231.7 kB / 5.114 GB, free: 139.9 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002051/12.42, allocations: 0 / 5.114 GB, free: 139.9 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008058/12.42, allocations: 87.75 kB / 5.114 GB, free: 139.8 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.196e-05/12.42, allocations: 27.95 kB / 5.114 GB, free: 139.7 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.791e-05/12.42, allocations: 16 kB / 5.114 GB, free: 139.7 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.000841/12.43, allocations: 0.7141 MB / 5.115 GB, free: 139 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.003908/12.43, allocations: 0.7922 MB / 5.116 GB, free: 138.2 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.001936/12.43, allocations: 1.291 MB / 5.117 GB, free: 136.9 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001646/12.43, allocations: 1.023 MB / 5.118 GB, free: 135.9 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 5.029e-06/12.43, allocations: 0 / 5.118 GB, free: 135.9 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.000361/12.43, allocations: 247.5 kB / 5.118 GB, free: 135.6 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002939/12.44, allocations: 0.5592 MB / 5.119 GB, free: 135.1 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00292/12.44, allocations: 1.48 MB / 5.12 GB, free: 133.5 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007995/12.44, allocations: 1.292 MB / 5.122 GB, free: 132.2 MB / 1.151 GB Notification: Performance of SimCode: time 1.673e-06/12.44, allocations: 0 / 5.122 GB, free: 132.2 MB / 1.151 GB (rm -f Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.pipe ; mkfifo Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.pipe >> ../files/Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesParallelDpOptimised_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesParallelDpOptimised.fmu > Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.pipe 2>&1)