Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test18,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable1Ds_Test18",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.994/1.994, allocations: 209.3 MB / 221.9 MB, free: 1.934 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.454e-05/4.493e-05, allocations: 4 kB / 273.2 MB, free: 0.6328 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1033/0.1034, allocations: 48.7 MB / 321.9 MB, free: 15.84 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4009/0.5044, allocations: 74.71 MB / 396.6 MB, free: 15.21 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002688/0.5047, allocations: 67.97 kB / 396.6 MB, free: 15.14 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02026/0.525, allocations: 3.782 MB / 400.4 MB, free: 11.38 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.134e-06/0.525, allocations: 0 / 400.4 MB, free: 11.38 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.953e-05/0.5251, allocations: 7.938 kB / 400.4 MB, free: 11.37 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006717/0.5258, allocations: 400 kB / 400.8 MB, free: 10.93 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.775e-05/0.5258, allocations: 8.031 kB / 400.8 MB, free: 10.92 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.792e-05/0.5259, allocations: 30.56 kB / 400.9 MB, free: 10.88 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.19e-05/0.526, allocations: 4 kB / 400.9 MB, free: 10.88 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003476/0.5263, allocations: 190.8 kB / 401 MB, free: 10.65 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.755e-05/0.5264, allocations: 8 kB / 401 MB, free: 10.64 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.721e-05/0.5264, allocations: 4 kB / 401.1 MB, free: 10.64 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002398/0.5267, allocations: 67.39 kB / 401.1 MB, free: 10.56 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.582e-05/0.5267, allocations: 4 kB / 401.1 MB, free: 10.55 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.175e-05/0.5268, allocations: 4 kB / 401.1 MB, free: 10.55 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.003e-06/0.5268, allocations: 3.938 kB / 401.1 MB, free: 10.55 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000133/0.5269, allocations: 23.98 kB / 401.2 MB, free: 10.52 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006298/0.5276, allocations: 292.8 kB / 401.4 MB, free: 10.19 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001799/0.5278, allocations: 58.48 kB / 401.5 MB, free: 10.12 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.167e-05/0.5279, allocations: 16.92 kB / 401.5 MB, free: 10.1 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.507e-05/0.5279, allocations: 7.938 kB / 401.5 MB, free: 10.09 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.8e-05/0.528, allocations: 30.56 kB / 401.6 MB, free: 10.05 MB / 330.7 MB Notification: Performance of pre-optimization done (n=5): time 3.337e-06/0.528, allocations: 0 / 401.6 MB, free: 10.05 MB / 330.7 MB Notification: Performance of matching and sorting (n=8): time 0.0008676/0.5289, allocations: 145.5 kB / 401.7 MB, free: 9.906 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.968e-05/0.529, allocations: 85.05 kB / 401.8 MB, free: 9.805 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002002/0.5292, allocations: 116.9 kB / 401.9 MB, free: 9.684 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.075e-05/0.5292, allocations: 25.7 kB / 401.9 MB, free: 9.652 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001062/0.5294, allocations: 162.7 kB / 402.1 MB, free: 9.488 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.892e-05/0.5294, allocations: 27.64 kB / 402.1 MB, free: 9.461 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.738e-06/0.5295, allocations: 0 / 402.1 MB, free: 9.461 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001699/0.5296, allocations: 314.8 kB / 402.4 MB, free: 9.145 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.506e-05/0.5297, allocations: 20 kB / 402.4 MB, free: 9.125 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00012/0.5299, allocations: 37.7 kB / 402.5 MB, free: 9.082 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001236/0.53, allocations: 45.7 kB / 402.5 MB, free: 9.031 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.53, allocations: 0 / 402.5 MB, free: 9.031 MB / 330.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003396/0.5304, allocations: 115.3 kB / 402.6 MB, free: 8.906 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.184e-05/0.5305, allocations: 33.7 kB / 402.7 MB, free: 8.867 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.873e-06/0.5305, allocations: 0 / 402.7 MB, free: 8.867 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.564e-05/0.5305, allocations: 0 / 402.7 MB, free: 8.867 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000239/0.5308, allocations: 24.02 kB / 402.7 MB, free: 8.844 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.126e-05/0.5308, allocations: 3.953 kB / 402.7 MB, free: 8.84 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001142/0.5309, allocations: 12.28 kB / 402.7 MB, free: 8.828 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.636e-05/0.531, allocations: 0 / 402.7 MB, free: 8.828 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001171/0.5311, allocations: 112.9 kB / 402.8 MB, free: 8.711 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.031e-05/0.5312, allocations: 11.84 kB / 402.8 MB, free: 8.699 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003698/0.5315, allocations: 98.19 kB / 402.9 MB, free: 8.598 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.874e-06/0.5316, allocations: 0 / 402.9 MB, free: 8.598 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.981e-06/0.5316, allocations: 7.938 kB / 402.9 MB, free: 8.59 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.737e-06/0.5316, allocations: 3.953 kB / 402.9 MB, free: 8.586 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007508/0.5324, allocations: 366.5 kB / 403.3 MB, free: 8.172 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.336e-06/0.5324, allocations: 0 / 403.3 MB, free: 8.172 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001843/0.5326, allocations: 19.98 kB / 403.3 MB, free: 8.152 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.26e-06/0.5326, allocations: 192 / 403.3 MB, free: 8.152 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.33e-05/0.5327, allocations: 12 kB / 403.3 MB, free: 8.141 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.753e-06/0.5327, allocations: 7.953 kB / 403.3 MB, free: 8.133 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/0.5327, allocations: 0 / 403.3 MB, free: 8.133 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003414/0.533, allocations: 175.4 kB / 403.5 MB, free: 7.945 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.371e-05/0.5332, allocations: 89 kB / 403.6 MB, free: 7.84 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.088e-05/0.5332, allocations: 0 / 403.6 MB, free: 7.84 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001737/0.5334, allocations: 8 kB / 403.6 MB, free: 7.832 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.591e-05/0.5335, allocations: 15.94 kB / 403.6 MB, free: 7.816 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.265e-05/0.5335, allocations: 4 kB / 403.6 MB, free: 7.812 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001342/0.5336, allocations: 100.2 kB / 403.7 MB, free: 7.715 MB / 330.7 MB Notification: Performance of sort global known variables: time 7.11e-07/0.5337, allocations: 4 kB / 403.7 MB, free: 7.711 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0005997/0.5343, allocations: 35.98 kB / 403.7 MB, free: 7.676 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001828/0.5361, allocations: 0.9271 MB / 404.7 MB, free: 6.777 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0003398/0.5365, allocations: 103.4 kB / 404.8 MB, free: 6.664 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.518e-06/0.5365, allocations: 0 / 404.8 MB, free: 6.664 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001155/0.5367, allocations: 27.94 kB / 404.8 MB, free: 6.637 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003952/0.5371, allocations: 11.94 kB / 404.8 MB, free: 6.625 MB / 330.7 MB Warning: Could not resolve URI (uri) at compile-time; copying all loaded packages into the FMU Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003367/0.5405, allocations: 0.7385 MB / 405.5 MB, free: 5.84 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004174/0.5409, allocations: 0.6965 MB / 406.2 MB, free: 5.117 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001311/0.541, allocations: 27.42 kB / 406.3 MB, free: 5.09 MB / 330.7 MB Notification: Performance of SimCode: time 4.268e-06/0.5411, allocations: 0 / 406.3 MB, free: 5.09 MB / 330.7 MB Error: Error building simulator. Build log: clang++ -Winvalid-pch -O0 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DSUNDIALS_MAJOR_VERSION=2 -DSUNDIALS_MINOR_VERSION=6 -DPMC_USE_SUNDIALS -DFMU_BUILD -DRUNTIME_STATIC_LINKING -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp" -I"." -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" -I"." -DUSE_LOGGER -c -o OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable1Ds_Test18CalcHelperMain.o OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable1Ds_Test18CalcHelperMain.cpp In file included from OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable1Ds_Test18CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable1Ds_Test18FMU.cpp:11: /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/FMU2/FMU2Wrapper.cpp:93:11: warning: 6 enumeration values not handled in switch: 'LC_INIT', 'LC_LS', 'LC_SOLVER'... [-Wswitch] switch (cat) { ^ 1 warning generated. clang++ -shared -o ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable1Ds_Test18.so OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable1Ds_Test18CalcHelperMain.o -L"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/cpp" -Wl,--no-undefined -lOMCppSystem_static -lOMCppMath_static -lOMCppModelicaUtilities_static -lOMCppFMU_static -lOMCppNewton_static -lOMCppDgesvSolver_static -lOMCppSolver_static -lOMCppExtensionUtilities_static -L"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/Tables" "-L/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc" -Wl,-rpath="/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc" "-L/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/" -Wl,-rpath="/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/" "-L/var/lib/hudson/.openmodelica/binaries/Modelica" -Wl,-rpath="/var/lib/hudson/.openmodelica/binaries/Modelica" "-L/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/Resources/Library/x86_64-linux" -Wl,-rpath="/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/Resources/Library/x86_64-linux" "-L/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/Resources/Library/linux64" -Wl,-rpath="/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/Resources/Library/linux64" "-L/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/Resources/Library" -Wl,-rpath="/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/Resources/Library" -lModelicaExternalC -lModelicaStandardTables -lModelicaIO -lModelicaMatIO -lzlib -lOMCppModelicaUtilities_static -lOMCppDgesv_static /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/cpp/libModelicaMatIO.a(ModelicaMatIO.c.o): In function `Mat_VarDelete': /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/3rdParty/ModelicaExternalC/C-Sources/ModelicaMatIO.c:4972: warning: the use of `mktemp' is dangerous, better use `mkstemp' or `mkdtemp' /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/cpp/libModelicaMatIO.a(ModelicaMatIO.c.o): In function `strdup_vprintf': /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/3rdParty/ModelicaExternalC/C-Sources/ModelicaMatIO.c:1469: undefined reference to `rpl_vsnprintf' /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/3rdParty/ModelicaExternalC/C-Sources/ModelicaMatIO.c:1476: undefined reference to `rpl_vsnprintf' /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/3rdParty/ModelicaExternalC/C-Sources/ModelicaMatIO.c:1469: undefined reference to `rpl_vsnprintf' /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/3rdParty/ModelicaExternalC/C-Sources/ModelicaMatIO.c:1476: undefined reference to `rpl_vsnprintf' /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/cpp/libModelicaMatIO.a(ModelicaMatIO.c.o): In function `Mat_Create5': /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/3rdParty/ModelicaExternalC/C-Sources/ModelicaMatIO.c:7716: undefined reference to `rpl_snprintf' /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/3rdParty/ModelicaExternalC/C-Sources/ModelicaMatIO.c:7711: undefined reference to `rpl_snprintf' clang: error: linker command failed with exit code 1 (use -v to see invocation) ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable1Ds_Test18_FMU.makefile:93: recipe for target 'ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable1Ds_Test18.fmu' failed make: *** [ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable1Ds_Test18.fmu] Error 1