Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test21,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable2D_Test21",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.934 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.927e-05/3.945e-05, allocations: 7.984 kB / 273.1 MB, free: 0.6406 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1119/0.112, allocations: 48.7 MB / 321.8 MB, free: 15.84 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4517/0.5638, allocations: 75.74 MB / 397.6 MB, free: 14.2 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002738/0.5641, allocations: 75.55 kB / 397.6 MB, free: 14.13 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0315/0.5956, allocations: 6.239 MB / 403.9 MB, free: 7.902 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.144e-06/0.5957, allocations: 0 / 403.9 MB, free: 7.902 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.545e-05/0.5958, allocations: 4 kB / 403.9 MB, free: 7.898 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.001244/0.597, allocations: 0.6856 MB / 404.6 MB, free: 7.137 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.243e-05/0.5971, allocations: 12.03 kB / 404.6 MB, free: 7.125 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.87e-05/0.5972, allocations: 46.55 kB / 404.6 MB, free: 7.07 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000153/0.5974, allocations: 39.48 kB / 404.7 MB, free: 7.031 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008465/0.5982, allocations: 291.9 kB / 405 MB, free: 6.703 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.817e-05/0.5983, allocations: 12 kB / 405 MB, free: 6.691 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.139e-05/0.5984, allocations: 12 kB / 405 MB, free: 6.68 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003944/0.5988, allocations: 105.5 kB / 405.1 MB, free: 6.57 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.68e-05/0.5988, allocations: 7.906 kB / 405.1 MB, free: 6.562 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.52e-05/0.5989, allocations: 4 kB / 405.1 MB, free: 6.559 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.169e-05/0.5989, allocations: 3.953 kB / 405.1 MB, free: 6.555 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002863/0.5992, allocations: 63.98 kB / 405.2 MB, free: 6.492 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001222/0.6004, allocations: 472.4 kB / 405.6 MB, free: 5.98 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003252/0.6008, allocations: 98.47 kB / 405.7 MB, free: 5.875 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001164/0.6009, allocations: 28.86 kB / 405.7 MB, free: 5.844 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.983e-05/0.601, allocations: 4 kB / 405.7 MB, free: 5.84 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.226e-05/0.601, allocations: 34.56 kB / 405.8 MB, free: 5.797 MB / 330.7 MB Notification: Performance of pre-optimization done (n=11): time 3.426e-06/0.601, allocations: 0 / 405.8 MB, free: 5.797 MB / 330.7 MB Notification: Performance of matching and sorting (n=17): time 0.001448/0.6025, allocations: 320.4 kB / 406.1 MB, free: 5.477 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.359e-05/0.6026, allocations: 55.36 kB / 406.1 MB, free: 5.41 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001041/0.6036, allocations: 419.5 kB / 406.6 MB, free: 4.996 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.612e-05/0.6037, allocations: 29.7 kB / 406.6 MB, free: 4.961 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002037/0.6039, allocations: 218.9 kB / 406.8 MB, free: 4.746 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.297e-05/0.604, allocations: 67.08 kB / 406.9 MB, free: 4.68 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.183e-05/0.6041, allocations: 4 kB / 406.9 MB, free: 4.676 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001705/0.6042, allocations: 318.8 kB / 407.2 MB, free: 4.355 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002012/0.6045, allocations: 48.38 kB / 407.2 MB, free: 4.305 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002023/0.6047, allocations: 56.73 kB / 407.3 MB, free: 4.25 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003127/0.605, allocations: 188.6 kB / 407.5 MB, free: 4.039 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.801e-06/0.605, allocations: 0 / 407.5 MB, free: 4.039 MB / 330.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0007363/0.6058, allocations: 315.8 kB / 407.8 MB, free: 3.695 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001326/0.6059, allocations: 144.5 kB / 407.9 MB, free: 3.523 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.536e-06/0.606, allocations: 0 / 407.9 MB, free: 3.523 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.272e-05/0.606, allocations: 0 / 407.9 MB, free: 3.523 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003671/0.6064, allocations: 31.98 kB / 407.9 MB, free: 3.492 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.083e-05/0.6064, allocations: 4 kB / 408 MB, free: 3.488 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002436/0.6067, allocations: 19.94 kB / 408 MB, free: 3.469 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.387e-05/0.6067, allocations: 4 kB / 408 MB, free: 3.465 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 (22): * Single equations (assignments): 17 * 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 0.0001404/0.6069, allocations: 120.9 kB / 408.1 MB, free: 3.34 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001429/0.607, allocations: 31.62 kB / 408.1 MB, free: 3.309 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009306/0.608, allocations: 224.6 kB / 408.3 MB, free: 3.074 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.743e-06/0.608, allocations: 0 / 408.3 MB, free: 3.074 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/0.608, allocations: 3.938 kB / 408.3 MB, free: 3.07 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.432e-06/0.608, allocations: 0 / 408.3 MB, free: 3.07 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001824/0.6099, allocations: 0.6232 MB / 409 MB, free: 2.391 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.288e-06/0.6099, allocations: 0 / 409 MB, free: 2.391 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003445/0.6103, allocations: 39.97 kB / 409 MB, free: 2.352 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.916e-06/0.6103, allocations: 0 / 409 MB, free: 2.352 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.908e-05/0.6103, allocations: 7.953 kB / 409 MB, free: 2.344 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.434e-06/0.6104, allocations: 4 kB / 409 MB, free: 2.34 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.13e-06/0.6104, allocations: 4 kB / 409 MB, free: 2.336 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000706/0.6111, allocations: 282.1 kB / 409.3 MB, free: 2.047 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002408/0.6114, allocations: 124.7 kB / 409.4 MB, free: 1.906 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.217e-05/0.6114, allocations: 0 / 409.4 MB, free: 1.906 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002667/0.6117, allocations: 15.95 kB / 409.4 MB, free: 1.891 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.957e-05/0.6118, allocations: 11.98 kB / 409.5 MB, free: 1.879 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.653e-05/0.6119, allocations: 7.938 kB / 409.5 MB, free: 1.871 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0008655/0.6127, allocations: 330.1 kB / 409.8 MB, free: 1.551 MB / 330.7 MB Notification: Performance of sort global known variables: time 6.21e-07/0.6128, allocations: 4 kB / 409.8 MB, free: 1.547 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0008358/0.6136, allocations: 99.7 kB / 409.9 MB, free: 1.449 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 (17): * Single equations (assignments): 17 * 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.003363/0.617, allocations: 1.283 MB / 411.2 MB, free: 232 kB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0007905/0.6178, allocations: 401 kB / 411.6 MB, free: 15.77 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.537e-06/0.6179, allocations: 0 / 411.6 MB, free: 15.77 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000238/0.6181, allocations: 71.92 kB / 411.6 MB, free: 15.7 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006274/0.6188, allocations: 34.78 kB / 411.7 MB, free: 15.67 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002205/0.621, allocations: 0.6189 MB / 412.3 MB, free: 15.01 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006159/0.6216, allocations: 0.7868 MB / 413.1 MB, free: 14.2 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003193/0.622, allocations: 95.41 kB / 413.2 MB, free: 14.1 MB / 346.7 MB Notification: Performance of SimCode: time 1.052e-06/0.622, allocations: 0 / 413.2 MB, free: 14.1 MB / 346.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_Test21CalcHelperMain.o OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable2D_Test21CalcHelperMain.cpp In file included from OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable2D_Test21CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable2D_Test21FMU.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_Test21.so OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable2D_Test21CalcHelperMain.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_Test21_FMU.makefile:93: recipe for target 'ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable2D_Test21.fmu' failed make: *** [ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable2D_Test21.fmu] Error 1