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_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.To_bar,fileNamePrefix="Buildings_6_0_0_Buildings_Controls_OBC_UnitConversions_Validation_To_bar",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.222/4.222, allocations: 433.2 MB / 440.7 MB, free: 4.543 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 3.385e-05/3.399e-05, allocations: 5.438 kB / 0.5325 GB, free: 12.68 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2096/0.2097, allocations: 98.73 MB / 0.6289 GB, free: 9.074 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.234/0.4437, allocations: 123.5 MB / 0.7496 GB, free: 13.37 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002538/0.4441, allocations: 71.95 kB / 0.7496 GB, free: 13.3 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.004031/0.4481, allocations: 1.154 MB / 0.7507 GB, free: 12.14 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.693e-06/0.4481, allocations: 0 / 0.7507 GB, free: 12.14 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.133e-05/0.4482, 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.0004355/0.4486, allocations: 370.2 kB / 0.7511 GB, free: 11.73 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.626e-05/0.4487, allocations: 8.031 kB / 0.7511 GB, free: 11.72 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.141e-05/0.4487, allocations: 15.86 kB / 0.7511 GB, free: 11.71 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001825/0.4489, allocations: 174.9 kB / 0.7513 GB, free: 11.5 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.453e-05/0.449, allocations: 4 kB / 0.7513 GB, free: 11.49 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.923e-05/0.449, allocations: 4 kB / 0.7513 GB, free: 11.49 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001251/0.4491, allocations: 35.98 kB / 0.7513 GB, free: 11.45 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001801/0.4493, allocations: 80.59 kB / 0.7514 GB, free: 11.36 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.408e-06/0.4493, allocations: 0 / 0.7514 GB, free: 11.36 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.205e-05/0.4494, allocations: 4 kB / 0.7514 GB, free: 11.36 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.879e-06/0.4494, allocations: 7.953 kB / 0.7514 GB, free: 11.35 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006899/0.4501, allocations: 417.2 kB / 0.7518 GB, free: 10.9 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 6.916e-05/0.4502, allocations: 41.19 kB / 0.7519 GB, free: 10.84 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.584e-05/0.4502, allocations: 13.84 kB / 0.7519 GB, free: 10.82 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 9.097e-06/0.4502, allocations: 0 / 0.7519 GB, free: 10.82 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.324e-05/0.4503, allocations: 42.56 kB / 0.7519 GB, free: 10.77 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 4.9e-06/0.4503, allocations: 3.984 kB / 0.7519 GB, free: 10.77 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0001813/0.4505, allocations: 45.53 kB / 0.752 GB, free: 10.72 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.985e-05/0.4505, allocations: 81.11 kB / 0.752 GB, free: 10.62 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001515/0.4507, allocations: 123.4 kB / 0.7522 GB, free: 10.49 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.46e-05/0.4508, allocations: 25.7 kB / 0.7522 GB, free: 10.46 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 8.725e-05/0.4509, allocations: 112 kB / 0.7523 GB, free: 10.35 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.215e-05/0.4509, allocations: 7.906 kB / 0.7523 GB, free: 10.34 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.108e-06/0.4509, allocations: 4.281 kB / 0.7523 GB, free: 10.34 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001444/0.4511, allocations: 318.8 kB / 0.7526 GB, free: 10.02 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.979e-05/0.4511, allocations: 11.94 kB / 0.7526 GB, free: 10 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.519e-05/0.4511, allocations: 17.72 kB / 0.7526 GB, free: 9.98 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.073e-05/0.4512, allocations: 15.95 kB / 0.7526 GB, free: 9.965 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.4512, allocations: 3.938 kB / 0.7526 GB, free: 9.961 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001286/0.4513, allocations: 57.66 kB / 0.7527 GB, free: 9.898 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.679e-05/0.4514, allocations: 4 kB / 0.7527 GB, free: 9.895 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.4514, allocations: 0 / 0.7527 GB, free: 9.895 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.626e-05/0.4514, allocations: 4 kB / 0.7527 GB, free: 9.891 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.699e-05/0.4515, allocations: 4 kB / 0.7527 GB, free: 9.887 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.029e-06/0.4515, allocations: 0 / 0.7527 GB, free: 9.887 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.957e-05/0.4516, allocations: 11.84 kB / 0.7527 GB, free: 9.875 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.722e-06/0.4516, 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.15e-05/0.4517, allocations: 104.9 kB / 0.7528 GB, free: 9.766 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001258/0.4518, allocations: 57.56 kB / 0.7529 GB, free: 9.703 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.896e-05/0.4519, allocations: 4 kB / 0.7529 GB, free: 9.699 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.345e-05/0.4519, allocations: 11.97 kB / 0.7529 GB, free: 9.688 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.015e-06/0.4519, allocations: 0 / 0.7529 GB, free: 9.688 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.452, allocations: 0 / 0.7529 GB, free: 9.688 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.452, allocations: 0 / 0.7529 GB, free: 9.688 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005395/0.4525, allocations: 451.2 kB / 0.7533 GB, free: 9.195 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.951e-06/0.4525, allocations: 8.125 kB / 0.7533 GB, free: 9.188 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.749e-05/0.4526, allocations: 0 / 0.7533 GB, free: 9.188 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.726e-06/0.4526, allocations: 8 kB / 0.7533 GB, free: 9.18 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.644e-06/0.4526, allocations: 0 / 0.7533 GB, free: 9.18 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.278e-06/0.4526, allocations: 3.984 kB / 0.7533 GB, free: 9.176 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.4526, allocations: 0 / 0.7533 GB, free: 9.176 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001296/0.4528, allocations: 92.22 kB / 0.7534 GB, free: 9.059 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 7.519e-05/0.4529, allocations: 89 kB / 0.7535 GB, free: 8.953 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.523e-05/0.4529, allocations: 0 / 0.7535 GB, free: 8.953 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.297e-05/0.4529, allocations: 0 / 0.7535 GB, free: 8.953 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.054e-05/0.453, allocations: 11.95 kB / 0.7535 GB, free: 8.941 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.777e-06/0.453, allocations: 0 / 0.7535 GB, free: 8.941 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 9.262e-05/0.4531, allocations: 103.3 kB / 0.7536 GB, free: 8.84 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.11e-07/0.4531, allocations: 0 / 0.7536 GB, free: 8.84 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002489/0.4533, allocations: 11.91 kB / 0.7536 GB, free: 8.828 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.0004888/0.4538, allocations: 0.6935 MB / 0.7543 GB, free: 8.102 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 9.847e-05/0.454, allocations: 19.88 kB / 0.7543 GB, free: 8.082 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.454, allocations: 4.156 kB / 0.7543 GB, free: 8.078 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 2.346e-05/0.454, allocations: 4 kB / 0.7543 GB, free: 8.074 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001431/0.4542, allocations: 11.95 kB / 0.7544 GB, free: 8.062 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004987/0.4547, allocations: 138.6 kB / 0.7545 GB, free: 7.883 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003238/0.455, allocations: 0.704 MB / 0.7552 GB, free: 7.152 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 3.944e-05/0.4551, allocations: 8.312 kB / 0.7552 GB, free: 7.145 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.977e-05/0.4551, allocations: 27.36 kB / 0.7552 GB, free: 7.121 MB / 0.6355 GB Notification: Performance of SimCode: time 7.32e-07/0.4551, allocations: 0 / 0.7552 GB, free: 7.121 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03987/0.495, allocations: 0.9734 MB / 0.7562 GB, free: 6.156 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002307/0.4953, allocations: 146 kB / 0.7563 GB, free: 5.969 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.637/3.132, allocations: 0 / 0.7563 GB, free: 5.969 MB / 0.6355 GB