Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.conf.json Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01114/0.01114, allocations: 106.2 kB / 15.05 MB, free: 5.984 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.001239/0.001239, allocations: 183.8 kB / 15.94 MB, free: 5.941 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 2.115/2.115, allocations: 194.5 MB / 211.3 MB, free: 11.06 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 2.521/2.521, allocations: 236.2 MB / 492.6 MB, free: 11.43 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005022/0.0005023, allocations: 12 kB / 0.587 GB, free: 2.066 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7058/0.7064, allocations: 98.72 MB / 0.6834 GB, free: 16.68 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.163/1.87, allocations: 346.5 MB / 1.022 GB, free: 101.1 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002946/1.87, allocations: 83.58 kB / 1.022 GB, free: 101 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.04647/1.916, allocations: 13.37 MB / 1.035 GB, free: 90.36 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.325e-06/1.917, allocations: 0 / 1.035 GB, free: 90.36 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 9.799e-06/1.917, allocations: 4 kB / 1.035 GB, free: 90.36 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.00107/1.918, allocations: 473.8 kB / 1.035 GB, free: 89.86 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.963e-05/1.918, allocations: 12.03 kB / 1.035 GB, free: 89.84 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.695e-05/1.918, allocations: 41.69 kB / 1.035 GB, free: 89.8 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.938e-05/1.918, allocations: 19.84 kB / 1.035 GB, free: 89.78 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000117/1.918, allocations: 178.8 kB / 1.036 GB, free: 89.57 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.535e-05/1.918, allocations: 15.5 kB / 1.036 GB, free: 89.55 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.448e-05/1.918, allocations: 7.938 kB / 1.036 GB, free: 89.55 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004815/1.919, allocations: 129.5 kB / 1.036 GB, free: 89.44 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.2e-05/1.919, allocations: 0 / 1.036 GB, free: 89.44 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.808e-05/1.919, allocations: 7.875 kB / 1.036 GB, free: 89.44 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.981e-06/1.919, allocations: 0 / 1.036 GB, free: 89.44 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000699/1.919, allocations: 160.3 kB / 1.036 GB, free: 89.31 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001379/1.921, allocations: 480.7 kB / 1.036 GB, free: 88.86 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004636/1.921, allocations: 138.3 kB / 1.037 GB, free: 88.75 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001879/1.923, allocations: 0.9526 MB / 1.037 GB, free: 87.71 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.41e-05/1.923, allocations: 34.56 kB / 1.038 GB, free: 87.67 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=12): time 3.095e-06/1.923, allocations: 0 / 1.038 GB, free: 87.67 MB / 0.7292 GB Notification: Performance of matching and sorting (n=12): time 0.001142/1.924, allocations: 244.6 kB / 1.038 GB, free: 87.46 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.16e-05/1.924, allocations: 51.41 kB / 1.038 GB, free: 87.39 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001584/1.925, allocations: 150.6 kB / 1.038 GB, free: 87.26 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.534e-05/1.925, allocations: 29.7 kB / 1.038 GB, free: 87.23 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 6.969e-05/1.925, allocations: 111.4 kB / 1.038 GB, free: 87.12 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 3.302e-05/1.925, allocations: 31.34 kB / 1.038 GB, free: 87.1 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.035e-05/1.925, allocations: 3.625 kB / 1.038 GB, free: 87.1 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 6.63e-05/1.925, allocations: 326.7 kB / 1.038 GB, free: 86.78 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003829/1.925, allocations: 89.62 kB / 1.039 GB, free: 86.71 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004033/1.926, allocations: 123.1 kB / 1.039 GB, free: 86.6 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004069/1.926, allocations: 102.8 kB / 1.039 GB, free: 86.52 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.148e-06/1.926, allocations: 0 / 1.039 GB, free: 86.52 MB / 0.7292 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.000968/1.927, allocations: 269.9 kB / 1.039 GB, free: 86.3 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 2.355e-05/1.927, allocations: 4 kB / 1.039 GB, free: 86.3 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.456e-06/1.927, allocations: 0 / 1.039 GB, free: 86.3 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.273e-05/1.927, allocations: 4 kB / 1.039 GB, free: 86.3 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004941/1.928, allocations: 59.47 kB / 1.039 GB, free: 86.24 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.018e-05/1.928, allocations: 4 kB / 1.039 GB, free: 86.24 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002958/1.928, allocations: 43.53 kB / 1.039 GB, free: 86.2 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.826e-05/1.928, allocations: 4 kB / 1.039 GB, free: 86.2 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * 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.0001233/1.928, allocations: 128.5 kB / 1.039 GB, free: 86.07 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.641e-05/1.928, allocations: 19.75 kB / 1.039 GB, free: 86.05 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008077/1.929, allocations: 197.4 kB / 1.039 GB, free: 85.89 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.621e-06/1.929, allocations: 8 kB / 1.039 GB, free: 85.88 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.021e-06/1.929, allocations: 0 / 1.039 GB, free: 85.88 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.58e-06/1.929, allocations: 0 / 1.039 GB, free: 85.88 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002725/1.929, allocations: 215.9 kB / 1.04 GB, free: 85.64 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.377e-06/1.929, allocations: 0 / 1.04 GB, free: 85.64 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002999/1.93, allocations: 43.91 kB / 1.04 GB, free: 85.6 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.436e-06/1.93, allocations: 3.953 kB / 1.04 GB, free: 85.59 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.498e-05/1.93, allocations: 0 / 1.04 GB, free: 85.59 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.058e-06/1.93, allocations: 0 / 1.04 GB, free: 85.59 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.973e-06/1.93, allocations: 4 kB / 1.04 GB, free: 85.59 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007629/1.931, allocations: 279.4 kB / 1.04 GB, free: 85.33 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 6.802e-05/1.931, allocations: 92.86 kB / 1.04 GB, free: 85.22 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.661e-05/1.931, allocations: 3.953 kB / 1.04 GB, free: 85.22 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002433/1.931, allocations: 19.42 kB / 1.04 GB, free: 85.2 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.767e-05/1.931, allocations: 11.98 kB / 1.04 GB, free: 85.19 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.454e-05/1.931, allocations: 4 kB / 1.04 GB, free: 85.19 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0001064/1.931, allocations: 117 kB / 1.04 GB, free: 85.09 MB / 0.7292 GB Notification: Performance of sort global known variables: time 3.91e-07/1.931, allocations: 0 / 1.04 GB, free: 85.09 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0005091/1.932, allocations: 67.3 kB / 1.04 GB, free: 85.03 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.001384/1.933, allocations: 0.8887 MB / 1.041 GB, free: 84.14 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0008839/1.934, allocations: 192.1 kB / 1.041 GB, free: 83.99 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 4.889e-06/1.934, allocations: 0 / 1.041 GB, free: 83.99 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0003408/1.934, allocations: 74.77 kB / 1.041 GB, free: 83.93 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003726/1.935, allocations: 31.64 kB / 1.041 GB, free: 83.91 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001236/1.936, allocations: 1.044 MB / 1.042 GB, free: 82.83 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001852/1.936, allocations: 0.7125 MB / 1.043 GB, free: 82.09 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0002061/1.937, allocations: 25 kB / 1.043 GB, free: 82.07 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001196/1.937, allocations: 36.23 kB / 1.043 GB, free: 82.05 MB / 0.7292 GB Notification: Performance of SimCode: time 1.513e-06/1.937, allocations: 0 / 1.043 GB, free: 82.05 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02952/1.966, allocations: 4.219 MB / 1.047 GB, free: 77.96 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000308/1.967, allocations: 203.2 kB / 1.047 GB, free: 77.73 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.682/4.649, allocations: 64 / 1.047 GB, free: 77.73 MB / 0.7292 GB