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_ton.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_ton,fileNamePrefix="Buildings_6_0_0_Buildings_Controls_OBC_UnitConversions_Validation_To_ton",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.172/4.172, allocations: 433.2 MB / 440.7 MB, free: 4.5 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.746e-05/2.744e-05, allocations: 5.375 kB / 0.5325 GB, free: 12.77 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2345/0.2345, allocations: 98.73 MB / 0.6289 GB, free: 9.105 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2434/0.478, allocations: 123.6 MB / 0.7496 GB, free: 13.39 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000251/0.4783, allocations: 71.95 kB / 0.7496 GB, free: 13.32 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.003964/0.4823, allocations: 1.142 MB / 0.7507 GB, free: 12.18 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.633e-06/0.4823, allocations: 0 / 0.7507 GB, free: 12.18 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.109e-05/0.4823, 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.0004625/0.4828, allocations: 366.2 kB / 0.7511 GB, free: 11.77 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.282e-05/0.4829, allocations: 8.031 kB / 0.7511 GB, free: 11.76 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.381e-05/0.4829, allocations: 15.86 kB / 0.7511 GB, free: 11.75 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001873/0.4831, allocations: 178.9 kB / 0.7513 GB, free: 11.53 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.502e-05/0.4832, allocations: 4 kB / 0.7513 GB, free: 11.53 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.639e-05/0.4832, allocations: 4 kB / 0.7513 GB, free: 11.52 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001282/0.4833, allocations: 32 kB / 0.7513 GB, free: 11.49 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001876/0.4835, allocations: 87.33 kB / 0.7514 GB, free: 11.39 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.578e-06/0.4836, allocations: 0 / 0.7514 GB, free: 11.39 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.22e-05/0.4836, allocations: 0 / 0.7514 GB, free: 11.39 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.053e-05/0.4836, allocations: 7.953 kB / 0.7514 GB, free: 11.39 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007261/0.4843, allocations: 413.3 kB / 0.7518 GB, free: 10.94 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 7.202e-05/0.4844, allocations: 41.31 kB / 0.7518 GB, free: 10.88 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.554e-05/0.4845, allocations: 17.72 kB / 0.7519 GB, free: 10.86 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.249e-05/0.4845, allocations: 0 / 0.7519 GB, free: 10.86 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.444e-05/0.4845, allocations: 34.56 kB / 0.7519 GB, free: 10.82 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 1.804e-06/0.4846, allocations: 0 / 0.7519 GB, free: 10.82 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0001985/0.4848, allocations: 45.55 kB / 0.7519 GB, free: 10.76 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.081e-05/0.4848, allocations: 85.17 kB / 0.752 GB, free: 10.66 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001847/0.485, allocations: 128.1 kB / 0.7521 GB, free: 10.53 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.82e-05/0.4851, allocations: 25.7 kB / 0.7522 GB, free: 10.5 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001034/0.4852, allocations: 116 kB / 0.7523 GB, free: 10.38 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.291e-05/0.4852, allocations: 7.906 kB / 0.7523 GB, free: 10.37 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.837e-06/0.4852, allocations: 224 / 0.7523 GB, free: 10.37 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001648/0.4854, allocations: 310.8 kB / 0.7526 GB, free: 10.06 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.99e-05/0.4854, allocations: 11.94 kB / 0.7526 GB, free: 10.05 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.335e-05/0.4855, allocations: 25.7 kB / 0.7526 GB, free: 10.02 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.14e-05/0.4855, allocations: 15.95 kB / 0.7526 GB, free: 10 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.4855, allocations: 0 / 0.7526 GB, free: 10 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000127/0.4857, allocations: 49.64 kB / 0.7527 GB, free: 9.945 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.887e-05/0.4857, allocations: 4 kB / 0.7527 GB, free: 9.941 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.276e-06/0.4857, allocations: 4.078 kB / 0.7527 GB, free: 9.938 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.645e-05/0.4857, allocations: 7.984 kB / 0.7527 GB, free: 9.93 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.694e-05/0.4859, allocations: 4 kB / 0.7527 GB, free: 9.926 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.729e-06/0.4859, allocations: 4.062 kB / 0.7527 GB, free: 9.922 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.205e-05/0.4859, allocations: 11.84 kB / 0.7527 GB, free: 9.91 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.154e-06/0.486, 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 8.612e-05/0.486, allocations: 108.9 kB / 0.7528 GB, free: 9.797 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001198/0.4862, allocations: 45.55 kB / 0.7529 GB, free: 9.746 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.211e-05/0.4862, allocations: 7.984 kB / 0.7529 GB, free: 9.738 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.258e-05/0.4863, allocations: 11.97 kB / 0.7529 GB, free: 9.727 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/0.4863, allocations: 0 / 0.7529 GB, free: 9.727 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.4863, allocations: 64 / 0.7529 GB, free: 9.727 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.446e-06/0.4863, allocations: 4 kB / 0.7529 GB, free: 9.723 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005484/0.4869, allocations: 459.2 kB / 0.7533 GB, free: 9.223 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.4869, allocations: 4 kB / 0.7533 GB, free: 9.219 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.683e-05/0.4869, allocations: 0 / 0.7533 GB, free: 9.219 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.633e-06/0.487, allocations: 4 kB / 0.7533 GB, free: 9.215 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.163e-06/0.487, allocations: 0 / 0.7533 GB, free: 9.215 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.679e-06/0.487, allocations: 3.984 kB / 0.7533 GB, free: 9.211 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.38e-06/0.487, allocations: 8.062 kB / 0.7533 GB, free: 9.203 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001302/0.4871, allocations: 88.2 kB / 0.7534 GB, free: 9.09 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 7.504e-05/0.4872, allocations: 93 kB / 0.7535 GB, free: 8.98 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.743e-05/0.4873, allocations: 0 / 0.7535 GB, free: 8.98 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.216e-05/0.4873, allocations: 0 / 0.7535 GB, free: 8.98 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.635e-05/0.4873, allocations: 11.98 kB / 0.7535 GB, free: 8.969 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.218e-06/0.4874, allocations: 0 / 0.7535 GB, free: 8.969 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 9.826e-05/0.4875, allocations: 105.5 kB / 0.7536 GB, free: 8.867 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.51e-07/0.4875, allocations: 0 / 0.7536 GB, free: 8.867 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002623/0.4877, 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.0004871/0.4882, allocations: 0.6876 MB / 0.7543 GB, free: 8.133 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001031/0.4884, allocations: 27.8 kB / 0.7543 GB, free: 8.105 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.4884, allocations: 0 / 0.7543 GB, free: 8.105 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 2.615e-05/0.4884, allocations: 8 kB / 0.7543 GB, free: 8.098 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001438/0.4886, allocations: 8.641 kB / 0.7544 GB, free: 8.09 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004913/0.4891, allocations: 142.9 kB / 0.7545 GB, free: 7.906 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003444/0.4894, allocations: 0.7079 MB / 0.7552 GB, free: 7.172 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 4.042e-05/0.4895, allocations: 4.188 kB / 0.7552 GB, free: 7.168 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.741e-05/0.4896, allocations: 23.42 kB / 0.7552 GB, free: 7.148 MB / 0.6355 GB Notification: Performance of SimCode: time 7.02e-07/0.4896, allocations: 0 / 0.7552 GB, free: 7.148 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03414/0.5237, allocations: 0.9794 MB / 0.7562 GB, free: 6.18 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004392/0.5243, allocations: 150.7 kB / 0.7563 GB, free: 5.984 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.313/2.837, allocations: 0 / 0.7563 GB, free: 5.984 MB / 0.6355 GB