change warning flag to warn in line with code
test non-linear equations in _solve_system
Merge pull request #7966 from smichr/2777

2777: check nonlinear systems