Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test27,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Ds_Test27",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.444/2.444, allocations: 270 MB / 282.7 MB, free: 1.816 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 4.187e-05/4.23e-05, allocations: 4 kB / 347.1 MB, free: 3.133 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4243/0.4244, allocations: 61.86 MB / 408.9 MB, free: 10.75 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2005/0.625, allocations: 88.55 MB / 497.5 MB, free: 2.078 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003461/0.6254, allocations: 71.95 kB / 497.5 MB, free: 2.008 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04517/0.6706, allocations: 4.589 MB / 0.4904 GB, free: 13.41 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.286e-06/0.6707, allocations: 0 / 0.4904 GB, free: 13.41 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.405e-05/0.6707, allocations: 4 kB / 0.4904 GB, free: 13.4 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0007778/0.6715, allocations: 406.1 kB / 0.4907 GB, free: 12.96 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.318e-05/0.6716, allocations: 12.03 kB / 0.4908 GB, free: 12.95 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.547e-05/0.6717, allocations: 30.56 kB / 0.4908 GB, free: 12.91 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.105e-05/0.6718, allocations: 11.91 kB / 0.4908 GB, free: 12.9 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004239/0.6722, allocations: 206.8 kB / 0.491 GB, free: 12.66 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.905e-05/0.6723, allocations: 4 kB / 0.491 GB, free: 12.65 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.844e-05/0.6723, allocations: 4 kB / 0.491 GB, free: 12.65 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002056/0.6725, allocations: 53.69 kB / 0.4911 GB, free: 12.59 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.703e-05/0.6726, allocations: 0 / 0.4911 GB, free: 12.59 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.575e-05/0.6726, allocations: 0 / 0.4911 GB, free: 12.59 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.995e-06/0.6726, allocations: 0 / 0.4911 GB, free: 12.59 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001356/0.6728, allocations: 23.94 kB / 0.4911 GB, free: 12.57 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007676/0.6736, allocations: 312.7 kB / 0.4914 GB, free: 12.21 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003422/0.674, allocations: 46.56 kB / 0.4914 GB, free: 12.16 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.867e-05/0.6741, allocations: 16.98 kB / 0.4914 GB, free: 12.14 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.733e-05/0.6741, allocations: 96 / 0.4914 GB, free: 12.14 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.634e-05/0.6742, allocations: 42.5 kB / 0.4915 GB, free: 12.09 MB / 426.7 MB Notification: Performance of pre-optimization done (n=5): time 2.875e-06/0.6742, allocations: 3.938 kB / 0.4915 GB, free: 12.08 MB / 426.7 MB Notification: Performance of matching and sorting (n=11): time 0.00135/0.6756, allocations: 209.1 kB / 0.4917 GB, free: 11.87 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.534e-05/0.6757, allocations: 51.41 kB / 0.4917 GB, free: 11.81 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003944/0.6761, allocations: 168 kB / 0.4919 GB, free: 11.64 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.501e-05/0.6762, allocations: 33.7 kB / 0.4919 GB, free: 11.6 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001169/0.6763, allocations: 162.5 kB / 0.4921 GB, free: 11.44 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.645e-05/0.6764, allocations: 35.45 kB / 0.4921 GB, free: 11.41 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.638e-05/0.6764, allocations: 4 kB / 0.4921 GB, free: 11.4 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001761/0.6766, allocations: 314.8 kB / 0.4924 GB, free: 11.09 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001217/0.6768, allocations: 20 kB / 0.4924 GB, free: 11.07 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001267/0.6769, allocations: 28 kB / 0.4925 GB, free: 11.04 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001311/0.6771, allocations: 23.98 kB / 0.4925 GB, free: 11.02 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.241e-06/0.6771, allocations: 4 kB / 0.4925 GB, free: 11.01 MB / 426.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0004183/0.6775, allocations: 101.6 kB / 0.4926 GB, free: 10.91 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.639e-05/0.6776, allocations: 7.938 kB / 0.4926 GB, free: 10.9 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.917e-06/0.6776, allocations: 0 / 0.4926 GB, free: 10.9 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.945e-05/0.6776, allocations: 0 / 0.4926 GB, free: 10.9 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003778/0.678, allocations: 36.28 kB / 0.4926 GB, free: 10.86 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.817e-05/0.6781, allocations: 3.953 kB / 0.4926 GB, free: 10.86 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002152/0.6783, allocations: 19.98 kB / 0.4927 GB, free: 10.84 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.419e-05/0.6784, allocations: 15.98 kB / 0.4927 GB, free: 10.82 MB / 426.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 (11): * Single equations (assignments): 11 * 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 prepare postOptimizeDAE: time 0.0001254/0.6785, allocations: 101 kB / 0.4928 GB, free: 10.72 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.329e-05/0.6786, allocations: 11.81 kB / 0.4928 GB, free: 10.71 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005347/0.6792, allocations: 130.6 kB / 0.4929 GB, free: 10.57 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.196e-05/0.6792, allocations: 4 kB / 0.4929 GB, free: 10.57 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.584e-06/0.6792, allocations: 0 / 0.4929 GB, free: 10.57 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.107e-06/0.6793, allocations: 7.953 kB / 0.4929 GB, free: 10.56 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001083/0.6804, allocations: 440.1 kB / 0.4933 GB, free: 10.07 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.558e-06/0.6804, allocations: 0 / 0.4933 GB, free: 10.07 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003381/0.6808, allocations: 31.92 kB / 0.4934 GB, free: 10.04 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.519e-05/0.6808, allocations: 3.953 kB / 0.4934 GB, free: 10.04 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.829e-05/0.6808, allocations: 12.06 kB / 0.4934 GB, free: 10.02 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.512e-06/0.6809, allocations: 0 / 0.4934 GB, free: 10.02 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.344e-06/0.6809, allocations: 3.984 kB / 0.4934 GB, free: 10.02 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005346/0.6814, allocations: 240.5 kB / 0.4936 GB, free: 9.75 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000126/0.6816, allocations: 97 kB / 0.4937 GB, free: 9.637 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.264e-05/0.6817, allocations: 4 kB / 0.4937 GB, free: 9.633 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003388/0.682, allocations: 15.98 kB / 0.4937 GB, free: 9.617 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003032/0.6824, allocations: 11.98 kB / 0.4937 GB, free: 9.605 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.947e-05/0.6825, allocations: 4 kB / 0.4937 GB, free: 9.602 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0003153/0.6828, allocations: 141.1 kB / 0.4939 GB, free: 9.465 MB / 426.7 MB Notification: Performance of sort global known variables: time 6.82e-07/0.6828, allocations: 0 / 0.4939 GB, free: 9.465 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.000746/0.6836, allocations: 39.94 kB / 0.4939 GB, free: 9.426 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * 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.00305/0.6867, allocations: 1.269 MB / 0.4951 GB, free: 8.273 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0004/0.6871, allocations: 71.94 kB / 0.4952 GB, free: 8.203 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 6.332e-06/0.6872, allocations: 0 / 0.4952 GB, free: 8.203 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001747/0.6874, allocations: 39.94 kB / 0.4953 GB, free: 8.164 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004704/0.6879, allocations: 16.2 kB / 0.4953 GB, free: 8.148 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001313/0.6892, allocations: 290.2 kB / 0.4955 GB, free: 7.812 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005173/0.6898, allocations: 0.7159 MB / 0.4962 GB, free: 7.07 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001791/0.69, allocations: 39.42 kB / 0.4963 GB, free: 7.031 MB / 426.7 MB Notification: Performance of SimCode: time 4.408e-06/0.69, allocations: 4 kB / 0.4963 GB, free: 7.027 MB / 426.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"." "-I/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica trunk/Resources/C-Sources" -DUSE_LOGGER -c -o OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Ds_Test27CalcHelperMain.o OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Ds_Test27CalcHelperMain.cpp In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Ds_Test27CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Ds_Test27FMU.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_trunk_cpp_ModelicaTest_Tables_CombiTable2Ds_Test27.so OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Ds_Test27CalcHelperMain.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 trunk/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 trunk/Resources/Library/x86_64-linux" -Wl,-rpath="/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica trunk/Resources/Library/x86_64-linux" "-L/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica trunk/Resources/Library/linux64" -Wl,-rpath="/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica trunk/Resources/Library/linux64" "-L/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica trunk/Resources/Library" -Wl,-rpath="/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica trunk/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_trunk_cpp_ModelicaTest_Tables_CombiTable2Ds_Test27_FMU.makefile:93: recipe for target 'ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Ds_Test27.fmu' failed make: *** [ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Ds_Test27.fmu] Error 1