Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesDp.conf.json 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/IBPSA 4.0.0-master/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: "" <> buildModelFMU(IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesDp,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Examples_Performance_PressureDrop_SeriesDp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesDp,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Examples_Performance_PressureDrop_SeriesDp",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/Complex 4.0.0+maint.om/package.mo): time 0.001418/0.001418, allocations: 185.5 kB / 7.806 MB, free: 2.488 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4704/0.4704, allocations: 90.85 MB / 99.07 MB, free: 14.96 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.418/1.418, allocations: 221.4 MB / 342.7 MB, free: 5.488 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001128/0.001128, allocations: 98.61 kB / 415.5 MB, free: 9.883 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1947/0.1959, allocations: 78.45 MB / 494 MB, free: 11.51 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4611/0.657, allocations: 72.31 MB / 0.553 GB, free: 44.78 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.968/4.625, allocations: 1.824 GB / 2.377 GB, free: 224.5 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003055/4.625, allocations: 95.94 kB / 2.377 GB, free: 224.4 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 125 * Number of variables: 125 Notification: Performance of Generate backend data structure: time 3.259/7.884, allocations: 0.982 GB / 3.359 GB, free: 157.4 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.015e-05/7.884, allocations: 7.156 kB / 3.359 GB, free: 157.4 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001304/7.885, allocations: 185.2 kB / 3.36 GB, free: 157.3 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003207/7.889, allocations: 1.119 MB / 3.361 GB, free: 157 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.732e-05/7.889, allocations: 15.25 kB / 3.361 GB, free: 157 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001388/7.889, allocations: 37.78 kB / 3.361 GB, free: 157 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000891/7.89, allocations: 492.5 kB / 3.361 GB, free: 156.9 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001073/7.891, allocations: 0.6792 MB / 3.362 GB, free: 156.5 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.276e-05/7.891, allocations: 9.5 kB / 3.362 GB, free: 156.5 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.011e-05/7.891, allocations: 3.906 kB / 3.362 GB, free: 156.5 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.93e-05/7.891, allocations: 14.25 kB / 3.362 GB, free: 156.5 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00481/7.896, allocations: 4.66 MB / 3.367 GB, free: 152.7 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000622/7.896, allocations: 456.4 kB / 3.367 GB, free: 152.6 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002915/7.897, allocations: 246.8 kB / 3.367 GB, free: 152.5 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002855/7.897, allocations: 192.3 kB / 3.367 GB, free: 152.3 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003647/7.897, allocations: 263.7 kB / 3.368 GB, free: 152.2 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=31): time 1.804e-06/7.897, allocations: 0 / 3.368 GB, free: 152.2 MB / 0.6042 GB Notification: Performance of matching and sorting (n=31): time 0.00179/7.899, allocations: 0.7648 MB / 3.368 GB, free: 151.9 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.534e-05/7.899, allocations: 85.06 kB / 3.368 GB, free: 151.8 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009969/7.9, allocations: 0.8703 MB / 3.369 GB, free: 151.5 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 4.895e-05/7.9, allocations: 32.86 kB / 3.369 GB, free: 151.5 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002123/7.901, allocations: 335.8 kB / 3.37 GB, free: 151.3 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 7.119e-05/7.901, allocations: 105 kB / 3.37 GB, free: 151.2 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.127e-05/7.901, allocations: 0 / 3.37 GB, free: 151.2 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.795e-05/7.901, allocations: 330.9 kB / 3.37 GB, free: 150.9 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002328/7.901, allocations: 187.7 kB / 3.37 GB, free: 150.9 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004317/7.901, allocations: 0.4958 MB / 3.371 GB, free: 150.4 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004261/7.902, allocations: 284.6 kB / 3.371 GB, free: 150.3 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.07e-06/7.902, allocations: 2.031 kB / 3.371 GB, free: 150.3 MB / 0.6042 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001801/7.904, allocations: 0.8833 MB / 3.372 GB, free: 150 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004661/7.904, allocations: 2.094 MB / 3.374 GB, free: 147.8 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.331e-05/7.904, allocations: 4.875 kB / 3.374 GB, free: 147.8 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005335/7.905, allocations: 261.5 kB / 3.374 GB, free: 147.8 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002675/7.905, allocations: 66.61 kB / 3.374 GB, free: 147.8 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001541/7.907, allocations: 1.236 MB / 3.375 GB, free: 147.1 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009227/7.907, allocations: 89.52 kB / 3.376 GB, free: 147.1 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.096e-05/7.908, allocations: 25.56 kB / 3.376 GB, free: 147.1 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 8.887e-06/7.908, allocations: 5.031 kB / 3.376 GB, free: 147.1 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001126/7.909, allocations: 0.5735 MB / 3.376 GB, free: 146.8 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.752e-06/7.909, allocations: 5.625 kB / 3.376 GB, free: 146.8 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000524/7.909, allocations: 217.4 kB / 3.376 GB, free: 146.7 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002049/7.909, allocations: 71.16 kB / 3.376 GB, free: 146.7 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002857/7.912, allocations: 2.76 MB / 3.379 GB, free: 144.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007634/7.913, allocations: 77.67 kB / 3.379 GB, free: 144.1 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.504e-05/7.913, allocations: 27.98 kB / 3.379 GB, free: 144.1 MB / 0.6042 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_p.T_start,pulse_p.T_start,$PRE.pulse_p.count,pulse_p.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (34): * Single equations (assignments): 32 * 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 {9 11} Notification: Performance of prepare postOptimizeDAE: time 0.0001426/7.913, allocations: 122.8 kB / 3.379 GB, free: 144 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001106/7.913, allocations: 90.88 kB / 3.379 GB, free: 143.9 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009943/7.914, allocations: 0.6576 MB / 3.38 GB, free: 143.2 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.897e-06/7.914, allocations: 2.844 kB / 3.38 GB, free: 143.2 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.685e-06/7.914, allocations: 4 kB / 3.38 GB, free: 143.2 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.612e-06/7.914, allocations: 3.984 kB / 3.38 GB, free: 143.2 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001968/7.916, allocations: 1.476 MB / 3.381 GB, free: 141.7 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.879e-06/7.916, allocations: 4 kB / 3.382 GB, free: 141.7 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001156/7.917, allocations: 22.89 kB / 3.382 GB, free: 141.7 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003277/7.917, allocations: 220.1 kB / 3.382 GB, free: 141.4 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.441e-05/7.917, allocations: 15.27 kB / 3.382 GB, free: 141.4 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008506/7.918, allocations: 1.087 MB / 3.383 GB, free: 140.3 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.989e-06/7.918, allocations: 4 kB / 3.383 GB, free: 140.3 MB / 0.6042 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0008344/7.919, allocations: 0.8605 MB / 3.384 GB, free: 139.4 MB / 0.6042 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001073/7.92, allocations: 1.281 MB / 3.385 GB, free: 138.1 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003218/7.92, allocations: 212.3 kB / 3.385 GB, free: 137.8 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001253/7.92, allocations: 4 kB / 3.385 GB, free: 137.8 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005285/7.921, allocations: 52.64 kB / 3.385 GB, free: 137.8 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.547e-05/7.921, allocations: 34.92 kB / 3.385 GB, free: 137.7 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.649e-05/7.921, allocations: 11.94 kB / 3.385 GB, free: 137.7 MB / 0.6042 GB Notification: Performance of sort global known variables: time 0.0007245/7.922, allocations: 0.6847 MB / 3.386 GB, free: 137 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.002948/7.925, allocations: 0.6713 MB / 3.387 GB, free: 136.4 MB / 0.6042 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_p.T_start,pulse_p.count) * Number of discrete states: 1 (pulse_p.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 9 * 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 {9 11} Notification: Performance of Backend phase and start with SimCode phase: time 0.001299/7.926, allocations: 1.106 MB / 3.388 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.002277/7.928, allocations: 1.026 MB / 3.389 GB, free: 134.5 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 6.483e-06/7.928, allocations: 4 kB / 3.389 GB, free: 134.5 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0005046/7.929, allocations: 259.1 kB / 3.389 GB, free: 134.2 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001736/7.93, allocations: 379.3 kB / 3.389 GB, free: 133.9 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002333/7.933, allocations: 1.389 MB / 3.391 GB, free: 132.5 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006371/7.933, allocations: 1.263 MB / 3.392 GB, free: 131.2 MB / 0.6042 GB Notification: Performance of SimCode: time 7.81e-07/7.933, allocations: 0 / 3.392 GB, free: 131.2 MB / 0.6042 GB (rm -f IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesDp.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesDp.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesDp.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesDp.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Examples_Performance_PressureDrop_SeriesDp_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Examples_Performance_PressureDrop_SeriesDp.fmu > IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesDp.pipe 2>&1)