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.01083/0.01083, allocations: 106.6 kB / 15.05 MB, free: 5.93 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.001265/0.001265, allocations: 186.4 kB / 15.94 MB, free: 5.895 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.97/1.97, allocations: 194.6 MB / 211.3 MB, free: 11.05 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.25/2.25, allocations: 236.1 MB / 492.6 MB, free: 11.3 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004734/0.0004734, allocations: 12 kB / 0.587 GB, free: 2.074 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6802/0.6807, allocations: 98.71 MB / 0.6834 GB, free: 16.86 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2582/0.9389, allocations: 124.3 MB / 0.8048 GB, free: 1.988 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000257/0.9393, allocations: 59.97 kB / 0.8049 GB, free: 1.93 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.004012/0.9433, allocations: 1.155 MB / 0.806 GB, free: 0.7695 MB / 0.6198 GB Notification: Performance of FrontEnd: time 4.929e-06/0.9433, allocations: 3.984 kB / 0.806 GB, free: 0.7656 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.296e-05/0.9434, allocations: 0 / 0.806 GB, free: 0.7656 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.0004856/0.9438, allocations: 375 kB / 0.8064 GB, free: 360 kB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.717e-05/0.9439, allocations: 16.03 kB / 0.8064 GB, free: 344 kB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.817e-05/0.944, allocations: 38.55 kB / 0.8064 GB, free: 296 kB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.215e-05/0.944, allocations: 23.77 kB / 0.8065 GB, free: 272 kB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001733/0.9442, allocations: 174.9 kB / 0.8066 GB, free: 56 kB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.884e-05/0.9442, allocations: 11.98 kB / 0.8066 GB, free: 44 kB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.964e-05/0.9443, allocations: 4 kB / 0.8066 GB, free: 40 kB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002385/0.9445, allocations: 99.28 kB / 0.8067 GB, free: 15.93 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.069e-05/0.9445, allocations: 0 / 0.8067 GB, free: 15.93 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.431e-05/0.9446, allocations: 8 kB / 0.8067 GB, free: 15.92 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.951e-06/0.9446, allocations: 0 / 0.8067 GB, free: 15.92 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001336/0.9447, allocations: 44.14 kB / 0.8068 GB, free: 15.88 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007449/0.9455, allocations: 452.7 kB / 0.8072 GB, free: 15.38 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 7.46e-05/0.9456, allocations: 45.09 kB / 0.8073 GB, free: 15.32 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.266e-05/0.9456, allocations: 0 / 0.8073 GB, free: 15.32 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.415e-05/0.9456, allocations: 30.56 kB / 0.8073 GB, free: 15.28 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 1.322e-06/0.9456, allocations: 4 kB / 0.8073 GB, free: 15.28 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0002207/0.9459, allocations: 69.44 kB / 0.8074 GB, free: 15.2 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.883e-05/0.9459, allocations: 81.11 kB / 0.8074 GB, free: 15.11 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002159/0.9462, allocations: 154.4 kB / 0.8076 GB, free: 14.94 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.754e-05/0.9462, allocations: 29.7 kB / 0.8076 GB, free: 14.91 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 8.287e-05/0.9463, allocations: 104 kB / 0.8077 GB, free: 14.8 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.286e-05/0.9463, allocations: 7.844 kB / 0.8077 GB, free: 14.79 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.698e-06/0.9463, allocations: 0 / 0.8077 GB, free: 14.79 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001438/0.9465, allocations: 331 kB / 0.808 GB, free: 14.46 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.15e-05/0.9465, allocations: 8 kB / 0.808 GB, free: 14.45 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.033e-05/0.9466, allocations: 17.72 kB / 0.8081 GB, free: 14.43 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.471e-05/0.9466, allocations: 12 kB / 0.8081 GB, free: 14.42 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.9467, allocations: 0 / 0.8081 GB, free: 14.42 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.00014/0.9468, allocations: 65.53 kB / 0.8081 GB, free: 14.35 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.751e-05/0.9468, allocations: 4 kB / 0.8081 GB, free: 14.34 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.142e-06/0.9469, allocations: 4.062 kB / 0.8081 GB, free: 14.34 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.712e-05/0.9469, allocations: 0 / 0.8081 GB, free: 14.34 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.597e-05/0.947, allocations: 8 kB / 0.8081 GB, free: 14.33 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.121e-06/0.947, allocations: 0 / 0.8081 GB, free: 14.33 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.422e-05/0.9471, allocations: 7.906 kB / 0.8082 GB, free: 14.32 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.883e-06/0.9471, allocations: 0 / 0.8082 GB, free: 14.32 MB / 0.6355 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.0001064/0.9472, allocations: 121.8 kB / 0.8083 GB, free: 14.2 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.386e-05/0.9473, allocations: 7.906 kB / 0.8083 GB, free: 14.19 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.454e-05/0.9473, allocations: 12.56 kB / 0.8083 GB, free: 14.18 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/0.9473, allocations: 4 kB / 0.8083 GB, free: 14.17 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.9473, allocations: 0 / 0.8083 GB, free: 14.17 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.9473, allocations: 0 / 0.8083 GB, free: 14.17 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005453/0.9479, allocations: 481.2 kB / 0.8088 GB, free: 13.64 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.465e-06/0.9479, allocations: 0 / 0.8088 GB, free: 13.64 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.01e-05/0.948, allocations: 4 kB / 0.8088 GB, free: 13.64 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.976e-06/0.948, allocations: 0 / 0.8088 GB, free: 13.64 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.278e-06/0.948, allocations: 4.062 kB / 0.8088 GB, free: 13.63 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.727e-06/0.948, allocations: 11.88 kB / 0.8088 GB, free: 13.62 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.948, allocations: 0 / 0.8088 GB, free: 13.62 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001322/0.9482, allocations: 91.56 kB / 0.8089 GB, free: 13.5 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 7.714e-05/0.9482, allocations: 96.91 kB / 0.809 GB, free: 13.39 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.19e-05/0.9483, allocations: 4 kB / 0.809 GB, free: 13.39 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.868e-05/0.9483, allocations: 4.031 kB / 0.809 GB, free: 13.38 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.695e-05/0.9483, allocations: 0 / 0.809 GB, free: 13.38 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.891e-06/0.9484, allocations: 4 kB / 0.809 GB, free: 13.38 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0001605/0.9485, allocations: 133.5 kB / 0.8091 GB, free: 13.25 MB / 0.6355 GB Notification: Performance of sort global known variables: time 3.71e-07/0.9485, allocations: 0 / 0.8091 GB, free: 13.25 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002491/0.9488, allocations: 15.88 kB / 0.8091 GB, free: 13.23 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 () * 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.0005192/0.9493, allocations: 0.6993 MB / 0.8098 GB, free: 12.5 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001154/0.9495, allocations: 27.92 kB / 0.8098 GB, free: 12.47 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.9495, allocations: 0 / 0.8098 GB, free: 12.47 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 2.422e-05/0.9495, allocations: 4 kB / 0.8098 GB, free: 12.47 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001526/0.9497, allocations: 12.23 kB / 0.8098 GB, free: 12.46 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001268/0.951, allocations: 0.7421 MB / 0.8106 GB, free: 11.66 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002853/0.9513, allocations: 0.6965 MB / 0.8112 GB, free: 10.94 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 4.651e-05/0.9513, allocations: 8.422 kB / 0.8112 GB, free: 10.93 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.231e-05/0.9514, allocations: 23.44 kB / 0.8113 GB, free: 10.91 MB / 0.6355 GB Notification: Performance of SimCode: time 1.372e-06/0.9514, allocations: 4 kB / 0.8113 GB, free: 10.9 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02459/0.976, allocations: 1.576 MB / 0.8128 GB, free: 9.434 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003664/0.9764, allocations: 189.3 kB / 0.813 GB, free: 9.191 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.194/3.17, allocations: 7.938 kB / 0.813 GB, free: 9.184 MB / 0.6355 GB