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/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 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 Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/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.345/4.345, allocations: 432.6 MB / 445.2 MB, free: 15.79 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 5.147e-05/5.169e-05, allocations: 5.984 kB / 0.5383 GB, free: 10.29 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2885/0.2886, allocations: 98.73 MB / 0.6347 GB, free: 1.879 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.105/1.394, allocations: 346.4 MB / 0.973 GB, free: 10.62 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003392/1.394, allocations: 87.75 kB / 0.9731 GB, free: 10.57 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.0509/1.445, allocations: 13.3 MB / 0.9861 GB, free: 8 kB / 0.7292 GB Notification: Performance of FrontEnd: time 4.729e-06/1.445, allocations: 0 / 0.9861 GB, free: 8 kB / 0.7292 GB Notification: Performance of Transformations before backend: time 1.004e-05/1.445, allocations: 7.938 kB / 0.9861 GB, free: 0 / 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.001197/1.446, allocations: 462.1 kB / 0.9865 GB, free: 15.52 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.443e-05/1.446, allocations: 8.031 kB / 0.9865 GB, free: 15.51 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.813e-05/1.447, allocations: 45.8 kB / 0.9866 GB, free: 15.46 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.022e-05/1.447, allocations: 19.77 kB / 0.9866 GB, free: 15.44 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001829/1.447, allocations: 172.2 kB / 0.9868 GB, free: 15.23 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.044e-05/1.447, allocations: 11.19 kB / 0.9868 GB, free: 15.22 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.882e-05/1.447, allocations: 14.81 kB / 0.9868 GB, free: 15.21 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002786/1.447, allocations: 93.94 kB / 0.9869 GB, free: 15.14 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.027e-05/1.447, allocations: 0 / 0.9869 GB, free: 15.14 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.75e-05/1.447, allocations: 3.938 kB / 0.9869 GB, free: 15.14 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.206e-05/1.447, allocations: 8 kB / 0.9869 GB, free: 15.13 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002859/1.448, allocations: 86.33 kB / 0.987 GB, free: 15.07 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001473/1.449, allocations: 469.8 kB / 0.9874 GB, free: 14.63 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000247/1.449, allocations: 106.2 kB / 0.9875 GB, free: 14.55 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001245/1.449, allocations: 45.3 kB / 0.9876 GB, free: 14.52 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00216/1.452, allocations: 0.9928 MB / 0.9885 GB, free: 13.45 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.042e-05/1.452, allocations: 30.56 kB / 0.9886 GB, free: 13.41 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=12): time 3.867e-06/1.452, allocations: 4 kB / 0.9886 GB, free: 13.41 MB / 0.7448 GB Notification: Performance of matching and sorting (n=12): time 0.0004095/1.452, allocations: 109.3 kB / 0.9887 GB, free: 13.32 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.902e-05/1.452, allocations: 55.41 kB / 0.9887 GB, free: 13.25 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001889/1.452, allocations: 142.1 kB / 0.9889 GB, free: 13.12 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 3.102e-05/1.452, allocations: 28.95 kB / 0.9889 GB, free: 13.09 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.000103/1.453, allocations: 118.7 kB / 0.989 GB, free: 12.98 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 4.22e-05/1.453, allocations: 34.52 kB / 0.989 GB, free: 12.95 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.617e-05/1.453, allocations: 3.875 kB / 0.989 GB, free: 12.95 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001587/1.453, allocations: 325.5 kB / 0.9893 GB, free: 12.63 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001684/1.453, allocations: 57.12 kB / 0.9894 GB, free: 12.59 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002107/1.453, allocations: 85.52 kB / 0.9895 GB, free: 12.52 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001871/1.453, allocations: 55.77 kB / 0.9895 GB, free: 12.48 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.06e-06/1.453, allocations: 4 kB / 0.9895 GB, free: 12.48 MB / 0.7448 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0005503/1.454, allocations: 202.1 kB / 0.9897 GB, free: 12.32 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.409e-05/1.454, allocations: 10.5 kB / 0.9897 GB, free: 12.31 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.444e-06/1.454, allocations: 0 / 0.9897 GB, free: 12.31 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.716e-05/1.454, allocations: 0 / 0.9897 GB, free: 12.31 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005482/1.455, allocations: 63.53 kB / 0.9898 GB, free: 12.25 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.007e-05/1.455, allocations: 0 / 0.9898 GB, free: 12.25 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003086/1.455, allocations: 47.12 kB / 0.9898 GB, free: 12.21 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.275e-05/1.455, allocations: 8 kB / 0.9899 GB, free: 12.2 MB / 0.7448 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.0001086/1.455, allocations: 111.4 kB / 0.99 GB, free: 12.09 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.012e-05/1.455, allocations: 15.77 kB / 0.99 GB, free: 12.07 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004532/1.456, allocations: 131.1 kB / 0.9901 GB, free: 11.97 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.367e-06/1.456, allocations: 7.984 kB / 0.9901 GB, free: 11.96 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.254e-06/1.456, allocations: 4 kB / 0.9901 GB, free: 11.96 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.432e-06/1.456, allocations: 7.984 kB / 0.9901 GB, free: 11.95 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003312/1.456, allocations: 209.1 kB / 0.9903 GB, free: 11.71 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.642e-06/1.456, allocations: 0 / 0.9903 GB, free: 11.71 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003151/1.456, allocations: 39.3 kB / 0.9904 GB, free: 11.68 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.095e-06/1.456, allocations: 3.953 kB / 0.9904 GB, free: 11.68 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.757e-05/1.456, allocations: 3.984 kB / 0.9904 GB, free: 11.67 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.029e-06/1.457, allocations: 0 / 0.9904 GB, free: 11.67 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.259e-06/1.457, allocations: 7.938 kB / 0.9904 GB, free: 11.66 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003337/1.457, allocations: 210.3 kB / 0.9906 GB, free: 11.47 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 6.298e-05/1.457, allocations: 89 kB / 0.9907 GB, free: 11.36 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.448e-05/1.457, allocations: 3.953 kB / 0.9907 GB, free: 11.36 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002432/1.457, allocations: 19.23 kB / 0.9907 GB, free: 11.34 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.499e-05/1.457, allocations: 7.984 kB / 0.9907 GB, free: 11.34 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.585e-05/1.457, allocations: 4 kB / 0.9907 GB, free: 11.33 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001125/1.457, allocations: 116.7 kB / 0.9908 GB, free: 11.23 MB / 0.7448 GB Notification: Performance of sort global known variables: time 4.11e-07/1.457, allocations: 0 / 0.9908 GB, free: 11.23 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0004838/1.458, allocations: 62.86 kB / 0.9909 GB, free: 11.18 MB / 0.7448 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.0009062/1.459, allocations: 0.8178 MB / 0.9917 GB, free: 10.36 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0003922/1.459, allocations: 121 kB / 0.9918 GB, free: 10.28 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/1.459, allocations: 0 / 0.9918 GB, free: 10.28 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001497/1.459, allocations: 53.12 kB / 0.9918 GB, free: 10.24 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003264/1.46, allocations: 23.19 kB / 0.9918 GB, free: 10.22 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007456/1.461, allocations: 223.8 kB / 0.9921 GB, free: 9.988 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003061/1.461, allocations: 0.7048 MB / 0.9927 GB, free: 9.258 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0001794/1.461, allocations: 21.19 kB / 0.9928 GB, free: 9.234 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001122/1.461, allocations: 35.8 kB / 0.9928 GB, free: 9.219 MB / 0.7448 GB Notification: Performance of SimCode: time 1.032e-06/1.461, allocations: 0 / 0.9928 GB, free: 9.219 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02616/1.487, allocations: 4.273 MB / 0.997 GB, free: 5.039 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002734/1.488, allocations: 178.6 kB / 0.9971 GB, free: 4.812 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.415/3.902, allocations: 0 / 0.9971 GB, free: 4.812 MB / 0.7448 GB