Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test3,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable2D_Test3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.994/1.994, allocations: 209.3 MB / 221.9 MB, free: 1.934 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.383e-05/3.386e-05, allocations: 4 kB / 273.2 MB, free: 0.625 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1042/0.1043, allocations: 48.69 MB / 321.9 MB, free: 15.83 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4016/0.5059, allocations: 74.43 MB / 396.3 MB, free: 15.48 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002705/0.5063, allocations: 75.11 kB / 396.4 MB, free: 15.41 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0199/0.5262, allocations: 5.323 MB / 401.7 MB, free: 10.09 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.663e-06/0.5262, allocations: 0 / 401.7 MB, free: 10.09 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.064e-05/0.5263, allocations: 7.984 kB / 401.7 MB, free: 10.08 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.00082/0.5271, allocations: 0.581 MB / 402.3 MB, free: 9.445 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.394e-05/0.5272, allocations: 8.031 kB / 402.3 MB, free: 9.438 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.12e-05/0.5272, allocations: 34.56 kB / 402.3 MB, free: 9.395 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001228/0.5274, allocations: 51.38 kB / 402.4 MB, free: 9.344 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006518/0.528, allocations: 319.4 kB / 402.7 MB, free: 8.992 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.117e-06/0.5281, allocations: 0 / 402.7 MB, free: 8.992 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.904e-05/0.5281, allocations: 4 kB / 402.7 MB, free: 8.988 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001516/0.5283, allocations: 53.62 kB / 402.7 MB, free: 8.93 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.19e-05/0.5283, allocations: 0 / 402.7 MB, free: 8.93 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.146e-05/0.5283, allocations: 0 / 402.7 MB, free: 8.93 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.861e-06/0.5283, allocations: 0 / 402.7 MB, free: 8.93 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.611e-05/0.5284, allocations: 20 kB / 402.8 MB, free: 8.91 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008378/0.5293, allocations: 428.6 kB / 403.2 MB, free: 8.441 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001146/0.5294, allocations: 35.95 kB / 403.2 MB, free: 8.398 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.728e-05/0.5295, allocations: 16.86 kB / 403.2 MB, free: 8.379 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.447e-05/0.5295, allocations: 3.938 kB / 403.2 MB, free: 8.375 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.777e-05/0.5295, allocations: 34.56 kB / 403.3 MB, free: 8.332 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 2.495e-06/0.5296, allocations: 4 kB / 403.3 MB, free: 8.328 MB / 330.7 MB Notification: Performance of matching and sorting (n=7): time 0.000817/0.5304, allocations: 220.1 kB / 403.5 MB, free: 8.105 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.948e-05/0.5305, allocations: 59.33 kB / 403.5 MB, free: 8.035 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001932/0.5324, allocations: 0.7615 MB / 404.3 MB, free: 7.262 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.725e-05/0.5325, allocations: 25.7 kB / 404.3 MB, free: 7.23 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002333/0.5327, allocations: 238.5 kB / 404.6 MB, free: 6.996 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.755e-05/0.5328, allocations: 23.66 kB / 404.6 MB, free: 6.973 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.132e-05/0.5328, allocations: 4 kB / 404.6 MB, free: 6.969 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001609/0.533, allocations: 314.8 kB / 404.9 MB, free: 6.652 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.935e-05/0.5331, allocations: 16 kB / 404.9 MB, free: 6.637 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.14e-05/0.5331, allocations: 16 kB / 404.9 MB, free: 6.621 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001138/0.5333, allocations: 41.7 kB / 405 MB, free: 6.574 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.501e-06/0.5333, allocations: 4 kB / 405 MB, free: 6.57 MB / 330.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002699/0.5336, allocations: 95.62 kB / 405.1 MB, free: 6.465 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.695e-05/0.5336, allocations: 45.64 kB / 405.1 MB, free: 6.414 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.668e-06/0.5337, allocations: 0 / 405.1 MB, free: 6.414 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.222e-05/0.5337, allocations: 8.078 kB / 405.1 MB, free: 6.406 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002442/0.5339, allocations: 27.92 kB / 405.1 MB, free: 6.379 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.11e-05/0.534, allocations: 4.062 kB / 405.1 MB, free: 6.375 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002059/0.5342, allocations: 11.98 kB / 405.2 MB, free: 6.363 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.854e-05/0.5342, allocations: 11.98 kB / 405.2 MB, free: 6.352 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 9.451e-05/0.5343, allocations: 109 kB / 405.3 MB, free: 6.238 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001183/0.5345, allocations: 43.44 kB / 405.3 MB, free: 6.195 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003934/0.5349, allocations: 133.4 kB / 405.4 MB, free: 6.059 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.97e-06/0.5349, allocations: 0 / 405.4 MB, free: 6.059 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.651e-06/0.5349, allocations: 0 / 405.4 MB, free: 6.059 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.362e-06/0.5349, allocations: 3.984 kB / 405.4 MB, free: 6.055 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001229/0.5361, allocations: 0.5726 MB / 406 MB, free: 5.426 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.407e-06/0.5362, allocations: 0 / 406 MB, free: 5.426 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001936/0.5364, allocations: 27.94 kB / 406 MB, free: 5.398 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.553e-06/0.5364, allocations: 4 kB / 406.1 MB, free: 5.395 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.272e-05/0.5364, allocations: 0 / 406.1 MB, free: 5.395 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.214e-06/0.5364, allocations: 3.984 kB / 406.1 MB, free: 5.391 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/0.5365, allocations: 0 / 406.1 MB, free: 5.391 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003367/0.5368, allocations: 214.9 kB / 406.3 MB, free: 5.164 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002761/0.5371, allocations: 148.6 kB / 406.4 MB, free: 5 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.254e-05/0.5372, allocations: 11.95 kB / 406.4 MB, free: 4.988 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001936/0.5374, allocations: 11.98 kB / 406.4 MB, free: 4.977 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.811e-05/0.5374, allocations: 7.984 kB / 406.4 MB, free: 4.969 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.177e-06/0.5375, allocations: 0 / 406.4 MB, free: 4.969 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.001176/0.5387, allocations: 0.6225 MB / 407.1 MB, free: 4.352 MB / 330.7 MB Notification: Performance of sort global known variables: time 6.01e-07/0.5387, allocations: 0 / 407.1 MB, free: 4.352 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004854/0.5392, allocations: 56 kB / 407.1 MB, free: 4.297 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.0013/0.5405, allocations: 0.8735 MB / 408 MB, free: 3.445 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.000269/0.5408, allocations: 107.4 kB / 408.1 MB, free: 3.328 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.005e-06/0.5408, allocations: 0 / 408.1 MB, free: 3.328 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 7.954e-05/0.5409, allocations: 24 kB / 408.1 MB, free: 3.305 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003849/0.5413, allocations: 22.03 kB / 408.1 MB, free: 3.281 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002216/0.5435, allocations: 0.8587 MB / 409 MB, free: 2.379 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000605/0.5442, allocations: 0.8262 MB / 409.8 MB, free: 1.527 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00029/0.5445, allocations: 111.6 kB / 409.9 MB, free: 1.418 MB / 330.7 MB Notification: Performance of SimCode: time 1.352e-06/0.5445, allocations: 0 / 409.9 MB, free: 1.418 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_Test3CalcHelperMain.o OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable2D_Test3CalcHelperMain.cpp In file included from OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable2D_Test3CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable2D_Test3FMU.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_Test3.so OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable2D_Test3CalcHelperMain.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_Test3_FMU.makefile:93: recipe for target 'ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable2D_Test3.fmu' failed make: *** [ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable2D_Test3.fmu] Error 1