Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test11,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable2D_Test11",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.094/2.094, allocations: 209.3 MB / 221.9 MB, free: 1.93 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.946e-05/3.961e-05, allocations: 4 kB / 273.1 MB, free: 0.6484 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1231/0.1231, allocations: 48.69 MB / 321.8 MB, free: 15.86 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4884/0.6116, allocations: 74.65 MB / 396.5 MB, free: 15.3 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002859/0.612, allocations: 79.27 kB / 396.6 MB, free: 15.22 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01559/0.6276, allocations: 3.485 MB / 400 MB, free: 11.76 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.295e-06/0.6277, allocations: 0 / 400 MB, free: 11.76 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.249e-05/0.6277, allocations: 0 / 400 MB, free: 11.76 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005426/0.6282, allocations: 404 kB / 400.4 MB, free: 11.32 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.176e-05/0.6283, allocations: 11.97 kB / 400.4 MB, free: 11.3 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.841e-05/0.6284, allocations: 38.56 kB / 400.5 MB, free: 11.26 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.921e-05/0.6284, allocations: 3.906 kB / 400.5 MB, free: 11.25 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002733/0.6287, allocations: 186.9 kB / 400.7 MB, free: 11.03 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.428e-05/0.6287, allocations: 4 kB / 400.7 MB, free: 11.03 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.522e-05/0.6288, allocations: 0 / 400.7 MB, free: 11.03 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001727/0.629, allocations: 63.41 kB / 400.7 MB, free: 10.95 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.755e-05/0.629, allocations: 7.906 kB / 400.7 MB, free: 10.95 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.634e-05/0.629, allocations: 0 / 400.7 MB, free: 10.95 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.591e-06/0.629, allocations: 3.938 kB / 400.7 MB, free: 10.94 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.066e-05/0.6291, allocations: 20 kB / 400.8 MB, free: 10.92 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004662/0.6296, allocations: 284.8 kB / 401 MB, free: 10.59 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000112/0.6297, allocations: 34.58 kB / 401.1 MB, free: 10.55 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.898e-05/0.6298, allocations: 24.73 kB / 401.1 MB, free: 10.52 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.653e-05/0.6298, allocations: 0 / 401.1 MB, free: 10.52 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.756e-05/0.6299, allocations: 30.56 kB / 401.1 MB, free: 10.48 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 4.268e-06/0.6299, allocations: 3.984 kB / 401.1 MB, free: 10.48 MB / 330.7 MB Notification: Performance of matching and sorting (n=7): time 0.0007094/0.6306, allocations: 145.4 kB / 401.3 MB, free: 10.33 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.503e-05/0.6307, allocations: 81.11 kB / 401.4 MB, free: 10.23 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001339/0.6308, allocations: 109 kB / 401.5 MB, free: 10.12 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.712e-05/0.6309, allocations: 29.7 kB / 401.5 MB, free: 10.09 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.22e-05/0.631, allocations: 158.5 kB / 401.6 MB, free: 9.93 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.499e-05/0.631, allocations: 19.66 kB / 401.7 MB, free: 9.91 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.066e-05/0.6311, allocations: 4 kB / 401.7 MB, free: 9.906 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001427/0.6312, allocations: 322.8 kB / 402 MB, free: 9.582 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.226e-05/0.6313, allocations: 12 kB / 402 MB, free: 9.57 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.1e-05/0.6314, allocations: 41.84 kB / 402 MB, free: 9.523 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.329e-05/0.6315, allocations: 45.69 kB / 402.1 MB, free: 9.473 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.078e-06/0.6315, allocations: 4 kB / 402.1 MB, free: 9.469 MB / 330.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002465/0.6318, allocations: 111.3 kB / 402.2 MB, free: 9.348 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.961e-05/0.6318, allocations: 29.7 kB / 402.2 MB, free: 9.312 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/0.6318, allocations: 0 / 402.2 MB, free: 9.312 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.505e-05/0.6319, allocations: 7.984 kB / 402.2 MB, free: 9.305 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002159/0.6321, allocations: 23.98 kB / 402.3 MB, free: 9.281 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.033e-06/0.6321, allocations: 0 / 402.3 MB, free: 9.281 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001228/0.6323, allocations: 15.98 kB / 402.3 MB, free: 9.266 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.263e-05/0.6323, allocations: 0 / 402.3 MB, free: 9.266 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 (8): * Single equations (assignments): 7 * 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.0001024/0.6324, allocations: 109 kB / 402.4 MB, free: 9.152 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.365e-05/0.6324, allocations: 11.91 kB / 402.4 MB, free: 9.141 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002752/0.6327, allocations: 90.23 kB / 402.5 MB, free: 9.047 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.258e-06/0.6327, allocations: 0 / 402.5 MB, free: 9.047 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.596e-06/0.6328, allocations: 3.953 kB / 402.5 MB, free: 9.043 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-06/0.6328, allocations: 0 / 402.5 MB, free: 9.043 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005435/0.6333, allocations: 342.6 kB / 402.8 MB, free: 8.652 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.986e-06/0.6334, allocations: 0 / 402.8 MB, free: 8.652 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001852/0.6335, allocations: 31.92 kB / 402.8 MB, free: 8.621 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.022e-06/0.6336, allocations: 0 / 402.8 MB, free: 8.621 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.661e-05/0.6336, allocations: 7.953 kB / 402.9 MB, free: 8.613 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.776e-06/0.6336, allocations: 0 / 402.9 MB, free: 8.613 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.114e-05/0.6336, allocations: 7.984 kB / 402.9 MB, free: 8.605 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002442/0.6339, allocations: 175.8 kB / 403 MB, free: 8.418 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.703e-05/0.634, allocations: 81.02 kB / 403.1 MB, free: 8.32 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.806e-05/0.634, allocations: 4 kB / 403.1 MB, free: 8.316 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001579/0.6342, allocations: 19.94 kB / 403.1 MB, free: 8.297 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.888e-05/0.6342, allocations: 7.984 kB / 403.1 MB, free: 8.289 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.238e-05/0.6343, allocations: 7.938 kB / 403.2 MB, free: 8.281 MB / 330.7 MB Notification: Performance of sorting global known variables: time 9.322e-05/0.6344, allocations: 92.27 kB / 403.2 MB, free: 8.191 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.6344, allocations: 0 / 403.2 MB, free: 8.191 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004084/0.6348, allocations: 39.92 kB / 403.3 MB, free: 8.152 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 (7): * Single equations (assignments): 7 * 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.001413/0.6362, allocations: 0.9117 MB / 404.2 MB, free: 7.27 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002886/0.6365, allocations: 103.3 kB / 404.3 MB, free: 7.156 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/0.6366, allocations: 0 / 404.3 MB, free: 7.156 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 8.07e-05/0.6367, allocations: 31.98 kB / 404.3 MB, free: 7.125 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002682/0.6369, allocations: 11.95 kB / 404.3 MB, free: 7.113 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.002564/0.6395, allocations: 0.73 MB / 405.1 MB, free: 6.34 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003134/0.6399, allocations: 0.6965 MB / 405.8 MB, free: 5.617 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001052/0.64, allocations: 23.42 kB / 405.8 MB, free: 5.594 MB / 330.7 MB Notification: Performance of SimCode: time 1.422e-06/0.64, allocations: 0 / 405.8 MB, free: 5.594 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_Test11CalcHelperMain.o OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable2D_Test11CalcHelperMain.cpp In file included from OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable2D_Test11CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable2D_Test11FMU.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_Test11.so OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable2D_Test11CalcHelperMain.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_CombiTable2D_Test11_FMU.makefile:93: recipe for target 'ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable2D_Test11.fmu' failed make: *** [ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable2D_Test11.fmu] Error 1