Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test27,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Dv_Test27",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.783/2.783, allocations: 270 MB / 282.6 MB, free: 1.926 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.972e-05/3.978e-05, allocations: 7.938 kB / 347.1 MB, free: 3.188 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3969/0.397, allocations: 61.86 MB / 408.9 MB, free: 10.8 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1786/0.5757, allocations: 89 MB / 497.9 MB, free: 1.68 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003366/0.5761, allocations: 71.97 kB / 498 MB, free: 1.609 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02687/0.603, allocations: 4.683 MB / 0.4909 GB, free: 12.91 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.794e-06/0.603, allocations: 0 / 0.4909 GB, free: 12.91 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.073e-05/0.6031, allocations: 4 kB / 0.4909 GB, free: 12.91 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.0006036/0.6037, allocations: 406.1 kB / 0.4913 GB, free: 12.47 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.465e-05/0.6037, allocations: 8.031 kB / 0.4913 GB, free: 12.46 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.624e-05/0.6038, allocations: 42.42 kB / 0.4913 GB, free: 12.41 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.399e-05/0.6039, allocations: 11.91 kB / 0.4913 GB, free: 12.4 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003352/0.6042, allocations: 209.7 kB / 0.4915 GB, free: 12.16 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.183e-05/0.6043, allocations: 0 / 0.4915 GB, free: 12.16 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.512e-05/0.6043, allocations: 4 kB / 0.4915 GB, free: 12.15 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001794/0.6045, allocations: 61.62 kB / 0.4916 GB, free: 12.09 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.374e-05/0.6045, allocations: 4 kB / 0.4916 GB, free: 12.08 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.326e-05/0.6045, allocations: 0 / 0.4916 GB, free: 12.08 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.971e-06/0.6046, allocations: 0 / 0.4916 GB, free: 12.08 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001093/0.6047, allocations: 31.97 kB / 0.4916 GB, free: 12.05 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006821/0.6054, allocations: 320.7 kB / 0.4919 GB, free: 11.69 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000265/0.6057, allocations: 62.59 kB / 0.492 GB, free: 11.62 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.094e-05/0.6057, allocations: 16.98 kB / 0.492 GB, free: 11.6 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3e-05/0.6058, allocations: 0 / 0.492 GB, free: 11.6 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.556e-05/0.6058, allocations: 30.56 kB / 0.492 GB, free: 11.56 MB / 426.7 MB Notification: Performance of pre-optimization done (n=5): time 2.084e-06/0.6058, allocations: 0 / 0.492 GB, free: 11.56 MB / 426.7 MB Notification: Performance of matching and sorting (n=11): time 0.001121/0.607, allocations: 249 kB / 0.4923 GB, free: 11.31 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.868e-05/0.6071, allocations: 55.41 kB / 0.4923 GB, free: 11.24 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002762/0.6074, allocations: 167.8 kB / 0.4925 GB, free: 11.07 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.652e-05/0.6074, allocations: 33.7 kB / 0.4925 GB, free: 11.04 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.199e-05/0.6075, allocations: 158.6 kB / 0.4927 GB, free: 10.88 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.971e-05/0.6076, allocations: 43.38 kB / 0.4927 GB, free: 10.84 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.3e-05/0.6076, allocations: 4 kB / 0.4927 GB, free: 10.83 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001241/0.6077, allocations: 318.8 kB / 0.493 GB, free: 10.51 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001066/0.6078, allocations: 39.98 kB / 0.4931 GB, free: 10.47 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001001/0.608, allocations: 31.98 kB / 0.4931 GB, free: 10.44 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001267/0.6081, allocations: 47.92 kB / 0.4931 GB, free: 10.39 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.6081, allocations: 0 / 0.4931 GB, free: 10.39 MB / 426.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003227/0.6084, allocations: 117.6 kB / 0.4933 GB, free: 10.27 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.025e-05/0.6085, allocations: 11.94 kB / 0.4933 GB, free: 10.26 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.642e-06/0.6085, allocations: 0 / 0.4933 GB, free: 10.26 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.695e-05/0.6085, allocations: 0 / 0.4933 GB, free: 10.26 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002541/0.6088, allocations: 31.98 kB / 0.4933 GB, free: 10.23 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.219e-05/0.6088, allocations: 3.953 kB / 0.4933 GB, free: 10.23 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001438/0.609, allocations: 15.98 kB / 0.4933 GB, free: 10.21 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.422e-05/0.609, allocations: 0 / 0.4933 GB, free: 10.21 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.0001022/0.6091, allocations: 112.9 kB / 0.4934 GB, free: 10.09 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.112e-05/0.6092, allocations: 11.91 kB / 0.4934 GB, free: 10.08 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004332/0.6096, allocations: 154.2 kB / 0.4936 GB, free: 9.926 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.133e-06/0.6096, allocations: 3.984 kB / 0.4936 GB, free: 9.922 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/0.6097, allocations: 4 kB / 0.4936 GB, free: 9.918 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.921e-06/0.6097, allocations: 3.953 kB / 0.4936 GB, free: 9.914 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008528/0.6105, allocations: 475.9 kB / 0.4941 GB, free: 9.387 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.408e-06/0.6106, allocations: 4.062 kB / 0.4941 GB, free: 9.383 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002212/0.6108, allocations: 35.92 kB / 0.4941 GB, free: 9.348 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.196e-05/0.6108, allocations: 7.953 kB / 0.4941 GB, free: 9.34 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.46e-05/0.6108, allocations: 0 / 0.4941 GB, free: 9.34 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.961e-06/0.6109, allocations: 4 kB / 0.4941 GB, free: 9.336 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.6109, allocations: 0 / 0.4941 GB, free: 9.336 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004059/0.6113, allocations: 261 kB / 0.4943 GB, free: 9.047 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.254e-05/0.6114, allocations: 92.91 kB / 0.4944 GB, free: 8.938 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.383e-05/0.6114, allocations: 8 kB / 0.4944 GB, free: 8.93 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001751/0.6116, allocations: 11.98 kB / 0.4945 GB, free: 8.918 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.764e-05/0.6117, allocations: 15.98 kB / 0.4945 GB, free: 8.902 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.459e-05/0.6117, allocations: 4.375 kB / 0.4945 GB, free: 8.898 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001853/0.6119, allocations: 137.7 kB / 0.4946 GB, free: 8.766 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.6119, allocations: 0 / 0.4946 GB, free: 8.766 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.000396/0.6123, allocations: 39.98 kB / 0.4946 GB, free: 8.727 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.001941/0.6143, allocations: 1.276 MB / 0.4959 GB, free: 7.562 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0003225/0.6146, allocations: 95.86 kB / 0.496 GB, free: 7.469 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.158e-06/0.6147, allocations: 8 kB / 0.496 GB, free: 7.461 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001388/0.6148, allocations: 51.92 kB / 0.496 GB, free: 7.41 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004363/0.6153, allocations: 15.98 kB / 0.4961 GB, free: 7.395 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009405/0.6162, allocations: 326.1 kB / 0.4964 GB, free: 7.023 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003473/0.6166, allocations: 0.7239 MB / 0.4971 GB, free: 6.273 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001278/0.6167, allocations: 39.42 kB / 0.4971 GB, free: 6.234 MB / 426.7 MB Notification: Performance of SimCode: time 1.242e-06/0.6168, allocations: 0 / 0.4971 GB, free: 6.234 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_CombiTable2Dv_Test27CalcHelperMain.o OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Dv_Test27CalcHelperMain.cpp In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Dv_Test27CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Dv_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_CombiTable2Dv_Test27.so OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Dv_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_CombiTable2Dv_Test27_FMU.makefile:93: recipe for target 'ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Dv_Test27.fmu' failed make: *** [ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Dv_Test27.fmu] Error 1