Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test2,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable1Ds_Test2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.007/2.007, allocations: 209.3 MB / 221.9 MB, free: 1.934 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.477e-05/3.482e-05, allocations: 4 kB / 273.1 MB, free: 0.6328 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09819/0.09826, allocations: 48.71 MB / 321.9 MB, free: 15.82 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3778/0.4761, allocations: 74.39 MB / 396.3 MB, free: 15.41 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002549/0.4764, allocations: 71.95 kB / 396.3 MB, free: 15.34 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01085/0.4873, allocations: 2.546 MB / 398.9 MB, free: 12.8 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.4873, allocations: 0 / 398.9 MB, free: 12.8 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.755e-05/0.4874, allocations: 8 kB / 398.9 MB, free: 12.79 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.0004817/0.4878, allocations: 392.1 kB / 399.3 MB, free: 12.36 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.335e-05/0.4879, allocations: 8.031 kB / 399.3 MB, free: 12.35 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.97e-05/0.488, allocations: 34.55 kB / 399.3 MB, free: 12.3 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.445e-05/0.488, allocations: 7.906 kB / 399.3 MB, free: 12.3 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002313/0.4883, allocations: 182.9 kB / 399.5 MB, free: 12.08 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.344e-05/0.4883, allocations: 0 / 399.5 MB, free: 12.08 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.483e-05/0.4883, allocations: 11.94 kB / 399.5 MB, free: 12.07 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001233/0.4885, allocations: 45.69 kB / 399.5 MB, free: 12.02 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.189e-05/0.4885, allocations: 4 kB / 399.5 MB, free: 12.01 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.899e-06/0.4885, allocations: 0 / 399.5 MB, free: 12.01 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.029e-06/0.4885, allocations: 0 / 399.5 MB, free: 12.01 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.668e-05/0.4886, allocations: 15.94 kB / 399.6 MB, free: 12 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003913/0.489, allocations: 276.9 kB / 399.8 MB, free: 11.68 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002138/0.4892, allocations: 38.52 kB / 399.9 MB, free: 11.63 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.592e-05/0.4893, allocations: 16.86 kB / 399.9 MB, free: 11.61 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.216e-05/0.4893, allocations: 0 / 399.9 MB, free: 11.61 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.275e-05/0.4894, allocations: 30.56 kB / 399.9 MB, free: 11.57 MB / 330.7 MB Notification: Performance of pre-optimization done (n=3): time 1.713e-06/0.4894, allocations: 0 / 399.9 MB, free: 11.57 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004862/0.4899, allocations: 102.9 kB / 400 MB, free: 11.46 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.199e-05/0.4899, allocations: 59.36 kB / 400.1 MB, free: 11.39 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001436/0.4901, allocations: 121.1 kB / 400.2 MB, free: 11.27 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.79e-05/0.4901, allocations: 29.7 kB / 400.2 MB, free: 11.23 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.499e-05/0.4902, allocations: 162.5 kB / 400.4 MB, free: 11.07 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.662e-05/0.4902, allocations: 19.73 kB / 400.4 MB, free: 11.05 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.392e-06/0.4902, allocations: 0 / 400.4 MB, free: 11.05 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001135/0.4904, allocations: 314.8 kB / 400.7 MB, free: 10.73 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.005e-05/0.4904, allocations: 12 kB / 400.7 MB, free: 10.72 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.824e-05/0.4905, allocations: 15.94 kB / 400.7 MB, free: 10.71 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.275e-05/0.4905, allocations: 37.7 kB / 400.8 MB, free: 10.66 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.262e-06/0.4906, allocations: 0 / 400.8 MB, free: 10.66 MB / 330.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001716/0.4907, allocations: 95.39 kB / 400.9 MB, free: 10.56 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.919e-05/0.4908, allocations: 29.7 kB / 400.9 MB, free: 10.52 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.4908, allocations: 0 / 400.9 MB, free: 10.52 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.328e-05/0.4908, allocations: 0 / 400.9 MB, free: 10.52 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001218/0.491, allocations: 19.92 kB / 400.9 MB, free: 10.5 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.763e-06/0.491, allocations: 0 / 400.9 MB, free: 10.5 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.476e-05/0.4911, allocations: 15.94 kB / 400.9 MB, free: 10.49 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.018e-05/0.4911, allocations: 0 / 400.9 MB, free: 10.49 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.346e-05/0.4912, allocations: 109 kB / 401 MB, free: 10.38 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.781e-05/0.4912, allocations: 7.906 kB / 401 MB, free: 10.37 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001982/0.4914, allocations: 69.92 kB / 401.1 MB, free: 10.3 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.871e-06/0.4915, allocations: 3.984 kB / 401.1 MB, free: 10.29 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.469e-06/0.4915, allocations: 0 / 401.1 MB, free: 10.29 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.474e-06/0.4915, allocations: 3.984 kB / 401.1 MB, free: 10.29 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004357/0.492, allocations: 330.8 kB / 401.4 MB, free: 9.91 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.492, allocations: 4 kB / 401.4 MB, free: 9.906 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001085/0.4921, allocations: 15.98 kB / 401.5 MB, free: 9.891 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/0.4921, allocations: 0 / 401.5 MB, free: 9.891 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.727e-06/0.4921, allocations: 0 / 401.5 MB, free: 9.891 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-06/0.4921, allocations: 0 / 401.5 MB, free: 9.891 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.679e-06/0.4922, allocations: 3.953 kB / 401.5 MB, free: 9.887 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001908/0.4924, allocations: 163.4 kB / 401.6 MB, free: 9.711 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.983e-05/0.4924, allocations: 81.02 kB / 401.7 MB, free: 9.613 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.176e-05/0.4925, allocations: 11.94 kB / 401.7 MB, free: 9.602 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001115/0.4926, allocations: 7.984 kB / 401.7 MB, free: 9.594 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.125e-05/0.4926, allocations: 0 / 401.7 MB, free: 9.594 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.154e-05/0.4926, allocations: 7.953 kB / 401.7 MB, free: 9.586 MB / 330.7 MB Notification: Performance of sorting global known variables: time 9.877e-05/0.4928, allocations: 107.8 kB / 401.8 MB, free: 9.48 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.4928, allocations: 0 / 401.8 MB, free: 9.48 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003236/0.4931, allocations: 12 kB / 401.8 MB, free: 9.469 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.0009891/0.4941, allocations: 0.8284 MB / 402.7 MB, free: 8.66 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001889/0.4943, allocations: 79.41 kB / 402.8 MB, free: 8.57 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.4943, allocations: 4 kB / 402.8 MB, free: 8.566 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 5.569e-05/0.4944, allocations: 16 kB / 402.8 MB, free: 8.551 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002562/0.4947, allocations: 16.17 kB / 402.8 MB, free: 8.535 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005656/0.4952, allocations: 172.2 kB / 403 MB, free: 8.32 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003666/0.4956, allocations: 0.6926 MB / 403.7 MB, free: 7.602 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.924e-05/0.4957, allocations: 19.44 kB / 403.7 MB, free: 7.582 MB / 330.7 MB Notification: Performance of SimCode: time 7.91e-07/0.4958, allocations: 0 / 403.7 MB, free: 7.582 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_CombiTable1Ds_Test2CalcHelperMain.o OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable1Ds_Test2CalcHelperMain.cpp In file included from OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable1Ds_Test2CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable1Ds_Test2FMU.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_CombiTable1Ds_Test2.so OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable1Ds_Test2CalcHelperMain.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_CombiTable1Ds_Test2_FMU.makefile:93: recipe for target 'ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable1Ds_Test2.fmu' failed make: *** [ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable1Ds_Test2.fmu] Error 1