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_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.From_BtuPerHour,fileNamePrefix="Buildings_6_0_0_Buildings_Controls_OBC_UnitConversions_Validation_From_BtuPerHour",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.237/4.237, allocations: 433.2 MB / 440.8 MB, free: 10.55 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 3.159e-05/3.17e-05, allocations: 4 kB / 0.5325 GB, free: 1.934 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6589/0.6589, allocations: 98.72 MB / 0.6289 GB, free: 15.73 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2371/0.8961, allocations: 123.5 MB / 0.7496 GB, free: 4.02 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003376/0.8965, allocations: 71.89 kB / 0.7496 GB, free: 3.949 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.005946/0.9024, allocations: 1.151 MB / 0.7507 GB, free: 2.801 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.014e-06/0.9025, allocations: 0 / 0.7507 GB, free: 2.801 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 9.017e-06/0.9025, allocations: 0 / 0.7507 GB, free: 2.801 MB / 0.6198 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.0004669/0.903, allocations: 366.3 kB / 0.7511 GB, free: 2.398 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.342e-05/0.903, allocations: 8.031 kB / 0.7511 GB, free: 2.391 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.916e-05/0.9031, allocations: 15.86 kB / 0.7511 GB, free: 2.375 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002028/0.9033, allocations: 178.8 kB / 0.7513 GB, free: 2.16 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.762e-05/0.9034, allocations: 8 kB / 0.7513 GB, free: 2.152 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.576e-05/0.9034, allocations: 4 kB / 0.7513 GB, free: 2.148 MB / 0.6198 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001441/0.9035, allocations: 32 kB / 0.7513 GB, free: 2.117 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001795/0.9037, allocations: 83.33 kB / 0.7514 GB, free: 2.023 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.918e-06/0.9037, allocations: 0 / 0.7514 GB, free: 2.023 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.21e-05/0.9038, allocations: 0 / 0.7514 GB, free: 2.023 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.476e-06/0.9038, allocations: 4.219 kB / 0.7514 GB, free: 2.02 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007222/0.9045, allocations: 417.2 kB / 0.7518 GB, free: 1.57 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 7.677e-05/0.9046, allocations: 45.12 kB / 0.7519 GB, free: 1.508 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.909e-05/0.9047, allocations: 17.84 kB / 0.7519 GB, free: 1.484 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 9.268e-06/0.9047, allocations: 0 / 0.7519 GB, free: 1.484 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.927e-05/0.9047, allocations: 34.56 kB / 0.7519 GB, free: 1.441 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 1.653e-06/0.9047, allocations: 0 / 0.7519 GB, free: 1.441 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.0001913/0.9049, allocations: 45.55 kB / 0.752 GB, free: 1.391 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.537e-05/0.905, allocations: 77.11 kB / 0.752 GB, free: 1.297 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001471/0.9052, allocations: 131 kB / 0.7522 GB, free: 1.164 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.848e-05/0.9052, allocations: 25.7 kB / 0.7522 GB, free: 1.133 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 9.22e-05/0.9053, allocations: 116 kB / 0.7523 GB, free: 1.016 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 9.428e-06/0.9053, allocations: 3.906 kB / 0.7523 GB, free: 1.012 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.719e-06/0.9053, allocations: 0 / 0.7523 GB, free: 1.012 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001436/0.9055, allocations: 318.8 kB / 0.7526 GB, free: 0.6914 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.931e-05/0.9055, allocations: 8 kB / 0.7526 GB, free: 0.6836 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.893e-05/0.9056, allocations: 21.7 kB / 0.7526 GB, free: 0.6562 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.888e-05/0.9056, allocations: 8 kB / 0.7526 GB, free: 0.6484 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.791e-06/0.9057, allocations: 4 kB / 0.7526 GB, free: 0.6445 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001369/0.9058, allocations: 65.44 kB / 0.7527 GB, free: 0.5742 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.828e-05/0.9058, allocations: 4 kB / 0.7527 GB, free: 0.5703 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.311e-06/0.9059, allocations: 0 / 0.7527 GB, free: 0.5703 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.759e-05/0.9059, allocations: 3.984 kB / 0.7527 GB, free: 0.5664 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001075/0.906, allocations: 8 kB / 0.7527 GB, free: 0.5586 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.219e-06/0.906, allocations: 0 / 0.7527 GB, free: 0.5586 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.655e-05/0.9061, allocations: 8 kB / 0.7527 GB, free: 0.5508 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.217e-05/0.9061, allocations: 4 kB / 0.7527 GB, free: 0.5469 MB / 0.6198 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.356e-05/0.9062, allocations: 101 kB / 0.7528 GB, free: 452 kB / 0.6198 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001283/0.9063, allocations: 53.5 kB / 0.7529 GB, free: 392 kB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.672e-05/0.9064, allocations: 7.984 kB / 0.7529 GB, free: 384 kB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.808e-05/0.9064, allocations: 11.97 kB / 0.7529 GB, free: 372 kB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/0.9065, allocations: 0 / 0.7529 GB, free: 372 kB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.159e-06/0.9065, allocations: 0 / 0.7529 GB, free: 372 kB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.9065, allocations: 4.062 kB / 0.7529 GB, free: 368 kB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005824/0.9071, allocations: 451.3 kB / 0.7533 GB, free: 15.86 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.549e-06/0.9071, allocations: 4 kB / 0.7533 GB, free: 15.86 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.207e-05/0.9072, allocations: 4 kB / 0.7533 GB, free: 15.86 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.334e-06/0.9072, allocations: 0 / 0.7533 GB, free: 15.86 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.013e-05/0.9072, allocations: 7.938 kB / 0.7533 GB, free: 15.85 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.355e-06/0.9072, allocations: 0 / 0.7533 GB, free: 15.85 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.886e-06/0.9072, allocations: 0 / 0.7533 GB, free: 15.85 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001392/0.9074, allocations: 105.9 kB / 0.7534 GB, free: 15.72 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 7.211e-05/0.9075, allocations: 81.11 kB / 0.7535 GB, free: 15.62 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.973e-05/0.9075, allocations: 3.984 kB / 0.7535 GB, free: 15.62 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.328e-05/0.9075, allocations: 0 / 0.7535 GB, free: 15.62 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.516e-05/0.9075, allocations: 0 / 0.7535 GB, free: 15.62 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.639e-06/0.9076, allocations: 8.031 kB / 0.7535 GB, free: 15.61 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 9.909e-05/0.9077, allocations: 109.4 kB / 0.7536 GB, free: 15.5 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.4e-07/0.9077, allocations: 4 kB / 0.7536 GB, free: 15.5 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002534/0.908, allocations: 11.91 kB / 0.7536 GB, free: 15.49 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.0004796/0.9084, allocations: 0.6876 MB / 0.7543 GB, free: 14.77 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.000102/0.9086, allocations: 19.92 kB / 0.7543 GB, free: 14.75 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.9086, allocations: 0 / 0.7543 GB, free: 14.75 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 2.047e-05/0.9086, allocations: 4 kB / 0.7543 GB, free: 14.74 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001545/0.9088, allocations: 11.95 kB / 0.7544 GB, free: 14.73 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004948/0.9093, allocations: 138.9 kB / 0.7545 GB, free: 14.55 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003792/0.9097, allocations: 0.704 MB / 0.7552 GB, free: 13.82 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 5.507e-05/0.9097, allocations: 4.188 kB / 0.7552 GB, free: 13.82 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.098e-05/0.9098, allocations: 27.36 kB / 0.7552 GB, free: 13.79 MB / 0.6355 GB Notification: Performance of SimCode: time 1.303e-06/0.9099, allocations: 3.938 kB / 0.7552 GB, free: 13.79 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03985/0.9497, allocations: 0.9864 MB / 0.7562 GB, free: 12.82 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003065/0.9501, allocations: 161.7 kB / 0.7563 GB, free: 12.62 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.32/3.27, allocations: 0 / 0.7563 GB, free: 12.62 MB / 0.6355 GB