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_BtuPerHour.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_BtuPerHour,fileNamePrefix="Buildings_6_0_0_Buildings_Controls_OBC_UnitConversions_Validation_To_BtuPerHour",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.029/4.029, allocations: 432.6 MB / 445.2 MB, free: 15.8 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 3.374e-05/3.384e-05, allocations: 7.516 kB / 0.5383 GB, free: 10.27 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2016/0.2017, allocations: 98.73 MB / 0.6347 GB, free: 1.871 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.223/0.4248, allocations: 124.2 MB / 0.756 GB, free: 5.492 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002616/0.4251, allocations: 67.95 kB / 0.7561 GB, free: 5.426 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.004182/0.4293, allocations: 1.157 MB / 0.7572 GB, free: 4.266 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.723e-06/0.4293, allocations: 0 / 0.7572 GB, free: 4.266 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.093e-05/0.4294, allocations: 4 kB / 0.7572 GB, free: 4.262 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.0004382/0.4298, allocations: 366.3 kB / 0.7576 GB, free: 3.859 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.587e-05/0.4299, allocations: 12.03 kB / 0.7576 GB, free: 3.848 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.713e-05/0.4299, allocations: 34.56 kB / 0.7576 GB, free: 3.805 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.994e-05/0.43, allocations: 15.86 kB / 0.7576 GB, free: 3.789 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001816/0.4302, allocations: 190.7 kB / 0.7578 GB, free: 3.562 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.522e-05/0.4302, allocations: 8 kB / 0.7578 GB, free: 3.555 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.411e-05/0.4302, allocations: 8 kB / 0.7578 GB, free: 3.547 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002093/0.4305, allocations: 87.41 kB / 0.7579 GB, free: 3.449 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.04e-05/0.4305, allocations: 0 / 0.7579 GB, free: 3.449 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.886e-05/0.4305, allocations: 8 kB / 0.7579 GB, free: 3.441 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.248e-06/0.4305, allocations: 0 / 0.7579 GB, free: 3.441 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001276/0.4307, allocations: 43.92 kB / 0.758 GB, free: 3.398 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007536/0.4314, allocations: 460.6 kB / 0.7584 GB, free: 2.895 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 6.54e-05/0.4315, allocations: 33.16 kB / 0.7584 GB, free: 2.844 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.312e-05/0.4316, allocations: 19.66 kB / 0.7584 GB, free: 2.82 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.195e-05/0.4316, allocations: 4 kB / 0.7584 GB, free: 2.816 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.09e-05/0.4316, allocations: 42.44 kB / 0.7585 GB, free: 2.766 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 2.044e-06/0.4317, allocations: 0 / 0.7585 GB, free: 2.766 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0001871/0.4318, allocations: 49.59 kB / 0.7585 GB, free: 2.711 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.502e-05/0.4319, allocations: 77.11 kB / 0.7586 GB, free: 2.617 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002262/0.4322, allocations: 156.8 kB / 0.7588 GB, free: 2.453 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.587e-05/0.4322, allocations: 25.7 kB / 0.7588 GB, free: 2.422 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 8.826e-05/0.4323, allocations: 112.2 kB / 0.7589 GB, free: 2.309 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.343e-05/0.4323, allocations: 11.84 kB / 0.7589 GB, free: 2.297 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.088e-06/0.4323, allocations: 0 / 0.7589 GB, free: 2.297 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001296/0.4325, allocations: 322.8 kB / 0.7592 GB, free: 1.973 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.132e-05/0.4325, allocations: 8 kB / 0.7592 GB, free: 1.965 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.384e-05/0.4326, allocations: 21.72 kB / 0.7592 GB, free: 1.938 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.487e-05/0.4326, allocations: 15.98 kB / 0.7593 GB, free: 1.922 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.4326, allocations: 0 / 0.7593 GB, free: 1.922 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001398/0.4328, allocations: 61.55 kB / 0.7593 GB, free: 1.855 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.095e-05/0.4328, allocations: 8 kB / 0.7593 GB, free: 1.848 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.4328, allocations: 0 / 0.7593 GB, free: 1.848 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.4e-05/0.4328, allocations: 0 / 0.7593 GB, free: 1.848 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001017/0.433, allocations: 7.984 kB / 0.7593 GB, free: 1.84 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.554e-06/0.433, allocations: 4 kB / 0.7593 GB, free: 1.836 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.557e-05/0.433, allocations: 3.938 kB / 0.7593 GB, free: 1.832 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.08e-05/0.4331, allocations: 4 kB / 0.7593 GB, free: 1.828 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.026e-05/0.4331, allocations: 109 kB / 0.7594 GB, free: 1.715 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.738e-05/0.4332, allocations: 11.81 kB / 0.7595 GB, free: 1.703 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.79e-05/0.4333, allocations: 12.56 kB / 0.7595 GB, free: 1.688 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.447e-06/0.4333, allocations: 0 / 0.7595 GB, free: 1.688 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.4333, allocations: 0 / 0.7595 GB, free: 1.688 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.434e-06/0.4333, allocations: 7.984 kB / 0.7595 GB, free: 1.68 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005356/0.4338, allocations: 482.8 kB / 0.7599 GB, free: 1.145 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-06/0.4339, allocations: 0 / 0.7599 GB, free: 1.145 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.397e-05/0.4339, allocations: 4.094 kB / 0.7599 GB, free: 1.141 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.771e-06/0.4339, allocations: 3.984 kB / 0.7599 GB, free: 1.137 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.254e-05/0.4339, allocations: 7.984 kB / 0.7599 GB, free: 1.129 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.488e-06/0.434, allocations: 3.938 kB / 0.76 GB, free: 1.125 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.434, allocations: 0 / 0.76 GB, free: 1.125 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001328/0.4341, allocations: 91.64 kB / 0.76 GB, free: 1.008 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 7.63e-05/0.4342, allocations: 89 kB / 0.7601 GB, free: 0.9023 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.228e-05/0.4342, allocations: 8 kB / 0.7601 GB, free: 0.8945 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.109e-05/0.4343, allocations: 0 / 0.7601 GB, free: 0.8945 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.907e-05/0.4343, allocations: 0 / 0.7601 GB, free: 0.8945 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.294e-06/0.4343, allocations: 3.953 kB / 0.7601 GB, free: 0.8906 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0001433/0.4345, allocations: 131.2 kB / 0.7603 GB, free: 0.7656 MB / 0.6355 GB Notification: Performance of sort global known variables: time 2.365e-06/0.4345, allocations: 3.938 kB / 0.7603 GB, free: 0.7617 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002377/0.4347, allocations: 15.97 kB / 0.7603 GB, free: 0.7461 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.000451/0.4352, allocations: 0.7012 MB / 0.761 GB, free: 12 kB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001393/0.4354, allocations: 28.02 kB / 0.761 GB, free: 15.98 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.985e-06/0.4354, allocations: 0 / 0.761 GB, free: 15.98 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 2.37e-05/0.4354, allocations: 4 kB / 0.761 GB, free: 15.98 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001419/0.4356, allocations: 11.95 kB / 0.761 GB, free: 15.96 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004712/0.436, allocations: 145.6 kB / 0.7611 GB, free: 15.79 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003011/0.4364, allocations: 0.7007 MB / 0.7618 GB, free: 15.06 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 4.442e-05/0.4364, allocations: 12.42 kB / 0.7618 GB, free: 15.05 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.117e-05/0.4365, allocations: 23.42 kB / 0.7619 GB, free: 15.03 MB / 0.6511 GB Notification: Performance of SimCode: time 9.92e-07/0.4365, allocations: 4 kB / 0.7619 GB, free: 15.02 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01938/0.4559, allocations: 1.553 MB / 0.7634 GB, free: 13.54 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003677/0.4563, allocations: 168.3 kB / 0.7635 GB, free: 13.32 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.185/2.641, allocations: 0 / 0.7635 GB, free: 13.32 MB / 0.6511 GB