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_gal.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_gal,fileNamePrefix="Buildings_6_0_0_Buildings_Controls_OBC_UnitConversions_Validation_From_gal",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.119/4.119, allocations: 433.2 MB / 440.8 MB, free: 4.566 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 3.193e-05/3.21e-05, allocations: 5.781 kB / 0.5325 GB, free: 12.68 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2135/0.2136, allocations: 98.73 MB / 0.6289 GB, free: 9.105 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2308/0.4445, allocations: 123.5 MB / 0.7495 GB, free: 13.39 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002515/0.4448, allocations: 71.94 kB / 0.7496 GB, free: 13.32 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.004008/0.4488, allocations: 1.142 MB / 0.7507 GB, free: 12.18 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.613e-06/0.4488, allocations: 3.938 kB / 0.7507 GB, free: 12.18 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.15e-05/0.4489, allocations: 4 kB / 0.7507 GB, free: 12.17 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.0004263/0.4493, allocations: 366.3 kB / 0.7511 GB, free: 11.77 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.078e-05/0.4494, allocations: 12.03 kB / 0.7511 GB, free: 11.76 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.677e-05/0.4494, allocations: 19.84 kB / 0.7511 GB, free: 11.74 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001798/0.4496, allocations: 182.8 kB / 0.7513 GB, free: 11.52 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.152e-05/0.4496, allocations: 0 / 0.7513 GB, free: 11.52 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.938e-05/0.4497, allocations: 4 kB / 0.7513 GB, free: 11.52 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001252/0.4498, allocations: 32 kB / 0.7513 GB, free: 11.48 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001742/0.45, allocations: 89.05 kB / 0.7514 GB, free: 11.39 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.759e-06/0.45, allocations: 0 / 0.7514 GB, free: 11.39 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.258e-05/0.45, allocations: 4 kB / 0.7514 GB, free: 11.38 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.476e-06/0.45, allocations: 3.953 kB / 0.7514 GB, free: 11.38 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006696/0.4507, allocations: 413.3 kB / 0.7518 GB, free: 10.93 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 6.446e-05/0.4508, allocations: 37.25 kB / 0.7518 GB, free: 10.88 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.925e-05/0.4509, allocations: 17.78 kB / 0.7519 GB, free: 10.86 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.557e-05/0.4509, allocations: 3.984 kB / 0.7519 GB, free: 10.85 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.604e-05/0.4509, allocations: 34.56 kB / 0.7519 GB, free: 10.81 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 1.983e-06/0.451, allocations: 0 / 0.7519 GB, free: 10.81 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0001931/0.4512, allocations: 49.55 kB / 0.7519 GB, free: 10.75 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.672e-05/0.4512, allocations: 77.11 kB / 0.752 GB, free: 10.66 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000156/0.4514, allocations: 122.3 kB / 0.7521 GB, free: 10.53 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.881e-05/0.4514, allocations: 25.7 kB / 0.7522 GB, free: 10.5 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 8.877e-05/0.4515, allocations: 119.9 kB / 0.7523 GB, free: 10.38 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 9.758e-06/0.4515, allocations: 7.969 kB / 0.7523 GB, free: 10.37 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.948e-06/0.4515, allocations: 0 / 0.7523 GB, free: 10.37 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001211/0.4517, allocations: 318.8 kB / 0.7526 GB, free: 10.05 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.989e-05/0.4517, allocations: 8 kB / 0.7526 GB, free: 10.04 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.97e-05/0.4518, allocations: 17.72 kB / 0.7526 GB, free: 10.02 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.142e-05/0.4518, allocations: 11.95 kB / 0.7526 GB, free: 10 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.4518, allocations: 0 / 0.7526 GB, free: 10 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001268/0.452, allocations: 61.62 kB / 0.7527 GB, free: 9.938 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.057e-05/0.452, allocations: 8 kB / 0.7527 GB, free: 9.93 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.139e-06/0.452, allocations: 0 / 0.7527 GB, free: 9.93 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.5e-05/0.452, allocations: 0 / 0.7527 GB, free: 9.93 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001021/0.4521, allocations: 4 kB / 0.7527 GB, free: 9.926 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.744e-06/0.4522, allocations: 4 kB / 0.7527 GB, free: 9.922 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.491e-05/0.4522, allocations: 11.83 kB / 0.7527 GB, free: 9.91 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.832e-06/0.4523, allocations: 0 / 0.7527 GB, free: 9.91 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 7.452e-05/0.4523, allocations: 104.9 kB / 0.7528 GB, free: 9.801 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001207/0.4525, allocations: 57.61 kB / 0.7529 GB, free: 9.738 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.639e-05/0.4525, allocations: 96 / 0.7529 GB, free: 9.738 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.707e-05/0.4526, allocations: 19.88 kB / 0.7529 GB, free: 9.719 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.537e-06/0.4526, allocations: 0 / 0.7529 GB, free: 9.719 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.4526, allocations: 0 / 0.7529 GB, free: 9.719 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.053e-06/0.4526, allocations: 4 kB / 0.7529 GB, free: 9.715 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005063/0.4531, allocations: 459.3 kB / 0.7533 GB, free: 9.215 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.4532, allocations: 0 / 0.7533 GB, free: 9.215 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.67e-05/0.4532, allocations: 4 kB / 0.7533 GB, free: 9.211 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.116e-06/0.4532, allocations: 0 / 0.7533 GB, free: 9.211 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.494e-06/0.4532, allocations: 0 / 0.7533 GB, free: 9.211 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.914e-06/0.4532, allocations: 0 / 0.7533 GB, free: 9.211 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/0.4533, allocations: 0 / 0.7533 GB, free: 9.211 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001221/0.4534, allocations: 96.23 kB / 0.7534 GB, free: 9.09 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.736e-05/0.4535, allocations: 85.02 kB / 0.7535 GB, free: 8.988 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.751e-05/0.4535, allocations: 4 kB / 0.7535 GB, free: 8.984 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.888e-05/0.4535, allocations: 4 kB / 0.7535 GB, free: 8.98 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.396e-05/0.4536, allocations: 7.938 kB / 0.7535 GB, free: 8.973 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.402e-06/0.4536, allocations: 0 / 0.7535 GB, free: 8.973 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 8.851e-05/0.4537, allocations: 108.8 kB / 0.7536 GB, free: 8.867 MB / 0.6355 GB Notification: Performance of sort global known variables: time 3.6e-07/0.4537, allocations: 0 / 0.7536 GB, free: 8.867 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002915/0.454, allocations: 11.91 kB / 0.7536 GB, free: 8.855 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.0004211/0.4544, allocations: 0.6876 MB / 0.7543 GB, free: 8.133 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001079/0.4546, allocations: 24.03 kB / 0.7543 GB, free: 8.109 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.4546, allocations: 4.062 kB / 0.7543 GB, free: 8.105 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 2.158e-05/0.4546, allocations: 4 kB / 0.7543 GB, free: 8.102 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001397/0.4547, allocations: 10.3 kB / 0.7543 GB, free: 8.094 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004994/0.4553, allocations: 142.5 kB / 0.7545 GB, free: 7.91 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002995/0.4556, allocations: 0.7054 MB / 0.7552 GB, free: 7.18 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 4.187e-05/0.4556, allocations: 8.172 kB / 0.7552 GB, free: 7.172 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.615e-05/0.4557, allocations: 23.44 kB / 0.7552 GB, free: 7.152 MB / 0.6355 GB Notification: Performance of SimCode: time 9.82e-07/0.4557, allocations: 0 / 0.7552 GB, free: 7.152 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03675/0.4925, allocations: 0.982 MB / 0.7562 GB, free: 6.176 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002281/0.4927, allocations: 152.4 kB / 0.7563 GB, free: 5.984 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.256/2.749, allocations: 0 / 0.7563 GB, free: 5.984 MB / 0.6355 GB