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.From_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.From_Btu,fileNamePrefix="Buildings_6_0_0_Buildings_Controls_OBC_UnitConversions_Validation_From_Btu",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.18/4.18, allocations: 433.2 MB / 440.7 MB, free: 4.574 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.821e-05/2.851e-05, allocations: 5.891 kB / 0.5325 GB, free: 12.77 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.207/0.207, allocations: 98.74 MB / 0.6289 GB, free: 9.129 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2371/0.4441, allocations: 123.5 MB / 0.7496 GB, free: 13.42 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002469/0.4444, allocations: 67.95 kB / 0.7496 GB, free: 13.35 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.00408/0.4485, allocations: 1.142 MB / 0.7507 GB, free: 12.21 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.074e-06/0.4486, allocations: 0 / 0.7507 GB, free: 12.21 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 9.448e-06/0.4486, allocations: 0 / 0.7507 GB, free: 12.21 MB / 0.6355 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.0004542/0.4491, allocations: 374.2 kB / 0.7511 GB, free: 11.8 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.354e-05/0.4491, allocations: 12.02 kB / 0.7511 GB, free: 11.79 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.542e-05/0.4492, allocations: 11.86 kB / 0.7511 GB, free: 11.77 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001914/0.4494, allocations: 174.9 kB / 0.7513 GB, free: 11.56 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.79e-05/0.4494, allocations: 4 kB / 0.7513 GB, free: 11.56 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.884e-05/0.4495, allocations: 7.984 kB / 0.7513 GB, free: 11.55 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001397/0.4496, allocations: 32 kB / 0.7513 GB, free: 11.52 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001766/0.4498, allocations: 84.27 kB / 0.7514 GB, free: 11.43 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.146e-05/0.4499, allocations: 4 kB / 0.7514 GB, free: 11.42 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.403e-05/0.4499, allocations: 0 / 0.7514 GB, free: 11.42 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.527e-05/0.4499, allocations: 7.953 kB / 0.7514 GB, free: 11.41 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007299/0.4506, allocations: 417.2 kB / 0.7518 GB, free: 10.96 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 7.033e-05/0.4507, allocations: 41.28 kB / 0.7518 GB, free: 10.91 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.813e-05/0.4508, allocations: 13.84 kB / 0.7519 GB, free: 10.89 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.229e-05/0.4508, allocations: 3.984 kB / 0.7519 GB, free: 10.88 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.325e-05/0.4508, allocations: 38.56 kB / 0.7519 GB, free: 10.84 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 2.625e-06/0.4509, allocations: 0 / 0.7519 GB, free: 10.84 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.000196/0.4511, allocations: 45.55 kB / 0.7519 GB, free: 10.79 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.5e-05/0.4511, allocations: 77.11 kB / 0.752 GB, free: 10.69 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001547/0.4513, allocations: 126.6 kB / 0.7521 GB, free: 10.55 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.529e-05/0.4513, allocations: 25.92 kB / 0.7522 GB, free: 10.52 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 8.693e-05/0.4514, allocations: 112 kB / 0.7523 GB, free: 10.41 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 9.467e-06/0.4514, allocations: 7.844 kB / 0.7523 GB, free: 10.4 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.438e-06/0.4515, allocations: 4.062 kB / 0.7523 GB, free: 10.4 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001381/0.4516, allocations: 322.8 kB / 0.7526 GB, free: 10.07 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.888e-05/0.4516, allocations: 8 kB / 0.7526 GB, free: 10.07 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.983e-05/0.4517, allocations: 17.72 kB / 0.7526 GB, free: 10.04 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.622e-05/0.4517, allocations: 7.953 kB / 0.7526 GB, free: 10.04 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.87e-06/0.4518, allocations: 3.984 kB / 0.7526 GB, free: 10.03 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001305/0.4519, allocations: 61.64 kB / 0.7527 GB, free: 9.965 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.801e-05/0.4519, allocations: 4 kB / 0.7527 GB, free: 9.961 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.4519, allocations: 0 / 0.7527 GB, free: 9.961 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.438e-05/0.452, allocations: 0 / 0.7527 GB, free: 9.961 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001083/0.4521, allocations: 8 kB / 0.7527 GB, free: 9.953 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.845e-06/0.4521, allocations: 3.984 kB / 0.7527 GB, free: 9.949 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.899e-05/0.4522, allocations: 11.78 kB / 0.7527 GB, free: 9.938 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.578e-06/0.4522, allocations: 4 kB / 0.7527 GB, free: 9.934 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 () * 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.079e-05/0.4523, allocations: 104.9 kB / 0.7528 GB, free: 9.824 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001285/0.4524, allocations: 53.61 kB / 0.7529 GB, free: 9.766 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.894e-05/0.4525, allocations: 4 kB / 0.7529 GB, free: 9.762 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.604e-05/0.4525, allocations: 11.95 kB / 0.7529 GB, free: 9.75 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.347e-06/0.4525, allocations: 4 kB / 0.7529 GB, free: 9.746 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.4525, allocations: 0 / 0.7529 GB, free: 9.746 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.4526, allocations: 0 / 0.7529 GB, free: 9.746 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005402/0.4531, allocations: 451.3 kB / 0.7533 GB, free: 9.254 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-06/0.4531, allocations: 4.031 kB / 0.7533 GB, free: 9.25 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.296e-05/0.4532, allocations: 4 kB / 0.7533 GB, free: 9.246 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.417e-06/0.4532, allocations: 0 / 0.7533 GB, free: 9.246 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.046e-05/0.4532, allocations: 4 kB / 0.7533 GB, free: 9.242 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.555e-06/0.4532, allocations: 0 / 0.7533 GB, free: 9.242 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.597e-06/0.4532, allocations: 0 / 0.7533 GB, free: 9.242 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001296/0.4534, allocations: 96.2 kB / 0.7534 GB, free: 9.121 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.957e-05/0.4534, allocations: 85.02 kB / 0.7535 GB, free: 9.02 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.677e-05/0.4535, allocations: 0 / 0.7535 GB, free: 9.02 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.211e-05/0.4535, allocations: 0 / 0.7535 GB, free: 9.02 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.391e-05/0.4536, allocations: 7.938 kB / 0.7535 GB, free: 9.012 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.873e-06/0.4536, allocations: 4 kB / 0.7535 GB, free: 9.008 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 9.635e-05/0.4537, allocations: 101.6 kB / 0.7536 GB, free: 8.91 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.01e-07/0.4537, allocations: 3.938 kB / 0.7536 GB, free: 8.906 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003052/0.454, allocations: 15.91 kB / 0.7536 GB, free: 8.891 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.0004729/0.4545, allocations: 0.6915 MB / 0.7543 GB, free: 8.164 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001055/0.4546, allocations: 16.09 kB / 0.7543 GB, free: 8.148 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.075e-06/0.4546, allocations: 4.062 kB / 0.7543 GB, free: 8.145 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 2.078e-05/0.4547, allocations: 4 kB / 0.7543 GB, free: 8.141 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001574/0.4548, allocations: 17.48 kB / 0.7543 GB, free: 8.125 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006755/0.4555, allocations: 138.5 kB / 0.7545 GB, free: 7.945 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004949/0.456, allocations: 0.7042 MB / 0.7552 GB, free: 7.215 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 7.344e-05/0.4561, allocations: 8.172 kB / 0.7552 GB, free: 7.207 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.051e-05/0.4562, allocations: 23.44 kB / 0.7552 GB, free: 7.188 MB / 0.6355 GB Notification: Performance of SimCode: time 1.753e-06/0.4563, allocations: 0 / 0.7552 GB, free: 7.188 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03879/0.4951, allocations: 0.9827 MB / 0.7562 GB, free: 6.215 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002406/0.4954, allocations: 156.3 kB / 0.7563 GB, free: 6.02 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.237/2.733, allocations: 0 / 0.7563 GB, free: 6.02 MB / 0.6355 GB