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 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.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 loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01089/0.0109, allocations: 107.5 kB / 15.06 MB, free: 5.555 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.00122/0.00122, allocations: 181.8 kB / 15.95 MB, free: 5.52 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 1.951/1.951, allocations: 194.6 MB / 211.3 MB, free: 11.21 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.238/2.238, allocations: 236.1 MB / 492.6 MB, free: 11.38 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006309/0.0006309, allocations: 12 kB / 0.587 GB, free: 2.074 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6862/0.6868, allocations: 98.72 MB / 0.6834 GB, free: 16.8 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_Btu): time 0.001171/0.6881, allocations: 0.5445 MB / 0.684 GB, free: 16.41 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.0001408/0.6882, allocations: 51.89 kB / 0.684 GB, free: 16.37 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.295e-05/0.6883, allocations: 1.25 kB / 0.684 GB, free: 16.37 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 2.23e-05/0.6883, allocations: 5.344 kB / 0.684 GB, free: 16.37 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.0001061/0.6885, allocations: 10.45 kB / 0.684 GB, free: 16.36 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 5.319e-05/0.6885, allocations: 15.48 kB / 0.684 GB, free: 16.35 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 9.921e-05/0.6886, allocations: 42.64 kB / 0.6841 GB, free: 16.33 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001448/0.6888, allocations: 34.84 kB / 0.6841 GB, free: 16.31 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 5.639e-05/0.6889, allocations: 16.31 kB / 0.6841 GB, free: 16.3 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 6.188e-05/0.6889, allocations: 28.38 kB / 0.6842 GB, free: 16.28 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 1.889e-05/0.689, allocations: 2.219 kB / 0.6842 GB, free: 16.28 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 1.099e-05/0.689, allocations: 1.5 kB / 0.6842 GB, free: 16.28 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 1.719e-05/0.689, allocations: 8.047 kB / 0.6842 GB, free: 16.28 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 2.531e-05/0.689, allocations: 37.2 kB / 0.6842 GB, free: 16.24 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0001077/0.6892, allocations: 55.73 kB / 0.6843 GB, free: 16.23 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 2.965e-06/0.6892, allocations: 4 kB / 0.6843 GB, free: 16.22 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.074e-06/0.6892, allocations: 0 / 0.6843 GB, free: 16.22 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.22e-06/0.6892, allocations: 0 / 0.6843 GB, free: 16.22 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0003915/0.6896, allocations: 370.1 kB / 0.6846 GB, free: 15.85 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.25e-05/0.6896, allocations: 8.875 kB / 0.6846 GB, free: 15.85 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.815e-05/0.6897, allocations: 38.83 kB / 0.6847 GB, free: 15.8 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.377e-05/0.6897, allocations: 12.91 kB / 0.6847 GB, free: 15.8 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002021/0.6899, allocations: 207.3 kB / 0.6849 GB, free: 15.57 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.31e-05/0.69, allocations: 6.719 kB / 0.6849 GB, free: 15.57 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.91e-05/0.69, allocations: 9.062 kB / 0.6849 GB, free: 15.57 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001974/0.6902, allocations: 94.2 kB / 0.685 GB, free: 15.5 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.034e-05/0.6902, allocations: 3.938 kB / 0.685 GB, free: 15.49 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.282e-05/0.6903, allocations: 1.953 kB / 0.685 GB, free: 15.49 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.053e-06/0.6903, allocations: 2.344 kB / 0.685 GB, free: 15.49 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001209/0.6904, allocations: 43.58 kB / 0.685 GB, free: 15.47 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006236/0.691, allocations: 450 kB / 0.6855 GB, free: 15.06 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 5.862e-05/0.6911, allocations: 41.88 kB / 0.6855 GB, free: 15.01 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 1.034e-05/0.6911, allocations: 1.125 kB / 0.6855 GB, free: 15.01 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.34e-05/0.6912, allocations: 35.78 kB / 0.6855 GB, free: 14.96 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=2): time 2.094e-06/0.6912, allocations: 3.938 kB / 0.6855 GB, free: 14.96 MB / 0.5261 GB Notification: Performance of matching and sorting (n=2): time 0.000204/0.6914, allocations: 54.91 kB / 0.6856 GB, free: 14.92 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.336e-05/0.6914, allocations: 82.83 kB / 0.6857 GB, free: 14.82 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001842/0.6916, allocations: 167.2 kB / 0.6858 GB, free: 14.7 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 9.908e-06/0.6917, allocations: 26.58 kB / 0.6859 GB, free: 14.67 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 6.022e-05/0.6917, allocations: 104.4 kB / 0.686 GB, free: 14.57 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 1.196e-05/0.6917, allocations: 14.02 kB / 0.686 GB, free: 14.56 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.787e-06/0.6918, allocations: 0 / 0.686 GB, free: 14.56 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 6.656e-05/0.6918, allocations: 320.6 kB / 0.6863 GB, free: 14.24 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.809e-05/0.6919, allocations: 8.953 kB / 0.6863 GB, free: 14.24 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.165e-05/0.6919, allocations: 20.05 kB / 0.6863 GB, free: 14.22 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.867e-05/0.692, allocations: 13.98 kB / 0.6863 GB, free: 14.21 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.692, allocations: 0 / 0.6863 GB, free: 14.21 MB / 0.5261 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001197/0.6921, allocations: 62.47 kB / 0.6864 GB, free: 14.16 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.711e-05/0.6922, allocations: 4.656 kB / 0.6864 GB, free: 14.16 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.562e-06/0.6922, allocations: 1.781 kB / 0.6864 GB, free: 14.16 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.511e-05/0.6922, allocations: 1.219 kB / 0.6864 GB, free: 14.16 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.829e-05/0.6923, allocations: 10.72 kB / 0.6864 GB, free: 14.16 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.552e-06/0.6923, allocations: 1.344 kB / 0.6864 GB, free: 14.16 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.461e-05/0.6924, allocations: 9.344 kB / 0.6864 GB, free: 14.15 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.146e-06/0.6924, allocations: 2.125 kB / 0.6864 GB, free: 14.15 MB / 0.5261 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 7.388e-05/0.6925, allocations: 122.7 kB / 0.6865 GB, free: 14.03 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.343e-05/0.6925, allocations: 7.781 kB / 0.6865 GB, free: 14.02 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.035e-05/0.6926, allocations: 13.08 kB / 0.6865 GB, free: 14.02 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.817e-06/0.6926, allocations: 1.953 kB / 0.6865 GB, free: 14.02 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/0.6926, allocations: 1.406 kB / 0.6865 GB, free: 14.02 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.6926, allocations: 0 / 0.6865 GB, free: 14.02 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004301/0.6931, allocations: 480.9 kB / 0.687 GB, free: 13.53 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.6931, allocations: 4.062 kB / 0.687 GB, free: 13.52 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.074e-05/0.6931, allocations: 4.25 kB / 0.687 GB, free: 13.52 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.835e-06/0.6931, allocations: 0 / 0.687 GB, free: 13.52 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.178e-06/0.6932, allocations: 6.297 kB / 0.687 GB, free: 13.52 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.6932, allocations: 3.938 kB / 0.687 GB, free: 13.52 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.6932, allocations: 1.312 kB / 0.687 GB, free: 13.52 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001084/0.6933, allocations: 104.5 kB / 0.6871 GB, free: 13.4 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 5.119e-05/0.6934, allocations: 90.05 kB / 0.6872 GB, free: 13.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.096e-05/0.6934, allocations: 2 kB / 0.6872 GB, free: 13.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.043e-05/0.6934, allocations: 1.344 kB / 0.6872 GB, free: 13.3 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.617e-05/0.6935, allocations: 2.094 kB / 0.6872 GB, free: 13.3 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.848e-06/0.6935, allocations: 0 / 0.6872 GB, free: 13.3 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0001177/0.6936, allocations: 127.3 kB / 0.6873 GB, free: 13.21 MB / 0.5261 GB Notification: Performance of sort global known variables: time 4.51e-07/0.6936, allocations: 0 / 0.6873 GB, free: 13.21 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0002579/0.6939, allocations: 11.48 kB / 0.6873 GB, free: 13.21 MB / 0.5261 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.0003038/0.6942, allocations: 0.6975 MB / 0.688 GB, free: 12.51 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.000101/0.6943, allocations: 20.77 kB / 0.688 GB, free: 12.5 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.6943, allocations: 4.062 kB / 0.688 GB, free: 12.5 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 2.435e-05/0.6944, allocations: 9.172 kB / 0.6881 GB, free: 12.49 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001454/0.6945, allocations: 11.53 kB / 0.6881 GB, free: 12.48 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001071/0.6956, allocations: 0.7431 MB / 0.6888 GB, free: 11.88 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001509/0.6958, allocations: 0.7033 MB / 0.6895 GB, free: 11.18 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 5.074e-05/0.6958, allocations: 6.984 kB / 0.6895 GB, free: 11.18 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.668e-05/0.6959, allocations: 25.34 kB / 0.6895 GB, free: 11.16 MB / 0.5261 GB Notification: Performance of SimCode: time 8.31e-07/0.6959, allocations: 0 / 0.6895 GB, free: 11.16 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08423/0.7802, allocations: 1.585 MB / 0.6911 GB, free: 10.95 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002433/0.7805, allocations: 185.5 kB / 0.6912 GB, free: 10.71 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.204/2.985, allocations: 0 / 0.6912 GB, free: 10.71 MB / 0.5261 GB