Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised,fileNamePrefix="Buildings_latest_Buildings_Fluid_Examples_Performance_PressureDrop_ParallelDpOptimised",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised,fileNamePrefix="Buildings_latest_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 10.0.0-master/package.mo): time 2.106/2.106, allocations: 390.4 MB / 397.7 MB, free: 10.71 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001941/0.001941, allocations: 182.3 kB / 490.8 MB, free: 11.25 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.812/1.812, allocations: 221.4 MB / 0.7863 GB, free: 13.64 MB / 0.5886 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001085/0.001085, allocations: 94.77 kB / 0.9264 GB, free: 4.613 MB / 0.6667 GB Notification: Performance of FrontEnd - loaded program: time 0.404/0.4051, allocations: 149.1 MB / 1.072 GB, free: 15.54 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.16/1.565, allocations: 143 MB / 1.212 GB, free: 155.9 MB / 0.8855 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.73/6.295, allocations: 1.872 GB / 3.083 GB, free: 174.5 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002819/6.296, allocations: 90.12 kB / 3.084 GB, free: 174.5 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: 125 * Number of variables: 125 Notification: Performance of Generate backend data structure: time 5.577/11.87, allocations: 1.817 GB / 4.901 GB, free: 93.86 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 3.033e-05/11.87, allocations: 16 kB / 4.901 GB, free: 93.85 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009705/11.87, allocations: 190.4 kB / 4.901 GB, free: 93.66 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003392/11.88, allocations: 1.397 MB / 4.902 GB, free: 92.21 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.432e-05/11.88, allocations: 16 kB / 4.902 GB, free: 92.19 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.371e-05/11.88, allocations: 36 kB / 4.902 GB, free: 92.16 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006812/11.88, allocations: 0.5017 MB / 4.903 GB, free: 91.65 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007415/11.88, allocations: 0.7122 MB / 4.903 GB, free: 90.87 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.519e-05/11.88, allocations: 4 kB / 4.903 GB, free: 90.86 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.173e-05/11.88, allocations: 0 / 4.903 GB, free: 90.86 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.27e-05/11.88, allocations: 16 kB / 4.903 GB, free: 90.85 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002894/11.88, allocations: 4.156 MB / 4.908 GB, free: 86.45 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004745/11.88, allocations: 463.5 kB / 4.908 GB, free: 85.98 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000294/11.88, allocations: 325.7 kB / 4.908 GB, free: 85.66 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002377/11.88, allocations: 194.1 kB / 4.908 GB, free: 85.43 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002791/11.88, allocations: 286.8 kB / 4.909 GB, free: 85.13 MB / 1.151 GB Notification: Performance of pre-optimization done (n=33): time 1.703e-06/11.88, allocations: 0 / 4.909 GB, free: 85.13 MB / 1.151 GB Notification: Performance of matching and sorting (n=33): time 0.000848/11.88, allocations: 0.5212 MB / 4.909 GB, free: 84.6 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.51e-05/11.88, allocations: 85.11 kB / 4.909 GB, free: 84.5 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007749/11.89, allocations: 0.8717 MB / 4.91 GB, free: 83.61 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 3.617e-05/11.89, allocations: 33.7 kB / 4.91 GB, free: 83.57 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001434/11.89, allocations: 336.2 kB / 4.911 GB, free: 83.24 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 5.79e-05/11.89, allocations: 110.4 kB / 4.911 GB, free: 83.13 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.109e-05/11.89, allocations: 0 / 4.911 GB, free: 83.13 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 4.483e-05/11.89, allocations: 326 kB / 4.911 GB, free: 82.8 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002143/11.89, allocations: 196.9 kB / 4.911 GB, free: 82.61 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003283/11.89, allocations: 0.5276 MB / 4.912 GB, free: 81.94 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002902/11.89, allocations: 303.2 kB / 4.912 GB, free: 81.65 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.447e-06/11.89, allocations: 4.109 kB / 4.912 GB, free: 81.64 MB / 1.151 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0007183/11.89, allocations: 0.6416 MB / 4.913 GB, free: 81 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003132/11.89, allocations: 2.101 MB / 4.915 GB, free: 78.73 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.243e-06/11.89, allocations: 4 kB / 4.915 GB, free: 78.73 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.648e-05/11.89, allocations: 12 kB / 4.915 GB, free: 78.72 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005012/11.89, allocations: 115.9 kB / 4.915 GB, free: 78.61 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.272e-05/11.89, allocations: 19.83 kB / 4.915 GB, free: 78.59 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008142/11.89, allocations: 99.45 kB / 4.915 GB, free: 78.49 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.478e-05/11.89, allocations: 27.98 kB / 4.915 GB, free: 78.46 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 4.769e-06/11.89, allocations: 4 kB / 4.915 GB, free: 78.46 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005016/11.89, allocations: 442.7 kB / 4.915 GB, free: 78.03 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.757e-06/11.89, allocations: 4 kB / 4.915 GB, free: 78.02 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.232e-06/11.89, allocations: 8 kB / 4.915 GB, free: 78.02 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004263/11.89, allocations: 120.2 kB / 4.915 GB, free: 77.9 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.56e-06/11.89, allocations: 15.94 kB / 4.915 GB, free: 77.88 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006975/11.89, allocations: 91.59 kB / 4.916 GB, free: 77.79 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.758e-05/11.89, allocations: 24 kB / 4.916 GB, free: 77.77 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_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 8.955e-05/11.89, allocations: 124.8 kB / 4.916 GB, free: 77.64 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.191e-05/11.89, allocations: 102.8 kB / 4.916 GB, free: 77.54 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006017/11.89, allocations: 494.9 kB / 4.916 GB, free: 77.04 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.198e-06/11.89, allocations: 4 kB / 4.916 GB, free: 77.04 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.518e-06/11.89, allocations: 0 / 4.916 GB, free: 77.04 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.51e-06/11.89, allocations: 3.984 kB / 4.916 GB, free: 77.04 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00139/11.89, allocations: 1.354 MB / 4.918 GB, free: 75.61 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.455e-06/11.89, allocations: 0 / 4.918 GB, free: 75.61 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003248/11.89, allocations: 79.94 kB / 4.918 GB, free: 75.54 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.248e-06/11.89, allocations: 8 kB / 4.918 GB, free: 75.53 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.459e-05/11.89, allocations: 8 kB / 4.918 GB, free: 75.52 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.805e-06/11.89, allocations: 7.938 kB / 4.918 GB, free: 75.51 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/11.89, allocations: 4 kB / 4.918 GB, free: 75.51 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004853/11.89, allocations: 0.669 MB / 4.918 GB, free: 74.76 MB / 1.151 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0006371/11.89, allocations: 1.093 MB / 4.919 GB, free: 73.59 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002414/11.89, allocations: 219.9 kB / 4.92 GB, free: 73.35 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001257/11.89, allocations: 7.906 kB / 4.92 GB, free: 73.34 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006186/11.9, allocations: 67.77 kB / 4.92 GB, free: 73.28 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.043e-05/11.9, allocations: 27.95 kB / 4.92 GB, free: 73.25 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.578e-05/11.9, allocations: 12 kB / 4.92 GB, free: 73.24 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.0006033/11.9, allocations: 0.6886 MB / 4.92 GB, free: 72.54 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.002556/11.9, allocations: 0.6672 MB / 4.921 GB, free: 71.87 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_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.001026/11.9, allocations: 1.116 MB / 4.922 GB, free: 70.77 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0008116/11.9, allocations: 0.7971 MB / 4.923 GB, free: 69.96 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/11.9, allocations: 0 / 4.923 GB, free: 69.96 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0002304/11.9, allocations: 209.3 kB / 4.923 GB, free: 69.75 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002494/11.9, allocations: 0.5226 MB / 4.924 GB, free: 69.24 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00286/11.91, allocations: 1.394 MB / 4.925 GB, free: 67.79 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009771/11.91, allocations: 1.275 MB / 4.926 GB, free: 66.49 MB / 1.151 GB Notification: Performance of SimCode: time 9.92e-07/11.91, allocations: 0 / 4.926 GB, free: 66.49 MB / 1.151 GB (rm -f Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.pipe >> ../files/Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Examples_Performance_PressureDrop_ParallelDpOptimised_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Examples_Performance_PressureDrop_ParallelDpOptimised.fmu > Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.pipe 2>&1)