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.01841/0.01841, allocations: 222.2 kB / 15.17 MB, free: 5.918 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.001861/0.001861, allocations: 174.5 kB / 16.06 MB, free: 5.832 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 4.155/4.155, allocations: 389.1 MB / 405.9 MB, free: 13.32 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 4.532/4.532, allocations: 472.3 MB / 0.9017 GB, free: 3.672 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006674/0.0006676, allocations: 16 kB / 1.008 GB, free: 10.14 MB / 0.6667 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6993/0.7, allocations: 98.71 MB / 1.104 GB, free: 213 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_Btu): time 0.001249/0.7013, allocations: 0.5449 MB / 1.105 GB, free: 212.8 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.0001505/0.7015, allocations: 46.45 kB / 1.105 GB, free: 212.7 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.825e-05/0.7016, allocations: 3.5 kB / 1.105 GB, free: 212.7 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 3.155e-05/0.7016, allocations: 8.344 kB / 1.105 GB, free: 212.7 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0001143/0.7018, allocations: 8.344 kB / 1.105 GB, free: 212.7 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 5.486e-05/0.7018, allocations: 13.38 kB / 1.105 GB, free: 212.7 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0001324/0.702, allocations: 61.66 kB / 1.105 GB, free: 212.7 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001585/0.7021, allocations: 35.64 kB / 1.105 GB, free: 212.7 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 5.704e-05/0.7022, allocations: 18.58 kB / 1.105 GB, free: 212.7 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 6.301e-05/0.7023, allocations: 22.91 kB / 1.105 GB, free: 212.6 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.769e-05/0.7023, allocations: 2.781 kB / 1.105 GB, free: 212.6 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 1.365e-05/0.7023, allocations: 3.719 kB / 1.105 GB, free: 212.6 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 2.132e-05/0.7024, allocations: 13.67 kB / 1.105 GB, free: 212.6 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 2.832e-05/0.7024, allocations: 34.52 kB / 1.105 GB, free: 212.6 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0001168/0.7025, allocations: 52.02 kB / 1.105 GB, free: 212.6 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 6.342e-06/0.7026, allocations: 3.938 kB / 1.105 GB, free: 212.6 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.924e-06/0.7026, allocations: 0.9062 kB / 1.105 GB, free: 212.6 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 5.501e-06/0.7026, allocations: 0 / 1.105 GB, free: 212.6 MB / 0.7292 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.0004392/0.703, allocations: 379.4 kB / 1.105 GB, free: 212.2 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.098e-05/0.7031, allocations: 10.38 kB / 1.105 GB, free: 212.2 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.677e-05/0.7032, allocations: 36.59 kB / 1.105 GB, free: 212.2 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.945e-05/0.7032, allocations: 14.81 kB / 1.105 GB, free: 212.2 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002581/0.7035, allocations: 191.5 kB / 1.106 GB, free: 211.9 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.744e-05/0.7035, allocations: 7.156 kB / 1.106 GB, free: 211.9 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.399e-05/0.7035, allocations: 4.531 kB / 1.106 GB, free: 211.9 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002338/0.7038, allocations: 105.9 kB / 1.106 GB, free: 211.9 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.331e-05/0.7038, allocations: 0 / 1.106 GB, free: 211.9 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.68e-05/0.7038, allocations: 6.719 kB / 1.106 GB, free: 211.9 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.522e-06/0.7038, allocations: 3.562 kB / 1.106 GB, free: 211.9 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001427/0.704, allocations: 44.33 kB / 1.106 GB, free: 211.8 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006934/0.7047, allocations: 442.6 kB / 1.106 GB, free: 211.4 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 6.165e-05/0.7048, allocations: 51.52 kB / 1.106 GB, free: 211.4 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.402e-05/0.7048, allocations: 13.72 kB / 1.106 GB, free: 211.4 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.661e-05/0.7049, allocations: 1.406 kB / 1.106 GB, free: 211.4 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.035e-05/0.7049, allocations: 38.34 kB / 1.106 GB, free: 211.3 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=2): time 1.883e-06/0.7049, allocations: 0 / 1.106 GB, free: 211.3 MB / 0.7292 GB Notification: Performance of matching and sorting (n=2): time 0.0002217/0.7051, allocations: 58.48 kB / 1.106 GB, free: 211.3 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.077e-05/0.7052, allocations: 77.11 kB / 1.106 GB, free: 211.2 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001741/0.7054, allocations: 168.8 kB / 1.107 GB, free: 211.1 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.093e-05/0.7054, allocations: 29.39 kB / 1.107 GB, free: 211 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 5.933e-05/0.7055, allocations: 102.8 kB / 1.107 GB, free: 210.9 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.066e-05/0.7055, allocations: 4.922 kB / 1.107 GB, free: 210.9 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.587e-06/0.7055, allocations: 2.5 kB / 1.107 GB, free: 210.9 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 6.975e-05/0.7056, allocations: 326.6 kB / 1.107 GB, free: 210.6 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.768e-05/0.7056, allocations: 6.969 kB / 1.107 GB, free: 210.6 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.741e-05/0.7057, allocations: 20.17 kB / 1.107 GB, free: 210.6 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.961e-05/0.7057, allocations: 10.47 kB / 1.107 GB, free: 210.6 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.7057, allocations: 0 / 1.107 GB, free: 210.6 MB / 0.7292 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001191/0.7058, allocations: 62.52 kB / 1.107 GB, free: 210.5 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 2.055e-05/0.7059, allocations: 5.688 kB / 1.107 GB, free: 210.5 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.7059, allocations: 0 / 1.107 GB, free: 210.5 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.604e-05/0.7059, allocations: 0.7188 kB / 1.107 GB, free: 210.5 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001048/0.706, allocations: 8.938 kB / 1.107 GB, free: 210.5 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.035e-06/0.706, allocations: 5.531 kB / 1.107 GB, free: 210.5 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.475e-05/0.7061, allocations: 11.09 kB / 1.107 GB, free: 210.5 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.937e-06/0.7061, allocations: 7.375 kB / 1.107 GB, free: 210.5 MB / 0.7292 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.658e-05/0.7062, allocations: 113 kB / 1.107 GB, free: 210.4 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.808e-05/0.7063, allocations: 15.88 kB / 1.107 GB, free: 210.4 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.528e-05/0.7063, allocations: 17.69 kB / 1.107 GB, free: 210.4 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.527e-06/0.7063, allocations: 0 / 1.107 GB, free: 210.4 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.7064, allocations: 3.219 kB / 1.107 GB, free: 210.4 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.7064, allocations: 0 / 1.107 GB, free: 210.4 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004899/0.7069, allocations: 482.7 kB / 1.108 GB, free: 209.9 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.446e-06/0.7069, allocations: 2.688 kB / 1.108 GB, free: 209.9 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.208e-05/0.7069, allocations: 3.625 kB / 1.108 GB, free: 209.9 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.769e-06/0.7069, allocations: 0.7812 kB / 1.108 GB, free: 209.9 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.035e-06/0.707, allocations: 1.094 kB / 1.108 GB, free: 209.9 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.727e-06/0.707, allocations: 5.812 kB / 1.108 GB, free: 209.9 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.587e-06/0.707, allocations: 0 / 1.108 GB, free: 209.9 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001074/0.7071, allocations: 91.84 kB / 1.108 GB, free: 209.8 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 5.325e-05/0.7072, allocations: 90.69 kB / 1.108 GB, free: 209.7 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.224e-05/0.7072, allocations: 2.094 kB / 1.108 GB, free: 209.7 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.936e-05/0.7073, allocations: 0 / 1.108 GB, free: 209.7 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.446e-05/0.7073, allocations: 3.906 kB / 1.108 GB, free: 209.7 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.998e-06/0.7073, allocations: 0 / 1.108 GB, free: 209.7 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0001152/0.7074, allocations: 129.1 kB / 1.108 GB, free: 209.6 MB / 0.7292 GB Notification: Performance of sort global known variables: time 5.51e-07/0.7074, allocations: 2.875 kB / 1.108 GB, free: 209.6 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002516/0.7077, allocations: 9.344 kB / 1.108 GB, free: 209.6 MB / 0.7292 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.0003485/0.7081, allocations: 0.621 MB / 1.109 GB, free: 209 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0001189/0.7082, allocations: 18.45 kB / 1.109 GB, free: 209 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.7082, allocations: 0 / 1.109 GB, free: 209 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 2.615e-05/0.7082, allocations: 9.344 kB / 1.109 GB, free: 209 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002163/0.7085, allocations: 14.39 kB / 1.109 GB, free: 209 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001129/0.7096, allocations: 0.5986 MB / 1.109 GB, free: 208.5 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001655/0.7098, allocations: 0.6976 MB / 1.11 GB, free: 207.9 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 5.194e-05/0.7099, allocations: 5.953 kB / 1.11 GB, free: 207.9 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.473e-05/0.7099, allocations: 29.5 kB / 1.11 GB, free: 207.8 MB / 0.7292 GB Notification: Performance of SimCode: time 9.12e-07/0.7099, allocations: 0 / 1.11 GB, free: 207.8 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02533/0.7353, allocations: 1.591 MB / 1.112 GB, free: 207.8 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002403/0.7356, allocations: 196.4 kB / 1.112 GB, free: 207.6 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.611/3.346, allocations: 0 / 1.112 GB, free: 207.6 MB / 0.7292 GB