# Warning when installing ModelingToolkit

**URL:** <https://discourse.julialang.org/t/warning-when-installing-modelingtoolkit/118586>\
**Category:** General Usage\
**Tags:** question, package, modelingtoolkit\
**Created:** [August 25, 2024, 8:39am UTC](https://discourse.julialang.org/t/warning-when-installing-modelingtoolkit/118586 "2024-08-25T08:39:12Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![ufechner7](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/ufechner7/32/51363_2.png) [@ufechner7](https://discourse.julialang.org/u/ufechner7)\
**Post date:** [August 25, 2024, 8:39am UTC](https://discourse.julialang.org/t/warning-when-installing-modelingtoolkit/118586/1 "2024-08-25T08:39:12Z")

</div>

If I install ModelingToolkit v9.33.1 using this script:

```julia
#!/bin/bash -eu
rm -rf /tmp/testdepot
mkdir /tmp/testdepot
rm -rf /tmp/test
mkdir /tmp/test
cd /tmp/test
export JULIA_DEPOT_PATH=/tmp/testdepot 
julia --project="." -e "using Pkg; Pkg.add(\"ModelingToolkit\"); using ModelingToolkit; Pkg.status()"

```

I get the following warning:

```julia
┌ ModelingToolkit
│ ┌ Warning: solve_for is deprecated, please use symbolic_linear_solve instead.
│ │ caller = tearing_reassemble(state::ModelingToolkit.TearingState{ModelingToolkit.ODESystem}, var_eq_matching::ModelingToolkit.BipartiteGraphs.Matching{Union{ModelingToolkit.BipartiteGraphs.Unassigned, ModelingToolkit.StructuralTransformations.SelectedState}, Vector{Union{ModelingToolkit.BipartiteGraphs.Unassigned, ModelingToolkit.StructuralTransformations.SelectedState, Int64}}}, full_var_eq_matching::Nothing; simplify::Bool, mm::ModelingToolkit.SparseMatrixCLIL{Int64, Int64}) at symbolics_tearing.jl:459
│ └ @ ModelingToolkit.StructuralTransformations /tmp/testdepot/packages/ModelingToolkit/2KZCu/src/structural_transformation/symbolics_tearing.jl:459
└  

```

Can this be fixed in ModelingToolkit? Shall I report it as a bug?

---

<div class="post-metadata">

**Author:** ![ChrisRackauckas](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/chrisrackauckas/32/77_2.png) [@ChrisRackauckas](https://discourse.julialang.org/u/ChrisRackauckas)\
**Post date:** [August 25, 2024, 11:06am UTC](https://discourse.julialang.org/t/warning-when-installing-modelingtoolkit/118586/2 "2024-08-25T11:06:30Z")

</div>

It will get fix, that’s just a new depwarn.
