******************************************************************************** conan install fmilibrary/2.4.1@#cbf8138d7cb63897f4ea3dd641238112 --build=fmilibrary -pr /Users/jenkins/w/prod-v1/bsr@3/19912/ccfbd/profile_osx_130_libcpp_apple-clang_release_64.fmilibrary-shared-True.txt -c tools.system.package_manager:mode=install -c tools.system.package_manager:sudo=True -c tools.apple:sdk_path=/Applications/conan/xcode/13.0/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk ******************************************************************************** Auto detecting your dev setup to initialize the default profile (/Users/jenkins/w/prod-v1/bsr@3/19912/dabfd/.conan/profiles/default) Found apple-clang 13.0 apple-clang>=13, using the major as version Default settings os=Macos os_build=Macos arch=x86_64 arch_build=x86_64 compiler=apple-clang compiler.version=13 compiler.libcxx=libc++ build_type=Release *** You can change them in /Users/jenkins/w/prod-v1/bsr@3/19912/dabfd/.conan/profiles/default *** *** Or override with -s compiler='other' -s ...s*** Configuration: [settings] arch=x86_64 build_type=Release compiler=apple-clang compiler.libcxx=libc++ compiler.version=13.0 os=Macos [options] fmilibrary:shared=True [build_requires] [env] [conf] tools.system.package_manager:mode=install tools.system.package_manager:sudo=True tools.apple:sdk_path=/Applications/conan/xcode/13.0/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk fmi1/1.0.1: Not found in local cache, looking in remotes... fmi1/1.0.1: Trying with 'conan-center'... Downloading conanmanifest.txt Downloading conanfile.py Downloading conan_export.tgz fmi1/1.0.1: Downloaded recipe revision 9cc55172985699b484506ba34590ebfe fmi2/2.0.4: Not found in local cache, looking in remotes... fmi2/2.0.4: Trying with 'conan-center'... Downloading conanmanifest.txt Downloading conanfile.py Downloading conan_export.tgz fmi2/2.0.4: Downloaded recipe revision f3e9589f827bde259eba9302dbeb0b14 expat/2.4.9: Not found in local cache, looking in remotes... expat/2.4.9: Trying with 'conan-center'... Downloading conanmanifest.txt Downloading conanfile.py Downloading conan_export.tgz expat/2.4.9: Downloaded recipe revision a9e1bc01342f241df206cafe6100425d minizip/1.2.13: Not found in local cache, looking in remotes... minizip/1.2.13: Trying with 'conan-center'... Downloading conanmanifest.txt Downloading conanfile.py Downloading conan_export.tgz minizip/1.2.13: Downloaded recipe revision 75d20b6a37ef70126334467f61acadde zlib/1.3: Not found in local cache, looking in remotes... zlib/1.3: Trying with 'conan-center'... Downloading conanmanifest.txt Downloading conanfile.py Downloading conan_export.tgz zlib/1.3: Downloaded recipe revision 06023034579559bb64357db3a53f88a4 bzip2/1.0.8: Not found in local cache, looking in remotes... bzip2/1.0.8: Trying with 'conan-center'... Downloading conanmanifest.txt Downloading conanfile.py Downloading conan_export.tgz bzip2/1.0.8: Downloaded recipe revision 411fc05e80d47a89045edc1ee6f23c1d fmilibrary/2.4.1: Forced build from source Version ranges solved zlib/* versions found in 'conan-center' remote Version range '>=1.2.11 <2' required by 'minizip/1.2.13' resolved to 'zlib/1.3' in remote 'conan-center' Installing package: fmilibrary/2.4.1 Requirements bzip2/1.0.8 from 'conan-center' - Downloaded expat/2.4.9 from 'conan-center' - Downloaded fmi1/1.0.1 from 'conan-center' - Downloaded fmi2/2.0.4 from 'conan-center' - Downloaded fmilibrary/2.4.1 from local cache - Cache minizip/1.2.13 from 'conan-center' - Downloaded zlib/1.3 from 'conan-center' - Downloaded Packages bzip2/1.0.8:f2848f95be36a5d770fc8e833993b621f703b507 - Download expat/2.4.9:7ec2dab90a9300ad88a9edb63ee39b967f0f4ebd - Download fmi1/1.0.1:5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9 - Download fmi2/2.0.4:5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9 - Download fmilibrary/2.4.1:e0ebf5257b5af79326f854274d387120b3225049 - Build minizip/1.2.13:c83f0f0c83ee9e5acfb750fc891ae2d9afc0547d - Download zlib/1.3:bda713dd3b257827c8d11a06ac9d824038871572 - Download Installing (downloading, building) binaries... bzip2/1.0.8: Retrieving package f2848f95be36a5d770fc8e833993b621f703b507 from remote 'conan-center' Downloading conanmanifest.txt Downloading conaninfo.txt Downloading conan_package.tgz bzip2/1.0.8: Package installed f2848f95be36a5d770fc8e833993b621f703b507 bzip2/1.0.8: Downloaded package revision f42cb2cef3ccc61724cb6c373e0ccee4 expat/2.4.9: Retrieving package 7ec2dab90a9300ad88a9edb63ee39b967f0f4ebd from remote 'conan-center' Downloading conanmanifest.txt Downloading conaninfo.txt Downloading conan_package.tgz expat/2.4.9: Package installed 7ec2dab90a9300ad88a9edb63ee39b967f0f4ebd expat/2.4.9: Downloaded package revision 304603d873a2db4d7f2fb9925d52111d fmi1/1.0.1: Retrieving package 5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9 from remote 'conan-center' Downloading conanmanifest.txt Downloading conaninfo.txt Downloading conan_package.tgz fmi1/1.0.1: Package installed 5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9 fmi1/1.0.1: Downloaded package revision 66b768f7f6c78e87d8a6111e499d2302 fmi2/2.0.4: Retrieving package 5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9 from remote 'conan-center' Downloading conanmanifest.txt Downloading conaninfo.txt Downloading conan_package.tgz fmi2/2.0.4: Package installed 5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9 fmi2/2.0.4: Downloaded package revision d31913dee18272dc681222a1732c480b zlib/1.3: Retrieving package bda713dd3b257827c8d11a06ac9d824038871572 from remote 'conan-center' Downloading conanmanifest.txt Downloading conaninfo.txt Downloading conan_package.tgz zlib/1.3: Package installed bda713dd3b257827c8d11a06ac9d824038871572 zlib/1.3: Downloaded package revision 029a5f0c8840504be27ef0c7c3843c86 minizip/1.2.13: Retrieving package c83f0f0c83ee9e5acfb750fc891ae2d9afc0547d from remote 'conan-center' Downloading conanmanifest.txt Downloading conaninfo.txt Downloading conan_package.tgz minizip/1.2.13: Package installed c83f0f0c83ee9e5acfb750fc891ae2d9afc0547d minizip/1.2.13: Downloaded package revision 4ec3e2694d19a8a342d2b1bb3b3324c6 [HOOK - conan-center.py] pre_source(): [IMMUTABLE SOURCES (KB-H010)] OK fmilibrary/2.4.1: Configuring sources in /Users/jenkins/w/prod-v1/bsr@3/19912/dabfd/.conan/data/fmilibrary/2.4.1/_/_/source/src fmilibrary/2.4.1: [HOOK - conan-center.py] post_source(): [LIBCXX MANAGEMENT (KB-H011)] OK [HOOK - conan-center.py] post_source(): [CPPSTD MANAGEMENT (KB-H022)] OK [HOOK - conan-center.py] post_source(): [SHORT_PATHS USAGE (KB-H066)] OK fmilibrary/2.4.1: Copying sources to build folder fmilibrary/2.4.1: Building your package in /Users/jenkins/w/prod-v1/bsr@3/19912/dabfd/.conan/data/fmilibrary/2.4.1/_/_/build/e0ebf5257b5af79326f854274d387120b3225049 fmilibrary/2.4.1: Generator txt created conanbuildinfo.txt fmilibrary/2.4.1: Calling generate() fmilibrary/2.4.1: Copied 2 '.h' files: fmiModelFunctions.h, fmiModelTypes.h fmilibrary/2.4.1: Copied 1 '.h' file: fmiPlatformTypes.h fmilibrary/2.4.1: Copied 1 '.h' file: fmiFunctions.h fmilibrary/2.4.1: Copied 3 '.h' files: fmi2FunctionTypes.h, fmi2Functions.h, fmi2TypesPlatform.h fmilibrary/2.4.1: Preset 'release' added to CMakePresets.json. Invoke it manually using 'cmake --preset release' fmilibrary/2.4.1: If your CMake version is not compatible with CMakePresets (<3.19) call cmake like: 'cmake -G "Unix Makefiles" -DCMAKE_TOOLCHAIN_FILE=/Users/jenkins/w/prod-v1/bsr@3/19912/dabfd/.conan/data/fmilibrary/2.4.1/_/_/build/e0ebf5257b5af79326f854274d387120b3225049/build/Release/generators/conan_toolchain.cmake -DCMAKE_POLICY_DEFAULT_CMP0026=OLD -DCMAKE_POLICY_DEFAULT_CMP0045=OLD -DCMAKE_POLICY_DEFAULT_CMP0046=OLD -DCMAKE_POLICY_DEFAULT_CMP0091=NEW -DCMAKE_BUILD_TYPE=Release' fmilibrary/2.4.1: Aggregating env generators [HOOK - conan-center.py] pre_build(): [FPIC MANAGEMENT (KB-H007)] 'fPIC' option not found [HOOK - conan-center.py] pre_build(): [FPIC MANAGEMENT (KB-H007)] OK fmilibrary/2.4.1: Calling build() fmilibrary/2.4.1: Apply patch (bugfix): Always build c99snprintf as static library fmilibrary/2.4.1: Apply patch (conan): Add minizip and miniunz as functions instead of executables fmilibrary/2.4.1: Apply patch (conan): Use expat from conan instead of internal fmilibrary/2.4.1: Apply patch (conan): Use minizip (and zlib) from conan instead of internal fmilibrary/2.4.1: Apply patch (conan): Do minor changes to CMakeLists for conan friendliness fmilibrary/2.4.1: Apply patch (conan): Link external targets no longer merged in fmilib fmilibrary/2.4.1: Apply patch (conan): Ensure that tests can be run with cmake fmilibrary/2.4.1: CMake command: cmake -G "Unix Makefiles" -DCMAKE_TOOLCHAIN_FILE="/Users/jenkins/w/prod-v1/bsr@3/19912/dabfd/.conan/data/fmilibrary/2.4.1/_/_/build/e0ebf5257b5af79326f854274d387120b3225049/build/Release/generators/conan_toolchain.cmake" -DCMAKE_INSTALL_PREFIX="/Users/jenkins/w/prod-v1/bsr@3/19912/dabfd/.conan/data/fmilibrary/2.4.1/_/_/package/e0ebf5257b5af79326f854274d387120b3225049" -DCMAKE_POLICY_DEFAULT_CMP0026="OLD" -DCMAKE_POLICY_DEFAULT_CMP0045="OLD" -DCMAKE_POLICY_DEFAULT_CMP0046="OLD" -DCMAKE_POLICY_DEFAULT_CMP0091="NEW" -DCMAKE_BUILD_TYPE="Release" "/Users/jenkins/w/prod-v1/bsr@3/19912/dabfd/.conan/data/fmilibrary/2.4.1/_/_/build/e0ebf5257b5af79326f854274d387120b3225049/src" ----Running------ > cmake -G "Unix Makefiles" -DCMAKE_TOOLCHAIN_FILE="/Users/jenkins/w/prod-v1/bsr@3/19912/dabfd/.conan/data/fmilibrary/2.4.1/_/_/build/e0ebf5257b5af79326f854274d387120b3225049/build/Release/generators/conan_toolchain.cmake" -DCMAKE_INSTALL_PREFIX="/Users/jenkins/w/prod-v1/bsr@3/19912/dabfd/.conan/data/fmilibrary/2.4.1/_/_/package/e0ebf5257b5af79326f854274d387120b3225049" -DCMAKE_POLICY_DEFAULT_CMP0026="OLD" -DCMAKE_POLICY_DEFAULT_CMP0045="OLD" -DCMAKE_POLICY_DEFAULT_CMP0046="OLD" -DCMAKE_POLICY_DEFAULT_CMP0091="NEW" -DCMAKE_BUILD_TYPE="Release" "/Users/jenkins/w/prod-v1/bsr@3/19912/dabfd/.conan/data/fmilibrary/2.4.1/_/_/build/e0ebf5257b5af79326f854274d387120b3225049/src" ----------------- -- Using Conan toolchain: /Users/jenkins/w/prod-v1/bsr@3/19912/dabfd/.conan/data/fmilibrary/2.4.1/_/_/build/e0ebf5257b5af79326f854274d387120b3225049/build/Release/generators/conan_toolchain.cmake -- Conan toolchain: Setting BUILD_SHARED_LIBS = ON -- The C compiler identification is AppleClang 13.0.0.13000029 -- The CXX compiler identification is AppleClang 13.0.0.13000029 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /Applications/conan/xcode/13.0/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc - skipped -- Detecting C compile features -- Detecting C compile features - done -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /Applications/conan/xcode/13.0/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Looking for va_copy -- Looking for va_copy - found -- Looking for __va_copy -- Looking for __va_copy - found -- Looking for vsnprintf -- Looking for vsnprintf - found -- Looking for vsnprintf -- Looking for vsnprintf - found -- Looking for include file stdarg.h -- Looking for include file stdarg.h - found -- Looking for include file stdlib.h -- Looking for include file stdlib.h - found -- Looking for include file stddef.h -- Looking for include file stddef.h - found -- Looking for include file stdint.h -- Looking for include file stdint.h - found -- Looking for include file inttypes.h -- Looking for include file inttypes.h - found -- Looking for include file locale.h -- Looking for include file locale.h - found -- Looking for snprintf -- Looking for snprintf - found -- Looking for vasprintf -- Looking for vasprintf - found -- Looking for asprintf -- Looking for asprintf - found -- Looking for snprintf -- Looking for snprintf - found -- Looking for vasprintf -- Looking for vasprintf - found -- Looking for asprintf -- Looking for asprintf - found -- Looking for localeconv -- Looking for localeconv - found -- Looking for sys/types.h -- Looking for sys/types.h - found -- Check size of long double -- Check size of long double - done -- Check size of long long int -- Check size of long long int - done -- Check size of unsigned long long int -- Check size of unsigned long long int - done -- Check size of struct lconv -- Check size of struct lconv - done -- Performing Test HAVE_LCONV_DECIMAL_POINT -- Performing Test HAVE_LCONV_DECIMAL_POINT - Success -- Performing Test HAVE_LCONV_THOUSANDS_SEP -- Performing Test HAVE_LCONV_THOUSANDS_SEP - Success -- Check size of intmax_t -- Check size of intmax_t - done -- Check size of uintmax_t -- Check size of uintmax_t - done -- Check size of uintptr_t -- Check size of uintptr_t - done -- Check size of ptrdiff_t -- Check size of ptrdiff_t - done -- Conan: Target declared 'expat::expat' -- Conan: Target declared 'minizip::minizip' -- Conan: Target declared 'ZLIB::ZLIB' -- Conan: Target declared 'BZip2::BZip2' -- Conan: Including build module from '/Users/jenkins/w/prod-v1/bsr@3/19912/dabfd/.conan/data/bzip2/1.0.8/_/_/package/f2848f95be36a5d770fc8e833993b621f703b507/lib/cmake/conan-official-bzip2-variables.cmake' -- Tests will be linked with fmilib_shared -- Configuring done -- Generating done -- Build files have been written to: /Users/jenkins/w/prod-v1/bsr@3/19912/dabfd/.conan/data/fmilibrary/2.4.1/_/_/build/e0ebf5257b5af79326f854274d387120b3225049/build/Release fmilibrary/2.4.1: CMake command: cmake --build "/Users/jenkins/w/prod-v1/bsr@3/19912/dabfd/.conan/data/fmilibrary/2.4.1/_/_/build/e0ebf5257b5af79326f854274d387120b3225049/build/Release" '--' '-j4' ----Running------ > cmake --build "/Users/jenkins/w/prod-v1/bsr@3/19912/dabfd/.conan/data/fmilibrary/2.4.1/_/_/build/e0ebf5257b5af79326f854274d387120b3225049/build/Release" '--' '-j4' ----------------- [ 1%] Building C object CMakeFiles/fmu2_dll_cs.dir/Test/FMI2/fmu_dummy/fmu2_model_cs.c.o [ 1%] Building C object ThirdParty/c99_snprintf/CMakeFiles/c99snprintf.dir/c99-snprintf_1.1/snprintf.c.o [ 2%] Building C object CMakeFiles/fmu2_dll_me.dir/Test/FMI2/fmu_dummy/fmu2_model_me.c.o [ 2%] Building C object CMakeFiles/fmu1_dll_cs.dir/Test/FMI1/fmu_dummy/fmu1_model_cs.c.o [ 2%] Linking C shared library libfmu2_dll_cs.dylib [ 3%] Linking C static library libc99snprintf.a [ 3%] Built target fmu2_dll_cs [ 4%] Linking C shared library libfmu1_dll_cs.dylib [ 4%] Building C object CMakeFiles/fmu1_dll_me.dir/Test/FMI1/fmu_dummy/fmu1_model_me.c.o [ 4%] Built target c99snprintf [ 4%] Building C object CMakeFiles/jmutils.dir/src/Util/src/JM/jm_callbacks.c.o [ 4%] Built target fmu1_dll_cs [ 5%] Building C object CMakeFiles/jmutils.dir/src/Util/src/JM/jm_templates_inst.c.o [ 5%] Linking C shared library libfmu2_dll_me.dylib [ 5%] Built target fmu2_dll_me [ 5%] Building C object CMakeFiles/jmutils.dir/src/Util/src/JM/jm_named_ptr.c.o [ 6%] Building C object CMakeFiles/jmutils.dir/src/Util/src/JM/jm_portability.c.o [ 7%] Building C object CMakeFiles/jmutils.dir/src/Util/src/FMI/fmi_version.c.o [ 7%] Building C object CMakeFiles/jmutils.dir/src/Util/src/FMI/fmi_util.c.o [ 8%] Building C object CMakeFiles/jmutils.dir/src/Util/src/FMI/fmi_util_options.c.o [ 8%] Building C object CMakeFiles/jmutils.dir/src/Util/src/FMI1/fmi1_enums.c.o [ 9%] Building C object CMakeFiles/jmutils.dir/src/Util/src/FMI2/fmi2_enums.c.o [ 10%] Linking C shared library libfmu1_dll_me.dylib [ 10%] Built target fmu1_dll_me [ 11%] Linking C static library libjmutils.a [ 11%] Built target jmutils [ 11%] Building C object CMakeFiles/fmicapi.dir/src/CAPI/src/FMI1/fmi1_capi_cs.c.o [ 12%] Building C object CMakeFiles/fmixml.dir/src/XML/src/FMI/fmi_xml_context.c.o [ 13%] Building C object CMakeFiles/jm_locale_test.dir/Test/jm_locale_test.c.o [ 13%] Building C object CMakeFiles/fmizip.dir/src/ZIP/src/fmi_zip_unzip.c.o [ 14%] Building C object CMakeFiles/fmicapi.dir/src/CAPI/src/FMI1/fmi1_capi_me.c.o [ 15%] Building C object CMakeFiles/fmizip.dir/src/ZIP/src/fmi_zip_zip.c.o [ 15%] Building C object CMakeFiles/fmizip.dir/src/ZIP/src/minizip.c.o [ 15%] Building C object CMakeFiles/fmicapi.dir/src/CAPI/src/FMI1/fmi1_capi.c.o [ 16%] Building C object CMakeFiles/fmixml.dir/src/XML/src/FMI1/fmi1_xml_parser.c.o [ 17%] Building C object CMakeFiles/fmizip.dir/src/ZIP/src/miniunz.c.o [ 18%] Building C object CMakeFiles/fmicapi.dir/src/CAPI/src/FMI2/fmi2_capi_cs.c.o [ 18%] Building C object CMakeFiles/fmixml.dir/src/XML/src/FMI1/fmi1_xml_model_description.c.o [ 19%] Linking C static library libfmizip.a [ 19%] Built target fmizip [ 19%] Building C object CMakeFiles/fmicapi.dir/src/CAPI/src/FMI2/fmi2_capi_me.c.o [ 20%] Building C object CMakeFiles/fmixml.dir/src/XML/src/FMI1/fmi1_xml_type.c.o [ 21%] Building C object CMakeFiles/fmicapi.dir/src/CAPI/src/FMI2/fmi2_capi.c.o [ 21%] Building C object CMakeFiles/fmixml.dir/src/XML/src/FMI1/fmi1_xml_unit.c.o [ 22%] Building C object CMakeFiles/fmixml.dir/src/XML/src/FMI1/fmi1_xml_vendor_annotations.c.o [ 23%] Linking C static library libfmicapi.a [ 23%] Built target fmicapi [ 24%] Building C object CMakeFiles/fmixml.dir/src/XML/src/FMI1/fmi1_xml_variable.c.o [ 24%] Building C object CMakeFiles/fmixml.dir/src/XML/src/FMI1/fmi1_xml_capabilities.c.o [ 25%] Building C object CMakeFiles/fmixml.dir/src/XML/src/FMI1/fmi1_xml_cosim.c.o [ 25%] Building C object CMakeFiles/fmixml.dir/src/XML/src/FMI2/fmi2_xml_parser.c.o [ 26%] Building C object CMakeFiles/fmixml.dir/src/XML/src/FMI2/fmi2_xml_model_description.c.o [ 26%] Building C object CMakeFiles/fmixml.dir/src/XML/src/FMI2/fmi2_xml_model_structure.c.o [ 27%] Building C object CMakeFiles/fmixml.dir/src/XML/src/FMI2/fmi2_xml_type.c.o [ 28%] Building C object CMakeFiles/fmixml.dir/src/XML/src/FMI2/fmi2_xml_unit.c.o [ 28%] Building C object CMakeFiles/fmixml.dir/src/XML/src/FMI2/fmi2_xml_vendor_annotations.c.o [ 29%] Building C object CMakeFiles/fmixml.dir/src/XML/src/FMI2/fmi2_xml_variable.c.o [ 29%] Building C object CMakeFiles/fmixml.dir/src/XML/src-gen/FMI2/fmi2_xml_variable_name_parser.tab.c.o [ 30%] Building C object CMakeFiles/fmixml.dir/src/XML/src-gen/FMI1/fmi1_xml_variable_name_parser.tab.c.o [ 31%] Building C object CMakeFiles/fmixml.dir/src/XML/src-gen/FMI2/lex.yyfmi2.c.o [ 31%] Building C object CMakeFiles/fmixml.dir/src/XML/src-gen/FMI1/lex.yyfmi1.c.o [ 32%] Linking C static library libfmixml.a [ 32%] Built target fmixml fmilibrary/2.4.1: CMake Deprecation Warning at CMakeLists.txt:17 (cmake_minimum_required): Compatibility with CMake < 2.8.12 will be removed from a future version of CMake. Update the VERSION argument value or use a ... suffix to tell CMake that the project does not need compatibility with older versions. CMake Deprecation Warning at CMakeLists.txt:17 (cmake_minimum_required): The OLD behavior for policy CMP0026 will be removed from a future version of CMake. The cmake-policies(7) manual explains that the OLD behaviors of all policies are deprecated and that a policy should be set to OLD only under specific short-term circumstances. Projects should be ported to the NEW behavior and not rely on setting a policy to OLD. CMake Deprecation Warning at CMakeLists.txt:17 (cmake_minimum_required): The OLD behavior for policy CMP0045 will be removed from a future version of CMake. The cmake-policies(7) manual explains that the OLD behaviors of all policies are deprecated and that a policy should be set to OLD only under specific short-term circumstances. Projects should be ported to the NEW behavior and not rely on setting a policy to OLD. CMake Deprecation Warning at CMakeLists.txt:17 (cmake_minimum_required): The OLD behavior for policy CMP0046 will be removed from a future version of CMake. The cmake-policies(7) manual explains that the OLD behaviors of all policies are deprecated and that a policy should be set to OLD only under specific short-term circumstances. Projects should be ported to the NEW behavior and not rely on setting a policy to OLD. CMake Warning (dev) at Config.cmake/fmixml.cmake:182: Syntax Warning in cmake code at column 67 Argument not separated from preceding token by whitespace. Call Stack (most recent call first): CMakeLists.txt:206 (include) This warning is for project developers. Use -Wno-dev to suppress it. CMake Warning (dev) at Config.cmake/fmixml.cmake:182: Syntax Warning in cmake code at column 67 Argument not separated from preceding token by whitespace. Call Stack (most recent call first): Config.cmake/fmiimport.cmake:17 (include) CMakeLists.txt:209 (include) This warning is for project developers. Use -Wno-dev to suppress it. CMake Warning (dev): Policy CMP0042 is not set: MACOSX_RPATH is enabled by default. Run "cmake --help-policy CMP0042" for policy details. Use the cmake_policy command to set the policy and suppress this warning. MACOSX_RPATH is not specified for the following targets: fmilib_shared fmu1_dll_cs fmu1_dll_me fmu2_dll_cs fmu2_dll_me This warning is for project developers. Use -Wno-dev to suppress it. /Users/jenkins/w/prod-v1/bsr@3/19912/dabfd/.conan/data/fmilibrary/2.4.1/_/_/build/e0ebf5257b5af79326f854274d387120b3225049/src/Test/jm_locale_test.c:30:5: error: implicitly declaring library function 'exit' with type 'void (int) __attribute__((noreturn))' [-Werror,-Wimplicit-function-declaration] exit(CTEST_RETURN_FAIL); ^ /Users/jenkins/w/prod-v1/bsr@3/19912/dabfd/.conan/data/fmilibrary/2.4.1/_/_/build/e0ebf5257b5af79326f854274d387120b3225049/src/Test/jm_locale_test.c:30:5: note: include the header or explicitly provide a declaration for 'exit' 1 error generated. make[2]: *** [CMakeFiles/jm_locale_test.dir/Test/jm_locale_test.c.o] Error 1 make[1]: *** [CMakeFiles/jm_locale_test.dir/all] Error 2 make[1]: *** Waiting for unfinished jobs.... /Users/jenkins/w/prod-v1/bsr@3/19912/dabfd/.conan/data/fmilibrary/2.4.1/_/_/build/e0ebf5257b5af79326f854274d387120b3225049/src/src/ZIP/src/miniunz.c:430:25: warning: passing 'const char *' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] makedir(write_filename); ^~~~~~~~~~~~~~ 1 warning generated. /Users/jenkins/w/prod-v1/bsr@3/19912/dabfd/.conan/data/fmilibrary/2.4.1/_/_/build/e0ebf5257b5af79326f854274d387120b3225049/src/src/XML/src/FMI1/fmi1_xml_type.c:31:12: warning: address of array 'du->displayUnit' will always evaluate to 'true' [-Wpointer-bool-conversion] if(du->displayUnit) return du; ~~ ~~~~^~~~~~~~~~~ 1 warning generated. make: *** [all] Error 2 fmilibrary/2.4.1: WARN: Using the new toolchains and generators without specifying a build profile (e.g: -pr:b=default) is discouraged and might cause failures and unexpected behavior fmilibrary/2.4.1: WARN: Using the new toolchains and generators without specifying a build profile (e.g: -pr:b=default) is discouraged and might cause failures and unexpected behavior fmilibrary/2.4.1: ERROR: Package 'e0ebf5257b5af79326f854274d387120b3225049' build failed fmilibrary/2.4.1: WARN: Build folder /Users/jenkins/w/prod-v1/bsr@3/19912/dabfd/.conan/data/fmilibrary/2.4.1/_/_/build/e0ebf5257b5af79326f854274d387120b3225049/build/Release ERROR: fmilibrary/2.4.1: Error in build() method, line 97 cmake.build() ConanException: Error 2 while executing cmake --build "/Users/jenkins/w/prod-v1/bsr@3/19912/dabfd/.conan/data/fmilibrary/2.4.1/_/_/build/e0ebf5257b5af79326f854274d387120b3225049/build/Release" '--' '-j4'