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.To_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.To_Btu,fileNamePrefix="Buildings_7_0_0_Buildings_Controls_OBC_UnitConversions_Validation_To_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.01596/0.01597, allocations: 88.39 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.001703/0.001703, allocations: 176.2 kB / 15.93 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.127/2.127, allocations: 205.5 MB / 222.2 MB, free: 13.7 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.32/2.32, allocations: 252.8 MB / 0.511 GB, free: 8.355 MB / 426.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004776/0.0004777, allocations: 14.66 kB / 0.6243 GB, free: 20.99 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2198/0.2204, allocations: 106.2 MB / 0.7281 GB, free: 8.129 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_Btu): time 0.00127/0.2217, allocations: 0.5648 MB / 0.7286 GB, free: 7.562 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.0001458/0.2219, allocations: 43.8 kB / 0.7287 GB, free: 7.52 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.562e-05/0.2219, allocations: 0 / 0.7287 GB, free: 7.52 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 2.237e-05/0.222, allocations: 7.938 kB / 0.7287 GB, free: 7.512 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.0001095/0.2221, allocations: 11.91 kB / 0.7287 GB, free: 7.5 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 5.073e-05/0.2221, allocations: 12 kB / 0.7287 GB, free: 7.488 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.0001039/0.2223, allocations: 39.95 kB / 0.7287 GB, free: 7.449 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001482/0.2224, allocations: 37.5 kB / 0.7288 GB, free: 7.402 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 6.214e-05/0.2225, allocations: 27.84 kB / 0.7288 GB, free: 7.375 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 6.477e-05/0.2226, allocations: 23.8 kB / 0.7288 GB, free: 7.352 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 1.662e-05/0.2226, allocations: 4 kB / 0.7288 GB, free: 7.348 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 9.608e-06/0.2226, allocations: 0 / 0.7288 GB, free: 7.348 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 1.882e-05/0.2226, allocations: 7.938 kB / 0.7288 GB, free: 7.34 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 3.816e-05/0.2227, allocations: 37.64 kB / 0.7289 GB, free: 7.297 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0001091/0.2228, allocations: 59.86 kB / 0.7289 GB, free: 7.238 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 2.504e-06/0.2228, allocations: 0 / 0.7289 GB, free: 7.238 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.924e-06/0.2228, allocations: 0 / 0.7289 GB, free: 7.238 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 4.619e-06/0.2228, allocations: 4 kB / 0.7289 GB, free: 7.234 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.0004665/0.2233, allocations: 371.3 kB / 0.7293 GB, free: 6.824 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.337e-05/0.2234, allocations: 12.03 kB / 0.7293 GB, free: 6.812 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.802e-05/0.2234, allocations: 38.56 kB / 0.7293 GB, free: 6.766 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.609e-05/0.2235, allocations: 11.81 kB / 0.7293 GB, free: 6.754 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000224/0.2237, allocations: 190.9 kB / 0.7295 GB, free: 6.527 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.471e-05/0.2237, allocations: 11.88 kB / 0.7295 GB, free: 6.516 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.781e-05/0.2238, allocations: 8 kB / 0.7295 GB, free: 6.508 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001989/0.224, allocations: 99.3 kB / 0.7296 GB, free: 6.398 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.638e-06/0.224, allocations: 0 / 0.7296 GB, free: 6.398 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.164e-05/0.224, allocations: 0 / 0.7296 GB, free: 6.398 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.382e-06/0.224, allocations: 0 / 0.7296 GB, free: 6.398 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001284/0.2242, allocations: 43.91 kB / 0.7297 GB, free: 6.355 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006642/0.2248, allocations: 448.7 kB / 0.7301 GB, free: 5.863 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 7.767e-05/0.2249, allocations: 45.23 kB / 0.7301 GB, free: 5.801 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 8.435e-06/0.225, allocations: 0 / 0.7301 GB, free: 5.801 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.481e-05/0.225, allocations: 30.56 kB / 0.7302 GB, free: 5.762 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=2): time 1.583e-06/0.225, allocations: 4 kB / 0.7302 GB, free: 5.758 MB / 0.5573 GB Notification: Performance of matching and sorting (n=2): time 0.0002064/0.2252, allocations: 61.52 kB / 0.7302 GB, free: 5.691 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.16e-05/0.2253, allocations: 77.11 kB / 0.7303 GB, free: 5.598 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002091/0.2255, allocations: 172 kB / 0.7305 GB, free: 5.422 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 1.433e-05/0.2255, allocations: 25.7 kB / 0.7305 GB, free: 5.391 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 7.936e-05/0.2256, allocations: 108 kB / 0.7306 GB, free: 5.281 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 1.391e-05/0.2256, allocations: 7.844 kB / 0.7306 GB, free: 5.273 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.148e-06/0.2257, allocations: 0 / 0.7306 GB, free: 5.273 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001188/0.2258, allocations: 327.1 kB / 0.7309 GB, free: 4.945 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.932e-05/0.2258, allocations: 8 kB / 0.7309 GB, free: 4.938 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.53e-05/0.2259, allocations: 17.72 kB / 0.7309 GB, free: 4.914 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.299e-05/0.2259, allocations: 15.89 kB / 0.731 GB, free: 4.898 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.2259, allocations: 0 / 0.731 GB, free: 4.898 MB / 0.5573 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001277/0.2261, allocations: 57.59 kB / 0.731 GB, free: 4.836 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.375e-05/0.2261, allocations: 8 kB / 0.731 GB, free: 4.828 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.638e-06/0.2261, allocations: 4 kB / 0.731 GB, free: 4.824 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.474e-05/0.2261, allocations: 4 kB / 0.731 GB, free: 4.82 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.901e-05/0.2262, allocations: 7.938 kB / 0.731 GB, free: 4.812 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.511e-06/0.2262, allocations: 0 / 0.731 GB, free: 4.812 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.732e-05/0.2263, allocations: 11.91 kB / 0.731 GB, free: 4.801 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.751e-06/0.2263, allocations: 0 / 0.731 GB, free: 4.801 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 9.48e-05/0.2264, allocations: 121.8 kB / 0.7312 GB, free: 4.672 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.68e-05/0.2265, allocations: 11.98 kB / 0.7312 GB, free: 4.66 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.302e-05/0.2265, allocations: 20.52 kB / 0.7312 GB, free: 4.645 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.2266, allocations: 3.938 kB / 0.7312 GB, free: 4.641 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.267e-06/0.2266, allocations: 4 kB / 0.7312 GB, free: 4.637 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.009e-06/0.2266, allocations: 4 kB / 0.7312 GB, free: 4.633 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005058/0.2271, allocations: 478.8 kB / 0.7317 GB, free: 4.102 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.2271, allocations: 0 / 0.7317 GB, free: 4.102 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.675e-05/0.2272, allocations: 4 kB / 0.7317 GB, free: 4.098 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.2272, allocations: 0 / 0.7317 GB, free: 4.098 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.953e-06/0.2272, allocations: 8.062 kB / 0.7317 GB, free: 4.09 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-06/0.2272, allocations: 0 / 0.7317 GB, free: 4.09 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.2272, allocations: 0 / 0.7317 GB, free: 4.09 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001259/0.2273, allocations: 99.5 kB / 0.7318 GB, free: 3.965 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 6.304e-05/0.2274, allocations: 88.91 kB / 0.7319 GB, free: 3.859 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.165e-05/0.2275, allocations: 8.031 kB / 0.7319 GB, free: 3.852 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.858e-05/0.2275, allocations: 0 / 0.7319 GB, free: 3.852 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.603e-05/0.2275, allocations: 4 kB / 0.7319 GB, free: 3.848 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.406e-06/0.2275, allocations: 0 / 0.7319 GB, free: 3.848 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0001249/0.2277, allocations: 124 kB / 0.732 GB, free: 3.727 MB / 0.5573 GB Notification: Performance of sort global known variables: time 3.61e-07/0.2277, allocations: 0 / 0.732 GB, free: 3.727 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0002584/0.2279, allocations: 15.89 kB / 0.732 GB, free: 3.711 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.0004235/0.2284, allocations: 0.6993 MB / 0.7327 GB, free: 2.973 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 9.658e-05/0.2285, allocations: 16 kB / 0.7327 GB, free: 2.957 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.245e-06/0.2285, allocations: 0 / 0.7327 GB, free: 2.957 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 2.896e-05/0.2285, allocations: 12.16 kB / 0.7327 GB, free: 2.945 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001366/0.2287, allocations: 16 kB / 0.7327 GB, free: 2.93 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001157/0.2299, allocations: 0.737 MB / 0.7334 GB, free: 2.148 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002591/0.2301, allocations: 0.6965 MB / 0.7341 GB, free: 1.426 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 4.663e-05/0.2302, allocations: 4.438 kB / 0.7341 GB, free: 1.422 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.006e-05/0.2303, allocations: 31.36 kB / 0.7342 GB, free: 1.391 MB / 0.5573 GB Notification: Performance of SimCode: time 7.61e-07/0.2303, allocations: 0 / 0.7342 GB, free: 1.391 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.019/0.2493, allocations: 1.578 MB / 0.7357 GB, free: 15.92 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000275/0.2496, allocations: 186.2 kB / 0.7359 GB, free: 15.69 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.254/2.504, allocations: 4.062 kB / 0.7359 GB, free: 15.68 MB / 0.573 GB