pyomeca/bioptim

View on GitHub
fix(tests): nmpc with parameters was broken for you @kev1co #520
Ipuch authored d18922d5
complete00:00:21
1
git clone
2
codeclimate validate-config
View output
codeclimate validate-config
No checked in config: nothing to validate.
3
codeclimate prepare
View output
codeclimate prepare
4
builder pull-engines
View output
determining required images
5
structure
View output
12
Parser process id: 12
codeclimate-parser socket not present
waiting 1s...
6
duplication
View output
12
Parser process id: 12
codeclimate-parser socket not present
waiting 1s...
I, [2024-11-20T20:29:45.113622 #1]  INFO -- : Skipping file ./bioptim/examples/muscle_driven_with_contact/contact_forces_inequality_constraint_muscle.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 141
    plt.plot(np.linspace(0, t, ns + 1)[:-1], elt, ".-", label=f"{names_contact_forces[i]}")
                                                                                         ^
SyntaxError: invalid syntax


I, [2024-11-20T20:29:45.115015 #1]  INFO -- : Skipping file ./bioptim/examples/__main__.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 470
    expr = f"(?i){self.searchText}"
                                  ^
SyntaxError: invalid syntax


I, [2024-11-20T20:29:45.125008 #1]  INFO -- : Skipping file ./bioptim/examples/muscle_driven_with_contact/contact_forces_inequality_constraint_muscle_excitations.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 147
    plt.plot(np.linspace(0, t, ns + 1)[:-1], elt, ".-", label=f"{names_contact_forces[i]}")
                                                                                         ^
SyntaxError: invalid syntax


I, [2024-11-20T20:29:45.144643 #1]  INFO -- : Skipping file ./bioptim/examples/optimal_time_ocp/pendulum_min_time_Mayer.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 32
    biorbd_model_path: str,
                     ^
SyntaxError: invalid syntax


I, [2024-11-20T20:29:45.160907 #1]  INFO -- : Skipping file ./bioptim/examples/optimal_time_ocp/multiphase_time_constraint.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 31
    final_time: tuple,
              ^
SyntaxError: invalid syntax


I, [2024-11-20T20:29:45.161084 #1]  INFO -- : Skipping file ./bioptim/examples/optimal_time_ocp/time_constraint.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 29
    biorbd_model_path: str,
                     ^
SyntaxError: invalid syntax


I, [2024-11-20T20:29:45.172224 #1]  INFO -- : Skipping file ./bioptim/examples/getting_started/pendulum.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 32
    biorbd_model_path: str,
                     ^
SyntaxError: invalid syntax


I, [2024-11-20T20:29:45.172751 #1]  INFO -- : Skipping file ./bioptim/examples/getting_started/example_multinode_constraints.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 34
    controllers: list[PenaltyController], coef: float, states_mapping: BiMapping = None
               ^
SyntaxError: invalid syntax


I, [2024-11-20T20:29:45.183278 #1]  INFO -- : Skipping file ./bioptim/examples/getting_started/example_inequality_constraint.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 38
    biorbd_model_path: str,
                     ^
SyntaxError: invalid syntax


I, [2024-11-20T20:29:45.184188 #1]  INFO -- : Skipping file ./bioptim/examples/getting_started/example_variable_scaling.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 28
    biorbd_model_path: str,
                     ^
SyntaxError: invalid syntax


I, [2024-11-20T20:29:45.198328 #1]  INFO -- : Skipping file ./bioptim/examples/getting_started/custom_parameters.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 36
    def my_parameter_function(bio_model: BiorbdModel, value: MX, extra_value: Any):
                                       ^
SyntaxError: invalid syntax


I, [2024-11-20T20:29:45.209134 #1]  INFO -- : Skipping file ./bioptim/examples/getting_started/custom_plotting.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 19
    def custom_plot_callback(x: MX, q_to_plot: list) -> MX:
                              ^
SyntaxError: invalid syntax


I, [2024-11-20T20:29:45.211343 #1]  INFO -- : Skipping file ./bioptim/examples/getting_started/example_joints_acceleration_driven.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 29
    biorbd_model_path: str,
                     ^
SyntaxError: invalid syntax


I, [2024-11-20T20:29:45.220291 #1]  INFO -- : Skipping file ./bioptim/examples/getting_started/example_multinode_objective.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 25
    def multinode_min_controls(controllers: list[PenaltyController]):
                                          ^
SyntaxError: invalid syntax


I, [2024-11-20T20:29:45.222382 #1]  INFO -- : Skipping file ./bioptim/examples/getting_started/example_multistart.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 30
    bio_model_path: str,
                  ^
SyntaxError: invalid syntax


I, [2024-11-20T20:29:45.231289 #1]  INFO -- : Skipping file ./bioptim/examples/getting_started/example_simulation.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 39
    print(f"Final position of q from single shooting of initial guess = {s['q'][-1]}")
                                                                                    ^
SyntaxError: invalid syntax


I, [2024-11-20T20:29:45.234266 #1]  INFO -- : Skipping file ./bioptim/examples/getting_started/example_continuity_as_objective.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 45
    def out_of_sphere(controller: PenaltyController, y, z):
                                ^
SyntaxError: invalid syntax


I, [2024-11-20T20:29:45.243211 #1]  INFO -- : Skipping file ./bioptim/examples/getting_started/pendulum_constrained_states_controls.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 38
    biorbd_model_path: str,
                     ^
SyntaxError: invalid syntax


I, [2024-11-20T20:29:45.256726 #1]  INFO -- : Skipping file ./bioptim/examples/getting_started/custom_objectives.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 30
    def custom_func_track_markers(controller: PenaltyController, first_marker: str, second_marker: str) -> MX:
                                            ^
SyntaxError: invalid syntax


I, [2024-11-20T20:29:45.270895 #1]  INFO -- : Skipping file ./bioptim/examples/getting_started/custom_initial_guess.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 40
    current_shooting_point: int, my_values: np.ndarray, n_shooting_custom: int, var_key: str, **extra_params
                          ^
SyntaxError: invalid syntax


I, [2024-11-20T20:29:45.272754 #1]  INFO -- : Skipping file ./bioptim/examples/getting_started/custom_constraint.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 31
    def custom_func_track_markers(controller: PenaltyController, first_marker: str, second_marker: str) -> MX:
                                            ^
SyntaxError: invalid syntax


I, [2024-11-20T20:29:45.282187 #1]  INFO -- : Skipping file ./bioptim/examples/getting_started/custom_bounds.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 35
    def custom_x_bounds_min(current_shooting_point: int, n_elements: int, n_shooting: int, slicer: slice) -> np.ndarray:
                                                  ^
SyntaxError: invalid syntax


I, [2024-11-20T20:29:45.283968 #1]  INFO -- : Skipping file ./bioptim/examples/getting_started/example_cyclic_movement.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 34
    biorbd_model_path: str,
                     ^
SyntaxError: invalid syntax


I, [2024-11-20T20:29:45.293386 #1]  INFO -- : Skipping file ./bioptim/examples/getting_started/example_multiphase.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 34
    def minimize_difference(controllers: list[PenaltyController, PenaltyController]):
                                       ^
SyntaxError: invalid syntax


I, [2024-11-20T20:29:45.294988 #1]  INFO -- : Skipping file ./bioptim/examples/getting_started/example_external_forces.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 33
    biorbd_model_path: str = "models/cube_with_forces.bioMod",
                     ^
SyntaxError: invalid syntax


I, [2024-11-20T20:29:45.311186 #1]  INFO -- : Skipping file ./bioptim/examples/getting_started/custom_phase_transitions.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 36
    controllers: list[PenaltyController, PenaltyController], coef: float, states_mapping: BiMapping = None
               ^
SyntaxError: invalid syntax


I, [2024-11-20T20:29:45.315636 #1]  INFO -- : Skipping file ./bioptim/examples/getting_started/custom_dynamics.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 37
    time: MX | SX,
        ^
SyntaxError: invalid syntax


I, [2024-11-20T20:29:45.322503 #1]  INFO -- : Skipping file ./bioptim/examples/fatigue/static_arm_with_fatigue.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 43
    biorbd_model_path: str,
                     ^
SyntaxError: invalid syntax


I, [2024-11-20T20:29:45.326776 #1]  INFO -- : Skipping file ./bioptim/examples/fatigue/pendulum_with_fatigue.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 41
    biorbd_model_path: str,
                     ^
SyntaxError: invalid syntax


I, [2024-11-20T20:29:45.333302 #1]  INFO -- : Skipping file ./bioptim/examples/holonomic_constraints/two_pendulums.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 31
    def compute_all_states(sol, bio_model: HolonomicBiorbdModel):
                                         ^
SyntaxError: invalid syntax


I, [2024-11-20T20:29:45.342379 #1]  INFO -- : Skipping file ./bioptim/examples/track/track_segment_on_rt.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 29
    biorbd_model_path: str,
                     ^
SyntaxError: invalid syntax


I, [2024-11-20T20:29:45.344168 #1]  INFO -- : Skipping file ./bioptim/examples/track/track_marker_on_segment.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 30
    biorbd_model_path: str,
                     ^
SyntaxError: invalid syntax


I, [2024-11-20T20:29:45.353186 #1]  INFO -- : Skipping file ./bioptim/examples/track/optimal_estimation.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 32
    def get_markers_pos(x: DM | np.ndarray, idx_marker: int, fun: Callable, n_q: int) -> DM | np.ndarray:
                         ^
SyntaxError: invalid syntax


I, [2024-11-20T20:29:45.356899 #1]  INFO -- : Skipping file ./bioptim/examples/symmetrical_torque_driven_ocp/symmetry_by_mapping.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 51
    biorbd_model_path: str = "models/cubeSym.bioMod",
                     ^
SyntaxError: invalid syntax


I, [2024-11-20T20:29:45.363936 #1]  INFO -- : Skipping file ./bioptim/examples/symmetrical_torque_driven_ocp/symmetry_by_constraint.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 37
    biorbd_model_path: str = "models/cubeSym.bioMod",
                     ^
SyntaxError: invalid syntax


I, [2024-11-20T20:29:45.367650 #1]  INFO -- : Skipping file ./bioptim/examples/sqp_method/pendulum.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 23
    biorbd_model_path: str,
                     ^
SyntaxError: invalid syntax


I, [2024-11-20T20:29:45.374590 #1]  INFO -- : Skipping file ./bioptim/examples/discrete_mechanics_and_optimal_control/example_variational_integrator_pendulum.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 21
    bio_model_path: str,
                  ^
SyntaxError: invalid syntax


I, [2024-11-20T20:29:45.380573 #1]  INFO -- : Skipping file ./bioptim/examples/discrete_mechanics_and_optimal_control/example_variational_integrator_with_holonomic_constraints_pendulum.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 24
    bio_model_path: str,
                  ^
SyntaxError: invalid syntax


I, [2024-11-20T20:29:45.389321 #1]  INFO -- : Skipping file ./bioptim/examples/acados/pendulum.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 24
    biorbd_model_path: str,
                     ^
SyntaxError: invalid syntax


I, [2024-11-20T20:29:45.408157 #1]  INFO -- : Skipping file ./bioptim/examples/acados/static_arm.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 124
    print(f"Final objective: {np.nansum(sol_acados.cost)}")
                                                         ^
SyntaxError: invalid syntax


I, [2024-11-20T20:29:45.419251 #1]  INFO -- : Skipping file ./bioptim/examples/torque_driven_ocp/torque_activation_driven.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 24
    biorbd_model_path: str,
                     ^
SyntaxError: invalid syntax


I, [2024-11-20T20:29:45.433441 #1]  INFO -- : Skipping file ./bioptim/examples/torque_driven_ocp/example_pendulum_time_dependent.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 40
    time: MX | SX,
        ^
SyntaxError: invalid syntax


I, [2024-11-20T20:29:45.437658 #1]  INFO -- : Skipping file ./bioptim/examples/torque_driven_ocp/maximize_predicted_height_CoM.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 33
    biorbd_model_path: str,
                     ^
SyntaxError: invalid syntax


I, [2024-11-20T20:29:45.446852 #1]  INFO -- : Skipping file ./bioptim/examples/torque_driven_ocp/example_minimize_segment_velocity.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 22
    biorbd_model_path: str = "models/triple_pendulum.bioMod",
                     ^
SyntaxError: invalid syntax


I, [2024-11-20T20:29:45.448456 #1]  INFO -- : Skipping file ./bioptim/examples/torque_driven_ocp/track_markers_with_torque_actuators.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 31
    biorbd_model_path: str,
                     ^
SyntaxError: invalid syntax


I, [2024-11-20T20:29:45.459264 #1]  INFO -- : Skipping file ./bioptim/examples/torque_driven_ocp/minmax_torque_by_extra_parameter_multiphase.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 37
    def custom_constraint_max_tau(controller: PenaltyController) -> MX:
                                            ^
SyntaxError: invalid syntax


I, [2024-11-20T20:29:45.462435 #1]  INFO -- : Skipping file ./bioptim/examples/torque_driven_ocp/trampo_quaternions.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 30
    def eul2quat(eul: np.ndarray) -> np.ndarray:
                    ^
SyntaxError: invalid syntax


I, [2024-11-20T20:29:45.470001 #1]  INFO -- : Skipping file ./bioptim/examples/torque_driven_ocp/track_markers_2D_pendulum.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 42
    def get_markers_pos(x: DM | np.ndarray, idx_marker: int, fun: Callable, n_q: int) -> DM | np.ndarray:
                         ^
SyntaxError: invalid syntax


I, [2024-11-20T20:29:45.473407 #1]  INFO -- : Skipping file ./bioptim/examples/torque_driven_ocp/pendulum_with_passive_torque.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 26
    biorbd_model_path: str,
                     ^
SyntaxError: invalid syntax


I, [2024-11-20T20:29:45.480966 #1]  INFO -- : Skipping file ./bioptim/examples/torque_driven_ocp/minimize_maximum_torque_by_extra_parameter.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 34
    def custom_constraint_max_tau(controller: PenaltyController) -> MX:
                                            ^
SyntaxError: invalid syntax


I, [2024-11-20T20:29:45.484517 #1]  INFO -- : Skipping file ./bioptim/examples/torque_driven_ocp/phase_transition_uneven_variable_number_by_mapping.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 23
    biorbd_model_path: str = "models/double_pendulum.bioMod",
                     ^
SyntaxError: invalid syntax


I, [2024-11-20T20:29:45.493114 #1]  INFO -- : Skipping file ./bioptim/examples/torque_driven_ocp/spring_load.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 113
    time: MX,
        ^
SyntaxError: invalid syntax


I, [2024-11-20T20:29:45.497741 #1]  INFO -- : Skipping file ./bioptim/examples/torque_driven_ocp/example_multi_biorbd_model.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 22
    biorbd_model_path: str = "models/triple_pendulum.bioMod",
                     ^
SyntaxError: invalid syntax


I, [2024-11-20T20:29:45.506116 #1]  INFO -- : Skipping file ./bioptim/examples/torque_driven_ocp/ocp_mass_with_ligament.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 21
    biorbd_model_path: str,
                     ^
SyntaxError: invalid syntax


I, [2024-11-20T20:29:45.510302 #1]  INFO -- : Skipping file ./bioptim/examples/torque_driven_ocp/slider.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 27
    biorbd_model_path: str = "models/slider.bioMod",
                     ^
SyntaxError: invalid syntax


I, [2024-11-20T20:29:45.518467 #1]  INFO -- : Skipping file ./bioptim/examples/torque_driven_ocp/torque_driven_free_floating_base.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 26
    def prepare_ocp(biorbd_model_path: str):
                                     ^
SyntaxError: invalid syntax


I, [2024-11-20T20:29:45.524658 #1]  INFO -- : Skipping file ./bioptim/examples/torque_driven_ocp/phase_transition_uneven_variable_number_by_bounds.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 21
    biorbd_model_path_with_translations: str = "models/double_pendulum_with_translations.bioMod",
                                       ^
SyntaxError: invalid syntax


I, [2024-11-20T20:29:45.530338 #1]  INFO -- : Skipping file ./bioptim/examples/torque_driven_ocp/example_quaternions.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 34
    def eul2quat(eul: np.ndarray) -> np.ndarray:
                    ^
SyntaxError: invalid syntax


I, [2024-11-20T20:29:45.538098 #1]  INFO -- : Skipping file ./bioptim/examples/torque_driven_ocp/example_soft_contact.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 34
    biorbd_model_path: str,
                     ^
SyntaxError: invalid syntax


I, [2024-11-20T20:29:45.541768 #1]  INFO -- : Skipping file ./bioptim/examples/custom_model/main.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 27
    model: MyModel,
         ^
SyntaxError: invalid syntax


I, [2024-11-20T20:29:45.549101 #1]  INFO -- : Skipping file ./bioptim/examples/custom_model/custom_package/my_model.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 28
    def serialize(self) -> tuple[Callable, dict]:
                        ^
SyntaxError: invalid syntax


I, [2024-11-20T20:29:45.559757 #1]  INFO -- : Skipping file ./bioptim/examples/custom_model/custom_package/custom_dynamics.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 18
    time: MX,
        ^
SyntaxError: invalid syntax


I, [2024-11-20T20:29:45.569588 #1]  INFO -- : Skipping file ./bioptim/examples/muscle_driven_ocp/muscle_activations_tracker.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 42
    bio_model: BiorbdModel,
             ^
SyntaxError: invalid syntax


I, [2024-11-20T20:29:45.572344 #1]  INFO -- : Skipping file ./bioptim/examples/muscle_driven_ocp/muscle_excitations_tracker.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 40
    bio_model: BiorbdModel,
             ^
SyntaxError: invalid syntax


I, [2024-11-20T20:29:45.580783 #1]  INFO -- : Skipping file ./bioptim/examples/muscle_driven_ocp/static_arm_with_contact.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 28
    biorbd_model_path: str,
                     ^
SyntaxError: invalid syntax


I, [2024-11-20T20:29:45.586573 #1]  INFO -- : Skipping file ./bioptim/examples/muscle_driven_ocp/static_arm.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 29
    biorbd_model_path: str,
                     ^
SyntaxError: invalid syntax


I, [2024-11-20T20:29:45.592810 #1]  INFO -- : Skipping file ./bioptim/examples/stochastic_optimal_control/common.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 41
    return cas.inv(mass_matrix) @ (torques_computed - non_linear_effects - nlp.model.friction_coefficients @ qdot)
                                ^
SyntaxError: invalid syntax


I, [2024-11-20T20:29:45.598833 #1]  INFO -- : Skipping file ./bioptim/examples/stochastic_optimal_control/models/leuven_arm_model.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 22
    tau_fb = k_matrix @ ((sensory_input - ref) + sensory_noise)
                      ^
SyntaxError: invalid syntax


I, [2024-11-20T20:29:45.608076 #1]  INFO -- : Skipping file ./bioptim/examples/stochastic_optimal_control/models/rockit_model.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 19
    motor_noise_magnitude: np.ndarray | DM = None,
                         ^
SyntaxError: invalid syntax


I, [2024-11-20T20:29:45.610506 #1]  INFO -- : Skipping file ./bioptim/examples/stochastic_optimal_control/models/mass_point_model.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 17
    def __init__(self, motor_noise_magnitude: np.ndarray | DM = None, polynomial_degree: int = 1, socp_type=None):
                                            ^
SyntaxError: invalid syntax


I, [2024-11-20T20:29:45.619161 #1]  INFO -- : Skipping file ./bioptim/examples/stochastic_optimal_control/rockit_matrix_lyapunov.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 42
    def configure_optimal_control_problem(ocp: OptimalControlProgram, nlp: NonLinearProgram):
                                             ^
SyntaxError: invalid syntax


I, [2024-11-20T20:29:45.621378 #1]  INFO -- : Skipping file ./bioptim/examples/stochastic_optimal_control/arm_reaching_torque_driven_implicit.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 49
    time: cas.MX | cas.SX,
        ^
SyntaxError: invalid syntax


I, [2024-11-20T20:29:45.630032 #1]  INFO -- : Skipping file ./bioptim/examples/stochastic_optimal_control/arm_reaching_torque_driven_explicit.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 47
    time: cas.MX | cas.SX,
        ^
SyntaxError: invalid syntax


I, [2024-11-20T20:29:45.635829 #1]  INFO -- : Skipping file ./bioptim/examples/stochastic_optimal_control/arm_reaching_muscle_driven.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 50
    time: cas.MX | cas.SX,
        ^
SyntaxError: invalid syntax


I, [2024-11-20T20:29:45.640887 #1]  INFO -- : Skipping file ./bioptim/examples/stochastic_optimal_control/arm_reaching_torque_driven_collocations.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 37
    time: cas.MX | cas.SX,
        ^
SyntaxError: invalid syntax


I, [2024-11-20T20:29:45.649783 #1]  INFO -- : Skipping file ./bioptim/examples/stochastic_optimal_control/obstacle_avoidance_direct_collocation.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 216
    print(f"Something went wrong at the {i}th node. (Semi-definiteness)")
                                                                       ^
SyntaxError: invalid syntax


I, [2024-11-20T20:29:45.651681 #1]  INFO -- : Skipping file ./bioptim/examples/inverse_optimal_control/double_pendulum_torque_driven_IOCP.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 33
    phase_dynamics: PhaseDynamics = PhaseDynamics.SHARED_DURING_THE_PHASE,
                  ^
SyntaxError: invalid syntax


I, [2024-11-20T20:29:45.662674 #1]  INFO -- : Skipping file ./bioptim/examples/moving_horizon_estimation/mhe.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 92
    bio_model: BioModel,
             ^
SyntaxError: invalid syntax


I, [2024-11-20T20:29:45.664397 #1]  INFO -- : Skipping file ./bioptim/examples/moving_horizon_estimation/multi_cyclic_nmpc.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 53
    phase_dynamics: PhaseDynamics = PhaseDynamics.SHARED_DURING_THE_PHASE,
                  ^
SyntaxError: invalid syntax


I, [2024-11-20T20:29:45.673604 #1]  INFO -- : Skipping file ./bioptim/examples/moving_horizon_estimation/multi_cyclic_nmpc_with_parameters.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 59
    def dummy_parameter_function(bio_model: biorbd.Model, value: MX):
                                          ^
SyntaxError: invalid syntax


I, [2024-11-20T20:29:45.676201 #1]  INFO -- : Skipping file ./bioptim/examples/moving_horizon_estimation/cyclic_nmpc.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 89
    def update_functions(_nmpc: CyclicNonlinearModelPredictiveControl, cycle_idx: int, _sol: Solution):
                              ^
SyntaxError: invalid syntax


I, [2024-11-20T20:29:45.690357 #1]  INFO -- : Skipping file ./bioptim/gui/check_conditioning.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 111
    else f"not positive semi-definite (min: {ev_min}, max: {ev_max})"
                                                                    ^
SyntaxError: invalid syntax


I, [2024-11-20T20:29:45.692006 #1]  INFO -- : Skipping file ./bioptim/gui/ipopt_output_plot.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 85
    grad_g_lam = grad_g_func(x) @ lam_g
                                ^
SyntaxError: invalid syntax


I, [2024-11-20T20:29:45.702615 #1]  INFO -- : Skipping file ./bioptim/gui/serializable_class.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 14
    _size_in: dict[str, int]
            ^
SyntaxError: invalid syntax


I, [2024-11-20T20:29:45.704152 #1]  INFO -- : Skipping file ./bioptim/gui/online_callback_abstract.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 35
    def __init__(self, ocp, opts: dict = None, **show_options):
                                ^
SyntaxError: invalid syntax


I, [2024-11-20T20:29:45.713566 #1]  INFO -- : Skipping file ./bioptim/gui/online_callback_server.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 24
    def _serialize_show_options(show_options: dict) -> bytes:
                                            ^
SyntaxError: invalid syntax


I, [2024-11-20T20:29:45.717621 #1]  INFO -- : Skipping file ./bioptim/gui/graph.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 10
    _return_line: ""
                ^
SyntaxError: invalid syntax


I, [2024-11-20T20:29:45.744555 #1]  INFO -- : Skipping file ./bioptim/gui/plot.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 61
    update_function: Callable,
                   ^
SyntaxError: invalid syntax


I, [2024-11-20T20:29:45.746086 #1]  INFO -- : Skipping file ./bioptim/gui/online_callback_multiprocess.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 27
    def __init__(self, ocp, opts: dict = None, **show_options):
                                ^
SyntaxError: invalid syntax


I, [2024-11-20T20:29:45.760581 #1]  INFO -- : Skipping file ./bioptim/interfaces/ipopt_interface.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 75
    def online_optim(self, ocp, show_options: dict = None):
                                            ^
SyntaxError: invalid syntax


I, [2024-11-20T20:29:45.761934 #1]  INFO -- : Skipping file ./bioptim/interfaces/sqp_options.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 75
    type: SolverType = SolverType.SQP
        ^
SyntaxError: invalid syntax


I, [2024-11-20T20:29:45.771524 #1]  INFO -- : Skipping file ./bioptim/interfaces/sqp_interface.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 74
    def online_optim(self, ocp, show_options: dict = None):
                                            ^
SyntaxError: invalid syntax


I, [2024-11-20T20:29:45.772652 #1]  INFO -- : Skipping file ./bioptim/interfaces/solve_ivp_interface.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 12
    list_of_dynamics: list[Callable],
                    ^
SyntaxError: invalid syntax


I, [2024-11-20T20:29:45.787509 #1]  INFO -- : Skipping file ./bioptim/interfaces/solver_interface.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 54
    def solve(self, expand_during_shake_tree) -> dict:
                                              ^
SyntaxError: invalid syntax


I, [2024-11-20T20:29:45.788472 #1]  INFO -- : Skipping file ./bioptim/interfaces/abstract_options.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 19
    type: SolverType = SolverType.NONE
        ^
SyntaxError: invalid syntax


I, [2024-11-20T20:29:45.798685 #1]  INFO -- : Skipping file ./bioptim/interfaces/interface_utils.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 17
    def generic_online_optim(interface, ocp, show_options: dict | None = None):
                                                         ^
SyntaxError: invalid syntax


I, [2024-11-20T20:29:45.803936 #1]  INFO -- : Skipping file ./bioptim/interfaces/acados_options.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 65
    type: SolverType = SolverType.ACADOS
        ^
SyntaxError: invalid syntax


I, [2024-11-20T20:29:45.811921 #1]  INFO -- : Skipping file ./bioptim/interfaces/acados_interface.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 85
    def __init__(self, ocp, solver_options: Solver.ACADOS = None):
                                          ^
SyntaxError: invalid syntax


I, [2024-11-20T20:29:45.823789 #1]  INFO -- : Skipping file ./bioptim/interfaces/ipopt_options.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 75
    type: SolverType = SolverType.IPOPT
        ^
SyntaxError: invalid syntax


I, [2024-11-20T20:29:45.826150 #1]  INFO -- : Skipping file ./bioptim/limits/phase_transtion_factory.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 31
    def create_default_transitions(self) -> list[PhaseTransition]:
                                         ^
SyntaxError: invalid syntax


I, [2024-11-20T20:29:45.836583 #1]  INFO -- : Skipping file ./bioptim/limits/penalty.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 42
    def minimize_states(penalty: PenaltyOption, controller: PenaltyController, key: str):
                               ^
SyntaxError: invalid syntax


I, [2024-11-20T20:29:45.837136 #1]  INFO -- : Skipping file ./bioptim/limits/objective_functions.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 17
    objective: Any,
             ^
SyntaxError: invalid syntax


I, [2024-11-20T20:29:45.852855 #1]  INFO -- : Skipping file ./bioptim/limits/phase_transition.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 44
    phase_pre_idx: int = None,
                 ^
SyntaxError: invalid syntax


I, [2024-11-20T20:29:45.853350 #1]  INFO -- : Skipping file ./bioptim/limits/multinode_constraint.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 12
    def __init__(self, *args, min_bound: float = 0, max_bound: float = 0, is_stochastic: bool = False, **kwargs):
                                      ^
SyntaxError: invalid syntax


I, [2024-11-20T20:29:45.863427 #1]  INFO -- : Skipping file ./bioptim/limits/multinode_objective.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 10
    def __init__(self, *args, weight: float = 0, is_stochastic: bool = False, **kwargs):
                                   ^
SyntaxError: invalid syntax


I, [2024-11-20T20:29:45.865932 #1]  INFO -- : Skipping file ./bioptim/limits/multinode_penalty.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 42
    _multinode_penalty_fcn: Any | type,
                          ^
SyntaxError: invalid syntax


I, [2024-11-20T20:29:45.874049 #1]  INFO -- : Skipping file ./bioptim/limits/penalty_controller.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 24
    nlp: NonLinearProgram,
       ^
SyntaxError: invalid syntax


I, [2024-11-20T20:29:45.882025 #1]  INFO -- : Skipping file ./bioptim/limits/path_conditions.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 49
    input_array: np.ndarray | Callable,
               ^
SyntaxError: invalid syntax


I, [2024-11-20T20:29:45.892583 #1]  INFO -- : Skipping file ./bioptim/limits/fatigue_path_conditions.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 8
    def FatigueBounds(fatigue: FatigueList, variable_type=VariableType.STATES, fix_first_frame=False):
                             ^
SyntaxError: invalid syntax


I, [2024-11-20T20:29:45.898880 #1]  INFO -- : Skipping file ./bioptim/limits/penalty_helpers.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 10
    transition: bool  # If the penalty is a transition penalty
              ^
SyntaxError: invalid syntax


I, [2024-11-20T20:29:45.903831 #1]  INFO -- : Skipping file ./bioptim/limits/constraints.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 28
    constraint: Any,
              ^
SyntaxError: invalid syntax


I, [2024-11-20T20:29:45.909801 #1]  INFO -- : Skipping file ./bioptim/limits/penalty_option.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 88
    penalty: Any,
           ^
SyntaxError: invalid syntax


I, [2024-11-20T20:29:45.914593 #1]  INFO -- : Skipping file ./bioptim/models/protocols/stochastic_biomodel.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 13
    sensory_noise_magnitude: np.ndarray
                           ^
SyntaxError: invalid syntax


I, [2024-11-20T20:29:45.920536 #1]  INFO -- : Skipping file ./bioptim/models/protocols/holonomic_biomodel.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 12
    constraints_list: HolonomicConstraintsList,
                    ^
SyntaxError: invalid syntax


I, [2024-11-20T20:29:45.933804 #1]  INFO -- : Skipping file ./bioptim/models/protocols/biomodel.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 17
    def name(self) -> str:
                   ^
SyntaxError: invalid syntax


I, [2024-11-20T20:29:45.938705 #1]  INFO -- : Skipping file ./bioptim/models/protocols/variational_biomodel.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 9
    q1: MX | SX,
      ^
SyntaxError: invalid syntax


I, [2024-11-20T20:29:45.944837 #1]  INFO -- : Skipping file ./bioptim/models/biorbd/viewer_bioviz.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 12
    ocp: "OptimalControlProgram",
       ^
SyntaxError: invalid syntax


I, [2024-11-20T20:29:45.952548 #1]  INFO -- : Skipping file ./bioptim/models/biorbd/biorbd_model.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 37
    bio_model: str | biorbd.Model,
             ^
SyntaxError: invalid syntax


I, [2024-11-20T20:29:45.957821 #1]  INFO -- : Skipping file ./bioptim/models/biorbd/viewer_utils.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 9
    nlps: list["NonLinearProgram", ...], n_shooting: int = None
        ^
SyntaxError: invalid syntax


I, [2024-11-20T20:29:45.963167 #1]  INFO -- : Skipping file ./bioptim/models/biorbd/viewer_pyorerun.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 16
    show_now: bool,
            ^
SyntaxError: invalid syntax


I, [2024-11-20T20:29:45.970322 #1]  INFO -- : Skipping file ./bioptim/models/biorbd/external_forces.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 27
    def __init__(self, nb_frames: int):
                                ^
SyntaxError: invalid syntax


I, [2024-11-20T20:29:45.973976 #1]  INFO -- : Skipping file ./bioptim/models/biorbd/variational_biorbd_model.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 21
    bio_model: str | biorbd.Model,
             ^
SyntaxError: invalid syntax


I, [2024-11-20T20:29:45.981004 #1]  INFO -- : Skipping file ./bioptim/models/biorbd/holonomic_biorbd_model.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 21
    bio_model: str | biorbd.Model,
             ^
SyntaxError: invalid syntax


I, [2024-11-20T20:29:45.991944 #1]  INFO -- : Skipping file ./bioptim/models/biorbd/multi_biorbd_model.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 37
    bio_model: tuple[str | biorbd.Model | BiorbdModel, ...],
             ^
SyntaxError: invalid syntax


I, [2024-11-20T20:29:46.004850 #1]  INFO -- : Skipping file ./bioptim/models/biorbd/stochastic_biorbd_model.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 26
    tau_fb = k_matrix @ ((sensory_input - ref) + sensory_noise)
                      ^
SyntaxError: invalid syntax


I, [2024-11-20T20:29:46.013505 #1]  INFO -- : Skipping file ./bioptim/models/utils.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 5
    def _dof_mapping(key, model, mapping: BiMapping = None) -> dict:
                                        ^
SyntaxError: invalid syntax


I, [2024-11-20T20:29:46.020233 #1]  INFO -- : Skipping file ./bioptim/models/holonomic_constraints.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 20
    biorbd_model: BiorbdModel,
                ^
SyntaxError: invalid syntax


I, [2024-11-20T20:29:46.024531 #1]  INFO -- : Skipping file ./bioptim/dynamics/ode_solver.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 21
    def __init__(self, duplicate_starting_point: bool = False):
                                               ^
SyntaxError: invalid syntax


I, [2024-11-20T20:29:46.030937 #1]  INFO -- : Skipping file ./bioptim/dynamics/dynamics_evaluation.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 14
    def __init__(self, dxdt: MX | SX = None, defects: MX | SX = None):
                           ^
SyntaxError: invalid syntax


I, [2024-11-20T20:29:46.035316 #1]  INFO -- : Skipping file ./bioptim/dynamics/fatigue/effort_perception.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 13
    def __init__(self, effort_threshold: float, effort_factor: float, scaling: float = 1):
                                       ^
SyntaxError: invalid syntax


I, [2024-11-20T20:29:46.041809 #1]  INFO -- : Skipping file ./bioptim/dynamics/fatigue/michaud_fatigue.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 14
    def dynamics_suffix() -> str:
                          ^
SyntaxError: invalid syntax


I, [2024-11-20T20:29:46.047432 #1]  INFO -- : Skipping file ./bioptim/dynamics/fatigue/muscle_fatigue.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 17
    def apply_dynamics(self, target_load: float | MX | SX, *states: Any):
                                        ^
SyntaxError: invalid syntax


I, [2024-11-20T20:29:46.052487 #1]  INFO -- : Skipping file ./bioptim/dynamics/fatigue/tau_fatigue.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 17
    minus: FatigueModel,
         ^
SyntaxError: invalid syntax


I, [2024-11-20T20:29:46.060504 #1]  INFO -- : Skipping file ./bioptim/dynamics/fatigue/xia_fatigue.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 13
    def __init__(self, LD: float, LR: float, F: float, R: float, **kwargs):
                         ^
SyntaxError: invalid syntax


I, [2024-11-20T20:29:46.075371 #1]  INFO -- : Skipping file ./bioptim/dynamics/fatigue/fatigue_dynamics.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 11
    def __init__(self, scaling: float = 1, state_only: bool = None, apply_to_joint_dynamics: bool = None):
                              ^
SyntaxError: invalid syntax


I, [2024-11-20T20:29:46.076162 #1]  INFO -- : Skipping file ./bioptim/dynamics/integrator.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 52
    def __init__(self, ode: dict, ode_opt: dict):
                          ^
SyntaxError: invalid syntax


I, [2024-11-20T20:29:46.086697 #1]  INFO -- : Skipping file ./bioptim/dynamics/dynamics_functions.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 51
    ) -> DynamicsEvaluation:
      ^
SyntaxError: invalid syntax


I, [2024-11-20T20:29:46.087692 #1]  INFO -- : Skipping file ./bioptim/dynamics/configure_problem.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 81
    def _get_kinematics_based_names(nlp, var_type: str) -> list[str]:
                                                 ^
SyntaxError: invalid syntax


I, [2024-11-20T20:29:46.099077 #1]  INFO -- : Skipping file ./bioptim/dynamics/configure_new_variable.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 12
    as_states: bool, as_controls: bool, as_states_dot: bool, as_algebraic_states: bool
             ^
SyntaxError: invalid syntax


I, [2024-11-20T20:29:46.108814 #1]  INFO -- : Skipping file ./bioptim/optimization/stochastic_optimal_control_program.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 42
    bio_model: list | tuple | StochasticBioModel,
             ^
SyntaxError: invalid syntax


I, [2024-11-20T20:29:46.114610 #1]  INFO -- : Skipping file ./bioptim/optimization/non_linear_program.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 127
    def __init__(self, phase_dynamics: PhaseDynamics, use_sx: bool):
                                     ^
SyntaxError: invalid syntax


I, [2024-11-20T20:29:46.119762 #1]  INFO -- : Skipping file ./bioptim/optimization/optimization_variable.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 39
    name: str,
        ^
SyntaxError: invalid syntax


I, [2024-11-20T20:29:46.128400 #1]  INFO -- : Skipping file ./bioptim/optimization/parameters.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 23
    name: str,
        ^
SyntaxError: invalid syntax


I, [2024-11-20T20:29:46.136288 #1]  INFO -- : Skipping file ./bioptim/optimization/receding_horizon_optimization.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 36
    bio_model: list | tuple | BioModel,
             ^
SyntaxError: invalid syntax


I, [2024-11-20T20:29:46.141703 #1]  INFO -- : Skipping file ./bioptim/optimization/solution/solution_data.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 36
    def __init__(self, unscaled, scaled, n_nodes: list[int]):
                                                ^
SyntaxError: invalid syntax


I, [2024-11-20T20:29:46.152872 #1]  INFO -- : Skipping file ./bioptim/optimization/solution/solution.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 99
    vector: np.ndarray | DM = None,
          ^
SyntaxError: invalid syntax


I, [2024-11-20T20:29:46.158426 #1]  INFO -- : Skipping file ./bioptim/optimization/solution/utils.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 5
    variable: list[dict[np.ndarray]], continuous: bool = True
            ^
SyntaxError: invalid syntax


I, [2024-11-20T20:29:46.163622 #1]  INFO -- : Skipping file ./bioptim/optimization/multi_start.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 23
    combinatorial_parameters: dict[tuple, ...],
                            ^
SyntaxError: invalid syntax


I, [2024-11-20T20:29:46.173463 #1]  INFO -- : Skipping file ./bioptim/optimization/optimization_vector.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 58
    raise NotImplementedError(f"Multiple shooting problem not implemented yet for {nlp.control_type}")
                                                                                                    ^
SyntaxError: invalid syntax


I, [2024-11-20T20:29:46.174320 #1]  INFO -- : Skipping file ./bioptim/optimization/variable_scaling.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 7
    def __init__(self, key: str, scaling: np.ndarray | list = None, **kwargs):
                          ^
SyntaxError: invalid syntax


I, [2024-11-20T20:29:46.185660 #1]  INFO -- : Skipping file ./bioptim/optimization/optimal_control_program.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 141
    bio_model: list | tuple | BioModel,
             ^
SyntaxError: invalid syntax


I, [2024-11-20T20:29:46.195104 #1]  INFO -- : Skipping file ./bioptim/optimization/problem_type.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 22
    def __init__(self, with_cholesky: bool = False):
                                    ^
SyntaxError: invalid syntax


I, [2024-11-20T20:29:46.196699 #1]  INFO -- : Skipping file ./bioptim/optimization/variational_optimal_control_program.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 32
    bio_model: VariationalBioModel,
             ^
SyntaxError: invalid syntax


I, [2024-11-20T20:29:46.225299 #1]  INFO -- : Skipping file ./bioptim/misc/casadi_expand.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 4
    def lt(x: MX | SX | DM | float, y: MX | SX | DM | float):
            ^
SyntaxError: invalid syntax


I, [2024-11-20T20:29:46.234564 #1]  INFO -- : Skipping file ./bioptim/misc/options.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 29
    def __init__(self, phase: int = -1, list_index: int = -1, name: str = None, type: Any = None, **extra_parameters):
                            ^
SyntaxError: invalid syntax


I, [2024-11-20T20:29:46.248305 #1]  INFO -- : Skipping file ./bioptim/misc/utils.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 5
    def check_version(tool_to_compare: Any, min_version: str, max_version: str, exclude_max: bool = True):
                                     ^
SyntaxError: invalid syntax


I, [2024-11-20T20:29:46.259311 #1]  INFO -- : Skipping file ./bioptim/misc/mapping.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 36
    map_idx: list | tuple | range | np.ndarray,
           ^
SyntaxError: invalid syntax