One thing that you should do is replace the use of the steady_state-operator for things that cannot be computed endogenously. See
That should eliminate the most message displayed in model_diagnostics. After that, check whether additional flagged issues remain.