Complex dynamic systems: Nonlinear methods, mathematical models and thermodynamics