Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.conf.json Using package Buildings with version 7.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.0.0/package.mo) Using package Modelica with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.3/package.mo) Using package Complex with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.3.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.3/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_Btu,fileNamePrefix="Buildings_7_0_0_Buildings_Controls_OBC_UnitConversions_Validation_From_Btu",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.3/package.mo): time 0.01009/0.0101, allocations: 90.2 kB / 15.04 MB, free: 5.582 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.3.mo): time 0.00153/0.00153, allocations: 169.8 kB / 15.92 MB, free: 5.555 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.3/package.mo): time 2.105/2.105, allocations: 205.5 MB / 222.2 MB, free: 13.69 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.0.0/package.mo): time 2.374/2.374, allocations: 252.8 MB / 0.511 GB, free: 8.344 MB / 426.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004697/0.0004702, allocations: 17.16 kB / 0.6243 GB, free: 28.32 MB / 0.4948 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2233/0.2238, allocations: 106.2 MB / 0.7281 GB, free: 10.17 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_Btu): time 0.001283/0.2252, allocations: 0.5648 MB / 0.7286 GB, free: 9.602 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.0001424/0.2254, allocations: 47.72 kB / 0.7287 GB, free: 9.555 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.721e-05/0.2254, allocations: 4 kB / 0.7287 GB, free: 9.551 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 2.216e-05/0.2255, allocations: 3.938 kB / 0.7287 GB, free: 9.547 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.0001009/0.2256, allocations: 7.922 kB / 0.7287 GB, free: 9.539 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 5.984e-05/0.2256, allocations: 15.98 kB / 0.7287 GB, free: 9.523 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.0001014/0.2257, allocations: 43.89 kB / 0.7287 GB, free: 9.48 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001474/0.2259, allocations: 37.55 kB / 0.7288 GB, free: 9.434 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 6.123e-05/0.226, allocations: 19.92 kB / 0.7288 GB, free: 9.414 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 6.866e-05/0.2261, allocations: 23.8 kB / 0.7288 GB, free: 9.391 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 1.661e-05/0.2261, allocations: 0 / 0.7288 GB, free: 9.391 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 1.261e-05/0.2261, allocations: 4 kB / 0.7288 GB, free: 9.387 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 1.501e-05/0.2261, allocations: 3.938 kB / 0.7288 GB, free: 9.383 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 3.431e-05/0.2262, allocations: 41.64 kB / 0.7289 GB, free: 9.336 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0001096/0.2263, allocations: 59.86 kB / 0.7289 GB, free: 9.277 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 2.845e-06/0.2263, allocations: 0 / 0.7289 GB, free: 9.277 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.854e-06/0.2263, allocations: 0 / 0.7289 GB, free: 9.277 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 4.679e-06/0.2263, allocations: 0 / 0.7289 GB, free: 9.277 MB / 0.5573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0004801/0.2268, allocations: 375.3 kB / 0.7293 GB, free: 8.863 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.344e-05/0.2269, allocations: 8.031 kB / 0.7293 GB, free: 8.855 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.674e-05/0.2269, allocations: 42.55 kB / 0.7293 GB, free: 8.805 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.485e-05/0.227, allocations: 11.81 kB / 0.7293 GB, free: 8.793 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000274/0.2273, allocations: 198.9 kB / 0.7295 GB, free: 8.559 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.673e-05/0.2273, allocations: 11.94 kB / 0.7295 GB, free: 8.547 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.018e-05/0.2273, allocations: 4 kB / 0.7295 GB, free: 8.543 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002237/0.2276, allocations: 91.3 kB / 0.7296 GB, free: 8.441 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.02e-05/0.2276, allocations: 0 / 0.7296 GB, free: 8.441 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.496e-05/0.2276, allocations: 4 kB / 0.7296 GB, free: 8.438 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.641e-06/0.2276, allocations: 0 / 0.7296 GB, free: 8.438 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001266/0.2278, allocations: 39.92 kB / 0.7297 GB, free: 8.398 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007307/0.2285, allocations: 448.6 kB / 0.7301 GB, free: 7.906 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 7.054e-05/0.2286, allocations: 45.25 kB / 0.7301 GB, free: 7.844 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 9.267e-06/0.2286, allocations: 0 / 0.7301 GB, free: 7.844 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.557e-05/0.2286, allocations: 34.56 kB / 0.7302 GB, free: 7.801 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=2): time 1.473e-06/0.2287, allocations: 0 / 0.7302 GB, free: 7.801 MB / 0.5573 GB Notification: Performance of matching and sorting (n=2): time 0.0002294/0.2289, allocations: 65.5 kB / 0.7302 GB, free: 7.73 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.33e-05/0.229, allocations: 77.11 kB / 0.7303 GB, free: 7.637 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000244/0.2292, allocations: 168 kB / 0.7305 GB, free: 7.465 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 1.946e-05/0.2293, allocations: 25.7 kB / 0.7305 GB, free: 7.434 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 8.935e-05/0.2294, allocations: 108.3 kB / 0.7306 GB, free: 7.324 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 1.686e-05/0.2294, allocations: 19.77 kB / 0.7306 GB, free: 7.305 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.761e-06/0.2294, allocations: 4 kB / 0.7306 GB, free: 7.301 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001339/0.2296, allocations: 314.8 kB / 0.7309 GB, free: 6.984 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.903e-05/0.2296, allocations: 4 kB / 0.7309 GB, free: 6.98 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.33e-05/0.2297, allocations: 29.69 kB / 0.7309 GB, free: 6.945 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.189e-05/0.2297, allocations: 15.89 kB / 0.731 GB, free: 6.93 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.2297, allocations: 4 kB / 0.731 GB, free: 6.926 MB / 0.5573 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001416/0.2299, allocations: 61.59 kB / 0.731 GB, free: 6.859 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.737e-05/0.2299, allocations: 4 kB / 0.731 GB, free: 6.855 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.2299, allocations: 0 / 0.731 GB, free: 6.855 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.364e-05/0.23, allocations: 0 / 0.731 GB, free: 6.855 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001017/0.2301, allocations: 11.94 kB / 0.731 GB, free: 6.844 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.69e-06/0.2301, allocations: 0 / 0.731 GB, free: 6.844 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.466e-05/0.2301, allocations: 3.906 kB / 0.731 GB, free: 6.84 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.733e-06/0.2302, allocations: 4 kB / 0.7311 GB, free: 6.836 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (4): * Single equations (assignments): 4 * 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.0001124/0.2303, allocations: 121.9 kB / 0.7312 GB, free: 6.707 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.622e-05/0.2303, allocations: 7.906 kB / 0.7312 GB, free: 6.699 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.762e-05/0.2304, allocations: 20.5 kB / 0.7312 GB, free: 6.684 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/0.2304, allocations: 3.938 kB / 0.7312 GB, free: 6.68 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.548e-06/0.2304, allocations: 0 / 0.7312 GB, free: 6.68 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.956e-06/0.2304, allocations: 0 / 0.7312 GB, free: 6.68 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005559/0.231, allocations: 482.8 kB / 0.7317 GB, free: 6.145 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.231, allocations: 4.062 kB / 0.7317 GB, free: 6.141 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.084e-05/0.2311, allocations: 4 kB / 0.7317 GB, free: 6.137 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.427e-06/0.2311, allocations: 0 / 0.7317 GB, free: 6.137 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.554e-06/0.2311, allocations: 0 / 0.7317 GB, free: 6.137 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.12e-06/0.2311, allocations: 4 kB / 0.7317 GB, free: 6.133 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.436e-06/0.2311, allocations: 4 kB / 0.7317 GB, free: 6.129 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001407/0.2313, allocations: 99.5 kB / 0.7318 GB, free: 6.004 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 7.696e-05/0.2314, allocations: 92.92 kB / 0.7319 GB, free: 5.895 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.882e-05/0.2314, allocations: 0 / 0.7319 GB, free: 5.895 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.153e-05/0.2314, allocations: 4 kB / 0.7319 GB, free: 5.891 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.054e-05/0.2315, allocations: 3.984 kB / 0.7319 GB, free: 5.887 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.637e-06/0.2315, allocations: 0 / 0.7319 GB, free: 5.887 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0001739/0.2317, allocations: 128 kB / 0.732 GB, free: 5.762 MB / 0.5573 GB Notification: Performance of sort global known variables: time 4.31e-07/0.2317, allocations: 0 / 0.732 GB, free: 5.762 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0002458/0.2319, allocations: 15.89 kB / 0.732 GB, free: 5.746 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (2): * Single equations (assignments): 2 * 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.0004875/0.2324, allocations: 0.6954 MB / 0.7327 GB, free: 5.012 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0001065/0.2325, allocations: 20.03 kB / 0.7327 GB, free: 4.992 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.876e-06/0.2326, allocations: 0 / 0.7327 GB, free: 4.992 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 3.398e-05/0.2326, allocations: 15.88 kB / 0.7327 GB, free: 4.977 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000146/0.2328, allocations: 7.953 kB / 0.7327 GB, free: 4.969 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001217/0.234, allocations: 0.7372 MB / 0.7334 GB, free: 4.188 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000322/0.2343, allocations: 0.7043 MB / 0.7341 GB, free: 3.457 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 4.703e-05/0.2344, allocations: 4.438 kB / 0.7341 GB, free: 3.453 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.278e-05/0.2345, allocations: 27.42 kB / 0.7342 GB, free: 3.426 MB / 0.5573 GB Notification: Performance of SimCode: time 7.01e-07/0.2345, allocations: 0 / 0.7342 GB, free: 3.426 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01919/0.2537, allocations: 1.578 MB / 0.7357 GB, free: 1.953 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004293/0.2542, allocations: 195.8 kB / 0.7359 GB, free: 1.711 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.47/2.725, allocations: 0 / 0.7359 GB, free: 1.711 MB / 0.5573 GB