Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1D.Test11,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable1D_Test11",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.873/1.873, allocations: 209.3 MB / 221.9 MB, free: 1.93 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.301e-05/3.306e-05, allocations: 4 kB / 273.2 MB, free: 0.6328 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09935/0.09941, allocations: 48.7 MB / 321.9 MB, free: 15.84 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3797/0.4792, allocations: 74.4 MB / 396.3 MB, free: 15.41 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002541/0.4795, allocations: 70.8 kB / 396.3 MB, free: 15.34 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01124/0.4907, allocations: 2.66 MB / 399 MB, free: 12.69 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.613e-06/0.4908, allocations: 0 / 399 MB, free: 12.69 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.41e-05/0.4908, allocations: 4 kB / 399 MB, free: 12.69 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004627/0.4913, allocations: 396 kB / 399.4 MB, free: 12.25 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.745e-05/0.4913, allocations: 12.03 kB / 399.4 MB, free: 12.24 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.015e-05/0.4914, allocations: 30.56 kB / 399.4 MB, free: 12.2 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.066e-05/0.4914, allocations: 11.91 kB / 399.4 MB, free: 12.19 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002379/0.4917, allocations: 194.9 kB / 399.6 MB, free: 11.96 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.134e-05/0.4917, allocations: 3.938 kB / 399.6 MB, free: 11.95 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.116e-05/0.4917, allocations: 4 kB / 399.6 MB, free: 11.95 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001202/0.4919, allocations: 41.69 kB / 399.7 MB, free: 11.9 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.134e-05/0.4919, allocations: 4 kB / 399.7 MB, free: 11.9 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.028e-05/0.4919, allocations: 0 / 399.7 MB, free: 11.9 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.588e-06/0.4919, allocations: 0 / 399.7 MB, free: 11.9 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.147e-05/0.492, allocations: 12 kB / 399.7 MB, free: 11.89 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004761/0.4925, allocations: 292.8 kB / 400 MB, free: 11.55 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002206/0.4927, allocations: 46.5 kB / 400 MB, free: 11.5 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.948e-05/0.4928, allocations: 8.859 kB / 400 MB, free: 11.48 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.24e-05/0.4928, allocations: 4 kB / 400 MB, free: 11.48 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.163e-05/0.4929, allocations: 34.66 kB / 400.1 MB, free: 11.44 MB / 330.7 MB Notification: Performance of pre-optimization done (n=3): time 1.683e-06/0.4929, allocations: 0 / 400.1 MB, free: 11.44 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005041/0.4934, allocations: 114.8 kB / 400.2 MB, free: 11.32 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.093e-05/0.4934, allocations: 63.34 kB / 400.2 MB, free: 11.25 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001867/0.4936, allocations: 144.9 kB / 400.4 MB, free: 11.09 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.15e-05/0.4937, allocations: 25.7 kB / 400.4 MB, free: 11.06 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.523e-05/0.4938, allocations: 162.5 kB / 400.6 MB, free: 10.9 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.466e-05/0.4938, allocations: 15.8 kB / 400.6 MB, free: 10.89 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.512e-06/0.4938, allocations: 4 kB / 400.6 MB, free: 10.88 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.000115/0.4939, allocations: 314.8 kB / 400.9 MB, free: 10.57 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.236e-05/0.494, allocations: 12 kB / 400.9 MB, free: 10.55 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.861e-05/0.4941, allocations: 16 kB / 400.9 MB, free: 10.54 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.255e-05/0.4942, allocations: 41.69 kB / 401 MB, free: 10.49 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.593e-06/0.4942, allocations: 0 / 401 MB, free: 10.49 MB / 330.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001854/0.4944, allocations: 103.3 kB / 401.1 MB, free: 10.38 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.954e-05/0.4944, allocations: 36.81 kB / 401.1 MB, free: 10.34 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.4944, allocations: 0 / 401.1 MB, free: 10.34 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.233e-05/0.4945, allocations: 4 kB / 401.1 MB, free: 10.34 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001144/0.4946, allocations: 12 kB / 401.1 MB, free: 10.32 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.392e-06/0.4946, allocations: 0 / 401.1 MB, free: 10.32 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.743e-05/0.4947, allocations: 16.19 kB / 401.1 MB, free: 10.31 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.036e-05/0.4947, allocations: 0 / 401.1 MB, free: 10.31 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 (6): * Single equations (assignments): 5 * 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 7.654e-05/0.4948, allocations: 109 kB / 401.2 MB, free: 10.2 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.053e-05/0.4949, allocations: 7.906 kB / 401.2 MB, free: 10.19 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002318/0.4951, allocations: 93.61 kB / 401.3 MB, free: 10.09 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/0.4951, allocations: 0 / 401.3 MB, free: 10.09 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.558e-06/0.4951, allocations: 0 / 401.3 MB, free: 10.09 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.4952, allocations: 4 kB / 401.3 MB, free: 10.09 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004641/0.4956, allocations: 334.5 kB / 401.7 MB, free: 9.707 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.93e-06/0.4956, allocations: 4 kB / 401.7 MB, free: 9.703 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000105/0.4958, allocations: 8 kB / 401.7 MB, free: 9.695 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.049e-06/0.4958, allocations: 7.938 kB / 401.7 MB, free: 9.688 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.137e-05/0.4958, allocations: 8 kB / 401.7 MB, free: 9.68 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.963e-06/0.4958, allocations: 3.984 kB / 401.7 MB, free: 9.676 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.731e-06/0.4958, allocations: 7.938 kB / 401.7 MB, free: 9.668 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001986/0.496, allocations: 163.4 kB / 401.9 MB, free: 9.492 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.345e-05/0.4961, allocations: 81.11 kB / 401.9 MB, free: 9.395 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.369e-05/0.4962, allocations: 4 kB / 401.9 MB, free: 9.391 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001109/0.4963, allocations: 7.984 kB / 401.9 MB, free: 9.383 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.533e-05/0.4964, allocations: 12 kB / 402 MB, free: 9.371 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.718e-06/0.4964, allocations: 3.953 kB / 402 MB, free: 9.367 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001516/0.4965, allocations: 119.2 kB / 402.1 MB, free: 9.25 MB / 330.7 MB Notification: Performance of sort global known variables: time 5.11e-07/0.4966, allocations: 0 / 402.1 MB, free: 9.25 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003399/0.4969, allocations: 19.92 kB / 402.1 MB, free: 9.23 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 (5): * Single equations (assignments): 5 * 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.001071/0.498, allocations: 0.8307 MB / 402.9 MB, free: 8.414 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.00019/0.4982, allocations: 87.34 kB / 403 MB, free: 8.316 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.4982, allocations: 0 / 403 MB, free: 8.316 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 6.6e-05/0.4983, allocations: 23.98 kB / 403 MB, free: 8.293 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002438/0.4985, allocations: 8 kB / 403 MB, free: 8.285 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005929/0.4992, allocations: 212 kB / 403.3 MB, free: 8.035 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002913/0.4995, allocations: 0.6965 MB / 404 MB, free: 7.312 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.561e-05/0.4996, allocations: 23.42 kB / 404 MB, free: 7.289 MB / 330.7 MB Notification: Performance of SimCode: time 9.12e-07/0.4996, allocations: 0 / 404 MB, free: 7.289 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_CombiTable1D_Test11CalcHelperMain.o OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable1D_Test11CalcHelperMain.cpp In file included from OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable1D_Test11CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable1D_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_CombiTable1D_Test11.so OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable1D_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" -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_CombiTable1D_Test11_FMU.makefile:93: recipe for target 'ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable1D_Test11.fmu' failed make: *** [ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable1D_Test11.fmu] Error 1