Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test19,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable2D_Test19",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.114/2.114, allocations: 209.3 MB / 221.9 MB, free: 1.938 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.755e-05/4.753e-05, allocations: 4 kB / 273.2 MB, free: 0.6445 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1087/0.1087, allocations: 48.71 MB / 321.9 MB, free: 15.84 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3939/0.5027, allocations: 75.42 MB / 397.3 MB, free: 14.41 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002605/0.503, allocations: 71.06 kB / 397.3 MB, free: 14.34 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02192/0.525, allocations: 5.249 MB / 402.6 MB, free: 9.105 MB / 330.7 MB Notification: Performance of FrontEnd: time 3.988e-06/0.525, allocations: 3.984 kB / 402.6 MB, free: 9.102 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.27e-05/0.5251, allocations: 8 kB / 402.6 MB, free: 9.094 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0008294/0.5259, allocations: 0.6388 MB / 403.2 MB, free: 8.379 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.433e-05/0.526, allocations: 8.031 kB / 403.3 MB, free: 8.371 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.436e-05/0.5261, allocations: 42.55 kB / 403.3 MB, free: 8.32 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.358e-05/0.5262, allocations: 35.62 kB / 403.3 MB, free: 8.285 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005789/0.5267, allocations: 287.9 kB / 403.6 MB, free: 7.961 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.698e-05/0.5268, allocations: 8 kB / 403.6 MB, free: 7.953 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.325e-05/0.5268, allocations: 4 kB / 403.6 MB, free: 7.949 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002185/0.527, allocations: 77.67 kB / 403.7 MB, free: 7.867 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.608e-06/0.5271, allocations: 0 / 403.7 MB, free: 7.867 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.766e-05/0.5271, allocations: 4 kB / 403.7 MB, free: 7.863 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.205e-06/0.5271, allocations: 4 kB / 403.7 MB, free: 7.859 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001414/0.5273, allocations: 36 kB / 403.7 MB, free: 7.824 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007654/0.528, allocations: 428.4 kB / 404.2 MB, free: 7.355 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001492/0.5282, allocations: 58.52 kB / 404.2 MB, free: 7.289 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.978e-05/0.5283, allocations: 28.92 kB / 404.2 MB, free: 7.258 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.641e-05/0.5283, allocations: 0 / 404.2 MB, free: 7.258 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.482e-05/0.5284, allocations: 30.56 kB / 404.3 MB, free: 7.219 MB / 330.7 MB Notification: Performance of pre-optimization done (n=6): time 1.944e-06/0.5284, allocations: 0 / 404.3 MB, free: 7.219 MB / 330.7 MB Notification: Performance of matching and sorting (n=6): time 0.0003092/0.5287, allocations: 97.36 kB / 404.4 MB, free: 7.117 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.9e-05/0.5288, allocations: 51.41 kB / 404.4 MB, free: 7.055 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007581/0.5295, allocations: 427.5 kB / 404.8 MB, free: 6.633 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.53e-05/0.5296, allocations: 25.7 kB / 404.9 MB, free: 6.602 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001813/0.5298, allocations: 214.5 kB / 405.1 MB, free: 6.391 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.674e-05/0.5298, allocations: 27.62 kB / 405.1 MB, free: 6.363 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.153e-05/0.5298, allocations: 4 kB / 405.1 MB, free: 6.359 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001165/0.53, allocations: 310.8 kB / 405.4 MB, free: 6.047 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.815e-05/0.5301, allocations: 24 kB / 405.4 MB, free: 6.023 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.398e-05/0.5301, allocations: 31.86 kB / 405.5 MB, free: 5.992 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001611/0.5303, allocations: 160.5 kB / 405.6 MB, free: 5.805 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.5303, allocations: 0 / 405.6 MB, free: 5.805 MB / 330.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003307/0.5307, allocations: 218.8 kB / 405.8 MB, free: 5.555 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.284e-05/0.5308, allocations: 136.5 kB / 406 MB, free: 5.391 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-06/0.5308, allocations: 0 / 406 MB, free: 5.391 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.171e-05/0.5308, allocations: 7.953 kB / 406 MB, free: 5.383 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001657/0.531, allocations: 11.98 kB / 406 MB, free: 5.371 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.015e-06/0.531, allocations: 4 kB / 406 MB, free: 5.367 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001371/0.5312, allocations: 15.84 kB / 406 MB, free: 5.352 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.972e-05/0.5312, allocations: 4 kB / 406 MB, free: 5.348 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 (11): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 5 * 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 8.926e-05/0.5313, allocations: 116.9 kB / 406.1 MB, free: 5.227 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9e-05/0.5314, allocations: 31.62 kB / 406.1 MB, free: 5.195 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003595/0.5318, allocations: 116.5 kB / 406.3 MB, free: 5.074 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.274e-06/0.5318, allocations: 4 kB / 406.3 MB, free: 5.07 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.595e-06/0.5318, allocations: 3.953 kB / 406.3 MB, free: 5.066 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.324e-06/0.5318, allocations: 7.969 kB / 406.3 MB, free: 5.059 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004018/0.5323, allocations: 261.5 kB / 406.5 MB, free: 4.754 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.229e-06/0.5323, allocations: 4 kB / 406.5 MB, free: 4.75 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000115/0.5324, allocations: 15.98 kB / 406.6 MB, free: 4.734 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.168e-06/0.5324, allocations: 0 / 406.6 MB, free: 4.734 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.131e-05/0.5324, allocations: 4 kB / 406.6 MB, free: 4.73 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.695e-06/0.5324, allocations: 0 / 406.6 MB, free: 4.73 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.5325, allocations: 0 / 406.6 MB, free: 4.73 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002898/0.5328, allocations: 203.2 kB / 406.8 MB, free: 4.516 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001587/0.5329, allocations: 116.8 kB / 406.9 MB, free: 4.383 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.012e-05/0.533, allocations: 11.98 kB / 406.9 MB, free: 4.371 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001197/0.5331, allocations: 4 kB / 406.9 MB, free: 4.367 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.67e-05/0.5332, allocations: 4 kB / 406.9 MB, free: 4.363 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.124e-05/0.5332, allocations: 4 kB / 406.9 MB, free: 4.359 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0005896/0.5338, allocations: 334.1 kB / 407.2 MB, free: 4.031 MB / 330.7 MB Notification: Performance of sort global known variables: time 5.01e-07/0.5338, allocations: 0 / 407.2 MB, free: 4.031 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004728/0.5343, allocations: 67.77 kB / 407.3 MB, free: 3.965 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 (6): * Single equations (assignments): 6 * 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.00162/0.5359, allocations: 1.017 MB / 408.3 MB, free: 2.992 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.000399/0.5364, allocations: 321 kB / 408.6 MB, free: 2.617 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.577e-06/0.5364, allocations: 0 / 408.6 MB, free: 2.617 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 7.733e-05/0.5365, allocations: 31.92 kB / 408.6 MB, free: 2.586 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004771/0.537, allocations: 38.67 kB / 408.7 MB, free: 2.551 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001395/0.5384, allocations: 0.5101 MB / 409.2 MB, free: 1.996 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004102/0.5388, allocations: 0.7745 MB / 410 MB, free: 1.195 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002042/0.539, allocations: 83.39 kB / 410.1 MB, free: 1.113 MB / 330.7 MB Notification: Performance of SimCode: time 1.503e-06/0.539, allocations: 0 / 410.1 MB, free: 1.113 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_Test19CalcHelperMain.o OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable2D_Test19CalcHelperMain.cpp In file included from OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable2D_Test19CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable2D_Test19FMU.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_Test19.so OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable2D_Test19CalcHelperMain.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_Test19_FMU.makefile:93: recipe for target 'ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable2D_Test19.fmu' failed make: *** [ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable2D_Test19.fmu] Error 1