Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Examples_Performance_PressureDrop_ParallelDpOptimised",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised,fileNamePrefix="Buildings_8_0_0_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.0/package.mo): time 2.447/2.447, allocations: 284.8 MB / 292.1 MB, free: 10.75 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.001601/0.001601, allocations: 185.3 kB / 360.3 MB, free: 7.508 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.807/1.807, allocations: 205.1 MB / 0.6187 GB, free: 13.19 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.001322/0.001322, allocations: 96.7 kB / 0.7317 GB, free: 45.09 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2848/0.2861, allocations: 121.4 MB / 0.8502 GB, free: 3.879 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6722/0.9584, allocations: 115.2 MB / 0.9628 GB, free: 78.43 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.183/6.142, allocations: 2.065 GB / 3.028 GB, free: 274.7 MB / 0.9324 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003348/6.142, allocations: 91.2 kB / 3.028 GB, free: 274.7 MB / 0.9324 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 8.301/14.44, allocations: 1.803 GB / 4.831 GB, free: 10.61 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 6.871e-05/14.44, allocations: 8 kB / 4.831 GB, free: 10.61 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003278/14.45, allocations: 194.5 kB / 4.832 GB, free: 10.41 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01157/14.46, allocations: 1.393 MB / 4.833 GB, free: 8.965 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.393e-05/14.46, allocations: 23.94 kB / 4.833 GB, free: 8.941 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002963/14.46, allocations: 40 kB / 4.833 GB, free: 8.902 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001879/14.46, allocations: 0.4978 MB / 4.834 GB, free: 8.406 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003631/14.46, allocations: 0.7128 MB / 4.834 GB, free: 7.613 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.627e-05/14.46, allocations: 7.938 kB / 4.834 GB, free: 7.605 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.261e-05/14.46, allocations: 4 kB / 4.834 GB, free: 7.602 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.053e-05/14.46, allocations: 12 kB / 4.834 GB, free: 7.59 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005571/14.47, allocations: 4.159 MB / 4.838 GB, free: 3.188 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009394/14.47, allocations: 452 kB / 4.839 GB, free: 2.734 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008723/14.47, allocations: 333.7 kB / 4.839 GB, free: 2.402 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005684/14.47, allocations: 190.7 kB / 4.839 GB, free: 2.18 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006119/14.47, allocations: 283.7 kB / 4.84 GB, free: 1.883 MB / 0.948 GB Notification: Performance of pre-optimization done (n=33): time 3.496e-06/14.47, allocations: 0 / 4.84 GB, free: 1.883 MB / 0.948 GB Notification: Performance of matching and sorting (n=33): time 0.001708/14.47, allocations: 0.5275 MB / 4.84 GB, free: 1.348 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.448e-05/14.47, allocations: 81.11 kB / 4.84 GB, free: 1.25 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001725/14.48, allocations: 0.8717 MB / 4.841 GB, free: 368 kB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001165/14.48, allocations: 29.7 kB / 4.841 GB, free: 332 kB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.372/14.85, allocations: 328.7 kB / 4.841 GB, free: 0 / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.000251/14.85, allocations: 120.3 kB / 4.841 GB, free: 358.1 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.867e-05/14.85, allocations: 3.75 kB / 4.841 GB, free: 358.1 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.037e-05/14.85, allocations: 327.5 kB / 4.842 GB, free: 357.8 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004742/14.85, allocations: 206.1 kB / 4.842 GB, free: 357.8 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006771/14.85, allocations: 0.5102 MB / 4.842 GB, free: 357.4 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005827/14.85, allocations: 292 kB / 4.843 GB, free: 357.4 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.322e-06/14.85, allocations: 1.25 kB / 4.843 GB, free: 357.4 MB / 0.948 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001618/14.85, allocations: 0.6496 MB / 4.843 GB, free: 357.4 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004289/14.85, allocations: 2.095 MB / 4.845 GB, free: 355.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.43e-05/14.85, allocations: 6.375 kB / 4.845 GB, free: 355.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.141e-05/14.85, allocations: 7.75 kB / 4.845 GB, free: 355.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00132/14.85, allocations: 126.1 kB / 4.846 GB, free: 355.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.564e-05/14.85, allocations: 8.719 kB / 4.846 GB, free: 355.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001929/14.86, allocations: 100.3 kB / 4.846 GB, free: 355.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001321/14.86, allocations: 29.06 kB / 4.846 GB, free: 355.2 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.354e-05/14.86, allocations: 7.203 kB / 4.846 GB, free: 355.2 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001048/14.86, allocations: 443.3 kB / 4.846 GB, free: 355.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.075e-05/14.86, allocations: 6.344 kB / 4.846 GB, free: 355.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.47e-05/14.86, allocations: 14.22 kB / 4.846 GB, free: 355.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009328/14.86, allocations: 111.6 kB / 4.846 GB, free: 355.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.126e-05/14.86, allocations: 7.188 kB / 4.846 GB, free: 355.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001826/14.86, allocations: 97.3 kB / 4.846 GB, free: 355.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.828e-05/14.86, allocations: 25.69 kB / 4.846 GB, free: 355.2 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.0002455/14.86, allocations: 128.6 kB / 4.846 GB, free: 355.1 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001822/14.86, allocations: 98.06 kB / 4.847 GB, free: 355 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001409/14.86, allocations: 494.3 kB / 4.847 GB, free: 355 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.402e-05/14.86, allocations: 3.906 kB / 4.847 GB, free: 355 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.301e-05/14.86, allocations: 7.844 kB / 4.847 GB, free: 355 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.056e-05/14.86, allocations: 0 / 4.847 GB, free: 355 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005037/14.87, allocations: 1.359 MB / 4.848 GB, free: 354.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.031e-05/14.87, allocations: 0 / 4.848 GB, free: 354.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001012/14.87, allocations: 74.53 kB / 4.848 GB, free: 354.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.035e-05/14.87, allocations: 3.969 kB / 4.848 GB, free: 354.6 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.893e-05/14.87, allocations: 3.906 kB / 4.848 GB, free: 354.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.387e-06/14.87, allocations: 3.156 kB / 4.848 GB, free: 354.6 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.396e-06/14.87, allocations: 5.812 kB / 4.848 GB, free: 354.6 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001906/14.87, allocations: 0.6851 MB / 4.849 GB, free: 354.2 MB / 0.948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.00204/14.87, allocations: 1.1 MB / 4.85 GB, free: 353.5 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009576/14.87, allocations: 217.8 kB / 4.85 GB, free: 353.3 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003446/14.87, allocations: 4.688 kB / 4.85 GB, free: 353.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001902/14.88, allocations: 76.14 kB / 4.85 GB, free: 353.3 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001371/14.88, allocations: 37.52 kB / 4.851 GB, free: 353.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.302e-05/14.88, allocations: 14.34 kB / 4.851 GB, free: 353.3 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.001357/14.88, allocations: 0.6824 MB / 4.851 GB, free: 353.2 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.004865/14.88, allocations: 0.6669 MB / 4.852 GB, free: 353.2 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.001952/14.89, allocations: 1.115 MB / 4.853 GB, free: 353 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001845/14.89, allocations: 0.7885 MB / 4.854 GB, free: 352.9 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 6.182e-06/14.89, allocations: 0 / 4.854 GB, free: 352.9 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0005259/14.89, allocations: 208.2 kB / 4.854 GB, free: 352.9 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005531/14.89, allocations: 0.5231 MB / 4.854 GB, free: 352.9 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003814/14.9, allocations: 1.395 MB / 4.856 GB, free: 352.6 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001243/14.9, allocations: 1.272 MB / 4.857 GB, free: 351.9 MB / 0.948 GB Notification: Performance of SimCode: time 1.483e-06/14.9, allocations: 0 / 4.857 GB, free: 351.9 MB / 0.948 GB (rm -f Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_Examples_Performance_PressureDrop_ParallelDpOptimised_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_Examples_Performance_PressureDrop_ParallelDpOptimised.fmu > Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.pipe 2>&1)