Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.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.Controls.OBC.UnitConversions.Validation.To_Btu,fileNamePrefix="Buildings_6_0_0_Buildings_Controls_OBC_UnitConversions_Validation_To_Btu",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.252/4.252, allocations: 433.2 MB / 440.8 MB, free: 10.46 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 5.317e-05/5.32e-05, allocations: 4 kB / 0.5325 GB, free: 1.855 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.651/0.6512, allocations: 98.72 MB / 0.6289 GB, free: 15.72 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2454/0.8967, allocations: 123.5 MB / 0.7496 GB, free: 4.012 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002541/0.897, allocations: 67.91 kB / 0.7496 GB, free: 3.945 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.00418/0.9012, allocations: 1.14 MB / 0.7507 GB, free: 2.805 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.573e-06/0.9012, allocations: 4 kB / 0.7507 GB, free: 2.801 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 8.286e-06/0.9012, allocations: 0 / 0.7507 GB, free: 2.801 MB / 0.6198 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.0004485/0.9017, allocations: 374.2 kB / 0.7511 GB, free: 2.391 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.906e-05/0.9018, allocations: 8.031 kB / 0.7511 GB, free: 2.383 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.678e-05/0.9018, allocations: 11.86 kB / 0.7511 GB, free: 2.371 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001909/0.902, allocations: 182.8 kB / 0.7513 GB, free: 2.152 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.663e-05/0.902, allocations: 4 kB / 0.7513 GB, free: 2.148 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.094e-05/0.9021, allocations: 7.984 kB / 0.7513 GB, free: 2.141 MB / 0.6198 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001383/0.9022, allocations: 35.98 kB / 0.7513 GB, free: 2.105 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001849/0.9024, allocations: 83.34 kB / 0.7514 GB, free: 2.012 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.578e-06/0.9024, allocations: 0 / 0.7514 GB, free: 2.012 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.234e-05/0.9025, allocations: 224 / 0.7514 GB, free: 2.012 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.446e-06/0.9025, allocations: 0 / 0.7514 GB, free: 2.012 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007198/0.9032, allocations: 425.2 kB / 0.7518 GB, free: 1.555 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 7.273e-05/0.9033, allocations: 37.31 kB / 0.7519 GB, free: 1.5 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.583e-05/0.9033, allocations: 17.72 kB / 0.7519 GB, free: 1.477 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.012e-05/0.9034, allocations: 0 / 0.7519 GB, free: 1.477 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.977e-05/0.9034, allocations: 38.56 kB / 0.7519 GB, free: 1.43 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 1.904e-06/0.9034, allocations: 0 / 0.7519 GB, free: 1.43 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.0001921/0.9036, allocations: 45.59 kB / 0.752 GB, free: 1.379 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.421e-05/0.9037, allocations: 81.05 kB / 0.752 GB, free: 1.281 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001519/0.9038, allocations: 122.6 kB / 0.7521 GB, free: 1.152 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.576e-05/0.9039, allocations: 25.7 kB / 0.7522 GB, free: 1.121 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 9.508e-05/0.904, allocations: 120 kB / 0.7523 GB, free: 1 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.256e-05/0.904, allocations: 7.906 kB / 0.7523 GB, free: 0.9922 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.047e-06/0.904, allocations: 0 / 0.7523 GB, free: 0.9922 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.00014/0.9042, allocations: 318.8 kB / 0.7526 GB, free: 0.6719 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.843e-05/0.9042, allocations: 8 kB / 0.7526 GB, free: 0.6641 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.094e-05/0.9043, allocations: 17.72 kB / 0.7526 GB, free: 0.6406 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.927e-05/0.9043, allocations: 8 kB / 0.7526 GB, free: 0.6328 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.378e-06/0.9043, allocations: 7.953 kB / 0.7526 GB, free: 0.625 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001365/0.9045, allocations: 57.53 kB / 0.7527 GB, free: 0.5625 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.171e-05/0.9045, allocations: 8 kB / 0.7527 GB, free: 0.5547 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.231e-06/0.9045, allocations: 0 / 0.7527 GB, free: 0.5547 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.549e-05/0.9045, allocations: 0 / 0.7527 GB, free: 0.5547 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001094/0.9047, allocations: 8 kB / 0.7527 GB, free: 0.5469 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.069e-06/0.9047, allocations: 0 / 0.7527 GB, free: 0.5469 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.679e-05/0.9047, allocations: 3.938 kB / 0.7527 GB, free: 0.543 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.936e-06/0.9047, allocations: 4 kB / 0.7527 GB, free: 0.5391 MB / 0.6198 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 () * 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 8.968e-05/0.9048, allocations: 109 kB / 0.7528 GB, free: 436 kB / 0.6198 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001283/0.905, allocations: 61.42 kB / 0.7529 GB, free: 368 kB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.865e-05/0.905, allocations: 4 kB / 0.7529 GB, free: 364 kB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.486e-05/0.9051, allocations: 7.969 kB / 0.7529 GB, free: 356 kB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.337e-06/0.9051, allocations: 0 / 0.7529 GB, free: 356 kB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.234e-06/0.9051, allocations: 4 kB / 0.7529 GB, free: 352 kB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.437e-06/0.9051, allocations: 0 / 0.7529 GB, free: 352 kB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007994/0.9059, allocations: 459.3 kB / 0.7533 GB, free: 15.84 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.699e-06/0.906, allocations: 0 / 0.7533 GB, free: 15.84 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.98e-05/0.9061, allocations: 8 kB / 0.7533 GB, free: 15.84 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.955e-06/0.9061, allocations: 3.938 kB / 0.7533 GB, free: 15.83 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.796e-06/0.9061, allocations: 0 / 0.7533 GB, free: 15.83 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.647e-06/0.9061, allocations: 0 / 0.7533 GB, free: 15.83 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.155e-06/0.9061, allocations: 7.984 kB / 0.7533 GB, free: 15.82 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001508/0.9063, allocations: 93.84 kB / 0.7534 GB, free: 15.71 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 7.561e-05/0.9064, allocations: 85.09 kB / 0.7535 GB, free: 15.61 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.959e-05/0.9064, allocations: 4 kB / 0.7535 GB, free: 15.6 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.454e-05/0.9065, allocations: 0 / 0.7535 GB, free: 15.6 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.437e-05/0.9065, allocations: 0 / 0.7535 GB, free: 15.6 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.346e-06/0.9065, allocations: 3.953 kB / 0.7535 GB, free: 15.6 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0001031/0.9066, allocations: 105.8 kB / 0.7536 GB, free: 15.5 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.41e-07/0.9066, allocations: 4.031 kB / 0.7536 GB, free: 15.49 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002902/0.9069, allocations: 11.91 kB / 0.7536 GB, free: 15.48 MB / 0.6355 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 () * 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.0005033/0.9074, allocations: 0.6876 MB / 0.7543 GB, free: 14.76 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001063/0.9076, allocations: 23.97 kB / 0.7543 GB, free: 14.73 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.9076, allocations: 0 / 0.7543 GB, free: 14.73 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 2.256e-05/0.9076, allocations: 4 kB / 0.7543 GB, free: 14.73 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001542/0.9078, allocations: 7.953 kB / 0.7543 GB, free: 14.72 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004973/0.9083, allocations: 134.6 kB / 0.7545 GB, free: 14.55 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003945/0.9087, allocations: 0.7082 MB / 0.7552 GB, free: 13.81 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 4.069e-05/0.9087, allocations: 4.188 kB / 0.7552 GB, free: 13.81 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.999e-05/0.9088, allocations: 27.42 kB / 0.7552 GB, free: 13.79 MB / 0.6355 GB Notification: Performance of SimCode: time 7.72e-07/0.9088, allocations: 3.938 kB / 0.7552 GB, free: 13.78 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06343/0.9723, allocations: 0.9849 MB / 0.7562 GB, free: 12.81 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003148/0.9727, allocations: 154.7 kB / 0.7563 GB, free: 12.61 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.229/3.201, allocations: 0 / 0.7563 GB, free: 12.61 MB / 0.6355 GB