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_gal.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 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 Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_gal,fileNamePrefix="Buildings_6_0_0_Buildings_Controls_OBC_UnitConversions_Validation_To_gal",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.007/4.007, allocations: 432.6 MB / 445.2 MB, free: 15.83 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 3.467e-05/3.478e-05, allocations: 6.094 kB / 0.5383 GB, free: 10.25 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2066/0.2066, allocations: 98.74 MB / 0.6347 GB, free: 1.906 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2287/0.4354, allocations: 124.2 MB / 0.756 GB, free: 5.527 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002635/0.4357, allocations: 63.97 kB / 0.7561 GB, free: 5.465 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.004188/0.4399, allocations: 1.154 MB / 0.7572 GB, free: 4.309 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.713e-06/0.44, allocations: 0 / 0.7572 GB, free: 4.309 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 9.147e-06/0.44, allocations: 3.938 kB / 0.7572 GB, free: 4.305 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.0004719/0.4405, allocations: 366.3 kB / 0.7576 GB, free: 3.902 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.4e-05/0.4405, allocations: 12.03 kB / 0.7576 GB, free: 3.891 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.635e-05/0.4406, allocations: 38.56 kB / 0.7576 GB, free: 3.844 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4e-05/0.4407, allocations: 15.84 kB / 0.7576 GB, free: 3.828 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002121/0.4409, allocations: 186.7 kB / 0.7578 GB, free: 3.605 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.068e-05/0.4409, allocations: 8 kB / 0.7578 GB, free: 3.598 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.622e-05/0.4409, allocations: 4 kB / 0.7578 GB, free: 3.594 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002201/0.4412, allocations: 87.41 kB / 0.7579 GB, free: 3.496 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.423e-05/0.4412, allocations: 3.984 kB / 0.7579 GB, free: 3.492 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.855e-05/0.4412, allocations: 7.984 kB / 0.7579 GB, free: 3.484 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.292e-05/0.4412, allocations: 8 kB / 0.7579 GB, free: 3.477 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00013/0.4414, allocations: 35.94 kB / 0.758 GB, free: 3.441 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000774/0.4422, allocations: 460.5 kB / 0.7584 GB, free: 2.938 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 8.015e-05/0.4423, allocations: 41.34 kB / 0.7584 GB, free: 2.879 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.085e-05/0.4423, allocations: 15.59 kB / 0.7584 GB, free: 2.859 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 9.808e-06/0.4423, allocations: 0 / 0.7584 GB, free: 2.859 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.528e-05/0.4424, allocations: 38.5 kB / 0.7585 GB, free: 2.812 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 1.593e-06/0.4424, allocations: 4 kB / 0.7585 GB, free: 2.809 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0001924/0.4426, allocations: 49.59 kB / 0.7585 GB, free: 2.754 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.664e-05/0.4427, allocations: 81.11 kB / 0.7586 GB, free: 2.656 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002099/0.4429, allocations: 145.1 kB / 0.7587 GB, free: 2.504 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.978e-05/0.4429, allocations: 33.7 kB / 0.7588 GB, free: 2.465 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 9.433e-05/0.443, allocations: 108.2 kB / 0.7589 GB, free: 2.355 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.376e-05/0.4431, allocations: 7.844 kB / 0.7589 GB, free: 2.348 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.937e-06/0.4431, allocations: 8 kB / 0.7589 GB, free: 2.34 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001489/0.4432, allocations: 326.8 kB / 0.7592 GB, free: 2.012 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.335e-05/0.4433, allocations: 8 kB / 0.7592 GB, free: 2.004 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.207e-05/0.4433, allocations: 17.72 kB / 0.7592 GB, free: 1.98 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.346e-05/0.4434, allocations: 11.98 kB / 0.7592 GB, free: 1.969 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.4434, allocations: 0 / 0.7592 GB, free: 1.969 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001552/0.4436, allocations: 65.58 kB / 0.7593 GB, free: 1.898 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.85e-05/0.4436, allocations: 4 kB / 0.7593 GB, free: 1.895 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/0.4436, allocations: 0 / 0.7593 GB, free: 1.895 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.148e-05/0.4436, allocations: 4 kB / 0.7593 GB, free: 1.891 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001141/0.4438, allocations: 7.984 kB / 0.7593 GB, free: 1.883 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.184e-06/0.4438, allocations: 0 / 0.7593 GB, free: 1.883 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.973e-05/0.4438, allocations: 7.938 kB / 0.7593 GB, free: 1.875 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.283e-06/0.4439, allocations: 0 / 0.7593 GB, free: 1.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.02e-05/0.4439, allocations: 108.9 kB / 0.7594 GB, free: 1.762 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.922e-05/0.444, allocations: 19.75 kB / 0.7595 GB, free: 1.742 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.485e-05/0.4441, allocations: 16.58 kB / 0.7595 GB, free: 1.723 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.44e-06/0.4441, allocations: 4 kB / 0.7595 GB, free: 1.719 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.91e-06/0.4441, allocations: 0 / 0.7595 GB, free: 1.719 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.4441, allocations: 0 / 0.7595 GB, free: 1.719 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005572/0.4447, allocations: 474.8 kB / 0.7599 GB, free: 1.191 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.478e-06/0.4447, allocations: 4 kB / 0.7599 GB, free: 1.188 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.177e-05/0.4448, allocations: 7.984 kB / 0.7599 GB, free: 1.18 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.697e-06/0.4448, allocations: 4.062 kB / 0.7599 GB, free: 1.176 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.085e-06/0.4448, allocations: 0 / 0.7599 GB, free: 1.176 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.645e-06/0.4448, allocations: 0 / 0.7599 GB, free: 1.176 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.933e-06/0.4449, allocations: 7.938 kB / 0.7599 GB, free: 1.168 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001448/0.445, allocations: 87.58 kB / 0.76 GB, free: 1.055 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 8.117e-05/0.4451, allocations: 93.03 kB / 0.7601 GB, free: 0.9453 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.14e-05/0.4451, allocations: 4 kB / 0.7601 GB, free: 0.9414 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.209e-05/0.4452, allocations: 0 / 0.7601 GB, free: 0.9414 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.627e-05/0.4452, allocations: 4 kB / 0.7601 GB, free: 0.9375 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.692e-06/0.4452, allocations: 3.953 kB / 0.7601 GB, free: 0.9336 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0001497/0.4454, allocations: 127.2 kB / 0.7603 GB, free: 0.8125 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.71e-07/0.4454, allocations: 0 / 0.7603 GB, free: 0.8125 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002469/0.4457, allocations: 12 kB / 0.7603 GB, free: 0.8008 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.0005069/0.4462, allocations: 0.703 MB / 0.761 GB, free: 64 kB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001119/0.4463, allocations: 16 kB / 0.761 GB, free: 48 kB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.4463, allocations: 0 / 0.761 GB, free: 48 kB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 2.893e-05/0.4464, allocations: 20.08 kB / 0.761 GB, free: 28 kB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000141/0.4465, allocations: 15.88 kB / 0.761 GB, free: 16 kB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004996/0.447, allocations: 135.6 kB / 0.7611 GB, free: 15.84 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002878/0.4473, allocations: 0.7043 MB / 0.7618 GB, free: 15.11 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 4.621e-05/0.4474, allocations: 8.562 kB / 0.7618 GB, free: 15.11 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.285e-05/0.4475, allocations: 27.42 kB / 0.7619 GB, free: 15.08 MB / 0.6511 GB Notification: Performance of SimCode: time 9.82e-07/0.4475, allocations: 0 / 0.7619 GB, free: 15.08 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02014/0.4676, allocations: 1.556 MB / 0.7634 GB, free: 13.59 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002985/0.468, allocations: 160.8 kB / 0.7635 GB, free: 13.37 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.156/2.624, allocations: 0 / 0.7635 GB, free: 13.37 MB / 0.6511 GB