Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised,fileNamePrefix="Buildings_9_Buildings_Fluid_Examples_Performance_PressureDrop_ParallelDpOptimised",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised,fileNamePrefix="Buildings_9_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 9.1.1-maint.9.1.x/package.mo): time 2.014/2.014, allocations: 387.2 MB / 394.5 MB, free: 13.62 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00134/0.00134, allocations: 185.2 kB / 487 MB, free: 5.34 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.481/1.481, allocations: 221.3 MB / 0.7819 GB, free: 1.359 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001234/0.001234, allocations: 103.9 kB / 0.9213 GB, free: 2.602 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.6918/0.693, allocations: 148.5 MB / 1.066 GB, free: 168.1 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2642/0.9573, allocations: 142.3 MB / 1.205 GB, free: 26.08 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.526/5.484, allocations: 1.871 GB / 3.076 GB, free: 436 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002865/5.484, allocations: 88.45 kB / 3.076 GB, free: 436 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.974/11.46, allocations: 1.817 GB / 4.894 GB, free: 360.6 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 3.94e-05/11.46, allocations: 10.41 kB / 4.894 GB, free: 360.6 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001131/11.46, allocations: 191.9 kB / 4.894 GB, free: 360.5 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004561/11.46, allocations: 1.395 MB / 4.895 GB, free: 360.2 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.854e-05/11.46, allocations: 19.44 kB / 4.895 GB, free: 360.2 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.611e-05/11.46, allocations: 35.03 kB / 4.895 GB, free: 360.2 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009536/11.46, allocations: 0.5007 MB / 4.896 GB, free: 360.2 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00102/11.47, allocations: 0.7062 MB / 4.896 GB, free: 360 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.932e-05/11.47, allocations: 5.969 kB / 4.896 GB, free: 360 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.899e-05/11.47, allocations: 3.547 kB / 4.896 GB, free: 360 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.831e-05/11.47, allocations: 12.81 kB / 4.896 GB, free: 360 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00445/11.47, allocations: 4.176 MB / 4.9 GB, free: 357.2 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006496/11.47, allocations: 452.2 kB / 4.901 GB, free: 357.2 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000403/11.47, allocations: 326.1 kB / 4.901 GB, free: 357.2 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002962/11.47, allocations: 194.1 kB / 4.901 GB, free: 357 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003959/11.47, allocations: 279.4 kB / 4.902 GB, free: 356.9 MB / 1.151 GB Notification: Performance of pre-optimization done (n=33): time 2.164e-06/11.47, allocations: 0 / 4.902 GB, free: 356.9 MB / 1.151 GB Notification: Performance of matching and sorting (n=33): time 0.001171/11.47, allocations: 0.5303 MB / 4.902 GB, free: 356.8 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.019e-05/11.47, allocations: 83.19 kB / 4.902 GB, free: 356.7 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001226/11.47, allocations: 0.8743 MB / 4.903 GB, free: 356.6 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 4.823e-05/11.47, allocations: 32.59 kB / 4.903 GB, free: 356.5 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002525/11.47, allocations: 332.9 kB / 4.903 GB, free: 356.4 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 9.949e-05/11.47, allocations: 114.4 kB / 4.904 GB, free: 356.3 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.336e-05/11.48, allocations: 0 / 4.904 GB, free: 356.3 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 6.591e-05/11.48, allocations: 326.1 kB / 4.904 GB, free: 356 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000297/11.48, allocations: 202.6 kB / 4.904 GB, free: 356 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004929/11.48, allocations: 0.5148 MB / 4.905 GB, free: 355.7 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004109/11.48, allocations: 291.4 kB / 4.905 GB, free: 355.7 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.551e-06/11.48, allocations: 2.062 kB / 4.905 GB, free: 355.7 MB / 1.151 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001156/11.48, allocations: 0.65 MB / 4.905 GB, free: 355.6 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004287/11.48, allocations: 2.107 MB / 4.907 GB, free: 353.4 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.192e-05/11.48, allocations: 5.125 kB / 4.908 GB, free: 353.4 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.685e-05/11.48, allocations: 8.625 kB / 4.908 GB, free: 353.4 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006353/11.48, allocations: 121.8 kB / 4.908 GB, free: 353.4 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.817e-05/11.48, allocations: 19.36 kB / 4.908 GB, free: 353.4 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001099/11.48, allocations: 96.52 kB / 4.908 GB, free: 353.4 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.57e-05/11.48, allocations: 29.92 kB / 4.908 GB, free: 353.4 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 9.097e-06/11.48, allocations: 3.969 kB / 4.908 GB, free: 353.4 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006956/11.48, allocations: 446.4 kB / 4.908 GB, free: 353.4 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/11.48, allocations: 7 kB / 4.908 GB, free: 353.4 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.059e-05/11.48, allocations: 8.156 kB / 4.908 GB, free: 353.4 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005083/11.48, allocations: 123.3 kB / 4.908 GB, free: 353.4 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.527e-05/11.48, allocations: 9.938 kB / 4.908 GB, free: 353.4 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000977/11.48, allocations: 94 kB / 4.908 GB, free: 353.3 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.772e-05/11.48, allocations: 23.16 kB / 4.908 GB, free: 353.3 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 0.0001857/11.48, allocations: 131.5 kB / 4.909 GB, free: 353.2 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001725/11.48, allocations: 92.45 kB / 4.909 GB, free: 353.2 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001048/11.48, allocations: 494.8 kB / 4.909 GB, free: 353.1 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.011e-05/11.48, allocations: 5.016 kB / 4.909 GB, free: 353.1 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.312e-06/11.48, allocations: 0 / 4.909 GB, free: 353.1 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.709e-06/11.48, allocations: 3.234 kB / 4.909 GB, free: 353.1 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00253/11.49, allocations: 1.351 MB / 4.91 GB, free: 352.7 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.687e-06/11.49, allocations: 1.312 kB / 4.91 GB, free: 352.7 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003799/11.49, allocations: 82.05 kB / 4.911 GB, free: 352.7 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.008e-05/11.49, allocations: 4.062 kB / 4.911 GB, free: 352.7 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.814e-05/11.49, allocations: 4.312 kB / 4.911 GB, free: 352.7 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.341e-06/11.49, allocations: 4.25 kB / 4.911 GB, free: 352.7 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.462e-06/11.49, allocations: 6.438 kB / 4.911 GB, free: 352.7 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0008756/11.49, allocations: 0.6758 MB / 4.911 GB, free: 352.3 MB / 1.151 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0009879/11.49, allocations: 1.107 MB / 4.912 GB, free: 351.6 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004011/11.49, allocations: 215.5 kB / 4.913 GB, free: 351.5 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001499/11.49, allocations: 7.672 kB / 4.913 GB, free: 351.5 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007/11.49, allocations: 74.34 kB / 4.913 GB, free: 351.5 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001057/11.49, allocations: 30.7 kB / 4.913 GB, free: 351.5 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.793e-05/11.49, allocations: 13.94 kB / 4.913 GB, free: 351.5 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.001109/11.49, allocations: 0.6828 MB / 4.913 GB, free: 351.3 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.003537/11.49, allocations: 0.6663 MB / 4.914 GB, free: 351.3 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.002179/11.5, allocations: 1.109 MB / 4.915 GB, free: 351.1 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001506/11.5, allocations: 0.7934 MB / 4.916 GB, free: 351 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 4.148e-06/11.5, allocations: 0 / 4.916 GB, free: 351 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0003288/11.5, allocations: 208.8 kB / 4.916 GB, free: 351 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003067/11.5, allocations: 0.5296 MB / 4.917 GB, free: 351 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003028/11.5, allocations: 1.378 MB / 4.918 GB, free: 350.6 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001039/11.51, allocations: 1.283 MB / 4.919 GB, free: 349.9 MB / 1.151 GB Notification: Performance of SimCode: time 1.523e-06/11.51, allocations: 0 / 4.919 GB, free: 349.9 MB / 1.151 GB (rm -f Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.pipe ; mkfifo Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.pipe >> ../files/Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Examples_Performance_PressureDrop_ParallelDpOptimised_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Examples_Performance_PressureDrop_ParallelDpOptimised.fmu > Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.pipe 2>&1)