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.01784/0.01784, allocations: 107.5 kB / 15.06 MB, free: 6.031 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.002586/0.002586, allocations: 179.2 kB / 15.95 MB, free: 5.957 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.044/2.044, allocations: 194.5 MB / 211.3 MB, free: 11.07 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.406/2.406, allocations: 236.1 MB / 492.6 MB, free: 11.37 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005302/0.0005303, allocations: 12 kB / 0.587 GB, free: 2.082 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8195/0.8201, allocations: 98.71 MB / 0.6834 GB, free: 16.8 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder): time 0.006606/0.8267, allocations: 3.858 MB / 0.6872 GB, free: 14.01 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.00143/0.8282, allocations: 0.7071 MB / 0.6879 GB, free: 13.52 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001554/0.8284, allocations: 1.094 kB / 0.6879 GB, free: 13.52 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.0002001/0.8286, allocations: 21.73 kB / 0.6879 GB, free: 13.51 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.0001139/0.8287, allocations: 40.92 kB / 0.688 GB, free: 13.48 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007543/0.8295, allocations: 129.7 kB / 0.6881 GB, free: 13.41 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.00026/0.8298, allocations: 107.8 kB / 0.6882 GB, free: 13.36 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001326/0.83, allocations: 20.5 kB / 0.6882 GB, free: 13.34 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002808/0.8303, allocations: 76.58 kB / 0.6883 GB, free: 13.31 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001387/0.8304, allocations: 62.22 kB / 0.6883 GB, free: 13.29 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 3.339e-05/0.8305, allocations: 6.625 kB / 0.6883 GB, free: 13.29 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005778/0.831, allocations: 123.8 kB / 0.6885 GB, free: 13.26 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 4.193e-05/0.8311, allocations: 26.7 kB / 0.6885 GB, free: 13.25 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 5.989e-05/0.8312, allocations: 45.3 kB / 0.6885 GB, free: 13.21 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0004878/0.8317, allocations: 156.9 kB / 0.6887 GB, free: 13.17 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.8317, allocations: 7.938 kB / 0.6887 GB, free: 13.16 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.275e-06/0.8317, allocations: 0 / 0.6887 GB, free: 13.16 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 6.232e-06/0.8317, allocations: 0 / 0.6887 GB, free: 13.16 MB / 0.5261 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.001202/0.8329, allocations: 468.6 kB / 0.6891 GB, free: 12.75 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.099e-05/0.833, allocations: 9.312 kB / 0.6891 GB, free: 12.75 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.265e-05/0.8331, allocations: 39.55 kB / 0.6892 GB, free: 12.71 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.018e-05/0.8332, allocations: 14.31 kB / 0.6892 GB, free: 12.7 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001455/0.8333, allocations: 186.1 kB / 0.6894 GB, free: 12.49 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.177e-05/0.8333, allocations: 12.25 kB / 0.6894 GB, free: 12.48 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.686e-05/0.8334, allocations: 11.81 kB / 0.6894 GB, free: 12.48 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005481/0.8339, allocations: 130.7 kB / 0.6895 GB, free: 12.41 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.39e-05/0.834, allocations: 2.141 kB / 0.6895 GB, free: 12.41 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.92e-05/0.834, allocations: 4 kB / 0.6895 GB, free: 12.41 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.584e-06/0.834, allocations: 2.344 kB / 0.6895 GB, free: 12.41 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000778/0.8348, allocations: 166.9 kB / 0.6897 GB, free: 12.37 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001658/0.8365, allocations: 477.3 kB / 0.6901 GB, free: 12.02 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005292/0.8371, allocations: 139.7 kB / 0.6903 GB, free: 11.95 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002099/0.8392, allocations: 0.9582 MB / 0.6912 GB, free: 11.04 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.591e-05/0.8393, allocations: 31.97 kB / 0.6912 GB, free: 11 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=12): time 2.875e-06/0.8393, allocations: 1.219 kB / 0.6912 GB, free: 11 MB / 0.5261 GB Notification: Performance of matching and sorting (n=12): time 0.001277/0.8406, allocations: 244.1 kB / 0.6915 GB, free: 10.91 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.22e-05/0.8407, allocations: 54.48 kB / 0.6915 GB, free: 10.85 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001929/0.8409, allocations: 160.6 kB / 0.6917 GB, free: 10.73 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 3.864e-05/0.8409, allocations: 34.67 kB / 0.6917 GB, free: 10.7 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 7.461e-05/0.841, allocations: 108.1 kB / 0.6918 GB, free: 10.59 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 4.212e-05/0.841, allocations: 48.02 kB / 0.6919 GB, free: 10.55 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.861e-05/0.8411, allocations: 5.312 kB / 0.6919 GB, free: 10.55 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 7.281e-05/0.8412, allocations: 325.4 kB / 0.6922 GB, free: 10.23 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004286/0.8416, allocations: 84.14 kB / 0.6923 GB, free: 10.21 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004431/0.8421, allocations: 120.2 kB / 0.6924 GB, free: 10.15 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004437/0.8425, allocations: 96.38 kB / 0.6925 GB, free: 10.12 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.529e-06/0.8425, allocations: 0 / 0.6925 GB, free: 10.12 MB / 0.5261 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.001073/0.8436, allocations: 259 kB / 0.6927 GB, free: 10.02 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.686e-05/0.8437, allocations: 6.094 kB / 0.6927 GB, free: 10.02 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.418e-06/0.8437, allocations: 1.094 kB / 0.6927 GB, free: 10.02 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.302e-05/0.8437, allocations: 6.281 kB / 0.6927 GB, free: 10.02 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005321/0.8443, allocations: 60.16 kB / 0.6928 GB, free: 10.01 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.223e-05/0.8443, allocations: 2.344 kB / 0.6928 GB, free: 10.01 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003219/0.8446, allocations: 37.12 kB / 0.6928 GB, free: 9.996 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.189e-05/0.8447, allocations: 15.48 kB / 0.6928 GB, free: 9.988 MB / 0.5261 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.0001339/0.8448, allocations: 135.3 kB / 0.693 GB, free: 9.852 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.974e-05/0.8449, allocations: 9.406 kB / 0.693 GB, free: 9.848 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009067/0.8458, allocations: 202.6 kB / 0.6932 GB, free: 9.766 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.995e-06/0.8459, allocations: 2.25 kB / 0.6932 GB, free: 9.766 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.074e-06/0.8459, allocations: 0 / 0.6932 GB, free: 9.766 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.843e-06/0.8459, allocations: 0.6094 kB / 0.6932 GB, free: 9.766 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000329/0.8462, allocations: 211.5 kB / 0.6934 GB, free: 9.555 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.8462, allocations: 0 / 0.6934 GB, free: 9.555 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003196/0.8466, allocations: 41.89 kB / 0.6934 GB, free: 9.547 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.993e-06/0.8466, allocations: 0.9062 kB / 0.6934 GB, free: 9.547 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.886e-05/0.8466, allocations: 5.281 kB / 0.6934 GB, free: 9.543 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.911e-06/0.8466, allocations: 1.969 kB / 0.6934 GB, free: 9.543 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.8466, allocations: 0 / 0.6934 GB, free: 9.543 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008579/0.8475, allocations: 281.2 kB / 0.6937 GB, free: 9.367 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001017/0.8476, allocations: 98.39 kB / 0.6938 GB, free: 9.262 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.863e-05/0.8477, allocations: 9.562 kB / 0.6938 GB, free: 9.254 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002423/0.8479, allocations: 20.09 kB / 0.6938 GB, free: 9.25 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.699e-05/0.848, allocations: 8.375 kB / 0.6938 GB, free: 9.25 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.041e-05/0.8481, allocations: 11.67 kB / 0.6938 GB, free: 9.242 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0001146/0.8482, allocations: 111.2 kB / 0.6939 GB, free: 9.16 MB / 0.5261 GB Notification: Performance of sort global known variables: time 3.81e-07/0.8482, allocations: 0 / 0.6939 GB, free: 9.16 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.000595/0.8488, allocations: 57.86 kB / 0.694 GB, free: 9.148 MB / 0.5261 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.001402/0.8502, allocations: 0.8831 MB / 0.6948 GB, free: 8.41 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0009901/0.8512, allocations: 187 kB / 0.695 GB, free: 8.371 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 4.428e-06/0.8513, allocations: 3.938 kB / 0.695 GB, free: 8.367 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0004132/0.8517, allocations: 77.52 kB / 0.6951 GB, free: 8.352 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004184/0.8521, allocations: 23.92 kB / 0.6951 GB, free: 8.34 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001331/0.8535, allocations: 1.053 MB / 0.6962 GB, free: 7.41 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001891/0.8537, allocations: 0.711 MB / 0.6968 GB, free: 6.711 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0002159/0.8539, allocations: 16.83 kB / 0.6969 GB, free: 6.707 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001264/0.8541, allocations: 34.83 kB / 0.6969 GB, free: 6.684 MB / 0.5261 GB Notification: Performance of SimCode: time 1.713e-06/0.8541, allocations: 0 / 0.6969 GB, free: 6.684 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03434/0.8884, allocations: 3.947 MB / 0.7007 GB, free: 5.523 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002827/0.8888, allocations: 210.4 kB / 0.7009 GB, free: 5.281 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.723/3.612, allocations: 0 / 0.7009 GB, free: 5.281 MB / 0.5261 GB