Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.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.ParallelDpOptimised,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Examples_Performance_PressureDrop_ParallelDpOptimised",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Examples_Performance_PressureDrop_ParallelDpOptimised",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.402/1.402, allocations: 285.5 MB / 292.8 MB, free: 10.43 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.001105/0.001105, allocations: 179.5 kB / 361.1 MB, free: 7.086 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.105/1.105, allocations: 205.1 MB / 0.6195 GB, free: 10.3 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.0008739/0.0008738, allocations: 97.64 kB / 0.7326 GB, free: 44.27 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.1884/0.1893, allocations: 121.4 MB / 0.8512 GB, free: 2.902 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4611/0.6504, allocations: 115.3 MB / 0.9638 GB, free: 77.96 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.164/3.815, allocations: 2.065 GB / 3.029 GB, free: 60.48 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002455/3.815, allocations: 88.97 kB / 3.029 GB, free: 60.4 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: 125 * Number of variables: 125 Notification: Performance of Generate backend data structure: time 4.992/8.807, allocations: 1.803 GB / 4.833 GB, free: 94.55 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.598e-05/8.807, allocations: 12 kB / 4.833 GB, free: 94.54 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009721/8.808, allocations: 194.4 kB / 4.833 GB, free: 94.35 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003299/8.812, allocations: 1.405 MB / 4.834 GB, free: 92.89 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.811e-05/8.812, allocations: 16 kB / 4.834 GB, free: 92.87 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.069e-05/8.812, allocations: 39.98 kB / 4.834 GB, free: 92.83 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006615/8.812, allocations: 0.5016 MB / 4.835 GB, free: 92.33 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007368/8.813, allocations: 0.7101 MB / 4.835 GB, free: 91.54 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.643e-05/8.813, allocations: 7.938 kB / 4.835 GB, free: 91.54 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.298e-05/8.813, allocations: 0 / 4.835 GB, free: 91.54 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.25e-05/8.813, allocations: 16 kB / 4.835 GB, free: 91.52 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002869/8.816, allocations: 4.161 MB / 4.84 GB, free: 87.12 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004784/8.817, allocations: 455 kB / 4.84 GB, free: 86.66 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003061/8.817, allocations: 328.7 kB / 4.84 GB, free: 86.34 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002487/8.817, allocations: 186.2 kB / 4.84 GB, free: 86.12 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000295/8.817, allocations: 298.8 kB / 4.841 GB, free: 85.8 MB / 0.948 GB Notification: Performance of pre-optimization done (n=33): time 2.004e-06/8.817, allocations: 0 / 4.841 GB, free: 85.8 MB / 0.948 GB Notification: Performance of matching and sorting (n=33): time 0.0008668/8.818, allocations: 0.5127 MB / 4.841 GB, free: 85.29 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.308e-05/8.818, allocations: 81.11 kB / 4.841 GB, free: 85.19 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007951/8.819, allocations: 0.8755 MB / 4.842 GB, free: 84.29 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 3.946e-05/8.819, allocations: 29.7 kB / 4.842 GB, free: 84.26 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001586/8.819, allocations: 340.2 kB / 4.842 GB, free: 83.92 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 6.198e-05/8.819, allocations: 114.4 kB / 4.843 GB, free: 83.81 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.207e-05/8.82, allocations: 0 / 4.843 GB, free: 83.81 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 5.25e-05/8.82, allocations: 322 kB / 4.843 GB, free: 83.49 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002298/8.82, allocations: 204.8 kB / 4.843 GB, free: 83.29 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003512/8.82, allocations: 0.5162 MB / 4.844 GB, free: 82.62 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003018/8.82, allocations: 290.6 kB / 4.844 GB, free: 82.34 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.125e-06/8.82, allocations: 0 / 4.844 GB, free: 82.34 MB / 0.948 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0007475/8.821, allocations: 0.6491 MB / 4.845 GB, free: 81.69 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003267/8.822, allocations: 2.094 MB / 4.847 GB, free: 79.43 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.208e-06/8.822, allocations: 4 kB / 4.847 GB, free: 79.43 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.691e-05/8.822, allocations: 11.91 kB / 4.847 GB, free: 79.42 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004991/8.822, allocations: 123.8 kB / 4.847 GB, free: 79.3 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.087e-05/8.822, allocations: 11.98 kB / 4.847 GB, free: 79.29 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008416/8.823, allocations: 95.45 kB / 4.847 GB, free: 79.19 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.041e-05/8.823, allocations: 31.98 kB / 4.847 GB, free: 79.16 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 8.306e-06/8.823, allocations: 4 kB / 4.847 GB, free: 79.16 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005283/8.824, allocations: 453.9 kB / 4.847 GB, free: 78.71 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/8.824, allocations: 4 kB / 4.847 GB, free: 78.71 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.386e-06/8.824, allocations: 8 kB / 4.847 GB, free: 78.7 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004257/8.824, allocations: 111.8 kB / 4.847 GB, free: 78.59 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.586e-06/8.824, allocations: 11.94 kB / 4.847 GB, free: 78.58 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000742/8.825, allocations: 99.59 kB / 4.847 GB, free: 78.48 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.938e-05/8.825, allocations: 24 kB / 4.848 GB, free: 78.46 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_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 (55): * Single equations (assignments): 54 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001096/8.825, allocations: 129.4 kB / 4.848 GB, free: 78.33 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.103e-05/8.825, allocations: 102.8 kB / 4.848 GB, free: 78.23 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00062/8.826, allocations: 487 kB / 4.848 GB, free: 77.74 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.641e-06/8.826, allocations: 7.938 kB / 4.848 GB, free: 77.73 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.512e-06/8.826, allocations: 4 kB / 4.848 GB, free: 77.73 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.192e-06/8.826, allocations: 3.984 kB / 4.848 GB, free: 77.72 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001532/8.827, allocations: 1.358 MB / 4.85 GB, free: 76.3 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/8.827, allocations: 0 / 4.85 GB, free: 76.3 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003202/8.828, allocations: 79.81 kB / 4.85 GB, free: 76.22 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.199e-06/8.828, allocations: 4.219 kB / 4.85 GB, free: 76.21 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.106e-05/8.828, allocations: 8 kB / 4.85 GB, free: 76.21 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.356e-06/8.828, allocations: 4 kB / 4.85 GB, free: 76.2 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.626e-06/8.828, allocations: 7.938 kB / 4.85 GB, free: 76.2 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004973/8.828, allocations: 0.6768 MB / 4.85 GB, free: 75.44 MB / 0.948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0006479/8.829, allocations: 1.097 MB / 4.851 GB, free: 74.26 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000275/8.829, allocations: 223.8 kB / 4.852 GB, free: 74.02 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001347/8.829, allocations: 4 kB / 4.852 GB, free: 74.02 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006689/8.83, allocations: 67.77 kB / 4.852 GB, free: 73.95 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.528e-05/8.83, allocations: 31.95 kB / 4.852 GB, free: 73.92 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.275e-05/8.83, allocations: 12 kB / 4.852 GB, free: 73.91 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.0006101/8.831, allocations: 0.6808 MB / 4.852 GB, free: 73.22 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.00261/8.833, allocations: 0.6672 MB / 4.853 GB, free: 72.55 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_p.T_start,pulse_p.count) * Number of discrete states: 1 (pulse_p.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 31 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001223/8.835, allocations: 1.117 MB / 4.854 GB, free: 71.44 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0008495/8.835, allocations: 0.7896 MB / 4.855 GB, free: 70.64 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/8.835, allocations: 384 / 4.855 GB, free: 70.64 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0002339/8.836, allocations: 219.7 kB / 4.855 GB, free: 70.42 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002415/8.838, allocations: 0.5237 MB / 4.856 GB, free: 69.9 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00205/8.84, allocations: 1.39 MB / 4.857 GB, free: 68.46 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006537/8.841, allocations: 1.279 MB / 4.858 GB, free: 67.16 MB / 0.948 GB Notification: Performance of SimCode: time 3.01e-07/8.841, allocations: 0 / 4.858 GB, free: 67.16 MB / 0.948 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_Examples_Performance_PressureDrop_ParallelDpOptimised_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_Examples_Performance_PressureDrop_ParallelDpOptimised.fmu > Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.pipe 2>&1)