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 ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/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 loadModel(Buildings): time 4.448/4.448, allocations: 433.2 MB / 440.7 MB, free: 4.578 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 3.45e-05/3.467e-05, allocations: 7.531 kB / 0.5325 GB, free: 12.82 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2961/0.2962, allocations: 98.73 MB / 0.6289 GB, free: 9.145 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.28/1.576, allocations: 345.7 MB / 0.9665 GB, free: 6.457 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003385/1.577, allocations: 89.7 kB / 0.9666 GB, free: 6.406 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.04957/1.626, allocations: 13.23 MB / 0.9795 GB, free: 12.02 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.592e-06/1.626, allocations: 0 / 0.9795 GB, free: 12.02 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 1.419e-05/1.626, allocations: 4 kB / 0.9795 GB, free: 12.02 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.001081/1.627, allocations: 460 kB / 0.98 GB, free: 11.54 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.239e-05/1.627, allocations: 16.02 kB / 0.98 GB, free: 11.52 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.828e-05/1.627, allocations: 15.77 kB / 0.98 GB, free: 11.51 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001535/1.628, allocations: 175.8 kB / 0.9802 GB, free: 11.3 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.034e-05/1.628, allocations: 4 kB / 0.9802 GB, free: 11.29 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.542e-05/1.628, allocations: 7.984 kB / 0.9802 GB, free: 11.29 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002804/1.628, allocations: 96.97 kB / 0.9803 GB, free: 11.22 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002126/1.628, allocations: 82.05 kB / 0.9804 GB, free: 11.15 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.959e-06/1.628, allocations: 0 / 0.9804 GB, free: 11.15 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.588e-05/1.628, allocations: 0 / 0.9804 GB, free: 11.15 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.965e-06/1.628, allocations: 3.953 kB / 0.9804 GB, free: 11.15 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001387/1.63, allocations: 441 kB / 0.9808 GB, free: 10.74 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002436/1.63, allocations: 91.39 kB / 0.9809 GB, free: 10.67 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001057/1.63, allocations: 46.34 kB / 0.9809 GB, free: 10.64 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002056/1.632, allocations: 0.9781 MB / 0.9819 GB, free: 9.574 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.854e-05/1.632, allocations: 30.56 kB / 0.9819 GB, free: 9.535 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=12): time 2.585e-06/1.632, allocations: 0 / 0.9819 GB, free: 9.535 MB / 0.7292 GB Notification: Performance of matching and sorting (n=12): time 0.0006661/1.633, allocations: 138.1 kB / 0.982 GB, free: 9.418 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.712e-05/1.633, allocations: 55.41 kB / 0.9821 GB, free: 9.352 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001714/1.633, allocations: 136.9 kB / 0.9822 GB, free: 9.23 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 3.438e-05/1.633, allocations: 29.39 kB / 0.9823 GB, free: 9.199 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 9.71e-05/1.633, allocations: 111.4 kB / 0.9824 GB, free: 9.094 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 4.404e-05/1.633, allocations: 38.88 kB / 0.9824 GB, free: 9.059 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.543e-05/1.633, allocations: 0 / 0.9824 GB, free: 9.059 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001438/1.634, allocations: 328 kB / 0.9827 GB, free: 8.738 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000139/1.634, allocations: 45.86 kB / 0.9828 GB, free: 8.711 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001885/1.634, allocations: 80.23 kB / 0.9828 GB, free: 8.641 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008523/1.635, allocations: 132.3 kB / 0.983 GB, free: 8.539 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/1.635, allocations: 0 / 0.983 GB, free: 8.539 MB / 0.7292 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.001115/1.636, allocations: 247.6 kB / 0.9832 GB, free: 8.336 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 2.221e-05/1.636, allocations: 8 kB / 0.9832 GB, free: 8.328 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.675e-06/1.636, allocations: 0 / 0.9832 GB, free: 8.328 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.057e-05/1.636, allocations: 3.984 kB / 0.9832 GB, free: 8.324 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005137/1.637, allocations: 63.44 kB / 0.9833 GB, free: 8.266 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.452e-06/1.637, allocations: 0 / 0.9833 GB, free: 8.266 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002889/1.637, allocations: 35.67 kB / 0.9833 GB, free: 8.23 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.212e-05/1.637, allocations: 15.92 kB / 0.9833 GB, free: 8.215 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 () * 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.0001025/1.637, allocations: 105 kB / 0.9834 GB, free: 8.105 MB / 0.7292 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0005584/1.638, allocations: 134.8 kB / 0.9835 GB, free: 7.992 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.502e-05/1.638, allocations: 11.81 kB / 0.9836 GB, free: 7.98 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006469/1.638, allocations: 147 kB / 0.9837 GB, free: 7.863 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.549e-06/1.638, allocations: 0 / 0.9837 GB, free: 7.863 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.905e-06/1.638, allocations: 4 kB / 0.9837 GB, free: 7.859 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/1.638, allocations: 0 / 0.9837 GB, free: 7.859 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003233/1.639, allocations: 190.6 kB / 0.9839 GB, free: 7.656 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-06/1.639, allocations: 4 kB / 0.9839 GB, free: 7.652 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000313/1.639, allocations: 35.94 kB / 0.9839 GB, free: 7.617 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.436e-06/1.639, allocations: 7.938 kB / 0.9839 GB, free: 7.609 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.365e-05/1.639, allocations: 0 / 0.9839 GB, free: 7.609 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.36e-06/1.639, allocations: 3.984 kB / 0.9839 GB, free: 7.605 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/1.639, allocations: 0 / 0.9839 GB, free: 7.605 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005442/1.64, allocations: 235.5 kB / 0.9842 GB, free: 7.387 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 6.007e-05/1.64, allocations: 88.92 kB / 0.9842 GB, free: 7.281 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.381e-05/1.64, allocations: 3.953 kB / 0.9842 GB, free: 7.277 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002459/1.64, allocations: 15.98 kB / 0.9843 GB, free: 7.262 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.962e-05/1.64, allocations: 7.984 kB / 0.9843 GB, free: 7.254 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.913e-05/1.64, allocations: 7.938 kB / 0.9843 GB, free: 7.25 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 9.232e-05/1.64, allocations: 102.2 kB / 0.9844 GB, free: 7.156 MB / 0.7292 GB Notification: Performance of sort global known variables: time 4.41e-07/1.64, allocations: 4 kB / 0.9844 GB, free: 7.152 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0004728/1.641, allocations: 64.11 kB / 0.9844 GB, free: 7.094 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 () * 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.001149/1.642, allocations: 0.8345 MB / 0.9852 GB, free: 6.262 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0003643/1.642, allocations: 112.9 kB / 0.9854 GB, free: 6.184 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/1.642, allocations: 0 / 0.9854 GB, free: 6.184 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001121/1.642, allocations: 49.5 kB / 0.9854 GB, free: 6.148 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003387/1.643, allocations: 20.88 kB / 0.9854 GB, free: 6.133 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007086/1.643, allocations: 196.7 kB / 0.9856 GB, free: 5.918 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003085/1.644, allocations: 0.7124 MB / 0.9863 GB, free: 5.18 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0001824/1.644, allocations: 25.08 kB / 0.9863 GB, free: 5.152 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001118/1.644, allocations: 33.98 kB / 0.9864 GB, free: 5.137 MB / 0.7292 GB Notification: Performance of SimCode: time 8.32e-07/1.644, allocations: 3.938 kB / 0.9864 GB, free: 5.133 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04164/1.686, allocations: 3.627 MB / 0.9899 GB, free: 1.531 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003381/1.686, allocations: 166.5 kB / 0.9901 GB, free: 1.336 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.484/4.17, allocations: 0 / 0.9901 GB, free: 1.336 MB / 0.7292 GB