Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1D.Test5,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable1D_Test5",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.865/1.865, allocations: 209.3 MB / 221.9 MB, free: 1.938 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.869e-05/3.879e-05, allocations: 4 kB / 273.1 MB, free: 0.6406 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09937/0.09943, allocations: 48.71 MB / 321.9 MB, free: 15.84 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3856/0.4851, allocations: 74.44 MB / 396.3 MB, free: 15.36 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002556/0.4854, allocations: 74.73 kB / 396.4 MB, free: 15.29 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01204/0.4975, allocations: 3.016 MB / 399.4 MB, free: 12.28 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.4975, allocations: 0 / 399.4 MB, free: 12.28 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.221e-05/0.4976, allocations: 0 / 399.4 MB, free: 12.28 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.0004659/0.498, allocations: 412 kB / 399.8 MB, free: 11.83 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.423e-05/0.4981, allocations: 8.031 kB / 399.8 MB, free: 11.82 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.482e-05/0.4981, allocations: 38.5 kB / 399.8 MB, free: 11.77 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.097e-05/0.4982, allocations: 7.906 kB / 399.8 MB, free: 11.77 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002733/0.4985, allocations: 210.8 kB / 400.1 MB, free: 11.52 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.273e-05/0.4985, allocations: 4 kB / 400.1 MB, free: 11.52 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.821e-05/0.4985, allocations: 0 / 400.1 MB, free: 11.52 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001231/0.4987, allocations: 49.69 kB / 400.1 MB, free: 11.46 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.368e-05/0.4987, allocations: 3.984 kB / 400.1 MB, free: 11.46 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.888e-06/0.4987, allocations: 0 / 400.1 MB, free: 11.46 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-06/0.4987, allocations: 0 / 400.1 MB, free: 11.46 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.118e-05/0.4988, allocations: 12 kB / 400.1 MB, free: 11.45 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004802/0.4993, allocations: 308.8 kB / 400.4 MB, free: 11.09 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002071/0.4995, allocations: 38.56 kB / 400.5 MB, free: 11.05 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.948e-05/0.4996, allocations: 12.86 kB / 400.5 MB, free: 11.03 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.046e-05/0.4996, allocations: 0 / 400.5 MB, free: 11.03 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.285e-05/0.4997, allocations: 38.56 kB / 400.5 MB, free: 10.98 MB / 330.7 MB Notification: Performance of pre-optimization done (n=3): time 1.864e-06/0.4997, allocations: 0 / 400.5 MB, free: 10.98 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005068/0.5002, allocations: 122.6 kB / 400.6 MB, free: 10.86 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.689e-05/0.5002, allocations: 63.3 kB / 400.7 MB, free: 10.79 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002943/0.5006, allocations: 189.4 kB / 400.9 MB, free: 10.59 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.045e-05/0.5006, allocations: 29.7 kB / 400.9 MB, free: 10.56 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.276e-05/0.5007, allocations: 158.6 kB / 401.1 MB, free: 10.4 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.717e-05/0.5007, allocations: 27.73 kB / 401.1 MB, free: 10.38 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.232e-06/0.5007, allocations: 0 / 401.1 MB, free: 10.38 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001121/0.5009, allocations: 310.8 kB / 401.4 MB, free: 10.06 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.82e-05/0.5009, allocations: 16 kB / 401.4 MB, free: 10.05 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.812e-05/0.501, allocations: 19.94 kB / 401.4 MB, free: 10.03 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.946e-05/0.5011, allocations: 41.69 kB / 401.5 MB, free: 9.98 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/0.5011, allocations: 0 / 401.5 MB, free: 9.98 MB / 330.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000186/0.5013, allocations: 99.33 kB / 401.6 MB, free: 9.871 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.221e-05/0.5013, allocations: 29.7 kB / 401.6 MB, free: 9.836 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.684e-06/0.5013, allocations: 0 / 401.6 MB, free: 9.836 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.374e-05/0.5014, allocations: 7.984 kB / 401.6 MB, free: 9.828 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001271/0.5015, allocations: 12 kB / 401.6 MB, free: 9.816 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.322e-06/0.5015, allocations: 0 / 401.6 MB, free: 9.816 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.434e-05/0.5016, allocations: 15.94 kB / 401.6 MB, free: 9.801 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.018e-05/0.5016, allocations: 0 / 401.6 MB, free: 9.801 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.59e-05/0.5017, allocations: 109 kB / 401.7 MB, free: 9.688 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.653e-05/0.5018, allocations: 11.81 kB / 401.7 MB, free: 9.676 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002239/0.502, allocations: 89.7 kB / 401.8 MB, free: 9.582 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.926e-06/0.502, allocations: 0 / 401.8 MB, free: 9.582 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.618e-06/0.5021, allocations: 0 / 401.8 MB, free: 9.582 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.29e-06/0.5021, allocations: 0 / 401.8 MB, free: 9.582 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005022/0.5026, allocations: 366.8 kB / 402.2 MB, free: 9.168 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.5026, allocations: 0 / 402.2 MB, free: 9.168 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001135/0.5027, allocations: 19.98 kB / 402.2 MB, free: 9.148 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.232e-06/0.5027, allocations: 0 / 402.2 MB, free: 9.148 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.057e-06/0.5028, allocations: 7.938 kB / 402.2 MB, free: 9.141 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.5028, allocations: 0 / 402.2 MB, free: 9.141 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.537e-06/0.5028, allocations: 3.953 kB / 402.2 MB, free: 9.137 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002044/0.503, allocations: 163.5 kB / 402.4 MB, free: 8.961 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.601e-05/0.5031, allocations: 92.92 kB / 402.5 MB, free: 8.852 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.586e-05/0.5031, allocations: 3.984 kB / 402.5 MB, free: 8.848 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001141/0.5032, allocations: 8 kB / 402.5 MB, free: 8.84 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.774e-05/0.5033, allocations: 8 kB / 402.5 MB, free: 8.832 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.296e-05/0.5033, allocations: 7.938 kB / 402.5 MB, free: 8.824 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002013/0.5035, allocations: 160.1 kB / 402.7 MB, free: 8.668 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.81e-07/0.5035, allocations: 0 / 402.7 MB, free: 8.668 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003351/0.5039, allocations: 20 kB / 402.7 MB, free: 8.648 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.001012/0.5049, allocations: 0.836 MB / 403.5 MB, free: 7.828 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001937/0.5051, allocations: 91.39 kB / 403.6 MB, free: 7.727 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.5051, allocations: 0 / 403.6 MB, free: 7.727 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 6.236e-05/0.5052, allocations: 19.94 kB / 403.6 MB, free: 7.707 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002534/0.5055, allocations: 12 kB / 403.6 MB, free: 7.695 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007235/0.5062, allocations: 248.7 kB / 403.9 MB, free: 7.41 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003748/0.5066, allocations: 0.716 MB / 404.6 MB, free: 6.668 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.173e-05/0.5067, allocations: 27.42 kB / 404.6 MB, free: 6.641 MB / 330.7 MB Notification: Performance of SimCode: time 6.91e-07/0.5067, allocations: 0 / 404.6 MB, free: 6.641 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_Test5CalcHelperMain.o OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable1D_Test5CalcHelperMain.cpp In file included from OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable1D_Test5CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable1D_Test5FMU.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_Test5.so OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable1D_Test5CalcHelperMain.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_Test5_FMU.makefile:93: recipe for target 'ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable1D_Test5.fmu' failed make: *** [ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable1D_Test5.fmu] Error 1