Skip to content

Regression

omsimulator.resetWithLoops.mos (from (result.xml))

Failing for the past 1 build (Since #3809 )
Took 13 sec.

Stacktrace

Output mismatch (see stdout for details)

Standard Output

 + resetWithLoops.mos                                                                ... The process cannot access the file because it is being used by another process.
equation mismatch [time: 13]
The process cannot access the file because it is being used by another process.
The process cannot access the file because it is being used by another process.
The process cannot access the file because it is being used by another process.
The process cannot access the file because it is being used by another process.
The process cannot access the file because it is being used by another process.
The process cannot access the file because it is being used by another process.

==== Log C:\Windows\TEMP/omc-rtest-OpenModelica/omsimulator/resetWithLoops.mos_temp1358/log-resetWithLoops.mos
true
""
0
true
""
"Error: Error building simulator. Build log: cmd: cd \"Modelica_Electrical_Analog_Examples_Rectifier.fmutmp/sources/\" && mkdir build_cmake_static && cd build_cmake_static && cmake -G \"MSYS Makefiles\" -DCMAKE_BUILD_TYPE=Release -DCMAKE_C_COMPILER=\"clang\" .. && cmake --build . --parallel  --target install && cd .. && rm -rf build_cmake_static
-- The C compiler identification is Clang 17.0.6
-- Detecting C compiler ABI info
CMake Warning in C:/dev/jenkins/ws/Windows/OM_Win/testsuite/omsimulator/resetWithLoops.mos_temp1358/resetWithLoops-fmu/Modelica_Electrical_Analog_Examples_Rectifier.fmutmp/sources/build_cmake_static/CMakeFiles/CMakeScratch/TryCompile-978puf/CMakeLists.txt:
  The object file directory

    C:/dev/jenkins/ws/Windows/OM_Win/testsuite/omsimulator/resetWithLoops.mos_temp1358/resetWithLoops-fmu/Modelica_Electrical_Analog_Examples_Rectifier.fmutmp/sources/build_cmake_static/CMakeFiles/CMakeScratch/TryCompile-978puf/CMakeFiles/cmTC_ac6c8.dir/

  has 250 characters.  The maximum full path to an object file is 250
  characters (see CMAKE_OBJECT_PATH_MAX).  Object file

    CMakeCCompilerABI.c.obj

  cannot be safely placed under this directory.  The build may not work
  correctly.


-- Detecting C compiler ABI info - done
-- Check for working C compiler: C:/OMDevUCRT/tools/msys/ucrt64/bin/clang.exe - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- FMI2 include directory: C:/dev/jenkins/ws/Windows/OM_Win/build/include/omc/c/fmi
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
CMake Warning in C:/dev/jenkins/ws/Windows/OM_Win/testsuite/omsimulator/resetWithLoops.mos_temp1358/resetWithLoops-fmu/Modelica_Electrical_Analog_Examples_Rectifier.fmutmp/sources/build_cmake_static/CMakeFiles/CMakeScratch/TryCompile-ij5byc/CMakeLists.txt:
  The object file directory

    C:/dev/jenkins/ws/Windows/OM_Win/testsuite/omsimulator/resetWithLoops.mos_temp1358/resetWithLoops-fmu/Modelica_Electrical_Analog_Examples_Rectifier.fmutmp/sources/build_cmake_static/CMakeFiles/CMakeScratch/TryCompile-ij5byc/CMakeFiles/cmTC_f3ac9.dir/

  has 250 characters.  The maximum full path to an object file is 250
  characters (see CMAKE_OBJECT_PATH_MAX).  Object file

    src.c.obj

  cannot be safely placed under this directory.  The build may not work
  correctly.


-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
-- Found Threads: TRUE  
-- Building for FMI platform win64
-- Install directory: C:/dev/jenkins/ws/Windows/OM_Win/testsuite/omsimulator/resetWithLoops.mos_temp1358/resetWithLoops-fmu/Modelica_Electrical_Analog_Examples_Rectifier.fmutmp/sources/../binaries/win64
-- CVODE: Not linked
-- Not using FMI2_FUNCTION_PREFIX
-- Installing dynamic dependencies from list: 
-- Configuring done (3.7s)
CMake Warning in CMakeLists.txt:
  The object file directory

    C:/dev/jenkins/ws/Windows/OM_Win/testsuite/omsimulator/resetWithLoops.mos_temp1358/resetWithLoops-fmu/Modelica_Electrical_Analog_Examples_Rectifier.fmutmp/sources/build_cmake_static/CMakeFiles/Modelica_Electrical_Analog_Examples_Rectifier.dir/

  has 243 characters.  The maximum full path to an object file is 250
  characters (see CMAKE_OBJECT_PATH_MAX).  Object file

    external_solvers/dgemm.c.obj

  cannot be safely placed under this directory.  The build may not work
  correctly.


-- Generating done (0.1s)
-- Build files have been written to: C:/dev/jenkins/ws/Windows/OM_Win/testsuite/omsimulator/resetWithLoops.mos_temp1358/resetWithLoops-fmu/Modelica_Electrical_Analog_Examples_Rectifier.fmutmp/sources/build_cmake_static
[  0%] Building C object CMakeFiles/Modelica_Electrical_Analog_Examples_Rectifier.dir/external_solvers/dgemm.c.obj
[  1%] Building C object CMakeFiles/Modelica_Electrical_Analog_Examples_Rectifier.dir/external_solvers/dger.c.obj
[  2%] Building C object CMakeFiles/Modelica_Electrical_Analog_Examples_Rectifier.dir/external_solvers/dgetf2.c.obj
[  3%] Building C object CMakeFiles/Modelica_Electrical_Analog_Examples_Rectifier.dir/external_solvers/dgesv.c.obj
[  4%] Building C object CMakeFiles/Modelica_Electrical_Analog_Examples_Rectifier.dir/external_solvers/dgetrs.c.obj
[  5%] Building C object CMakeFiles/Modelica_Electrical_Analog_Examples_Rectifier.dir/external_solvers/dgetrf.c.obj
[  6%] Building C object CMakeFiles/Modelica_Electrical_Analog_Examples_Rectifier.dir/external_solvers/dlamch.c.obj
[  7%] Building C object CMakeFiles/Modelica_Electrical_Analog_Examples_Rectifier.dir/external_solvers/dlaswp.c.obj
[  9%] Building C object CMakeFiles/Modelica_Electrical_Analog_Examples_Rectifier.dir/external_solvers/dogleg_.c.obj
[  9%] Building C object CMakeFiles/Modelica_Electrical_Analog_Examples_Rectifier.dir/external_solvers/dpmpar_.c.obj
[ 10%] Building C object CMakeFiles/Modelica_Electrical_Analog_Examples_Rectifier.dir/external_solvers/dscal.c.obj
[ 11%] Building C object CMakeFiles/Modelica_Electrical_Analog_Examples_Rectifier.dir/external_solvers/dswap.c.obj
[ 12%] Building C object CMakeFiles/Modelica_Electrical_Analog_Examples_Rectifier.dir/external_solvers/dtrsm.c.obj
[ 13%] Building C object CMakeFiles/Modelica_Electrical_Analog_Examples_Rectifier.dir/external_solvers/enorm_.c.obj
[ 14%] Building C object CMakeFiles/Modelica_Electrical_Analog_Examples_Rectifier.dir/external_solvers/hybrj_.c.obj
[ 15%] Building C object CMakeFiles/Modelica_Electrical_Analog_Examples_Rectifier.dir/external_solvers/i_nint.c.obj
[ 16%] Building C object CMakeFiles/Modelica_Electrical_Analog_Examples_Rectifier.dir/external_solvers/idamax.c.obj
[ 17%] Building C object CMakeFiles/Modelica_Electrical_Analog_Examples_Rectifier.dir/external_solvers/ieeeck.c.obj
[ 18%] Building C object CMakeFiles/Modelica_Electrical_Analog_Examples_Rectifier.dir/external_solvers/ilaenv.c.obj
[ 19%] Building C object CMakeFiles/Modelica_Electrical_Analog_Examples_Rectifier.dir/external_solvers/iparmq.c.obj
[ 20%] Building C object CMakeFiles/Modelica_Electrical_Analog_Examples_Rectifier.dir/external_solvers/lsame.c.obj
[ 21%] Building C object CMakeFiles/Modelica_Electrical_Analog_Examples_Rectifier.dir/external_solvers/pow_di.c.obj
[ 22%] Building C object CMakeFiles/Modelica_Electrical_Analog_Examples_Rectifier.dir/external_solvers/qform_.c.obj
[ 23%] Building C object CMakeFiles/Modelica_Electrical_Analog_Examples_Rectifier.dir/external_solvers/qrfac_.c.obj
[ 24%] Building C object CMakeFiles/Modelica_Electrical_Analog_Examples_Rectifier.dir/external_solvers/r1mpyq_.c.obj
[ 25%] Building C object CMakeFiles/Modelica_Electrical_Analog_Examples_Rectifier.dir/external_solvers/r1updt_.c.obj
[ 26%] Building C object CMakeFiles/Modelica_Electrical_Analog_Examples_Rectifier.dir/external_solvers/s_cmp.c.obj
[ 27%] Building C object CMakeFiles/Modelica_Electrical_Analog_Examples_Rectifier.dir/external_solvers/s_copy.c.obj
[ 28%] Building C object CMakeFiles/Modelica_Electrical_Analog_Examples_Rectifier.dir/external_solvers/xerbla.c.obj
[ 29%] Building C object CMakeFiles/Modelica_Electrical_Analog_Examples_Rectifier.dir/gc/memory_pool.c.obj
Mingw-w64 runtime failure:
  VirtualProtect failed with code 0x5af[ 30%] Building C object CMakeFiles/Modelica_Electrical_Analog_Examples_Rectifier.dir/gc/omc_gc.c.obj
      0 [main] sh (3646224) child_copy: cygheap read copy failed, 0x0..0x8000115F8, done 0, windows pid 3646224, Win32 error 299
      0 [main] make 12307 C:\\OMDevUCRT\\tools\\msys\\usr\\bin\\make.exe: *** fatal error - CreateFileMapping cygpid.12440, Win32 error 1455.  Terminating.
[ 31%] Building C object CMakeFiles/Modelica_Electrical_Analog_Examples_Rectifier.dir/math-support/pivot.c.obj
"
true
true
""
1
"error:   [addSubModel] file does not exist: \"resetWithLoops-fmu/Modelica.Electrical.Analog.Examples.Rectifier.fmu\"
error:   [oms_RunFile] resetWithLoops.lua:8: oms_addSubModel(model.root.system1,resetWithLoops-fmu/Modelica.Electrical.Analog.Examples.Rectifier.fmu) failed
info:    0 warnings
info:    2 errors
"

== 1 out of 1 tests failed [omsimulator/resetWithLoops.mos_temp1358, time: 13]