WIP: clean through scheduler code and fix obvious issues.

We still see very sporadic crashes, however the current version is at least a starting point for refactoring and debugging. Next steps have to be to re-enable tooling support (i.e. add code to let sanitizers do their work).
4 jobs from coninuation in 27 seconds (queued for 2 seconds)
Status Job ID Name Coverage
  Build
passed #3500
build_cmake

00:14

 
  Test
failed #3501
run_tests

00:12

 
  Sanitizer
skipped #3503
run_address_sanitizer
skipped #3502
run_thread_sanitizer
 
Test run_tests
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Configuring incomplete, errors occurred!
See also "/builds/gitlab/las3/development/scheduling/predictable_parallel_patterns/cmake-build-release/CMakeFiles/CMakeOutput.log".
See also "/builds/gitlab/las3/development/scheduling/predictable_parallel_patterns/cmake-build-release/CMakeFiles/CMakeError.log".
make: *** No targets specified and no makefile found. Stop.
./ci_scripts/run_tests.sh: line 9: ./bin/tests: No such file or directory
ERROR: Job failed: exit code 1