Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised,fileNamePrefix="Buildings_8_Buildings_Fluid_Examples_Performance_PressureDrop_ParallelDpOptimised",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.593/1.593, allocations: 289.8 MB / 297.1 MB, free: 6.684 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.001413/0.001413, allocations: 189.2 kB / 366.3 MB, free: 1.973 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.688/1.688, allocations: 205.1 MB / 0.6256 GB, free: 7.465 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.001059/0.001059, allocations: 89.17 kB / 0.7395 GB, free: 39.9 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3566/0.3578, allocations: 122.4 MB / 0.8591 GB, free: 13.51 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9128/1.271, allocations: 116.3 MB / 0.9727 GB, free: 76.16 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.069/6.34, allocations: 2.066 GB / 3.039 GB, free: 22.06 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002697/6.34, allocations: 93.34 kB / 3.039 GB, free: 22.01 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 6.651/12.99, allocations: 1.803 GB / 4.842 GB, free: 33.9 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.159e-05/12.99, allocations: 8 kB / 4.842 GB, free: 33.89 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001104/12.99, allocations: 186.5 kB / 4.843 GB, free: 33.71 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003671/13, allocations: 1.393 MB / 4.844 GB, free: 32.26 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.836e-05/13, allocations: 16 kB / 4.844 GB, free: 32.25 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.978e-05/13, allocations: 39.94 kB / 4.844 GB, free: 32.21 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000764/13, allocations: 0.5056 MB / 4.845 GB, free: 31.7 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000783/13, allocations: 0.7123 MB / 4.845 GB, free: 30.91 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.819e-05/13, allocations: 3.938 kB / 4.845 GB, free: 30.91 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.563e-05/13, allocations: 4 kB / 4.845 GB, free: 30.91 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.533e-05/13, allocations: 15.91 kB / 4.845 GB, free: 30.89 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003654/13, allocations: 4.153 MB / 4.849 GB, free: 26.49 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005161/13, allocations: 449 kB / 4.85 GB, free: 26.04 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003783/13, allocations: 330.4 kB / 4.85 GB, free: 25.71 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003843/13, allocations: 198.2 kB / 4.85 GB, free: 25.48 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000342/13, allocations: 286.9 kB / 4.851 GB, free: 25.18 MB / 0.948 GB Notification: Performance of pre-optimization done (n=33): time 3.236e-06/13, allocations: 3.938 kB / 4.851 GB, free: 25.18 MB / 0.948 GB Notification: Performance of matching and sorting (n=33): time 0.001162/13, allocations: 0.5203 MB / 4.851 GB, free: 24.65 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.367e-05/13, allocations: 85.11 kB / 4.851 GB, free: 24.55 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001025/13.01, allocations: 0.8795 MB / 4.852 GB, free: 23.65 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 5.604e-05/13.01, allocations: 25.7 kB / 4.852 GB, free: 23.62 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002324/13.01, allocations: 336.2 kB / 4.852 GB, free: 23.29 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 7.437e-05/13.01, allocations: 110.4 kB / 4.852 GB, free: 23.18 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.407e-05/13.01, allocations: 0 / 4.852 GB, free: 23.18 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 6.328e-05/13.01, allocations: 329.9 kB / 4.853 GB, free: 22.85 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002267/13.01, allocations: 204.8 kB / 4.853 GB, free: 22.65 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003661/13.01, allocations: 0.5199 MB / 4.853 GB, free: 21.98 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003003/13.01, allocations: 294.1 kB / 4.854 GB, free: 21.7 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/13.01, allocations: 0 / 4.854 GB, free: 21.7 MB / 0.948 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0008476/13.01, allocations: 0.6513 MB / 4.854 GB, free: 21.04 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005534/13.01, allocations: 2.098 MB / 4.856 GB, free: 18.78 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.269e-05/13.01, allocations: 8 kB / 4.856 GB, free: 18.77 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.538e-05/13.01, allocations: 8 kB / 4.856 GB, free: 18.77 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005966/13.01, allocations: 115.8 kB / 4.857 GB, free: 18.65 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.342e-05/13.01, allocations: 12 kB / 4.857 GB, free: 18.64 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001039/13.01, allocations: 99.44 kB / 4.857 GB, free: 18.54 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.391e-05/13.01, allocations: 24 kB / 4.857 GB, free: 18.52 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 6.863e-06/13.01, allocations: 4 kB / 4.857 GB, free: 18.52 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005467/13.01, allocations: 453.4 kB / 4.857 GB, free: 18.07 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.883e-06/13.01, allocations: 8 kB / 4.857 GB, free: 18.07 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.644e-06/13.01, allocations: 8 kB / 4.857 GB, free: 18.06 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000436/13.01, allocations: 116.4 kB / 4.857 GB, free: 17.95 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.074e-06/13.01, allocations: 15.92 kB / 4.857 GB, free: 17.93 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008264/13.01, allocations: 91.52 kB / 4.857 GB, free: 17.84 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.198e-05/13.01, allocations: 27.98 kB / 4.857 GB, free: 17.81 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.0001374/13.01, allocations: 131.7 kB / 4.857 GB, free: 17.68 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00011/13.01, allocations: 94.78 kB / 4.858 GB, free: 17.59 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007521/13.01, allocations: 483 kB / 4.858 GB, free: 17.1 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.735e-06/13.01, allocations: 7.984 kB / 4.858 GB, free: 17.09 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.752e-06/13.01, allocations: 0 / 4.858 GB, free: 17.09 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.703e-06/13.01, allocations: 4 kB / 4.858 GB, free: 17.09 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001753/13.01, allocations: 1.362 MB / 4.859 GB, free: 15.66 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.278e-06/13.01, allocations: 4 kB / 4.859 GB, free: 15.66 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00034/13.01, allocations: 76.11 kB / 4.859 GB, free: 15.58 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.043e-06/13.01, allocations: 4 kB / 4.859 GB, free: 15.58 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.415e-05/13.01, allocations: 7.984 kB / 4.859 GB, free: 15.57 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.879e-06/13.01, allocations: 4 kB / 4.859 GB, free: 15.57 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.619e-06/13.01, allocations: 3.938 kB / 4.859 GB, free: 15.56 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005848/13.02, allocations: 0.6826 MB / 4.86 GB, free: 14.8 MB / 0.948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0008348/13.02, allocations: 1.101 MB / 4.861 GB, free: 13.62 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003275/13.02, allocations: 215.8 kB / 4.861 GB, free: 13.39 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001351/13.02, allocations: 4 kB / 4.861 GB, free: 13.39 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006741/13.02, allocations: 71.77 kB / 4.862 GB, free: 13.32 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.778e-05/13.02, allocations: 31.95 kB / 4.862 GB, free: 13.29 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.48e-05/13.02, allocations: 8 kB / 4.862 GB, free: 13.28 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.0006854/13.02, allocations: 0.6924 MB / 4.862 GB, free: 12.57 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.003087/13.02, allocations: 0.6634 MB / 4.863 GB, free: 11.91 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.001545/13.02, allocations: 1.112 MB / 4.864 GB, free: 10.8 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001099/13.02, allocations: 0.7858 MB / 4.865 GB, free: 10 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/13.02, allocations: 0 / 4.865 GB, free: 10 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0002501/13.02, allocations: 209.8 kB / 4.865 GB, free: 9.801 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002702/13.03, allocations: 0.5299 MB / 4.865 GB, free: 9.273 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002269/13.03, allocations: 1.394 MB / 4.867 GB, free: 7.82 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006734/13.03, allocations: 1.271 MB / 4.868 GB, free: 6.52 MB / 0.948 GB Notification: Performance of SimCode: time 5.31e-07/13.03, allocations: 0 / 4.868 GB, free: 6.52 MB / 0.948 GB (rm -f Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.pipe ; mkfifo Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.pipe >> ../files/Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Examples_Performance_PressureDrop_ParallelDpOptimised_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Examples_Performance_PressureDrop_ParallelDpOptimised.fmu > Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.pipe 2>&1)