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.878/1.878, allocations: 209.3 MB / 221.9 MB, free: 1.938 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.37e-05/3.373e-05, allocations: 4 kB / 273.2 MB, free: 0.6406 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09873/0.09879, allocations: 48.7 MB / 321.8 MB, free: 15.85 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3872/0.4861, allocations: 74.4 MB / 396.2 MB, free: 15.54 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002504/0.4864, allocations: 75.17 kB / 396.3 MB, free: 15.46 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01116/0.4975, allocations: 2.565 MB / 398.9 MB, free: 12.91 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.392e-06/0.4976, allocations: 0 / 398.9 MB, free: 12.91 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.092e-05/0.4976, allocations: 8 kB / 398.9 MB, free: 12.9 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.0004812/0.4981, allocations: 388.1 kB / 399.3 MB, free: 12.47 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.666e-05/0.4982, allocations: 12.03 kB / 399.3 MB, free: 12.46 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.637e-05/0.4982, allocations: 34.56 kB / 399.3 MB, free: 12.41 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.957e-05/0.4983, allocations: 7.906 kB / 399.3 MB, free: 12.41 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002503/0.4985, allocations: 182.9 kB / 399.5 MB, free: 12.19 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.158e-05/0.4986, allocations: 0 / 399.5 MB, free: 12.19 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.488e-05/0.4986, allocations: 7.938 kB / 399.5 MB, free: 12.18 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001267/0.4987, allocations: 45.69 kB / 399.6 MB, free: 12.13 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.425e-05/0.4988, allocations: 4 kB / 399.6 MB, free: 12.12 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.839e-06/0.4988, allocations: 0 / 399.6 MB, free: 12.12 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.063e-06/0.4988, allocations: 7.984 kB / 399.6 MB, free: 12.12 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.143e-05/0.4989, allocations: 19.98 kB / 399.6 MB, free: 12.1 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004808/0.4994, allocations: 276.9 kB / 399.9 MB, free: 11.78 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002246/0.4996, allocations: 46.45 kB / 399.9 MB, free: 11.72 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.773e-05/0.4997, allocations: 8.859 kB / 399.9 MB, free: 11.71 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.276e-05/0.4997, allocations: 8.078 kB / 399.9 MB, free: 11.7 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.661e-05/0.4998, allocations: 38.56 kB / 400 MB, free: 11.66 MB / 330.7 MB Notification: Performance of pre-optimization done (n=3): time 2.033e-06/0.4998, allocations: 0 / 400 MB, free: 11.66 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005233/0.5003, allocations: 110.8 kB / 400.1 MB, free: 11.54 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.47e-05/0.5004, allocations: 55.36 kB / 400.1 MB, free: 11.48 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001477/0.5005, allocations: 125.1 kB / 400.2 MB, free: 11.34 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.087e-05/0.5006, allocations: 33.7 kB / 400.3 MB, free: 11.3 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.546e-05/0.5006, allocations: 154.6 kB / 400.4 MB, free: 11.15 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.453e-05/0.5007, allocations: 11.75 kB / 400.4 MB, free: 11.14 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.143e-05/0.5007, allocations: 8 kB / 400.4 MB, free: 11.13 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001233/0.5008, allocations: 314.8 kB / 400.8 MB, free: 10.82 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.588e-05/0.5009, allocations: 12 kB / 400.8 MB, free: 10.8 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.487e-05/0.501, allocations: 15.94 kB / 400.8 MB, free: 10.79 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.779e-05/0.5011, allocations: 45.69 kB / 400.8 MB, free: 10.74 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.5011, allocations: 0 / 400.8 MB, free: 10.74 MB / 330.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001947/0.5013, allocations: 99.39 kB / 400.9 MB, free: 10.63 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.726e-05/0.5013, allocations: 29.7 kB / 401 MB, free: 10.59 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.764e-06/0.5014, allocations: 0 / 401 MB, free: 10.59 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.838e-05/0.5014, allocations: 4 kB / 401 MB, free: 10.59 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001435/0.5015, allocations: 19.92 kB / 401 MB, free: 10.57 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.554e-06/0.5016, allocations: 0 / 401 MB, free: 10.57 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.852e-05/0.5017, allocations: 7.953 kB / 401 MB, free: 10.56 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.312e-05/0.5017, allocations: 4 kB / 401 MB, free: 10.56 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.299e-05/0.5018, allocations: 105 kB / 401.1 MB, free: 10.45 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.17e-05/0.5018, allocations: 11.89 kB / 401.1 MB, free: 10.44 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002344/0.5021, allocations: 77.77 kB / 401.2 MB, free: 10.36 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/0.5021, allocations: 0 / 401.2 MB, free: 10.36 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.5021, allocations: 0 / 401.2 MB, free: 10.36 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.5021, allocations: 0 / 401.2 MB, free: 10.36 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000485/0.5026, allocations: 342.8 kB / 401.5 MB, free: 9.969 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.344e-06/0.5026, allocations: 0 / 401.5 MB, free: 9.969 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001137/0.5027, allocations: 16 kB / 401.5 MB, free: 9.953 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.606e-06/0.5028, allocations: 0 / 401.5 MB, free: 9.953 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.538e-06/0.5028, allocations: 0 / 401.5 MB, free: 9.953 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.851e-06/0.5028, allocations: 4 kB / 401.5 MB, free: 9.949 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.095e-06/0.5028, allocations: 7.938 kB / 401.5 MB, free: 9.941 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002056/0.503, allocations: 163.4 kB / 401.7 MB, free: 9.766 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.084e-05/0.5031, allocations: 85.02 kB / 401.8 MB, free: 9.664 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.074e-05/0.5032, allocations: 4 kB / 401.8 MB, free: 9.66 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001116/0.5033, allocations: 11.98 kB / 401.8 MB, free: 9.648 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.111e-05/0.5033, allocations: 7.938 kB / 401.8 MB, free: 9.641 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.107e-06/0.5034, allocations: 3.953 kB / 401.8 MB, free: 9.637 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001009/0.5035, allocations: 107.8 kB / 401.9 MB, free: 9.531 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.5035, allocations: 0 / 401.9 MB, free: 9.531 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003481/0.5038, allocations: 16 kB / 401.9 MB, free: 9.516 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.001051/0.5049, allocations: 0.8284 MB / 402.8 MB, free: 8.707 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002083/0.5051, allocations: 91.33 kB / 402.8 MB, free: 8.605 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.886e-06/0.5051, allocations: 4 kB / 402.9 MB, free: 8.602 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 7.072e-05/0.5052, allocations: 20 kB / 402.9 MB, free: 8.582 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002759/0.5055, allocations: 8.234 kB / 402.9 MB, free: 8.574 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006149/0.5061, allocations: 180.2 kB / 403.1 MB, free: 8.352 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003098/0.5065, allocations: 0.7003 MB / 403.8 MB, free: 7.625 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.663e-05/0.5066, allocations: 19.44 kB / 403.8 MB, free: 7.605 MB / 330.7 MB Notification: Performance of SimCode: time 8.51e-07/0.5066, allocations: 0 / 403.8 MB, free: 7.605 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