Skip to content

Console Output

+ cmake --build build_cmake --parallel 16 --target rust_wasm_runtime
[  0%] Rust: syncing hand-written sources -> per-build working copy
[  0%] Built target rust_src_sync
[100%] Rust: building + optimising the wasm-jit runtime -> /var/lib/jenkins/ws/OpenModelica/runtime.wasm
    Updating crates.io index
     Locking 47 packages to latest Rust 1.98.0-nightly compatible versions
      Adding ahash v0.8.12
      Adding android_system_properties v0.1.6
      Adding arrow-array v59.3.0
      Adding arrow-buffer v59.3.0
      Adding arrow-data v59.3.0
      Adding arrow-ipc v59.3.0
      Adding arrow-schema v59.3.0
      Adding arrow-select v59.3.0
      Adding bumpalo v3.20.3
      Adding bytes v1.12.1
      Adding chrono v0.4.45
      Adding const-random v0.1.18
      Adding const-random-macro v0.1.16
      Adding core-foundation-sys v0.8.7
      Adding flatbuffers v25.12.19
      Adding futures-core v0.3.34
      Adding futures-task v0.3.34
      Adding futures-util v0.3.34
      Adding getrandom v0.2.17
      Adding getrandom v0.3.4
      Adding hashbrown v0.17.1
      Adding iana-time-zone v0.1.65
      Adding iana-time-zone-haiku v0.1.2
      Adding js-sys v0.3.105
      Adding log v0.4.34
      Adding num-bigint v0.5.1
      Adding num-integer v0.1.47
      Adding openmodelica_arrow_writer v0.1.0 (/tmp/omc-rust/rust-src/SimulationRuntime/rust/openmodelica_arrow_writer)
      Adding pin-project-lite v0.2.17
      Adding r-efi v5.3.0
      Adding rustc_version v0.4.1
      Adding rustversion v1.0.23
      Adding semver v1.0.28
      Adding slab v0.4.12
      Adding tiny-keccak v2.0.2
      Adding wasi v0.11.1+wasi-snapshot-preview1
      Adding wasip2 v1.0.4+wasi-0.2.12
      Adding wasm-bindgen v0.2.128
      Adding wasm-bindgen-macro v0.2.128
      Adding wasm-bindgen-macro-support v0.2.128
      Adding wasm-bindgen-shared v0.2.128
      Adding windows-core v0.62.2
      Adding windows-implement v0.60.2
      Adding windows-interface v0.59.3
      Adding windows-result v0.4.1
      Adding windows-strings v0.5.1
      Adding wit-bindgen v0.57.1
   Compiling libm v0.2.16
   Compiling autocfg v1.5.1
   Compiling bytemuck v1.25.2
   Compiling version_check v0.9.5
   Compiling cfg-if v1.0.4
   Compiling proc-macro2 v1.0.107
   Compiling unicode-ident v1.0.24
   Compiling quote v1.0.47
   Compiling nano-gemm-codegen v0.2.1
   Compiling once_cell v1.21.4
   Compiling bitflags v2.13.1
   Compiling paste v1.0.15
   Compiling pulp-wasm-simd-flag v0.1.1
   Compiling reborrow v0.5.5
   Compiling dyn-stack-macros v0.1.3
   Compiling zerocopy v0.8.56
   Compiling crunchy v0.2.4
   Compiling libc v0.2.186
   Compiling tiny-keccak v2.0.2
   Compiling shlex v2.0.1
   Compiling pulp v0.22.3
   Compiling raw-cpuid v11.6.0
   Compiling find-msvc-tools v0.1.9
   Compiling num-traits v0.2.19
   Compiling seq-macro v0.3.6
   Compiling nano-gemm-core v0.2.1
   Compiling cc v1.2.65
   Compiling ahash v0.8.12
   Compiling semver v1.0.28
   Compiling dyn-stack v0.13.2
   Compiling bytes v1.12.1
   Compiling nano-gemm-c64 v0.2.1
   Compiling nano-gemm-f64 v0.2.1
   Compiling rustc_version v0.4.1
   Compiling nano-gemm-f32 v0.2.1
   Compiling nano-gemm-c32 v0.2.1
   Compiling arrow-schema v59.3.0
   Compiling daskr v0.1.0 (/tmp/omc-rust/rust-src/SimulationRuntime/rust/daskr)
   Compiling hashbrown v0.17.1
   Compiling flatbuffers v25.12.19
   Compiling generativity v1.2.1
   Compiling openmodelica_solvers v0.1.0 (/tmp/omc-rust/rust-src/SimulationRuntime/rust/openmodelica_solvers)
   Compiling equator-macro v0.6.0
   Compiling openmodelica_nls v0.1.0 (/tmp/omc-rust/rust-src/SimulationRuntime/rust/openmodelica_nls)
   Compiling openmodelica_sim_meta v0.1.0 (/tmp/omc-rust/rust-src/SimulationRuntime/rust/openmodelica_sim_meta)
   Compiling openmodelica_codegen_wasm_jit_runtime v0.1.0 (/tmp/omc-rust/rust-src/Compiler/OpenModelica.rs/openmodelica_codegen_wasm_jit_runtime)
   Compiling minpack v0.1.0 (/tmp/omc-rust/rust-src/SimulationRuntime/rust/minpack)
   Compiling syn v2.0.119
   Compiling openmodelica_plt_writer v0.1.0 (/tmp/omc-rust/rust-src/SimulationRuntime/rust/openmodelica_plt_writer)
   Compiling openmodelica_mat_writer v0.1.0 (/tmp/omc-rust/rust-src/SimulationRuntime/rust/openmodelica_mat_writer)
warning: value assigned to `info` is never read
   --> /tmp/omc-rust/rust-src/SimulationRuntime/rust/minpack/src/lib.rs:567:20
    |
567 |     let mut info = Status::Stalled;
    |                    ^^^^^^^^^^^^^^^ this value is reassigned later and never used
...
749 |                 info = Status::Stalled;
    |                 ---------------------- `info` is overwritten here before the previous value is read
    |
    = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default

warning: `minpack` (lib) generated 1 warning
   Compiling dlmalloc v0.2.14
   Compiling equator v0.6.0
   Compiling num-complex v0.4.6
   Compiling num-integer v0.1.47
   Compiling chrono v0.4.45
   Compiling getrandom v0.2.17
   Compiling num-bigint v0.5.1
   Compiling const-random-macro v0.1.16
warning: unused import: `linsol::color_columns`
  --> /tmp/omc-rust/rust-src/SimulationRuntime/rust/openmodelica_solvers/src/gbode/mod.rs:36:16
   |
36 | pub(crate) use linsol::color_columns;
   |                ^^^^^^^^^^^^^^^^^^^^^
   |
   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default

warning: `openmodelica_solvers` (lib) generated 1 warning (run `cargo fix --lib -p openmodelica_solvers` to apply 1 suggestion)
   Compiling zerocopy-derive v0.8.56
   Compiling equator-macro v0.2.1
   Compiling const-random v0.1.18
   Compiling gemm-common v0.19.0
   Compiling qd v0.8.0
   Compiling equator v0.2.2
   Compiling faer-traits v0.24.0
   Compiling gemm-f64 v0.19.0
   Compiling gemm-c64 v0.19.0
   Compiling gemm-f32 v0.19.0
   Compiling gemm-c32 v0.19.0
   Compiling gemm v0.19.0
   Compiling nano-gemm v0.2.2
   Compiling faer v0.24.4
   Compiling half v2.7.1
   Compiling arrow-buffer v59.3.0
   Compiling openmodelica_lapack v0.1.0 (/tmp/omc-rust/rust-src/Compiler/OpenModelica.rs/openmodelica_lapack)
   Compiling arrow-data v59.3.0
   Compiling arrow-array v59.3.0
   Compiling arrow-select v59.3.0
   Compiling arrow-ipc v59.3.0
   Compiling openmodelica_arrow_writer v0.1.0 (/tmp/omc-rust/rust-src/SimulationRuntime/rust/openmodelica_arrow_writer)
warning: unused import: `alloc::vec::Vec`
    --> /tmp/omc-rust/rust-src/SimulationRuntime/rust/openmodelica_sim_meta/src/driver.rs:1531:9
     |
1531 |     use alloc::vec::Vec;
     |         ^^^^^^^^^^^^^^^
     |
     = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default

warning: variable does not need to be mutable
    --> /tmp/omc-rust/rust-src/SimulationRuntime/rust/openmodelica_sim_meta/src/driver.rs:2756:9
     |
2756 |     let mut group = |header: &str, lines: alloc::vec::Vec<String>| {
     |         ----^^^^^
     |         |
     |         help: remove this `mut`
     |
     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default

warning: unused variable: `model`
    --> /tmp/omc-rust/rust-src/SimulationRuntime/rust/openmodelica_sim_meta/src/driver.rs:2929:26
     |
2929 |     fn header(&mut self, model: Option<&SimMeta>) {
     |                          ^^^^^ help: if this is intentional, prefix it with an underscore: `_model`
     |
     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default

warning[E0133]: call to unsafe function `driver::dassl_log_jacobian` is unsafe and requires unsafe block
    --> /tmp/omc-rust/rust-src/SimulationRuntime/rust/openmodelica_sim_meta/src/driver.rs:5712:13
     |
5712 |             dassl_log_jacobian(ctx, e, unsafe { *t }, y, yprime, base, pd, cj, h, wt)?;
     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function
     |
     = note: consult the function's documentation for information on how to avoid undefined behavior
note: an unsafe function restricts its caller, but its body is safe by default
    --> /tmp/omc-rust/rust-src/SimulationRuntime/rust/openmodelica_sim_meta/src/driver.rs:5597:1
     |
5597 | / unsafe fn dassl_jac(
5598 | |     t: *mut f64,
5599 | |     y: *mut f64,
5600 | |     yprime: *mut f64,
...    |
5607 | |     _ipar: *mut i32,
5608 | | ) {
     | |_^
     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
     = note: `#[warn(unsafe_op_in_unsafe_fn)]` (part of `#[warn(rust_2024_compatibility)]`) on by default

warning: unused variable: `atol`
    --> /tmp/omc-rust/rust-src/SimulationRuntime/rust/openmodelica_sim_meta/src/driver.rs:7624:17
     |
7624 |         let (_, atol) = dassl_tolerances(self.tol, &self.nominals);
     |                 ^^^^ help: if this is intentional, prefix it with an underscore: `_atol`

warning: unused variable: `sim_data`
    --> /tmp/omc-rust/rust-src/SimulationRuntime/rust/openmodelica_sim_meta/src/driver.rs:7873:13
     |
7873 |         let sim_data = self.sim_data;
     |             ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sim_data`

warning: variable does not need to be mutable
     --> /tmp/omc-rust/rust-src/SimulationRuntime/rust/openmodelica_sim_meta/src/driver.rs:10936:9
      |
10936 |     let mut residual = |e: &mut dyn SimEngine, u: &[f64], out: &mut [f64]| -> Result<()> {
      |         ----^^^^^^^^
      |         |
      |         help: remove this `mut`

warning: variable does not need to be mutable
    --> /tmp/omc-rust/rust-src/SimulationRuntime/rust/openmodelica_sim_meta/src/lib.rs:2406:17
     |
2406 |             let mut jac = |r: &mut Reader| -> core::result::Result<Option<ReconJac>, &'static str> {
     |                 ----^^^
     |                 |
     |                 help: remove this `mut`

warning: variable does not need to be mutable
    --> /tmp/omc-rust/rust-src/SimulationRuntime/rust/openmodelica_sim_meta/src/lib.rs:2427:9
     |
2427 |     let mut info = |r: &mut Reader| -> core::result::Result<SrcInfo, &'static str> {
     |         ----^^^^
     |         |
     |         help: remove this `mut`

warning: function `uri_to_filename` is never used
    --> /tmp/omc-rust/rust-src/SimulationRuntime/rust/openmodelica_sim_meta/src/driver.rs:1376:15
     |
1376 | pub(crate) fn uri_to_filename(uri: &str) -> alloc::string::String {
     |               ^^^^^^^^^^^^^^^
     |
     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default

warning: function `read_result_file` is never used
    --> /tmp/omc-rust/rust-src/SimulationRuntime/rust/openmodelica_sim_meta/src/driver.rs:1398:15
     |
1398 | pub(crate) fn read_result_file(
     |               ^^^^^^^^^^^^^^^^

warning: function `update_discrete_system` is never used
    --> /tmp/omc-rust/rust-src/SimulationRuntime/rust/openmodelica_sim_meta/src/driver.rs:4105:15
     |
4105 | pub(crate) fn update_discrete_system(
     |               ^^^^^^^^^^^^^^^^^^^^^^

warning: field `jac_ypsave` is never read
    --> /tmp/omc-rust/rust-src/SimulationRuntime/rust/openmodelica_sim_meta/src/driver.rs:5196:5
     |
5161 | struct ResCtx {
     |        ------ field in this struct
...
5196 |     jac_ypsave: Vec<f64>,
     |     ^^^^^^^^^^

warning: method `index_list` is never used
  --> /tmp/omc-rust/rust-src/SimulationRuntime/rust/openmodelica_sim_meta/src/parmod.rs:95:8
   |
90 | impl Cluster {
   | ------------ method in this implementation
...
95 |     fn index_list(&self) -> String {
   |        ^^^^^^^^^^

For more information about this error, try `rustc --explain E0133`.
warning: `openmodelica_sim_meta` (lib) generated 14 warnings (run `cargo fix --lib -p openmodelica_sim_meta` to apply 9 suggestions)
warning: unused variable: `x_ptr`
    --> src/lib.rs:3302:69
     |
3302 | pub extern "C" fn rt_solve_lin_dense_sparse(a_ptr: u32, b_ptr: u32, x_ptr: u32, n: u32, eq_index: i32, time: f64) -> i32 {
     |                                                                     ^^^^^ help: if this is intentional, prefix it with an underscore: `_x_ptr`
     |
     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default

warning: unused variable: `x_ptr`
    --> src/lib.rs:3388:5
     |
3388 |     x_ptr: u32,
     |     ^^^^^ help: if this is intentional, prefix it with an underscore: `_x_ptr`

warning: field `0` is never read
   --> src/lib.rs:867:20
    |
867 | struct ElemDiscard([u8; 8]);
    |        ----------- ^^^^^^^
    |        |
    |        field in this struct
    |
    = help: consider removing this field
    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default

warning: function `set_diag` is never used
   --> src/nls.rs:510:15
    |
510 | pub(crate) fn set_diag(systems: &[openmodelica_sim_meta::NlsVars]) {
    |               ^^^^^^^^

warning: function `have_kinsol` is never used
  --> src/sundials.rs:84:15
   |
84 | pub(crate) fn have_kinsol() -> bool {
   |               ^^^^^^^^^^^

warning: function `have_klu` is never used
  --> src/sundials.rs:89:15
   |
89 | pub(crate) fn have_klu() -> bool {
   |               ^^^^^^^^

warning: function `have_umfpack` is never used
  --> src/sundials.rs:94:15
   |
94 | pub(crate) fn have_umfpack() -> bool {
   |               ^^^^^^^^^^^^

warning: function `reset_caches` is never used
   --> src/sundials.rs:329:15
    |
329 | pub(crate) fn reset_caches() {
    |               ^^^^^^^^^^^^

warning: feature `asm_experimental_arch` is declared but not used
  --> src/lib.rs:39:12
   |
39 | #![feature(asm_experimental_arch)]
   |            ^^^^^^^^^^^^^^^^^^^^^
   |
   = note: `#[warn(unused_features)]` (part of `#[warn(unused)]`) on by default

warning: `openmodelica_codegen_wasm_jit_runtime` (lib) generated 9 warnings (run `cargo fix --lib -p openmodelica_codegen_wasm_jit_runtime` to apply 2 suggestions)
    Finished `release` profile [optimized] target(s) in 7.32s
[100%] Built target rust_wasm_runtime