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_bar.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_bar,fileNamePrefix="Buildings_6_0_0_Buildings_Controls_OBC_UnitConversions_Validation_From_bar",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.149/4.149, allocations: 433.2 MB / 440.7 MB, free: 4.539 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 3.268e-05/3.279e-05, allocations: 5.531 kB / 0.5325 GB, free: 12.71 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2313/0.2313, allocations: 98.74 MB / 0.6289 GB, free: 9.07 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.224/0.4554, allocations: 123.5 MB / 0.7495 GB, free: 13.36 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002586/0.4557, allocations: 67.95 kB / 0.7496 GB, free: 13.3 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.004061/0.4598, allocations: 1.154 MB / 0.7507 GB, free: 12.14 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.054e-06/0.4598, allocations: 0 / 0.7507 GB, free: 12.14 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.179e-05/0.4599, allocations: 4 kB / 0.7507 GB, free: 12.14 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.0004409/0.4603, allocations: 367.8 kB / 0.7511 GB, free: 11.73 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.065e-05/0.4604, allocations: 16.03 kB / 0.7511 GB, free: 11.72 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.198e-05/0.4604, allocations: 11.86 kB / 0.7511 GB, free: 11.71 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001819/0.4606, allocations: 182.8 kB / 0.7513 GB, free: 11.49 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.179e-05/0.4607, allocations: 0 / 0.7513 GB, free: 11.49 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.923e-05/0.4607, allocations: 4 kB / 0.7513 GB, free: 11.48 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001329/0.4608, allocations: 35.98 kB / 0.7513 GB, free: 11.45 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001827/0.461, allocations: 80.44 kB / 0.7514 GB, free: 11.36 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.798e-06/0.461, allocations: 3.938 kB / 0.7514 GB, free: 11.36 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.243e-05/0.4611, allocations: 0 / 0.7514 GB, free: 11.36 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.554e-06/0.4611, allocations: 11.95 kB / 0.7514 GB, free: 11.34 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000717/0.4618, allocations: 417.3 kB / 0.7518 GB, free: 10.89 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 7.767e-05/0.4619, allocations: 41.25 kB / 0.7519 GB, free: 10.84 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.723e-05/0.462, allocations: 9.719 kB / 0.7519 GB, free: 10.82 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.634e-05/0.462, allocations: 4.062 kB / 0.7519 GB, free: 10.82 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.833e-05/0.462, allocations: 30.56 kB / 0.7519 GB, free: 10.78 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 1.894e-06/0.462, allocations: 0 / 0.7519 GB, free: 10.78 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0002025/0.4623, allocations: 53.55 kB / 0.752 GB, free: 10.71 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.58e-05/0.4623, allocations: 81.09 kB / 0.752 GB, free: 10.62 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001679/0.4625, allocations: 122.9 kB / 0.7522 GB, free: 10.49 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.997e-05/0.4625, allocations: 25.7 kB / 0.7522 GB, free: 10.46 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 9.656e-05/0.4626, allocations: 112.2 kB / 0.7523 GB, free: 10.34 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.412e-05/0.4627, allocations: 7.906 kB / 0.7523 GB, free: 10.34 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.448e-06/0.4627, allocations: 3.938 kB / 0.7523 GB, free: 10.33 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001529/0.4628, allocations: 318.9 kB / 0.7526 GB, free: 10.01 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.917e-05/0.4629, allocations: 8 kB / 0.7526 GB, free: 10 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.655e-05/0.4629, allocations: 25.7 kB / 0.7526 GB, free: 9.973 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.712e-05/0.463, allocations: 7.953 kB / 0.7526 GB, free: 9.965 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.624e-06/0.463, allocations: 0 / 0.7526 GB, free: 9.965 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001309/0.4631, allocations: 53.64 kB / 0.7527 GB, free: 9.906 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.654e-05/0.4632, allocations: 7.984 kB / 0.7527 GB, free: 9.898 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.786e-06/0.4632, allocations: 8.062 kB / 0.7527 GB, free: 9.891 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.62e-05/0.4632, allocations: 0 / 0.7527 GB, free: 9.891 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001193/0.4634, allocations: 4 kB / 0.7527 GB, free: 9.887 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.461e-06/0.4634, allocations: 0 / 0.7527 GB, free: 9.887 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.543e-05/0.4634, allocations: 11.84 kB / 0.7527 GB, free: 9.875 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.113e-06/0.4635, allocations: 0 / 0.7527 GB, free: 9.875 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.685e-05/0.4636, allocations: 104.9 kB / 0.7528 GB, free: 9.766 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001279/0.4637, allocations: 53.53 kB / 0.7529 GB, free: 9.707 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.971e-05/0.4638, allocations: 8.062 kB / 0.7529 GB, free: 9.699 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.575e-05/0.4638, allocations: 11.97 kB / 0.7529 GB, free: 9.688 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.617e-06/0.4638, allocations: 0 / 0.7529 GB, free: 9.688 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.4638, allocations: 96 / 0.7529 GB, free: 9.688 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.991e-06/0.4638, allocations: 3.984 kB / 0.7529 GB, free: 9.684 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005797/0.4644, allocations: 455.2 kB / 0.7533 GB, free: 9.188 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.986e-06/0.4645, allocations: 0 / 0.7533 GB, free: 9.188 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.548e-05/0.4645, allocations: 4 kB / 0.7533 GB, free: 9.184 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.178e-06/0.4645, allocations: 4.062 kB / 0.7533 GB, free: 9.18 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.508e-06/0.4645, allocations: 4 kB / 0.7533 GB, free: 9.176 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.415e-06/0.4646, allocations: 0 / 0.7533 GB, free: 9.176 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/0.4646, allocations: 3.938 kB / 0.7533 GB, free: 9.172 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001356/0.4647, allocations: 92.2 kB / 0.7534 GB, free: 9.055 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 7.643e-05/0.4648, allocations: 93.03 kB / 0.7535 GB, free: 8.945 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.824e-05/0.4648, allocations: 0 / 0.7535 GB, free: 8.945 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.5e-05/0.4649, allocations: 0 / 0.7535 GB, free: 8.945 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.092e-05/0.4649, allocations: 7.953 kB / 0.7535 GB, free: 8.938 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.673e-06/0.4649, allocations: 4 kB / 0.7535 GB, free: 8.934 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0001009/0.465, allocations: 105.3 kB / 0.7536 GB, free: 8.832 MB / 0.6355 GB Notification: Performance of sort global known variables: time 2.955e-06/0.4651, allocations: 0 / 0.7536 GB, free: 8.832 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002539/0.4653, allocations: 15.84 kB / 0.7536 GB, free: 8.816 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.0004827/0.4658, allocations: 0.6915 MB / 0.7543 GB, free: 8.09 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001051/0.4659, allocations: 15.94 kB / 0.7543 GB, free: 8.074 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 5.149e-06/0.4659, allocations: 4 kB / 0.7543 GB, free: 8.07 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 2.088e-05/0.466, allocations: 8.156 kB / 0.7543 GB, free: 8.062 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001459/0.4661, allocations: 7.953 kB / 0.7544 GB, free: 8.055 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004773/0.4666, allocations: 134.6 kB / 0.7545 GB, free: 7.879 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000282/0.4669, allocations: 0.7079 MB / 0.7552 GB, free: 7.145 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 4.093e-05/0.467, allocations: 8.312 kB / 0.7552 GB, free: 7.137 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.977e-05/0.467, allocations: 27.42 kB / 0.7552 GB, free: 7.113 MB / 0.6355 GB Notification: Performance of SimCode: time 7.91e-07/0.4671, allocations: 0 / 0.7552 GB, free: 7.113 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03305/0.5001, allocations: 0.9731 MB / 0.7562 GB, free: 6.148 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002968/0.5005, allocations: 153.2 kB / 0.7563 GB, free: 5.953 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.183/2.684, allocations: 0 / 0.7563 GB, free: 5.953 MB / 0.6355 GB