Package evaluation to test EnergyModelsCompliance on Julia 1.14.0-DEV.2802 (918269a29b*) started at 2026-07-29T09:31:18.240 ################################################################################ # Set-up # Installing PkgEval dependencies (TestEnv)... Activating project at `~/.julia/environments/v1.14` Set-up completed after 15.76s ################################################################################ # Installation # Installing EnergyModelsCompliance... Resolving package versions... Updating `~/.julia/environments/v1.14/Project.toml` [a12c78df] + EnergyModelsCompliance v0.2.0 Updating `~/.julia/environments/v1.14/Manifest.toml` [523fee87] + CodecBzip2 v0.8.5 [944b1d66] + CodecZlib v0.7.8 [bbf7d656] + CommonSubexpressions v0.3.1 [34da2185] + Compat v4.18.1 [85a47980] + Dictionaries v0.4.6 [163ba53b] + DiffResults v1.1.0 [b552c78f] + DiffRules v1.16.0 [ffbed154] + DocStringExtensions v0.9.5 [5d7e687e] + EnergyModelsBase v0.10.5 [a12c78df] + EnergyModelsCompliance v0.2.0 [e2ba6199] + ExprTools v0.1.11 [f6369f11] + ForwardDiff v1.4.3 [87dc4568] + HiGHS v1.24.1 [313cdc1a] + Indexing v1.1.1 [842dd82b] + InlineStrings v1.4.5 [92d709cd] + IrrationalConstants v0.2.6 [692b3bcd] + JLLWrappers v1.8.0 [682c06a0] + JSON v1.6.1 [4076af6c] + JuMP v1.31.1 [2ab3a3ac] + LogExpFunctions v1.0.1 [1914dd2f] + MacroTools v0.5.16 [8c4f8055] + MathOptIIS v0.2.0 [b8f27783] + MathOptInterface v1.51.2 [78c3b35d] + Mocking v0.8.1 [d8a4904e] + MutableArithmetics v1.8.0 [77ba4419] + NaNMath v1.1.4 ⌅ [bac558e1] + OrderedCollections v1.8.2 [69de0a69] + Parsers v2.8.6 [aea7be01] + PrecompileTools v1.3.4 [21216c6a] + Preferences v1.5.2 [6c6a2e73] + Scratch v1.3.0 [2749762c] + SparseVariables v0.7.4 [276daf66] + SpecialFunctions v2.8.0 [1e83bf80] + StaticArraysCore v1.4.4 [ec057cc2] + StructUtils v2.8.2 [dc5dba14] + TZJData v1.5.0+2025b [f9ed5ce0] + TimeStruct v0.9.12 [f269a46b] + TimeZones v1.22.2 [3bb67fe8] + TranscodingStreams v0.11.3 [6e34b625] + Bzip2_jll v1.0.9+0 [8fd58aa0] + HiGHS_jll v1.15.1+1 [656ef2d0] + OpenBLAS32_jll v0.3.34+0 [efe28fd5] + OpenSpecFun_jll v0.5.6+0 [0dad84c5] + ArgTools v1.2.0 [56f22d72] + Artifacts v1.11.0 [2a0f44e3] + Base64 v1.11.0 [ade2ca70] + Dates v1.11.0 [f43a241f] + Downloads v1.7.0 [7b1f6079] + FileWatching v1.11.0 [b77e0a4c] + InteractiveUtils v1.11.0 [ac6e5ff7] + JuliaSyntaxHighlighting v1.13.0 [b27032c2] + LibCURL v1.0.0 [8f399da3] + Libdl v1.11.0 [37e2e46d] + LinearAlgebra v1.14.0 [56ddb016] + Logging v1.11.0 [d6f4376e] + Markdown v1.11.0 [ca575930] + NetworkOptions v1.3.0 [de0858da] + Printf v1.11.0 [9a3f8284] + Random v1.11.0 [ea8e919c] + SHA v1.13.0 [9e88b42a] + Serialization v1.11.0 [2f01184e] + SparseArrays v1.13.0 [f489334b] + StyledStrings v1.13.0 [fa267f1f] + TOML v1.0.3 [8dfed614] + Test v1.11.0 [cf7118a7] + UUIDs v1.11.0 [4ec0a83e] + Unicode v1.11.0 [e66e0078] + CompilerSupportLibraries_jll v1.5.7+0 [deac9b47] + LibCURL_jll v8.21.0+0 [29816b5a] + LibSSH2_jll v1.11.103+0 [14a3606d] + MozillaCACerts_jll v2026.7.16 [4536629a] + OpenBLAS_jll v0.3.34+0 [05823500] + OpenLibm_jll v0.8.7+0 [458c3c95] + OpenSSL_jll v3.5.7+0 [bea87d4a] + SuiteSparse_jll v7.10.1+0 [83775a58] + Zlib_jll v1.3.2+0 [3161d3a3] + Zstd_jll v1.5.7+1 [8e850b90] + libblastrampoline_jll v5.15.0+0 [8e850ede] + nghttp2_jll v1.69.0+0 [3f19e933] + p7zip_jll v17.8.0+0 Info Packages marked with ⌅ have new versions available but compatibility constraints restrict them from upgrading. To see why use `status --outdated -m` Installation completed after 5.88s ################################################################################ # Precompilation # Precompiling PkgEval dependencies... Precompiling package dependencies... Precompiling project... 23.3 s ✓ EnergyModelsGeography 16.3 s ✓ EnergyModelsCompliance 11.4 s ✓ EnergyModelsCompliance → EMGExt 3 dependencies successfully precompiled in 52 seconds. 78 already precompiled. Precompilation completed after 82.62s ################################################################################ # Testing # Testing EnergyModelsCompliance Status `/tmp/jl_xpxRP8/Project.toml` [5d7e687e] EnergyModelsBase v0.10.5 [a12c78df] EnergyModelsCompliance v0.2.0 [3f775d88] EnergyModelsGeography v0.12.0 [f9ed5ce0] TimeStruct v0.9.12 [b77e0a4c] InteractiveUtils v1.11.0 [56ddb016] Logging v1.11.0 [44cfe95a] Pkg v1.14.0 [8dfed614] Test v1.11.0 Status `/tmp/jl_xpxRP8/Manifest.toml` [523fee87] CodecBzip2 v0.8.5 [944b1d66] CodecZlib v0.7.8 [bbf7d656] CommonSubexpressions v0.3.1 [34da2185] Compat v4.18.1 [85a47980] Dictionaries v0.4.6 [163ba53b] DiffResults v1.1.0 [b552c78f] DiffRules v1.16.0 [ffbed154] DocStringExtensions v0.9.5 [5d7e687e] EnergyModelsBase v0.10.5 [a12c78df] EnergyModelsCompliance v0.2.0 [3f775d88] EnergyModelsGeography v0.12.0 [e2ba6199] ExprTools v0.1.11 [f6369f11] ForwardDiff v1.4.3 [87dc4568] HiGHS v1.24.1 [313cdc1a] Indexing v1.1.1 [842dd82b] InlineStrings v1.4.5 [92d709cd] IrrationalConstants v0.2.6 [692b3bcd] JLLWrappers v1.8.0 [682c06a0] JSON v1.6.1 [4076af6c] JuMP v1.31.1 [2ab3a3ac] LogExpFunctions v1.0.1 [1914dd2f] MacroTools v0.5.16 [8c4f8055] MathOptIIS v0.2.0 [b8f27783] MathOptInterface v1.51.2 [78c3b35d] Mocking v0.8.1 [d8a4904e] MutableArithmetics v1.8.0 [77ba4419] NaNMath v1.1.4 ⌅ [bac558e1] OrderedCollections v1.8.2 [69de0a69] Parsers v2.8.6 [aea7be01] PrecompileTools v1.3.4 [21216c6a] Preferences v1.5.2 [6c6a2e73] Scratch v1.3.0 [2749762c] SparseVariables v0.7.4 [276daf66] SpecialFunctions v2.8.0 [1e83bf80] StaticArraysCore v1.4.4 [ec057cc2] StructUtils v2.8.2 [dc5dba14] TZJData v1.5.0+2025b [f9ed5ce0] TimeStruct v0.9.12 [f269a46b] TimeZones v1.22.2 [3bb67fe8] TranscodingStreams v0.11.3 [6e34b625] Bzip2_jll v1.0.9+0 [8fd58aa0] HiGHS_jll v1.15.1+1 [656ef2d0] OpenBLAS32_jll v0.3.34+0 [efe28fd5] OpenSpecFun_jll v0.5.6+0 [0dad84c5] ArgTools v1.2.0 [56f22d72] Artifacts v1.11.0 [2a0f44e3] Base64 v1.11.0 [ade2ca70] Dates v1.11.0 [f43a241f] Downloads v1.7.0 [7b1f6079] FileWatching v1.11.0 [b77e0a4c] InteractiveUtils v1.11.0 [ac6e5ff7] JuliaSyntaxHighlighting v1.13.0 [b27032c2] LibCURL v1.0.0 [76f85450] LibGit2 v1.11.0 [8f399da3] Libdl v1.11.0 [37e2e46d] LinearAlgebra v1.14.0 [56ddb016] Logging v1.11.0 [d6f4376e] Markdown v1.11.0 [ca575930] NetworkOptions v1.3.0 [44cfe95a] Pkg v1.14.0 [de0858da] Printf v1.11.0 [9a3f8284] Random v1.11.0 [ea8e919c] SHA v1.13.0 [9e88b42a] Serialization v1.11.0 [2f01184e] SparseArrays v1.13.0 [f489334b] StyledStrings v1.13.0 [fa267f1f] TOML v1.0.3 [a4e569a6] Tar v1.10.0 [8dfed614] Test v1.11.0 [cf7118a7] UUIDs v1.11.0 [4ec0a83e] Unicode v1.11.0 [e66e0078] CompilerSupportLibraries_jll v1.5.7+0 [deac9b47] LibCURL_jll v8.21.0+0 [e37daf67] LibGit2_jll v1.9.6+0 [29816b5a] LibSSH2_jll v1.11.103+0 [14a3606d] MozillaCACerts_jll v2026.7.16 [4536629a] OpenBLAS_jll v0.3.34+0 [05823500] OpenLibm_jll v0.8.7+0 [458c3c95] OpenSSL_jll v3.5.7+0 [efcefdf7] PCRE2_jll v10.47.0+0 [bea87d4a] SuiteSparse_jll v7.10.1+0 [83775a58] Zlib_jll v1.3.2+0 [3161d3a3] Zstd_jll v1.5.7+1 [8e850b90] libblastrampoline_jll v5.15.0+0 [8e850ede] nghttp2_jll v1.69.0+0 [3f19e933] p7zip_jll v17.8.0+0 Info Packages marked with ⌅ have new versions available but compatibility constraints restrict them from upgrading. Testing Running tests... Source nodes: Error During Test at /home/pkgeval/.julia/packages/EnergyModelsCompliance/D0K80/test/test_emb_mwe.jl:6 Got exception outside of a @test An object of name `:sink_surplus` is already registered in this model. Consider instead using the anonymous construction syntax, for example, `x = @variable(model, [1:N], ...)` where the name of the object does not appear inside the macro. Alternatively, use `unregister(model, :sink_surplus)` to first unregister the existing name from the model. Note that this will not delete the object from the model; it will just remove the reference at `model[:sink_surplus]`. Stacktrace: [1] variables_elements(m::JuMP.Model, 𝒳::Vector{EnergyModelsBase.Node}, 𝒳ᵛᵉᶜ::Vector{Vector}, 𝒯::TwoLevel{Int64, Int64, SimpleTimes{Int64}}, modeltype::OperationalModel) @ EnergyModelsBase ~/.julia/packages/EnergyModelsBase/hrdwP/src/model.jl:442 [2] create_model(case::Case, modeltype::OperationalModel, m::JuMP.Model; check_timeprofiles::Bool, check_any_data::Bool) @ EnergyModelsBase ~/.julia/packages/EnergyModelsBase/hrdwP/src/model.jl:67 [3] run_model(case::Case, model::OperationalModel, optimizer::MathOptInterface.OptimizerWithAttributes; check_timeprofiles::Bool) @ EnergyModelsBase ~/.julia/packages/EnergyModelsBase/hrdwP/src/utils.jl:11 [4] run_model(case::Case, model::OperationalModel, optimizer::MathOptInterface.OptimizerWithAttributes) @ EnergyModelsBase ~/.julia/packages/EnergyModelsBase/hrdwP/src/utils.jl:8 [inlined] [5] test_case(n::RefSource, 𝒯::TwoLevel{Int64, Int64, SimpleTimes{Int64}}, warn_log::@NamedTuple{capacity::Bool, opex_var::Bool, opex_fixed::Bool, inputs::Bool, outputs::Bool, data::Bool}; co2::ResourceEmit{Float64}) @ EnergyModelsCompliance ~/.julia/packages/EnergyModelsCompliance/D0K80/src/mwe_case.jl:110 [6] top-level scope @ ~/.julia/packages/EnergyModelsCompliance/D0K80/test/test_emb_mwe.jl:7 [7] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [8] macro expansion @ ~/.julia/packages/EnergyModelsCompliance/D0K80/test/test_emb_mwe.jl:18 [inlined] caused by: An object of name `:sink_surplus` is already registered in this model. Consider instead using the anonymous construction syntax, for example, `x = @variable(model, [1:N], ...)` where the name of the object does not appear inside the macro. Alternatively, use `unregister(model, :sink_surplus)` to first unregister the existing name from the model. Note that this will not delete the object from the model; it will just remove the reference at `model[:sink_surplus]`. Stacktrace: [1] error(s::String) @ Base error.jl:56 [2] _error_if_cannot_register(model::JuMP.Model, name::Symbol) @ JuMP ~/.julia/packages/JuMP/R9AEA/src/macros.jl:456 [inlined] [3] macro expansion @ ~/.julia/packages/JuMP/R9AEA/src/macros.jl:423 [inlined] [4] variables_node(m::JuMP.Model, 𝒩ˢⁱⁿᵏ::Vector{RefSink}, 𝒯::TwoLevel{Int64, Int64, SimpleTimes{Int64}}, modeltype::OperationalModel) @ EnergyModelsBase ~/.julia/packages/EnergyModelsBase/hrdwP/src/model.jl:555 [5] variables_element(m::JuMP.Model, 𝒩ˢᵘᵇ::Vector{RefSink}, 𝒯::TwoLevel{Int64, Int64, SimpleTimes{Int64}}, modeltype::OperationalModel) @ EnergyModelsBase ~/.julia/packages/EnergyModelsBase/hrdwP/src/model.jl:513 [6] variables_elements(m::JuMP.Model, 𝒳::Vector{EnergyModelsBase.Node}, 𝒳ᵛᵉᶜ::Vector{Vector}, 𝒯::TwoLevel{Int64, Int64, SimpleTimes{Int64}}, modeltype::OperationalModel) @ EnergyModelsBase ~/.julia/packages/EnergyModelsBase/hrdwP/src/model.jl:429 [7] create_model(case::Case, modeltype::OperationalModel, m::JuMP.Model; check_timeprofiles::Bool, check_any_data::Bool) @ EnergyModelsBase ~/.julia/packages/EnergyModelsBase/hrdwP/src/model.jl:67 [8] run_model(case::Case, model::OperationalModel, optimizer::MathOptInterface.OptimizerWithAttributes; check_timeprofiles::Bool) @ EnergyModelsBase ~/.julia/packages/EnergyModelsBase/hrdwP/src/utils.jl:11 [9] run_model(case::Case, model::OperationalModel, optimizer::MathOptInterface.OptimizerWithAttributes) @ EnergyModelsBase ~/.julia/packages/EnergyModelsBase/hrdwP/src/utils.jl:8 [inlined] [10] test_case(n::RefSource, 𝒯::TwoLevel{Int64, Int64, SimpleTimes{Int64}}, warn_log::@NamedTuple{capacity::Bool, opex_var::Bool, opex_fixed::Bool, inputs::Bool, outputs::Bool, data::Bool}; co2::ResourceEmit{Float64}) @ EnergyModelsCompliance ~/.julia/packages/EnergyModelsCompliance/D0K80/src/mwe_case.jl:110 [11] top-level scope @ ~/.julia/packages/EnergyModelsCompliance/D0K80/test/test_emb_mwe.jl:7 [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [13] macro expansion @ ~/.julia/packages/EnergyModelsCompliance/D0K80/test/test_emb_mwe.jl:18 [inlined] NetworkNode nodes: Error During Test at /home/pkgeval/.julia/packages/EnergyModelsCompliance/D0K80/test/test_emb_mwe.jl:27 Got exception outside of a @test An object of name `:sink_surplus` is already registered in this model. Consider instead using the anonymous construction syntax, for example, `x = @variable(model, [1:N], ...)` where the name of the object does not appear inside the macro. Alternatively, use `unregister(model, :sink_surplus)` to first unregister the existing name from the model. Note that this will not delete the object from the model; it will just remove the reference at `model[:sink_surplus]`. Stacktrace: [1] variables_elements(m::JuMP.Model, 𝒳::Vector{EnergyModelsBase.Node}, 𝒳ᵛᵉᶜ::Vector{Vector}, 𝒯::TwoLevel{Int64, Int64, SimpleTimes{Int64}}, modeltype::OperationalModel) @ EnergyModelsBase ~/.julia/packages/EnergyModelsBase/hrdwP/src/model.jl:442 [2] create_model(case::Case, modeltype::OperationalModel, m::JuMP.Model; check_timeprofiles::Bool, check_any_data::Bool) @ EnergyModelsBase ~/.julia/packages/EnergyModelsBase/hrdwP/src/model.jl:67 [3] run_model(case::Case, model::OperationalModel, optimizer::MathOptInterface.OptimizerWithAttributes; check_timeprofiles::Bool) @ EnergyModelsBase ~/.julia/packages/EnergyModelsBase/hrdwP/src/utils.jl:11 [4] run_model(case::Case, model::OperationalModel, optimizer::MathOptInterface.OptimizerWithAttributes) @ EnergyModelsBase ~/.julia/packages/EnergyModelsBase/hrdwP/src/utils.jl:8 [inlined] [5] test_case(n::RefNetworkNode, 𝒯::TwoLevel{Int64, Int64, SimpleTimes{Int64}}, warn_log::@NamedTuple{capacity::Bool, opex_var::Bool, opex_fixed::Bool, inputs::Bool, outputs::Bool, data::Bool}; co2::ResourceEmit{Float64}) @ EnergyModelsCompliance ~/.julia/packages/EnergyModelsCompliance/D0K80/src/mwe_case.jl:177 [6] top-level scope @ ~/.julia/packages/EnergyModelsCompliance/D0K80/test/test_emb_mwe.jl:29 [7] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [8] macro expansion @ ~/.julia/packages/EnergyModelsCompliance/D0K80/test/test_emb_mwe.jl:44 [inlined] caused by: An object of name `:sink_surplus` is already registered in this model. Consider instead using the anonymous construction syntax, for example, `x = @variable(model, [1:N], ...)` where the name of the object does not appear inside the macro. Alternatively, use `unregister(model, :sink_surplus)` to first unregister the existing name from the model. Note that this will not delete the object from the model; it will just remove the reference at `model[:sink_surplus]`. Stacktrace: [1] error(s::String) @ Base error.jl:56 [2] _error_if_cannot_register(model::JuMP.Model, name::Symbol) @ JuMP ~/.julia/packages/JuMP/R9AEA/src/macros.jl:456 [inlined] [3] macro expansion @ ~/.julia/packages/JuMP/R9AEA/src/macros.jl:423 [inlined] [4] variables_node(m::JuMP.Model, 𝒩ˢⁱⁿᵏ::Vector{RefSink}, 𝒯::TwoLevel{Int64, Int64, SimpleTimes{Int64}}, modeltype::OperationalModel) @ EnergyModelsBase ~/.julia/packages/EnergyModelsBase/hrdwP/src/model.jl:555 [5] variables_element(m::JuMP.Model, 𝒩ˢᵘᵇ::Vector{RefSink}, 𝒯::TwoLevel{Int64, Int64, SimpleTimes{Int64}}, modeltype::OperationalModel) @ EnergyModelsBase ~/.julia/packages/EnergyModelsBase/hrdwP/src/model.jl:513 [6] variables_elements(m::JuMP.Model, 𝒳::Vector{EnergyModelsBase.Node}, 𝒳ᵛᵉᶜ::Vector{Vector}, 𝒯::TwoLevel{Int64, Int64, SimpleTimes{Int64}}, modeltype::OperationalModel) @ EnergyModelsBase ~/.julia/packages/EnergyModelsBase/hrdwP/src/model.jl:429 [7] create_model(case::Case, modeltype::OperationalModel, m::JuMP.Model; check_timeprofiles::Bool, check_any_data::Bool) @ EnergyModelsBase ~/.julia/packages/EnergyModelsBase/hrdwP/src/model.jl:67 [8] run_model(case::Case, model::OperationalModel, optimizer::MathOptInterface.OptimizerWithAttributes; check_timeprofiles::Bool) @ EnergyModelsBase ~/.julia/packages/EnergyModelsBase/hrdwP/src/utils.jl:11 [9] run_model(case::Case, model::OperationalModel, optimizer::MathOptInterface.OptimizerWithAttributes) @ EnergyModelsBase ~/.julia/packages/EnergyModelsBase/hrdwP/src/utils.jl:8 [inlined] [10] test_case(n::RefNetworkNode, 𝒯::TwoLevel{Int64, Int64, SimpleTimes{Int64}}, warn_log::@NamedTuple{capacity::Bool, opex_var::Bool, opex_fixed::Bool, inputs::Bool, outputs::Bool, data::Bool}; co2::ResourceEmit{Float64}) @ EnergyModelsCompliance ~/.julia/packages/EnergyModelsCompliance/D0K80/src/mwe_case.jl:177 [11] top-level scope @ ~/.julia/packages/EnergyModelsCompliance/D0K80/test/test_emb_mwe.jl:29 [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [13] macro expansion @ ~/.julia/packages/EnergyModelsCompliance/D0K80/test/test_emb_mwe.jl:44 [inlined] Storage nodes: Error During Test at /home/pkgeval/.julia/packages/EnergyModelsCompliance/D0K80/test/test_emb_mwe.jl:69 Got exception outside of a @test An object of name `:sink_surplus` is already registered in this model. Consider instead using the anonymous construction syntax, for example, `x = @variable(model, [1:N], ...)` where the name of the object does not appear inside the macro. Alternatively, use `unregister(model, :sink_surplus)` to first unregister the existing name from the model. Note that this will not delete the object from the model; it will just remove the reference at `model[:sink_surplus]`. Stacktrace: [1] variables_elements(m::JuMP.Model, 𝒳::Vector{EnergyModelsBase.Node}, 𝒳ᵛᵉᶜ::Vector{Vector}, 𝒯::TwoLevel{Int64, Int64, SimpleTimes{Int64}}, modeltype::OperationalModel) @ EnergyModelsBase ~/.julia/packages/EnergyModelsBase/hrdwP/src/model.jl:442 [2] create_model(case::Case, modeltype::OperationalModel, m::JuMP.Model; check_timeprofiles::Bool, check_any_data::Bool) @ EnergyModelsBase ~/.julia/packages/EnergyModelsBase/hrdwP/src/model.jl:67 [3] run_model(case::Case, model::OperationalModel, optimizer::MathOptInterface.OptimizerWithAttributes; check_timeprofiles::Bool) @ EnergyModelsBase ~/.julia/packages/EnergyModelsBase/hrdwP/src/utils.jl:11 [4] run_model(case::Case, model::OperationalModel, optimizer::MathOptInterface.OptimizerWithAttributes) @ EnergyModelsBase ~/.julia/packages/EnergyModelsBase/hrdwP/src/utils.jl:8 [inlined] [5] test_case(n::RefStorage{CyclicStrategic}, 𝒯::TwoLevel{Int64, Int64, SimpleTimes{Int64}}, warn_log::@NamedTuple{inputs::Bool, outputs::Bool, data::Bool, level::Bool, stor_res::Bool}; co2::ResourceEmit{Float64}) @ EnergyModelsCompliance ~/.julia/packages/EnergyModelsCompliance/D0K80/src/mwe_case.jl:243 [6] top-level scope @ ~/.julia/packages/EnergyModelsCompliance/D0K80/test/test_emb_mwe.jl:70 [7] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [8] macro expansion @ ~/.julia/packages/EnergyModelsCompliance/D0K80/test/test_emb_mwe.jl:86 [inlined] caused by: An object of name `:sink_surplus` is already registered in this model. Consider instead using the anonymous construction syntax, for example, `x = @variable(model, [1:N], ...)` where the name of the object does not appear inside the macro. Alternatively, use `unregister(model, :sink_surplus)` to first unregister the existing name from the model. Note that this will not delete the object from the model; it will just remove the reference at `model[:sink_surplus]`. Stacktrace: [1] error(s::String) @ Base error.jl:56 [2] _error_if_cannot_register(model::JuMP.Model, name::Symbol) @ JuMP ~/.julia/packages/JuMP/R9AEA/src/macros.jl:456 [inlined] [3] macro expansion @ ~/.julia/packages/JuMP/R9AEA/src/macros.jl:423 [inlined] [4] variables_node(m::JuMP.Model, 𝒩ˢⁱⁿᵏ::Vector{RefSink}, 𝒯::TwoLevel{Int64, Int64, SimpleTimes{Int64}}, modeltype::OperationalModel) @ EnergyModelsBase ~/.julia/packages/EnergyModelsBase/hrdwP/src/model.jl:555 [5] variables_element(m::JuMP.Model, 𝒩ˢᵘᵇ::Vector{RefSink}, 𝒯::TwoLevel{Int64, Int64, SimpleTimes{Int64}}, modeltype::OperationalModel) @ EnergyModelsBase ~/.julia/packages/EnergyModelsBase/hrdwP/src/model.jl:513 [6] variables_elements(m::JuMP.Model, 𝒳::Vector{EnergyModelsBase.Node}, 𝒳ᵛᵉᶜ::Vector{Vector}, 𝒯::TwoLevel{Int64, Int64, SimpleTimes{Int64}}, modeltype::OperationalModel) @ EnergyModelsBase ~/.julia/packages/EnergyModelsBase/hrdwP/src/model.jl:429 [7] create_model(case::Case, modeltype::OperationalModel, m::JuMP.Model; check_timeprofiles::Bool, check_any_data::Bool) @ EnergyModelsBase ~/.julia/packages/EnergyModelsBase/hrdwP/src/model.jl:67 [8] run_model(case::Case, model::OperationalModel, optimizer::MathOptInterface.OptimizerWithAttributes; check_timeprofiles::Bool) @ EnergyModelsBase ~/.julia/packages/EnergyModelsBase/hrdwP/src/utils.jl:11 [9] run_model(case::Case, model::OperationalModel, optimizer::MathOptInterface.OptimizerWithAttributes) @ EnergyModelsBase ~/.julia/packages/EnergyModelsBase/hrdwP/src/utils.jl:8 [inlined] [10] test_case(n::RefStorage{CyclicStrategic}, 𝒯::TwoLevel{Int64, Int64, SimpleTimes{Int64}}, warn_log::@NamedTuple{inputs::Bool, outputs::Bool, data::Bool, level::Bool, stor_res::Bool}; co2::ResourceEmit{Float64}) @ EnergyModelsCompliance ~/.julia/packages/EnergyModelsCompliance/D0K80/src/mwe_case.jl:243 [11] top-level scope @ ~/.julia/packages/EnergyModelsCompliance/D0K80/test/test_emb_mwe.jl:70 [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [13] macro expansion @ ~/.julia/packages/EnergyModelsCompliance/D0K80/test/test_emb_mwe.jl:86 [inlined] Sink nodes: Error During Test at /home/pkgeval/.julia/packages/EnergyModelsCompliance/D0K80/test/test_emb_mwe.jl:90 Got exception outside of a @test An object of name `:sink_surplus` is already registered in this model. Consider instead using the anonymous construction syntax, for example, `x = @variable(model, [1:N], ...)` where the name of the object does not appear inside the macro. Alternatively, use `unregister(model, :sink_surplus)` to first unregister the existing name from the model. Note that this will not delete the object from the model; it will just remove the reference at `model[:sink_surplus]`. Stacktrace: [1] variables_elements(m::JuMP.Model, 𝒳::Vector{EnergyModelsBase.Node}, 𝒳ᵛᵉᶜ::Vector{Vector}, 𝒯::TwoLevel{Int64, Int64, SimpleTimes{Int64}}, modeltype::OperationalModel) @ EnergyModelsBase ~/.julia/packages/EnergyModelsBase/hrdwP/src/model.jl:442 [2] create_model(case::Case, modeltype::OperationalModel, m::JuMP.Model; check_timeprofiles::Bool, check_any_data::Bool) @ EnergyModelsBase ~/.julia/packages/EnergyModelsBase/hrdwP/src/model.jl:67 [3] run_model(case::Case, model::OperationalModel, optimizer::MathOptInterface.OptimizerWithAttributes; check_timeprofiles::Bool) @ EnergyModelsBase ~/.julia/packages/EnergyModelsBase/hrdwP/src/utils.jl:11 [4] run_model(case::Case, model::OperationalModel, optimizer::MathOptInterface.OptimizerWithAttributes) @ EnergyModelsBase ~/.julia/packages/EnergyModelsBase/hrdwP/src/utils.jl:8 [inlined] [5] test_case(n::RefSink, 𝒯::TwoLevel{Int64, Int64, SimpleTimes{Int64}}, warn_log::@NamedTuple{capacity::Bool, opex_var::Bool, opex_fixed::Bool, inputs::Bool, outputs::Bool, data::Bool}; co2::ResourceEmit{Float64}) @ EnergyModelsCompliance ~/.julia/packages/EnergyModelsCompliance/D0K80/src/mwe_case.jl:301 [6] top-level scope @ ~/.julia/packages/EnergyModelsCompliance/D0K80/test/test_emb_mwe.jl:91 [7] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [8] macro expansion @ ~/.julia/packages/EnergyModelsCompliance/D0K80/test/test_emb_mwe.jl:102 [inlined] caused by: An object of name `:sink_surplus` is already registered in this model. Consider instead using the anonymous construction syntax, for example, `x = @variable(model, [1:N], ...)` where the name of the object does not appear inside the macro. Alternatively, use `unregister(model, :sink_surplus)` to first unregister the existing name from the model. Note that this will not delete the object from the model; it will just remove the reference at `model[:sink_surplus]`. Stacktrace: [1] error(s::String) @ Base error.jl:56 [2] _error_if_cannot_register(model::JuMP.Model, name::Symbol) @ JuMP ~/.julia/packages/JuMP/R9AEA/src/macros.jl:456 [inlined] [3] macro expansion @ ~/.julia/packages/JuMP/R9AEA/src/macros.jl:423 [inlined] [4] variables_node(m::JuMP.Model, 𝒩ˢⁱⁿᵏ::Vector{RefSink}, 𝒯::TwoLevel{Int64, Int64, SimpleTimes{Int64}}, modeltype::OperationalModel) @ EnergyModelsBase ~/.julia/packages/EnergyModelsBase/hrdwP/src/model.jl:555 [5] variables_element(m::JuMP.Model, 𝒩ˢᵘᵇ::Vector{RefSink}, 𝒯::TwoLevel{Int64, Int64, SimpleTimes{Int64}}, modeltype::OperationalModel) @ EnergyModelsBase ~/.julia/packages/EnergyModelsBase/hrdwP/src/model.jl:513 [6] variables_elements(m::JuMP.Model, 𝒳::Vector{EnergyModelsBase.Node}, 𝒳ᵛᵉᶜ::Vector{Vector}, 𝒯::TwoLevel{Int64, Int64, SimpleTimes{Int64}}, modeltype::OperationalModel) @ EnergyModelsBase ~/.julia/packages/EnergyModelsBase/hrdwP/src/model.jl:429 [7] create_model(case::Case, modeltype::OperationalModel, m::JuMP.Model; check_timeprofiles::Bool, check_any_data::Bool) @ EnergyModelsBase ~/.julia/packages/EnergyModelsBase/hrdwP/src/model.jl:67 [8] run_model(case::Case, model::OperationalModel, optimizer::MathOptInterface.OptimizerWithAttributes; check_timeprofiles::Bool) @ EnergyModelsBase ~/.julia/packages/EnergyModelsBase/hrdwP/src/utils.jl:11 [9] run_model(case::Case, model::OperationalModel, optimizer::MathOptInterface.OptimizerWithAttributes) @ EnergyModelsBase ~/.julia/packages/EnergyModelsBase/hrdwP/src/utils.jl:8 [inlined] [10] test_case(n::RefSink, 𝒯::TwoLevel{Int64, Int64, SimpleTimes{Int64}}, warn_log::@NamedTuple{capacity::Bool, opex_var::Bool, opex_fixed::Bool, inputs::Bool, outputs::Bool, data::Bool}; co2::ResourceEmit{Float64}) @ EnergyModelsCompliance ~/.julia/packages/EnergyModelsCompliance/D0K80/src/mwe_case.jl:301 [11] top-level scope @ ~/.julia/packages/EnergyModelsCompliance/D0K80/test/test_emb_mwe.jl:91 [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [13] macro expansion @ ~/.julia/packages/EnergyModelsCompliance/D0K80/test/test_emb_mwe.jl:102 [inlined] Unidirectional modes: Error During Test at /home/pkgeval/.julia/packages/EnergyModelsCompliance/D0K80/test/test_emg_mwe.jl:7 Got exception outside of a @test An object of name `:sink_surplus` is already registered in this model. Consider instead using the anonymous construction syntax, for example, `x = @variable(model, [1:N], ...)` where the name of the object does not appear inside the macro. Alternatively, use `unregister(model, :sink_surplus)` to first unregister the existing name from the model. Note that this will not delete the object from the model; it will just remove the reference at `model[:sink_surplus]`. Stacktrace: [1] variables_elements(m::JuMP.Model, 𝒳::Vector{EnergyModelsBase.Node}, 𝒳ᵛᵉᶜ::Vector{Vector}, 𝒯::TwoLevel{Int64, Int64, SimpleTimes{Int64}}, modeltype::OperationalModel) @ EnergyModelsBase ~/.julia/packages/EnergyModelsBase/hrdwP/src/model.jl:442 [2] create_model(case::Case, modeltype::OperationalModel, m::JuMP.Model; check_timeprofiles::Bool, check_any_data::Bool) @ EnergyModelsBase ~/.julia/packages/EnergyModelsBase/hrdwP/src/model.jl:67 [3] run_model(case::Case, model::OperationalModel, optimizer::MathOptInterface.OptimizerWithAttributes; check_timeprofiles::Bool) @ EnergyModelsBase ~/.julia/packages/EnergyModelsBase/hrdwP/src/utils.jl:11 [4] run_model(case::Case, model::OperationalModel, optimizer::MathOptInterface.OptimizerWithAttributes) @ EnergyModelsBase ~/.julia/packages/EnergyModelsBase/hrdwP/src/utils.jl:8 [inlined] [5] test_case(tm::PipeLinepackSimple, 𝒯::TwoLevel{Int64, Int64, SimpleTimes{Int64}}, warn_log::@NamedTuple{capacity::Bool, opex_var::Bool, opex_fixed::Bool, inputs::Bool, outputs::Bool, loss::Bool, consumption_rate::Bool, data::Bool}; co2::ResourceEmit{Float64}) @ EMGExt ~/.julia/packages/EnergyModelsCompliance/D0K80/ext/EMGExt/mwe_case.jl:143 [6] top-level scope @ ~/.julia/packages/EnergyModelsCompliance/D0K80/test/test_emg_mwe.jl:8 [7] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [8] macro expansion @ ~/.julia/packages/EnergyModelsCompliance/D0K80/test/test_emg_mwe.jl:24 [inlined] caused by: An object of name `:sink_surplus` is already registered in this model. Consider instead using the anonymous construction syntax, for example, `x = @variable(model, [1:N], ...)` where the name of the object does not appear inside the macro. Alternatively, use `unregister(model, :sink_surplus)` to first unregister the existing name from the model. Note that this will not delete the object from the model; it will just remove the reference at `model[:sink_surplus]`. Stacktrace: [1] error(s::String) @ Base error.jl:56 [2] _error_if_cannot_register(model::JuMP.Model, name::Symbol) @ JuMP ~/.julia/packages/JuMP/R9AEA/src/macros.jl:456 [inlined] [3] macro expansion @ ~/.julia/packages/JuMP/R9AEA/src/macros.jl:423 [inlined] [4] variables_node(m::JuMP.Model, 𝒩ˢⁱⁿᵏ::Vector{RefSink}, 𝒯::TwoLevel{Int64, Int64, SimpleTimes{Int64}}, modeltype::OperationalModel) @ EnergyModelsBase ~/.julia/packages/EnergyModelsBase/hrdwP/src/model.jl:555 [5] variables_element(m::JuMP.Model, 𝒩ˢᵘᵇ::Vector{RefSink}, 𝒯::TwoLevel{Int64, Int64, SimpleTimes{Int64}}, modeltype::OperationalModel) @ EnergyModelsBase ~/.julia/packages/EnergyModelsBase/hrdwP/src/model.jl:513 [6] variables_elements(m::JuMP.Model, 𝒳::Vector{EnergyModelsBase.Node}, 𝒳ᵛᵉᶜ::Vector{Vector}, 𝒯::TwoLevel{Int64, Int64, SimpleTimes{Int64}}, modeltype::OperationalModel) @ EnergyModelsBase ~/.julia/packages/EnergyModelsBase/hrdwP/src/model.jl:429 [7] create_model(case::Case, modeltype::OperationalModel, m::JuMP.Model; check_timeprofiles::Bool, check_any_data::Bool) @ EnergyModelsBase ~/.julia/packages/EnergyModelsBase/hrdwP/src/model.jl:67 [8] run_model(case::Case, model::OperationalModel, optimizer::MathOptInterface.OptimizerWithAttributes; check_timeprofiles::Bool) @ EnergyModelsBase ~/.julia/packages/EnergyModelsBase/hrdwP/src/utils.jl:11 [9] run_model(case::Case, model::OperationalModel, optimizer::MathOptInterface.OptimizerWithAttributes) @ EnergyModelsBase ~/.julia/packages/EnergyModelsBase/hrdwP/src/utils.jl:8 [inlined] [10] test_case(tm::PipeLinepackSimple, 𝒯::TwoLevel{Int64, Int64, SimpleTimes{Int64}}, warn_log::@NamedTuple{capacity::Bool, opex_var::Bool, opex_fixed::Bool, inputs::Bool, outputs::Bool, loss::Bool, consumption_rate::Bool, data::Bool}; co2::ResourceEmit{Float64}) @ EMGExt ~/.julia/packages/EnergyModelsCompliance/D0K80/ext/EMGExt/mwe_case.jl:143 [11] top-level scope @ ~/.julia/packages/EnergyModelsCompliance/D0K80/test/test_emg_mwe.jl:8 [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [13] macro expansion @ ~/.julia/packages/EnergyModelsCompliance/D0K80/test/test_emg_mwe.jl:24 [inlined] Bidirectional modes: Error During Test at /home/pkgeval/.julia/packages/EnergyModelsCompliance/D0K80/test/test_emg_mwe.jl:33 Got exception outside of a @test An object of name `:sink_surplus` is already registered in this model. Consider instead using the anonymous construction syntax, for example, `x = @variable(model, [1:N], ...)` where the name of the object does not appear inside the macro. Alternatively, use `unregister(model, :sink_surplus)` to first unregister the existing name from the model. Note that this will not delete the object from the model; it will just remove the reference at `model[:sink_surplus]`. Stacktrace: [1] variables_elements(m::JuMP.Model, 𝒳::Vector{EnergyModelsBase.Node}, 𝒳ᵛᵉᶜ::Vector{Vector}, 𝒯::TwoLevel{Int64, Int64, SimpleTimes{Int64}}, modeltype::OperationalModel) @ EnergyModelsBase ~/.julia/packages/EnergyModelsBase/hrdwP/src/model.jl:442 [2] create_model(case::Case, modeltype::OperationalModel, m::JuMP.Model; check_timeprofiles::Bool, check_any_data::Bool) @ EnergyModelsBase ~/.julia/packages/EnergyModelsBase/hrdwP/src/model.jl:67 [3] run_model(case::Case, model::OperationalModel, optimizer::MathOptInterface.OptimizerWithAttributes; check_timeprofiles::Bool) @ EnergyModelsBase ~/.julia/packages/EnergyModelsBase/hrdwP/src/utils.jl:11 [4] run_model(case::Case, model::OperationalModel, optimizer::MathOptInterface.OptimizerWithAttributes) @ EnergyModelsBase ~/.julia/packages/EnergyModelsBase/hrdwP/src/utils.jl:8 [inlined] [5] test_case(tm::RefDynamic, 𝒯::TwoLevel{Int64, Int64, SimpleTimes{Int64}}, warn_log::@NamedTuple{capacity::Bool, opex_var::Bool, opex_fixed::Bool, inputs::Bool, outputs::Bool, loss::Bool, consumption_rate::Bool, data::Bool}; co2::ResourceEmit{Float64}) @ EMGExt ~/.julia/packages/EnergyModelsCompliance/D0K80/ext/EMGExt/mwe_case.jl:143 [6] top-level scope @ ~/.julia/packages/EnergyModelsCompliance/D0K80/test/test_emg_mwe.jl:34 [7] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [8] macro expansion @ ~/.julia/packages/EnergyModelsCompliance/D0K80/test/test_emg_mwe.jl:47 [inlined] caused by: An object of name `:sink_surplus` is already registered in this model. Consider instead using the anonymous construction syntax, for example, `x = @variable(model, [1:N], ...)` where the name of the object does not appear inside the macro. Alternatively, use `unregister(model, :sink_surplus)` to first unregister the existing name from the model. Note that this will not delete the object from the model; it will just remove the reference at `model[:sink_surplus]`. Stacktrace: [1] error(s::String) @ Base error.jl:56 [2] _error_if_cannot_register(model::JuMP.Model, name::Symbol) @ JuMP ~/.julia/packages/JuMP/R9AEA/src/macros.jl:456 [inlined] [3] macro expansion @ ~/.julia/packages/JuMP/R9AEA/src/macros.jl:423 [inlined] [4] variables_node(m::JuMP.Model, 𝒩ˢⁱⁿᵏ::Vector{RefSink}, 𝒯::TwoLevel{Int64, Int64, SimpleTimes{Int64}}, modeltype::OperationalModel) @ EnergyModelsBase ~/.julia/packages/EnergyModelsBase/hrdwP/src/model.jl:555 [5] variables_element(m::JuMP.Model, 𝒩ˢᵘᵇ::Vector{RefSink}, 𝒯::TwoLevel{Int64, Int64, SimpleTimes{Int64}}, modeltype::OperationalModel) @ EnergyModelsBase ~/.julia/packages/EnergyModelsBase/hrdwP/src/model.jl:513 [6] variables_elements(m::JuMP.Model, 𝒳::Vector{EnergyModelsBase.Node}, 𝒳ᵛᵉᶜ::Vector{Vector}, 𝒯::TwoLevel{Int64, Int64, SimpleTimes{Int64}}, modeltype::OperationalModel) @ EnergyModelsBase ~/.julia/packages/EnergyModelsBase/hrdwP/src/model.jl:429 [7] create_model(case::Case, modeltype::OperationalModel, m::JuMP.Model; check_timeprofiles::Bool, check_any_data::Bool) @ EnergyModelsBase ~/.julia/packages/EnergyModelsBase/hrdwP/src/model.jl:67 [8] run_model(case::Case, model::OperationalModel, optimizer::MathOptInterface.OptimizerWithAttributes; check_timeprofiles::Bool) @ EnergyModelsBase ~/.julia/packages/EnergyModelsBase/hrdwP/src/utils.jl:11 [9] run_model(case::Case, model::OperationalModel, optimizer::MathOptInterface.OptimizerWithAttributes) @ EnergyModelsBase ~/.julia/packages/EnergyModelsBase/hrdwP/src/utils.jl:8 [inlined] [10] test_case(tm::RefDynamic, 𝒯::TwoLevel{Int64, Int64, SimpleTimes{Int64}}, warn_log::@NamedTuple{capacity::Bool, opex_var::Bool, opex_fixed::Bool, inputs::Bool, outputs::Bool, loss::Bool, consumption_rate::Bool, data::Bool}; co2::ResourceEmit{Float64}) @ EMGExt ~/.julia/packages/EnergyModelsCompliance/D0K80/ext/EMGExt/mwe_case.jl:143 [11] top-level scope @ ~/.julia/packages/EnergyModelsCompliance/D0K80/test/test_emg_mwe.jl:34 [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [13] macro expansion @ ~/.julia/packages/EnergyModelsCompliance/D0K80/test/test_emg_mwe.jl:47 [inlined] Activating project at `~/.julia/packages/EnergyModelsCompliance/D0K80/examples` Resolving package versions... Example electrolyser_example.jl: Error During Test at /home/pkgeval/.julia/packages/EnergyModelsCompliance/D0K80/test/test_examples.jl:5 Got exception outside of a @test LoadError: SystemError: opening file "/home/pkgeval/.julia/packages/EnergyModelsCompliance/D0K80/examples/Project.toml": Permission denied Stacktrace: [1] systemerror(p::String, errno::Int32; extrainfo::Nothing) @ Base error.jl:188 [2] open(fname::String; lock::Bool, read::Nothing, write::Nothing, create::Nothing, truncate::Bool, append::Nothing) @ Base iostream.jl:327 [3] open(fname::String, mode::String; lock::Bool) @ Base iostream.jl:390 [4] open(fname::String, mode::String) @ Base iostream.jl:389 [inlined] [5] open(::Base.var"#write##0#write##1"{String, Tuple{}}, ::String, ::String; kwargs::@Kwargs{}) @ Base io.jl:436 [inlined] [6] open(::Base.var"#write##0#write##1"{String, Tuple{}}, ::String, ::String) @ Base io.jl:435 [inlined] [7] write(::String, ::String) @ Base io.jl:517 [8] write_project(project::Dict{String, Any}, project_file::String) @ Pkg.Types /opt/julia/share/julia/stdlib/v1.14/Pkg/src/project.jl:356 [9] write_project(project::Pkg.Types.Project, project_file::String) @ Pkg.Types /opt/julia/share/julia/stdlib/v1.14/Pkg/src/project.jl:337 [inlined] [10] write_project(env::Pkg.Types.EnvCache, skip_readonly_check::Bool) @ Pkg.Types /opt/julia/share/julia/stdlib/v1.14/Pkg/src/project.jl:335 [inlined] [11] write_env(env::Pkg.Types.EnvCache; update_undo::Bool, skip_writing_project::Bool, skip_readonly_check::Bool) @ Pkg.Types /opt/julia/share/julia/stdlib/v1.14/Pkg/src/Types.jl:1435 [12] write_env(env::Pkg.Types.EnvCache) @ Pkg.Types /opt/julia/share/julia/stdlib/v1.14/Pkg/src/Types.jl:1394 [inlined] [13] develop(ctx::Pkg.Types.Context, pkgs::Vector{PackageSpec}, new_git::Set{Base.UUID}; preserve::PreserveLevel, platform::Base.BinaryPlatforms.Platform) @ Pkg.Operations /opt/julia/share/julia/stdlib/v1.14/Pkg/src/Operations.jl:2474 [14] develop(ctx::Pkg.Types.Context, pkgs::Vector{PackageSpec}; shared::Bool, preserve::PreserveLevel, platform::Base.BinaryPlatforms.Platform, kwargs::@Kwargs{io::IOContext{IO}}) @ Pkg.API /opt/julia/share/julia/stdlib/v1.14/Pkg/src/API.jl:317 [15] develop(pkgs::Vector{PackageSpec}; io::IOContext{IO}, kwargs::@Kwargs{}) @ Pkg.API /opt/julia/share/julia/stdlib/v1.14/Pkg/src/API.jl:172 [16] develop(pkgs::Vector{PackageSpec}) @ Pkg.API /opt/julia/share/julia/stdlib/v1.14/Pkg/src/API.jl:161 [17] __safe_setindex!(A::Vector{PackageSpec}, x::PackageSpec, i::Int64) @ Base array.jl:1072 [inlined] [18] vect(X::PackageSpec) @ Base array.jl:163 [inlined] [19] develop(pkg::PackageSpec; kwargs::@Kwargs{}) @ Pkg.API /opt/julia/share/julia/stdlib/v1.14/Pkg/src/API.jl:159 [inlined] [20] develop(; name::Nothing, uuid::Nothing, version::Nothing, url::Nothing, rev::Nothing, path::String, mode::PackageMode, subdir::Nothing, kwargs::@Kwargs{}) @ Pkg.API /opt/julia/share/julia/stdlib/v1.14/Pkg/src/API.jl:191 [21] top-level scope @ ~/.julia/packages/EnergyModelsCompliance/D0K80/examples/electrolyser_example.jl:5 [22] include(mapexpr::Function, mod::Module, _path::String) @ Base Base.jl:330 [23] (::var"#125#126"{String, String})() @ Main ~/.julia/packages/EnergyModelsCompliance/D0K80/test/test_examples.jl:7 [inlined] [24] redirect_stdio(f::var"#125#126"{String, String}; stdin::Nothing, stderr::Nothing, stdout::Base.DevNull) @ Base stream.jl:1470 [25] top-level scope @ ~/.julia/packages/EnergyModelsCompliance/D0K80/test/test_examples.jl:2 [26] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [27] macro expansion @ ~/.julia/packages/EnergyModelsCompliance/D0K80/test/test_examples.jl:6 [inlined] [28] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [29] macro expansion @ ~/.julia/packages/EnergyModelsCompliance/D0K80/test/test_examples.jl:6 [inlined] in expression starting at /home/pkgeval/.julia/packages/EnergyModelsCompliance/D0K80/examples/electrolyser_example.jl:5 Activating project at `~/.julia/packages/EnergyModelsCompliance/D0K80/examples` Resolving package versions... Example linepack_example.jl: Error During Test at /home/pkgeval/.julia/packages/EnergyModelsCompliance/D0K80/test/test_examples.jl:5 Got exception outside of a @test LoadError: SystemError: opening file "/home/pkgeval/.julia/packages/EnergyModelsCompliance/D0K80/examples/Project.toml": Permission denied Stacktrace: [1] systemerror(p::String, errno::Int32; extrainfo::Nothing) @ Base error.jl:188 [2] open(fname::String; lock::Bool, read::Nothing, write::Nothing, create::Nothing, truncate::Bool, append::Nothing) @ Base iostream.jl:327 [3] open(fname::String, mode::String; lock::Bool) @ Base iostream.jl:390 [4] open(fname::String, mode::String) @ Base iostream.jl:389 [inlined] [5] open(::Base.var"#write##0#write##1"{String, Tuple{}}, ::String, ::String; kwargs::@Kwargs{}) @ Base io.jl:436 [inlined] [6] open(::Base.var"#write##0#write##1"{String, Tuple{}}, ::String, ::String) @ Base io.jl:435 [inlined] [7] write(::String, ::String) @ Base io.jl:517 [8] write_project(project::Dict{String, Any}, project_file::String) @ Pkg.Types /opt/julia/share/julia/stdlib/v1.14/Pkg/src/project.jl:356 [9] write_project(project::Pkg.Types.Project, project_file::String) @ Pkg.Types /opt/julia/share/julia/stdlib/v1.14/Pkg/src/project.jl:337 [inlined] [10] write_project(env::Pkg.Types.EnvCache, skip_readonly_check::Bool) @ Pkg.Types /opt/julia/share/julia/stdlib/v1.14/Pkg/src/project.jl:335 [inlined] [11] write_env(env::Pkg.Types.EnvCache; update_undo::Bool, skip_writing_project::Bool, skip_readonly_check::Bool) @ Pkg.Types /opt/julia/share/julia/stdlib/v1.14/Pkg/src/Types.jl:1435 [12] write_env(env::Pkg.Types.EnvCache) @ Pkg.Types /opt/julia/share/julia/stdlib/v1.14/Pkg/src/Types.jl:1394 [inlined] [13] develop(ctx::Pkg.Types.Context, pkgs::Vector{PackageSpec}, new_git::Set{Base.UUID}; preserve::PreserveLevel, platform::Base.BinaryPlatforms.Platform) @ Pkg.Operations /opt/julia/share/julia/stdlib/v1.14/Pkg/src/Operations.jl:2474 [14] develop(ctx::Pkg.Types.Context, pkgs::Vector{PackageSpec}; shared::Bool, preserve::PreserveLevel, platform::Base.BinaryPlatforms.Platform, kwargs::@Kwargs{io::IOContext{IO}}) @ Pkg.API /opt/julia/share/julia/stdlib/v1.14/Pkg/src/API.jl:317 [15] develop(pkgs::Vector{PackageSpec}; io::IOContext{IO}, kwargs::@Kwargs{}) @ Pkg.API /opt/julia/share/julia/stdlib/v1.14/Pkg/src/API.jl:172 [16] develop(pkgs::Vector{PackageSpec}) @ Pkg.API /opt/julia/share/julia/stdlib/v1.14/Pkg/src/API.jl:161 [17] __safe_setindex!(A::Vector{PackageSpec}, x::PackageSpec, i::Int64) @ Base array.jl:1072 [inlined] [18] vect(X::PackageSpec) @ Base array.jl:163 [inlined] [19] develop(pkg::PackageSpec; kwargs::@Kwargs{}) @ Pkg.API /opt/julia/share/julia/stdlib/v1.14/Pkg/src/API.jl:159 [inlined] [20] develop(; name::Nothing, uuid::Nothing, version::Nothing, url::Nothing, rev::Nothing, path::String, mode::PackageMode, subdir::Nothing, kwargs::@Kwargs{}) @ Pkg.API /opt/julia/share/julia/stdlib/v1.14/Pkg/src/API.jl:191 [21] top-level scope @ ~/.julia/packages/EnergyModelsCompliance/D0K80/examples/linepack_example.jl:5 [22] include(mapexpr::Function, mod::Module, _path::String) @ Base Base.jl:330 [23] (::var"#125#126"{String, String})() @ Main ~/.julia/packages/EnergyModelsCompliance/D0K80/test/test_examples.jl:7 [inlined] [24] redirect_stdio(f::var"#125#126"{String, String}; stdin::Nothing, stderr::Nothing, stdout::Base.DevNull) @ Base stream.jl:1470 [25] top-level scope @ ~/.julia/packages/EnergyModelsCompliance/D0K80/test/test_examples.jl:2 [26] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [27] macro expansion @ ~/.julia/packages/EnergyModelsCompliance/D0K80/test/test_examples.jl:6 [inlined] [28] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [29] macro expansion @ ~/.julia/packages/EnergyModelsCompliance/D0K80/test/test_examples.jl:6 [inlined] in expression starting at /home/pkgeval/.julia/packages/EnergyModelsCompliance/D0K80/examples/linepack_example.jl:5 Activating project at `~/.julia/packages/EnergyModelsCompliance/D0K80/test` Test Summary: | Pass Error Total Time Compliance | 103 8 111 3m11.5s Compliance - EMB access functions | 41 41 9.9s Compliance - EMB elements | 17 17 1.5s Compliance - EMB test cases | 4 4 1m24.8s Source nodes | 1 1 56.0s NetworkNode nodes | 1 1 15.9s Storage nodes | 1 1 10.4s Sink nodes | 1 1 2.3s Compliance - EMG access functions | 35 35 2.3s Compliance - EMG elements | 10 10 1.1s Compliance - EMG test cases | 2 2 21.5s Unidirectional modes | 1 1 14.6s Bidirectional modes | 1 1 6.9s Compliance | examples | 2 2 1m09.7s Run examples | 2 2 1m09.5s Example electrolyser_example.jl | 1 1 1m05.8s Example linepack_example.jl | 1 1 3.6s RNG of the outermost testset: Random.Xoshiro(0xb33d32424878475e, 0xec98a92a07a1de83, 0x70c6d7bb9459b85d, 0xcf89788b69e570b4, 0x59abb03a2a6491a4) ERROR: LoadError: Some tests did not pass: 103 passed, 0 failed, 8 errored, 0 broken. in expression starting at /home/pkgeval/.julia/packages/EnergyModelsCompliance/D0K80/test/runtests.jl:18 Testing failed after 224.06s ERROR: LoadError: Package EnergyModelsCompliance errored during testing Stacktrace: [1] pkgerror(msg::String) @ Pkg.Types /opt/julia/share/julia/stdlib/v1.14/Pkg/src/Types.jl:68 [2] test(ctx::Pkg.Types.Context, pkgs::Vector{PackageSpec}; coverage::Bool, julia_args::Cmd, test_args::Cmd, test_fn::Nothing, force_latest_compatible_version::Bool, allow_earlier_backwards_compatible_versions::Bool, allow_reresolve::Bool) @ Pkg.Operations /opt/julia/share/julia/stdlib/v1.14/Pkg/src/Operations.jl:3247 [3] test(ctx::Pkg.Types.Context, pkgs::Vector{PackageSpec}; coverage::Bool, test_fn::Nothing, julia_args::Cmd, test_args::Cmd, force_latest_compatible_version::Bool, allow_earlier_backwards_compatible_versions::Bool, allow_reresolve::Bool, kwargs::@Kwargs{io::IOContext{IO}}) @ Pkg.API /opt/julia/share/julia/stdlib/v1.14/Pkg/src/API.jl:587 [4] test(pkgs::Vector{PackageSpec}; io::IOContext{IO}, kwargs::@Kwargs{julia_args::Cmd}) @ Pkg.API /opt/julia/share/julia/stdlib/v1.14/Pkg/src/API.jl:172 [5] test(pkgs::Vector{String}; kwargs::@Kwargs{julia_args::Cmd}) @ Pkg.API /opt/julia/share/julia/stdlib/v1.14/Pkg/src/API.jl:160 [6] test(pkg::String; kwargs::@Kwargs{julia_args::Cmd}) @ Pkg.API /opt/julia/share/julia/stdlib/v1.14/Pkg/src/API.jl:159 [inlined] [7] top-level scope @ /PkgEval.jl/scripts/evaluate.jl:223 in expression starting at /PkgEval.jl/scripts/evaluate.jl:214 PkgEval failed after 374.79s: package tests unexpectedly errored