Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1D.Test2,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable1D_Test2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.892/1.892, allocations: 209.3 MB / 221.9 MB, free: 1.93 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.593e-05/3.596e-05, allocations: 4 kB / 273.1 MB, free: 0.6406 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0986/0.09867, allocations: 48.71 MB / 321.8 MB, free: 15.84 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3828/0.4816, allocations: 74.39 MB / 396.2 MB, free: 15.44 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000257/0.4819, allocations: 79.05 kB / 396.3 MB, free: 15.37 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01087/0.4928, allocations: 2.561 MB / 398.9 MB, free: 12.81 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.4928, allocations: 0 / 398.9 MB, free: 12.81 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.461e-05/0.4928, allocations: 4 kB / 398.9 MB, free: 12.81 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.0004618/0.4933, allocations: 392 kB / 399.3 MB, free: 12.38 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.64e-05/0.4934, allocations: 12.03 kB / 399.3 MB, free: 12.36 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.989e-05/0.4934, allocations: 38.55 kB / 399.3 MB, free: 12.32 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.727e-05/0.4935, allocations: 7.906 kB / 399.3 MB, free: 12.31 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002418/0.4937, allocations: 182.9 kB / 399.5 MB, free: 12.09 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.323e-05/0.4938, allocations: 4 kB / 399.5 MB, free: 12.09 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.435e-05/0.4938, allocations: 4 kB / 399.5 MB, free: 12.08 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001266/0.4939, allocations: 45.62 kB / 399.5 MB, free: 12.03 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.158e-05/0.494, allocations: 0 / 399.5 MB, free: 12.03 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.4e-05/0.494, allocations: 3.984 kB / 399.5 MB, free: 12.03 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.42e-06/0.494, allocations: 0 / 399.5 MB, free: 12.03 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.313e-05/0.4941, allocations: 20 kB / 399.6 MB, free: 12.01 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004437/0.4946, allocations: 280.9 kB / 399.8 MB, free: 11.68 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002203/0.4948, allocations: 42.5 kB / 399.9 MB, free: 11.63 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.029e-05/0.4948, allocations: 12.86 kB / 399.9 MB, free: 11.62 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.272e-05/0.4949, allocations: 4 kB / 399.9 MB, free: 11.61 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.255e-05/0.4949, allocations: 34.56 kB / 399.9 MB, free: 11.57 MB / 330.7 MB Notification: Performance of pre-optimization done (n=3): time 1.873e-06/0.4949, allocations: 0 / 399.9 MB, free: 11.57 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005151/0.4955, allocations: 110.9 kB / 400 MB, free: 11.46 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.218e-05/0.4955, allocations: 55.36 kB / 400.1 MB, free: 11.39 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001437/0.4957, allocations: 125.1 kB / 400.2 MB, free: 11.26 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.132e-05/0.4957, allocations: 29.7 kB / 400.2 MB, free: 11.22 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.499e-05/0.4958, allocations: 166.5 kB / 400.4 MB, free: 11.06 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.603e-05/0.4958, allocations: 15.73 kB / 400.4 MB, free: 11.04 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.222e-06/0.4958, allocations: 3.938 kB / 400.4 MB, free: 11.04 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001203/0.496, allocations: 318.8 kB / 400.7 MB, free: 10.72 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.631e-05/0.496, allocations: 15.98 kB / 400.8 MB, free: 10.7 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.645e-05/0.4961, allocations: 12 kB / 400.8 MB, free: 10.69 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.263e-05/0.4962, allocations: 41.7 kB / 400.8 MB, free: 10.64 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.4962, allocations: 0 / 400.8 MB, free: 10.64 MB / 330.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001884/0.4964, allocations: 99.5 kB / 400.9 MB, free: 10.54 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.121e-05/0.4964, allocations: 37.7 kB / 400.9 MB, free: 10.49 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.4965, allocations: 64 / 400.9 MB, free: 10.49 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.064e-05/0.4965, allocations: 8 kB / 400.9 MB, free: 10.48 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001204/0.4966, allocations: 15.98 kB / 401 MB, free: 10.47 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.053e-06/0.4966, allocations: 0 / 401 MB, free: 10.47 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.232e-05/0.4967, allocations: 7.953 kB / 401 MB, free: 10.46 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.138e-05/0.4968, allocations: 0 / 401 MB, free: 10.46 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.395e-05/0.4968, allocations: 109 kB / 401.1 MB, free: 10.35 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.951e-05/0.4969, allocations: 7.906 kB / 401.1 MB, free: 10.34 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002264/0.4971, allocations: 85.69 kB / 401.2 MB, free: 10.25 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.018e-06/0.4971, allocations: 0 / 401.2 MB, free: 10.25 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.4972, allocations: 0 / 401.2 MB, free: 10.25 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.4972, allocations: 0 / 401.2 MB, free: 10.25 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004502/0.4976, allocations: 334.5 kB / 401.5 MB, free: 9.871 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.365e-06/0.4976, allocations: 0 / 401.5 MB, free: 9.871 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001113/0.4978, allocations: 19.98 kB / 401.5 MB, free: 9.852 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.216e-06/0.4978, allocations: 0 / 401.5 MB, free: 9.852 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.398e-06/0.4978, allocations: 0 / 401.5 MB, free: 9.852 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/0.4978, allocations: 4 kB / 401.5 MB, free: 9.848 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.631e-06/0.4978, allocations: 7.891 kB / 401.5 MB, free: 9.84 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002261/0.4981, allocations: 163.4 kB / 401.7 MB, free: 9.664 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.376e-05/0.4981, allocations: 85.02 kB / 401.8 MB, free: 9.562 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.132e-05/0.4982, allocations: 0 / 401.8 MB, free: 9.562 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001072/0.4983, allocations: 12 kB / 401.8 MB, free: 9.551 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.603e-05/0.4983, allocations: 7.984 kB / 401.8 MB, free: 9.543 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.347e-06/0.4984, allocations: 4.141 kB / 401.8 MB, free: 9.539 MB / 330.7 MB Notification: Performance of sorting global known variables: time 9.863e-05/0.4985, allocations: 107.8 kB / 401.9 MB, free: 9.434 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.4985, allocations: 3.938 kB / 401.9 MB, free: 9.43 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003026/0.4988, allocations: 16 kB / 401.9 MB, free: 9.414 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.001014/0.4998, allocations: 0.8274 MB / 402.7 MB, free: 8.605 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002033/0.5, allocations: 91.39 kB / 402.8 MB, free: 8.504 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.5001, allocations: 0 / 402.8 MB, free: 8.504 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 6.477e-05/0.5001, allocations: 23.94 kB / 402.9 MB, free: 8.48 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002271/0.5004, allocations: 7.188 kB / 402.9 MB, free: 8.477 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005631/0.5009, allocations: 188.3 kB / 403 MB, free: 8.246 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002799/0.5012, allocations: 0.6926 MB / 403.7 MB, free: 7.527 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.469e-05/0.5013, allocations: 23.42 kB / 403.8 MB, free: 7.504 MB / 330.7 MB Notification: Performance of SimCode: time 1.223e-06/0.5013, allocations: 0 / 403.8 MB, free: 7.504 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_Test2CalcHelperMain.o OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable1D_Test2CalcHelperMain.cpp In file included from OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable1D_Test2CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable1D_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_CombiTable1D_Test2.so OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable1D_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_CombiTable1D_Test2_FMU.makefile:93: recipe for target 'ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable1D_Test2.fmu' failed make: *** [ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable1D_Test2.fmu] Error 1