Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test15,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable2D_Test15",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.079/2.079, allocations: 209.3 MB / 221.9 MB, free: 1.941 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.311e-05/4.319e-05, allocations: 4 kB / 273.1 MB, free: 0.6367 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1103/0.1104, allocations: 48.71 MB / 321.9 MB, free: 15.84 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4229/0.5333, allocations: 74.73 MB / 396.6 MB, free: 15.1 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003068/0.5337, allocations: 75.14 kB / 396.7 MB, free: 15.03 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01038/0.5441, allocations: 2.712 MB / 399.4 MB, free: 12.31 MB / 330.7 MB Notification: Performance of FrontEnd: time 4.589e-06/0.5442, allocations: 0 / 399.4 MB, free: 12.31 MB / 330.7 MB Notification: Performance of Transformations before backend: time 8.787e-06/0.5442, allocations: 3.938 kB / 399.4 MB, free: 12.3 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0003943/0.5446, allocations: 350.5 kB / 399.7 MB, free: 11.92 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.754e-05/0.5447, allocations: 12.03 kB / 399.7 MB, free: 11.91 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.392e-05/0.5447, allocations: 46.55 kB / 399.8 MB, free: 11.85 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.552e-05/0.5448, allocations: 7.906 kB / 399.8 MB, free: 11.84 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001859/0.545, allocations: 175.3 kB / 399.9 MB, free: 11.63 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.72e-05/0.545, allocations: 7.938 kB / 400 MB, free: 11.62 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.566e-05/0.5451, allocations: 11.94 kB / 400 MB, free: 11.61 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003053/0.5454, allocations: 179.3 kB / 400.1 MB, free: 11.38 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.869e-05/0.5454, allocations: 7.938 kB / 400.1 MB, free: 11.38 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.514e-05/0.5454, allocations: 0 / 400.1 MB, free: 11.38 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.546e-05/0.5455, allocations: 8 kB / 400.2 MB, free: 11.37 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000118/0.5456, allocations: 47.86 kB / 400.2 MB, free: 11.32 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001333/0.547, allocations: 1.71 MB / 401.9 MB, free: 9.504 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001095/0.5471, allocations: 165.1 kB / 402.1 MB, free: 9.332 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.86e-05/0.5472, allocations: 84.14 kB / 402.2 MB, free: 9.246 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.338e-05/0.5472, allocations: 79.22 kB / 402.2 MB, free: 9.168 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.027e-05/0.5473, allocations: 105.8 kB / 402.3 MB, free: 9.055 MB / 330.7 MB Notification: Performance of pre-optimization done (n=0): time 1.953e-06/0.5473, allocations: 7.938 kB / 402.3 MB, free: 9.047 MB / 330.7 MB Notification: Performance of matching and sorting (n=0): time 0.0001018/0.5474, allocations: 37.59 kB / 402.4 MB, free: 9.004 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.802e-05/0.5475, allocations: 130.7 kB / 402.5 MB, free: 8.863 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002799/0.5478, allocations: 165.2 kB / 402.7 MB, free: 8.695 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.629e-05/0.5478, allocations: 25.7 kB / 402.7 MB, free: 8.664 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000164/0.548, allocations: 217.6 kB / 402.9 MB, free: 8.449 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.028e-05/0.548, allocations: 8 kB / 402.9 MB, free: 8.441 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.856e-06/0.548, allocations: 0 / 402.9 MB, free: 8.441 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001589/0.5482, allocations: 330.8 kB / 403.2 MB, free: 8.109 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.497e-05/0.5483, allocations: 28 kB / 403.3 MB, free: 8.082 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001999/0.5485, allocations: 156 kB / 403.4 MB, free: 7.871 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001773/0.5487, allocations: 67.91 kB / 403.5 MB, free: 7.805 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.709e-06/0.5487, allocations: 0 / 403.5 MB, free: 7.805 MB / 330.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004388/0.5492, allocations: 185.8 kB / 403.7 MB, free: 7.617 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.284e-05/0.5492, allocations: 7.984 kB / 403.7 MB, free: 7.609 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.434e-05/0.5492, allocations: 8 kB / 403.7 MB, free: 7.602 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.375e-05/0.5493, allocations: 7.953 kB / 403.7 MB, free: 7.594 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002338/0.5495, allocations: 35.92 kB / 403.7 MB, free: 7.559 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.643e-05/0.5495, allocations: 11.94 kB / 403.7 MB, free: 7.547 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001276/0.5497, allocations: 19.84 kB / 403.8 MB, free: 7.527 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.502e-05/0.5497, allocations: 8 kB / 403.8 MB, free: 7.52 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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 prepare postOptimizeDAE: time 0.0001407/0.5499, allocations: 196.2 kB / 404 MB, free: 7.32 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.955e-05/0.55, allocations: 112.9 kB / 404.1 MB, free: 7.203 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.716e-05/0.5501, allocations: 116.6 kB / 404.2 MB, free: 7.086 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.41e-05/0.5502, allocations: 184.1 kB / 404.4 MB, free: 6.898 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001042/0.5503, allocations: 180.2 kB / 404.5 MB, free: 6.715 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.404e-05/0.5504, allocations: 176.3 kB / 404.7 MB, free: 6.535 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003528/0.5507, allocations: 429.1 kB / 405.1 MB, free: 6.059 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.792e-05/0.5508, allocations: 101 kB / 405.2 MB, free: 5.953 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.252e-05/0.5509, allocations: 109 kB / 405.3 MB, free: 5.84 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.964e-05/0.551, allocations: 184.2 kB / 405.5 MB, free: 5.652 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.009e-05/0.5511, allocations: 176.3 kB / 405.7 MB, free: 5.473 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.1e-05/0.5511, allocations: 176.3 kB / 405.9 MB, free: 5.293 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.633e-05/0.5512, allocations: 192.2 kB / 406 MB, free: 5.098 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001969/0.5515, allocations: 321 kB / 406.4 MB, free: 4.762 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001269/0.5516, allocations: 189.9 kB / 406.5 MB, free: 4.551 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000103/0.5517, allocations: 176.3 kB / 406.7 MB, free: 4.371 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001176/0.5518, allocations: 109 kB / 406.8 MB, free: 4.258 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001042/0.552, allocations: 184.2 kB / 407 MB, free: 4.07 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.099e-05/0.552, allocations: 101 kB / 407.1 MB, free: 3.965 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001894/0.5522, allocations: 144 kB / 407.2 MB, free: 3.824 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.5522, allocations: 0 / 407.2 MB, free: 3.824 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004446/0.5527, allocations: 15.94 kB / 407.3 MB, free: 3.809 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 (0): * Single equations (assignments): 0 * 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.0009629/0.5537, allocations: 0.889 MB / 408.1 MB, free: 2.918 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002134/0.5539, allocations: 63.86 kB / 408.2 MB, free: 2.855 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.5539, allocations: 0 / 408.2 MB, free: 2.855 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 2.585e-06/0.5539, allocations: 1.25 kB / 408.2 MB, free: 2.855 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004035/0.5543, allocations: 0.5302 MB / 408.7 MB, free: 2.32 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.002613/0.557, allocations: 0.8085 MB / 409.5 MB, free: 1.469 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003805/0.5574, allocations: 0.7047 MB / 410.3 MB, free: 0.7383 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.868e-05/0.5575, allocations: 27.42 kB / 410.3 MB, free: 0.7109 MB / 330.7 MB Notification: Performance of SimCode: time 1.072e-06/0.5575, allocations: 0 / 410.3 MB, free: 0.7109 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_CombiTable2D_Test15CalcHelperMain.o OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable2D_Test15CalcHelperMain.cpp In file included from OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable2D_Test15CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable2D_Test15FMU.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_CombiTable2D_Test15.so OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable2D_Test15CalcHelperMain.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" -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_CombiTable2D_Test15_FMU.makefile:93: recipe for target 'ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable2D_Test15.fmu' failed make: *** [ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable2D_Test15.fmu] Error 1