It's far more likely that the pump would be able to push the water up than pull it up. I wouldn't even try to put the pump up high.

I didn't mean that the garden hose should be used for the solar panels but to test if the pump can push the water up to the roof.

Perhaps both pumps in series would help. Install a T after the filter with one leg going to the pump for the solar loop and the other back to the pool.
Install a valve between the T and the pool to shunt all the water to the solar pump when it's closed.
Install another T between the valve and the pool and use this to return the heated water to the pool.

Also your picture shows water entering at the top of the panel, it should enter at the bottom and leave the top so as to push the air out of the panel as it fills.

Consider how to winterize the panel as well. Are you going to remove it? If not, it'll have to be drained and dried and so will the piping.

If you mount it to the roof with screws, put in the screw, then remove it and fill the hole with roof sealant, then put it back in. Maybe even cover the head of the screw with sealant unless you're going to remove the panel. If youre going to remove the panel, you'll need to leave the screws in so the roof won't leak.