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/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_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.166/4.166, allocations: 433.2 MB / 440.7 MB, free: 4.539 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 3.181e-05/3.192e-05, allocations: 4.625 kB / 0.5325 GB, free: 12.71 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2243/0.2243, allocations: 98.74 MB / 0.6289 GB, free: 9.066 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2329/0.4573, allocations: 123.5 MB / 0.7496 GB, free: 13.36 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002561/0.4576, allocations: 63.97 kB / 0.7496 GB, free: 13.3 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.004101/0.4617, allocations: 1.15 MB / 0.7507 GB, free: 12.15 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.333e-06/0.4618, allocations: 4 kB / 0.7507 GB, free: 12.14 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.185e-06/0.4618, allocations: 0 / 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.0004444/0.4622, allocations: 366.3 kB / 0.7511 GB, free: 11.74 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.778e-05/0.4623, allocations: 8.031 kB / 0.7511 GB, free: 11.73 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.462e-05/0.4623, allocations: 15.86 kB / 0.7511 GB, free: 11.72 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001856/0.4625, allocations: 186.8 kB / 0.7513 GB, free: 11.5 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.724e-05/0.4626, allocations: 4 kB / 0.7513 GB, free: 11.49 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.692e-05/0.4626, allocations: 4 kB / 0.7513 GB, free: 11.49 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001303/0.4627, allocations: 32 kB / 0.7513 GB, free: 11.46 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001882/0.4629, allocations: 80.75 kB / 0.7514 GB, free: 11.37 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.032e-05/0.463, allocations: 0 / 0.7514 GB, free: 11.37 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.217e-05/0.463, allocations: 0 / 0.7514 GB, free: 11.37 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.289e-05/0.463, allocations: 3.953 kB / 0.7514 GB, free: 11.36 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006796/0.4637, allocations: 421.2 kB / 0.7518 GB, free: 10.91 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 6.792e-05/0.4638, allocations: 45.25 kB / 0.7519 GB, free: 10.85 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.106e-05/0.4638, allocations: 13.78 kB / 0.7519 GB, free: 10.83 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 8.346e-06/0.4639, allocations: 3.938 kB / 0.7519 GB, free: 10.82 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.591e-05/0.4639, allocations: 30.56 kB / 0.7519 GB, free: 10.79 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 1.693e-06/0.4639, allocations: 0 / 0.7519 GB, free: 10.79 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0001755/0.4641, allocations: 57.56 kB / 0.752 GB, free: 10.72 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.715e-05/0.4641, allocations: 77.11 kB / 0.752 GB, free: 10.62 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001419/0.4643, allocations: 122.6 kB / 0.7521 GB, free: 10.5 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.128e-05/0.4643, allocations: 25.7 kB / 0.7522 GB, free: 10.46 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 8.55e-05/0.4644, allocations: 116 kB / 0.7523 GB, free: 10.35 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 9.588e-06/0.4645, allocations: 3.906 kB / 0.7523 GB, free: 10.34 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.897e-06/0.4645, allocations: 224 / 0.7523 GB, free: 10.34 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001384/0.4646, allocations: 322.8 kB / 0.7526 GB, free: 10.02 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.043e-05/0.4647, allocations: 15.97 kB / 0.7526 GB, free: 10 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.138e-05/0.4647, allocations: 17.72 kB / 0.7526 GB, free: 9.98 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.456e-05/0.4647, allocations: 7.953 kB / 0.7526 GB, free: 9.973 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.764e-06/0.4648, allocations: 0 / 0.7526 GB, free: 9.973 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001198/0.4649, allocations: 57.62 kB / 0.7527 GB, free: 9.91 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.5e-05/0.4649, allocations: 8 kB / 0.7527 GB, free: 9.902 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.688e-06/0.4649, allocations: 0 / 0.7527 GB, free: 9.902 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.288e-05/0.465, allocations: 64 / 0.7527 GB, free: 9.902 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.219e-05/0.4651, allocations: 12 kB / 0.7527 GB, free: 9.891 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.488e-06/0.4651, allocations: 0 / 0.7527 GB, free: 9.891 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.52e-05/0.4651, allocations: 7.844 kB / 0.7527 GB, free: 9.883 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.562e-06/0.4652, allocations: 0 / 0.7527 GB, free: 9.883 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.812e-05/0.4652, allocations: 108.9 kB / 0.7528 GB, free: 9.77 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001268/0.4654, allocations: 53.53 kB / 0.7529 GB, free: 9.711 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.93e-05/0.4654, allocations: 4 kB / 0.7529 GB, free: 9.707 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.907e-05/0.4655, allocations: 7.969 kB / 0.7529 GB, free: 9.699 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.335e-06/0.4655, allocations: 4.062 kB / 0.7529 GB, free: 9.695 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.943e-06/0.4655, allocations: 4 kB / 0.7529 GB, free: 9.691 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.4655, allocations: 0 / 0.7529 GB, free: 9.691 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005102/0.466, allocations: 451.3 kB / 0.7533 GB, free: 9.199 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.4661, allocations: 0 / 0.7533 GB, free: 9.199 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.313e-05/0.4661, allocations: 7.984 kB / 0.7533 GB, free: 9.191 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.372e-06/0.4661, allocations: 3.984 kB / 0.7533 GB, free: 9.188 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.663e-06/0.4661, allocations: 4.062 kB / 0.7533 GB, free: 9.184 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/0.4661, allocations: 0 / 0.7533 GB, free: 9.184 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.4662, allocations: 4 kB / 0.7533 GB, free: 9.18 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001248/0.4663, allocations: 88.22 kB / 0.7534 GB, free: 9.066 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.642e-05/0.4664, allocations: 85 kB / 0.7535 GB, free: 8.965 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.908e-05/0.4664, allocations: 4 kB / 0.7535 GB, free: 8.961 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.566e-05/0.4665, allocations: 8.031 kB / 0.7535 GB, free: 8.953 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.941e-05/0.4665, allocations: 3.953 kB / 0.7535 GB, free: 8.949 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.088e-06/0.4665, allocations: 3.938 kB / 0.7535 GB, free: 8.945 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 9.271e-05/0.4666, allocations: 108.5 kB / 0.7536 GB, free: 8.84 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.4e-07/0.4666, allocations: 0 / 0.7536 GB, free: 8.84 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002678/0.4669, 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.0004892/0.4674, allocations: 0.6954 MB / 0.7543 GB, free: 8.098 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 9.232e-05/0.4675, allocations: 19.94 kB / 0.7543 GB, free: 8.078 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.4675, allocations: 0 / 0.7543 GB, free: 8.078 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 2.158e-05/0.4675, 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.0001396/0.4677, allocations: 12.92 kB / 0.7543 GB, free: 8.062 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004596/0.4682, allocations: 144.3 kB / 0.7545 GB, free: 7.879 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002855/0.4685, allocations: 0.7041 MB / 0.7552 GB, free: 7.148 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 3.596e-05/0.4685, allocations: 192 / 0.7552 GB, free: 7.148 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.152e-05/0.4686, allocations: 27.42 kB / 0.7552 GB, free: 7.125 MB / 0.6355 GB Notification: Performance of SimCode: time 6.91e-07/0.4686, allocations: 0 / 0.7552 GB, free: 7.125 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03663/0.5052, allocations: 0.9825 MB / 0.7562 GB, free: 6.152 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002848/0.5056, allocations: 157.4 kB / 0.7563 GB, free: 5.961 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.243/2.748, allocations: 4 kB / 0.7563 GB, free: 5.957 MB / 0.6355 GB