Skip to content

Failed

openmodelica_fmi_ModelExchange_2.0.FMUResourceTest.mos (from (result.xml))

Failing for the past 346 builds (Since #3430 )
Took 23 sec.

Stacktrace

Output mismatch (see stdout for details)

Standard Output

 + FMUResourceTest                                                                   ... equation mismatch [time: 13]

==== Log C:\Users\OPENMO~1\AppData\Local\Temp/omc-rtest-OpenModelica/openmodelica/fmi/ModelExchange/2.0/FMUResourceTest.mos_temp7646/log-FMUResourceTest.mos
true
""
true
""
true
true
Warning: Maximum path length limitation reached while opening
C:\dev\jenkins\ws\Windows\OM_Win\testsuite\openmodelica\fmi\ModelExchange\2.0\FMUResourceTest.mos_temp7646\@\FMUResourceTest_TestResource.fmutmp\resources\C:\dev\jenkins\ws\Windows\OM_Win\testsuite\openmodelica\fmi\ModelExchange\2.0\FMUResourceTest\Resources\table_test@utf8.txt
Consider changing the working directory, using shorter names or to enable longer paths in Windows.
See https://docs.microsoft.com/en-us/windows/win32/fileio/maximum-file-path-limitation for more information.
Warning: Maximum path length limitation reached while opening
C:\dev\jenkins\ws\Windows\OM_Win\testsuite\openmodelica\fmi\ModelExchange\2.0\FMUResourceTest.mos_temp7646\@\FMUResourceTest_TestResource.fmutmp\resources\C:\dev\jenkins\ws\Windows\OM_Win\testsuite\openmodelica\fmi\ModelExchange\2.0\FMUResourceTest\Resources\table_test@utf8.txt
Consider changing the working directory, using shorter names or to enable longer paths in Windows.
See https://docs.microsoft.com/en-us/windows/win32/fileio/maximum-file-path-limitation for more information.
""
"[SimCode/SimCodeMain.mo:0:0-0:0:writable] Error: Internal error Failed to copy path C:\\dev\\jenkins\\ws\\Windows\\OM_Win\\testsuite\\openmodelica\\fmi\\ModelExchange\\2.0\\FMUResourceTest\\Resources\\table_test@utf8.txt to FMUResourceTest_TestResource.fmutmp/resources/C\\dev\\jenkins\\ws\\Windows\\OM_Win\\testsuite\\openmodelica\\fmi\\ModelExchange\\2.0\\FMUResourceTest\\Resources
Error: Error building simulator. Build log: cmd: cd \"FMUResourceTest_TestResource.fmutmp/sources/\" && mkdir build_cmake_dynamic && cd build_cmake_dynamic && cmake -G \"MSYS Makefiles\" -DCMAKE_BUILD_TYPE=Release -DCMAKE_C_COMPILER=\"clang\" -DCMAKE_CXX_COMPILER=\"clang++\" .. && cmake --build . --parallel  --target install && cd .. && rm -rf build_cmake_dynamic
-- 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/openmodelica/fmi/ModelExchange/2.0/FMUResourceTest.mos_temp7646/@/FMUResourceTest_TestResource.fmutmp/sources/build_cmake_dynamic/CMakeFiles/CMakeScratch/TryCompile-clytig/CMakeLists.txt:
  The object file directory

    C:/dev/jenkins/ws/Windows/OM_Win/testsuite/openmodelica/fmi/ModelExchange/2.0/FMUResourceTest.mos_temp7646/@/FMUResourceTest_TestResource.fmutmp/sources/build_cmake_dynamic/CMakeFiles/CMakeScratch/TryCompile-clytig/CMakeFiles/cmTC_07c9b.dir/

  has 241 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 - failed
-- Check for working C compiler: C:/OMDevUCRT/tools/msys/ucrt64/bin/clang.exe
CMake Warning in C:/dev/jenkins/ws/Windows/OM_Win/testsuite/openmodelica/fmi/ModelExchange/2.0/FMUResourceTest.mos_temp7646/@/FMUResourceTest_TestResource.fmutmp/sources/build_cmake_dynamic/CMakeFiles/CMakeScratch/TryCompile-7nuxc5/CMakeLists.txt:
  The object file directory

    C:/dev/jenkins/ws/Windows/OM_Win/testsuite/openmodelica/fmi/ModelExchange/2.0/FMUResourceTest.mos_temp7646/@/FMUResourceTest_TestResource.fmutmp/sources/build_cmake_dynamic/CMakeFiles/CMakeScratch/TryCompile-7nuxc5/CMakeFiles/cmTC_c5810.dir/

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

    testCCompiler.c.obj

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


-- Check for working C compiler: C:/OMDevUCRT/tools/msys/ucrt64/bin/clang.exe - works
-- 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
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
-- Found Threads: TRUE  
CMake Error at CMakeLists.txt:95 (if):
  if given arguments:

    \"EQUAL\" \"8\"

  Unknown arguments specified


-- Configuring incomplete, errors occurred!
"
""
"Error: File not Found: FMUResourceTest.TestResource.fmu.
"
false
""
true
""
""
'' 
Equation mismatch: diff says: 
--- "C:\\Users\\OPENMO~1\\AppData\\Local\\Temp/omc-rtest-OpenModelica/openmodelica/fmi/ModelExchange/2.0/FMUResourceTest.mos_temp7646/equations-expected"2024-05-29 13:13:59.657560400 +0200
+++ "C:\\Users\\OPENMO~1\\AppData\\Local\\Temp/omc-rtest-OpenModelica/openmodelica/fmi/ModelExchange/2.0/FMUResourceTest.mos_temp7646/equations-got"2024-05-29 13:14:12.301737900 +0200
@@ -2,14 +2,73 @@
 ""
 true
 ""
 true
 true
-"FMUResourceTest.TestResource.fmu"
-""
-"FMUResourceTest_TestResource_me_FMU.mo"
+Warning: Maximum path length limitation reached while opening
+C:\dev\jenkins\ws\Windows\OM_Win\testsuite\openmodelica\fmi\ModelExchange\2.0\FMUResourceTest.mos_temp7646\@\FMUResourceTest_TestResource.fmutmp\resources\C:\dev\jenkins\ws\Windows\OM_Win\testsuite\openmodelica\fmi\ModelExchange\2.0\FMUResourceTest\Resources\table_test@utf8.txt
+Consider changing the working directory, using shorter names or to enable longer paths in Windows.
+See https://docs.microsoft.com/en-us/windows/win32/fileio/maximum-file-path-limitation for more information.
+Warning: Maximum path length limitation reached while opening
+C:\dev\jenkins\ws\Windows\OM_Win\testsuite\openmodelica\fmi\ModelExchange\2.0\FMUResourceTest.mos_temp7646\@\FMUResourceTest_TestResource.fmutmp\resources\C:\dev\jenkins\ws\Windows\OM_Win\testsuite\openmodelica\fmi\ModelExchange\2.0\FMUResourceTest\Resources\table_test@utf8.txt
+Consider changing the working directory, using shorter names or to enable longer paths in Windows.
+See https://docs.microsoft.com/en-us/windows/win32/fileio/maximum-file-path-limitation for more information.
+""
+"[SimCode/SimCodeMain.mo:0:0-0:0:writable] Error: Internal error Failed to copy path C:\\dev\\jenkins\\ws\\Windows\\OM_Win\\testsuite\\openmodelica\\fmi\\ModelExchange\\2.0\\FMUResourceTest\\Resources\\table_test@utf8.txt to FMUResourceTest_TestResource.fmutmp/resources/C\\dev\\jenkins\\ws\\Windows\\OM_Win\\testsuite\\openmodelica\\fmi\\ModelExchange\\2.0\\FMUResourceTest\\Resources
+Error: Error building simulator. Build log: cmd: cd \"FMUResourceTest_TestResource.fmutmp/sources/\" && mkdir build_cmake_dynamic && cd build_cmake_dynamic && cmake -G \"MSYS Makefiles\" -DCMAKE_BUILD_TYPE=Release -DCMAKE_C_COMPILER=\"clang\" -DCMAKE_CXX_COMPILER=\"clang++\" .. && cmake --build . --parallel  --target install && cd .. && rm -rf build_cmake_dynamic
+-- 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/openmodelica/fmi/ModelExchange/2.0/@/FMUResourceTest_TestResource.fmutmp/sources/build_cmake_dynamic/CMakeFiles/CMakeScratch/TryCompile-clytig/CMakeLists.txt:
+The object file directory
+
+C:/dev/jenkins/ws/Windows/OM_Win/testsuite/openmodelica/fmi/ModelExchange/2.0/@/FMUResourceTest_TestResource.fmutmp/sources/build_cmake_dynamic/CMakeFiles/CMakeScratch/TryCompile-clytig/CMakeFiles/cmTC_07c9b.dir/
+
+has 241 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 - failed
+-- Check for working C compiler: C:/OMDevUCRT/tools/msys/ucrt64/bin/clang.exe
+CMake Warning in C:/dev/jenkins/ws/Windows/OM_Win/testsuite/openmodelica/fmi/ModelExchange/2.0/@/FMUResourceTest_TestResource.fmutmp/sources/build_cmake_dynamic/CMakeFiles/CMakeScratch/TryCompile-7nuxc5/CMakeLists.txt:
+The object file directory
+
+C:/dev/jenkins/ws/Windows/OM_Win/testsuite/openmodelica/fmi/ModelExchange/2.0/@/FMUResourceTest_TestResource.fmutmp/sources/build_cmake_dynamic/CMakeFiles/CMakeScratch/TryCompile-7nuxc5/CMakeFiles/cmTC_c5810.dir/
+
+has 241 characters.  The maximum full path to an object file is 250
+characters (see CMAKE_OBJECT_PATH_MAX).  Object file
+
+testCCompiler.c.obj
+
+cannot be safely placed under this directory.  The build may not work
+correctly.
+
+
+-- Check for working C compiler: C:/OMDevUCRT/tools/msys/ucrt64/bin/clang.exe - works
+-- 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
+-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
+-- Found Threads: TRUE  
+CMake Error at CMakeLists.txt:95 (if):
+if given arguments:
+
+\"EQUAL\" \"8\"
+
+Unknown arguments specified
+
+
+-- Configuring incomplete, errors occurred!
+"
+""
+"Error: File not Found: FMUResourceTest.TestResource.fmu.
+"
+false
 ""
 true
 ""
-true
 ""
-"FMUResourceTest_TestResource_me_FMU_res.mat"
'' 
Equation mismatch: omc-diff says: 
Failed '"' 'W'
Line 7: Text differs:
expected: "FMUResourceTest.TestResource.fmu"
got:      Warning: Maximum path length limitation reached while opening

== 1 out of 1 tests failed [openmodelica/fmi/ModelExchange/2.0/FMUResourceTest.mos_temp7646, time: 23]