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.002/2.002, allocations: 209.3 MB / 221.9 MB, free: 1.938 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.331e-05/4.349e-05, allocations: 4 kB / 273.1 MB, free: 0.6445 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1007/0.1007, allocations: 48.71 MB / 321.8 MB, free: 15.84 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4078/0.5086, allocations: 75.41 MB / 397.2 MB, free: 14.52 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002791/0.509, allocations: 71.95 kB / 397.3 MB, free: 14.45 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02376/0.5327, allocations: 5.244 MB / 402.6 MB, free: 9.219 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.783e-06/0.5328, allocations: 0 / 402.6 MB, free: 9.219 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.849e-05/0.5329, allocations: 8 kB / 402.6 MB, free: 9.211 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.001015/0.5339, allocations: 0.6427 MB / 403.2 MB, free: 8.492 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.554e-05/0.534, allocations: 8.031 kB / 403.2 MB, free: 8.484 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.772e-05/0.534, allocations: 42.55 kB / 403.3 MB, free: 8.434 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001247/0.5342, allocations: 27.62 kB / 403.3 MB, free: 8.406 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006775/0.5349, allocations: 295.9 kB / 403.6 MB, free: 8.074 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.517e-05/0.5349, allocations: 8 kB / 403.6 MB, free: 8.066 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.477e-05/0.5349, allocations: 8 kB / 403.6 MB, free: 8.059 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002399/0.5352, allocations: 73.67 kB / 403.7 MB, free: 7.98 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.077e-05/0.5352, allocations: 0 / 403.7 MB, free: 7.98 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.701e-05/0.5352, allocations: 4 kB / 403.7 MB, free: 7.977 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.071e-05/0.5353, allocations: 4 kB / 403.7 MB, free: 7.973 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001491/0.5354, allocations: 39.94 kB / 403.7 MB, free: 7.934 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009027/0.5363, allocations: 424.5 kB / 404.1 MB, free: 7.469 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001543/0.5365, allocations: 54.52 kB / 404.2 MB, free: 7.406 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.387e-05/0.5366, allocations: 28.98 kB / 404.2 MB, free: 7.375 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.448e-05/0.5367, allocations: 0 / 404.2 MB, free: 7.375 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.354e-05/0.5367, allocations: 34.56 kB / 404.2 MB, free: 7.332 MB / 330.7 MB Notification: Performance of pre-optimization done (n=6): time 1.693e-06/0.5367, allocations: 0 / 404.2 MB, free: 7.332 MB / 330.7 MB Notification: Performance of matching and sorting (n=6): time 0.0003571/0.5371, allocations: 101.3 kB / 404.3 MB, free: 7.227 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.542e-05/0.5371, allocations: 51.41 kB / 404.4 MB, free: 7.164 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008368/0.538, allocations: 423.5 kB / 404.8 MB, free: 6.746 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.762e-05/0.5381, allocations: 29.7 kB / 404.8 MB, free: 6.711 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001695/0.5383, allocations: 210.5 kB / 405 MB, free: 6.504 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.153e-05/0.5383, allocations: 31.56 kB / 405.1 MB, free: 6.473 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.099e-05/0.5384, allocations: 4 kB / 405.1 MB, free: 6.469 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001373/0.5385, allocations: 310.8 kB / 405.4 MB, free: 6.156 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.46e-05/0.5386, allocations: 24 kB / 405.4 MB, free: 6.133 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.546e-05/0.5387, allocations: 31.92 kB / 405.4 MB, free: 6.102 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001752/0.5389, allocations: 156.5 kB / 405.6 MB, free: 5.918 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.5389, allocations: 0 / 405.6 MB, free: 5.918 MB / 330.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003601/0.5393, allocations: 219 kB / 405.8 MB, free: 5.668 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001057/0.5394, allocations: 140.5 kB / 405.9 MB, free: 5.5 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.624e-06/0.5394, allocations: 0 / 405.9 MB, free: 5.5 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.089e-05/0.5394, allocations: 3.953 kB / 405.9 MB, free: 5.496 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001744/0.5396, allocations: 19.98 kB / 406 MB, free: 5.477 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.044e-05/0.5396, allocations: 0 / 406 MB, free: 5.477 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001589/0.5398, allocations: 23.78 kB / 406 MB, free: 5.453 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.807e-05/0.5398, allocations: 0 / 406 MB, free: 5.453 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 9.911e-05/0.5399, allocations: 109 kB / 406.1 MB, free: 5.34 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001275/0.5401, allocations: 31.61 kB / 406.1 MB, free: 5.309 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004892/0.5406, allocations: 124.4 kB / 406.2 MB, free: 5.18 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.669e-06/0.5406, allocations: 0 / 406.2 MB, free: 5.18 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.631e-05/0.5406, allocations: 3.953 kB / 406.2 MB, free: 5.176 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.795e-06/0.5407, allocations: 3.984 kB / 406.2 MB, free: 5.172 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000442/0.5411, allocations: 269.5 kB / 406.5 MB, free: 4.859 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.915e-06/0.5411, allocations: 0 / 406.5 MB, free: 4.859 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001524/0.5413, allocations: 19.92 kB / 406.5 MB, free: 4.84 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.304e-06/0.5413, allocations: 0 / 406.5 MB, free: 4.84 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.226e-05/0.5414, allocations: 0 / 406.5 MB, free: 4.84 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.476e-06/0.5414, allocations: 0 / 406.5 MB, free: 4.84 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.384e-06/0.5414, allocations: 0 / 406.5 MB, free: 4.84 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003318/0.5417, allocations: 195.1 kB / 406.7 MB, free: 4.633 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001814/0.5419, allocations: 133 kB / 406.9 MB, free: 4.484 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.655e-05/0.542, allocations: 4 kB / 406.9 MB, free: 4.48 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001336/0.5421, allocations: 4 kB / 406.9 MB, free: 4.477 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.754e-05/0.5422, allocations: 0 / 406.9 MB, free: 4.477 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.403e-05/0.5422, allocations: 4 kB / 406.9 MB, free: 4.473 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0006067/0.5428, allocations: 334.1 kB / 407.2 MB, free: 4.145 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.71e-07/0.5428, allocations: 0 / 407.2 MB, free: 4.145 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004519/0.5433, allocations: 67.77 kB / 407.3 MB, free: 4.078 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.001753/0.5451, allocations: 1.033 MB / 408.3 MB, free: 3.09 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.000486/0.5456, allocations: 317 kB / 408.6 MB, free: 2.719 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 5.711e-06/0.5456, allocations: 4 kB / 408.6 MB, free: 2.715 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 8.266e-05/0.5457, allocations: 31.98 kB / 408.6 MB, free: 2.684 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000482/0.5462, allocations: 29.2 kB / 408.7 MB, free: 2.656 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001436/0.5477, allocations: 0.5217 MB / 409.2 MB, free: 2.09 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004702/0.5482, allocations: 0.7628 MB / 409.9 MB, free: 1.301 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002339/0.5484, allocations: 87.39 kB / 410 MB, free: 1.215 MB / 330.7 MB Notification: Performance of SimCode: time 1.442e-06/0.5485, allocations: 4 kB / 410 MB, free: 1.211 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