Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test26,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Dv_Test26",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.482/2.482, allocations: 270 MB / 282.6 MB, free: 1.945 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 4.666e-05/4.678e-05, allocations: 4 kB / 347.1 MB, free: 3.219 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3936/0.3937, allocations: 61.86 MB / 408.9 MB, free: 10.84 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1883/0.5821, allocations: 88.99 MB / 497.9 MB, free: 1.727 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000349/0.5825, allocations: 75.95 kB / 498 MB, free: 1.652 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02313/0.6057, allocations: 4.644 MB / 0.4908 GB, free: 13 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.064e-06/0.6057, allocations: 0 / 0.4908 GB, free: 13 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.14e-05/0.6058, allocations: 8 kB / 0.4909 GB, free: 12.99 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.0006262/0.6064, allocations: 406 kB / 0.4912 GB, free: 12.55 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.962e-05/0.6065, allocations: 11.97 kB / 0.4913 GB, free: 12.54 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.546e-05/0.6066, allocations: 38.56 kB / 0.4913 GB, free: 12.49 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.295e-05/0.6066, allocations: 7.906 kB / 0.4913 GB, free: 12.48 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003596/0.607, allocations: 213.7 kB / 0.4915 GB, free: 12.23 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.697e-06/0.607, allocations: 0 / 0.4915 GB, free: 12.23 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.974e-05/0.6071, allocations: 4 kB / 0.4915 GB, free: 12.23 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001775/0.6072, allocations: 61.62 kB / 0.4916 GB, free: 12.16 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.518e-05/0.6073, allocations: 0 / 0.4916 GB, free: 12.16 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.065e-05/0.6073, allocations: 8 kB / 0.4916 GB, free: 12.16 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.493e-06/0.6073, allocations: 0 / 0.4916 GB, free: 12.16 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001043/0.6074, allocations: 23.98 kB / 0.4916 GB, free: 12.13 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007364/0.6082, allocations: 332.7 kB / 0.4919 GB, free: 11.76 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002835/0.6085, allocations: 50.59 kB / 0.492 GB, free: 11.7 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.475e-05/0.6086, allocations: 16.98 kB / 0.492 GB, free: 11.68 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.783e-05/0.6086, allocations: 0 / 0.492 GB, free: 11.68 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.212e-05/0.6087, allocations: 38.56 kB / 0.492 GB, free: 11.63 MB / 426.7 MB Notification: Performance of pre-optimization done (n=5): time 2.174e-06/0.6087, allocations: 0 / 0.492 GB, free: 11.63 MB / 426.7 MB Notification: Performance of matching and sorting (n=11): time 0.001072/0.6098, allocations: 248.9 kB / 0.4923 GB, free: 11.38 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.897e-05/0.6098, allocations: 51.41 kB / 0.4923 GB, free: 11.32 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002834/0.6101, allocations: 167.8 kB / 0.4925 GB, free: 11.15 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.833e-05/0.6102, allocations: 29.69 kB / 0.4925 GB, free: 11.12 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.217e-05/0.6103, allocations: 162.6 kB / 0.4926 GB, free: 10.96 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.399e-05/0.6103, allocations: 43.44 kB / 0.4927 GB, free: 10.91 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.196e-05/0.6104, allocations: 4 kB / 0.4927 GB, free: 10.91 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001263/0.6105, allocations: 314.8 kB / 0.493 GB, free: 10.59 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001441/0.6107, allocations: 35.98 kB / 0.493 GB, free: 10.56 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001048/0.6108, allocations: 39.94 kB / 0.4931 GB, free: 10.52 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001169/0.6109, allocations: 39.97 kB / 0.4931 GB, free: 10.48 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.6109, allocations: 0 / 0.4931 GB, free: 10.48 MB / 426.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003149/0.6112, allocations: 121.5 kB / 0.4932 GB, free: 10.36 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.071e-05/0.6113, allocations: 4 kB / 0.4932 GB, free: 10.35 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.743e-06/0.6113, allocations: 4 kB / 0.4932 GB, free: 10.35 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.989e-05/0.6113, allocations: 0 / 0.4932 GB, free: 10.35 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002617/0.6116, allocations: 35.97 kB / 0.4933 GB, free: 10.31 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.512e-05/0.6116, allocations: 3.953 kB / 0.4933 GB, free: 10.31 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000144/0.6118, allocations: 15.98 kB / 0.4933 GB, free: 10.29 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.646e-05/0.6118, allocations: 4 kB / 0.4933 GB, free: 10.29 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 9.363e-05/0.6119, allocations: 112.9 kB / 0.4934 GB, free: 10.17 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.072e-05/0.612, allocations: 11.84 kB / 0.4934 GB, free: 10.16 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004163/0.6124, allocations: 154.6 kB / 0.4935 GB, free: 10 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.743e-06/0.6124, allocations: 4 kB / 0.4936 GB, free: 10 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.6124, allocations: 0 / 0.4936 GB, free: 10 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.827e-06/0.6125, allocations: 7.938 kB / 0.4936 GB, free: 9.992 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000842/0.6133, allocations: 479.9 kB / 0.494 GB, free: 9.461 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.6133, allocations: 0 / 0.494 GB, free: 9.461 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002264/0.6136, allocations: 31.97 kB / 0.494 GB, free: 9.43 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.478e-06/0.6136, allocations: 7.953 kB / 0.4941 GB, free: 9.422 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.644e-05/0.6136, allocations: 4 kB / 0.4941 GB, free: 9.418 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.24e-06/0.6136, allocations: 4 kB / 0.4941 GB, free: 9.414 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/0.6136, allocations: 384 / 0.4941 GB, free: 9.414 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003628/0.614, allocations: 256.5 kB / 0.4943 GB, free: 9.129 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.622e-05/0.6141, allocations: 92.92 kB / 0.4944 GB, free: 9.02 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.513e-05/0.6141, allocations: 8 kB / 0.4944 GB, free: 9.012 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000171/0.6143, allocations: 23.92 kB / 0.4944 GB, free: 8.988 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.521e-05/0.6144, allocations: 11.98 kB / 0.4944 GB, free: 8.977 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.165e-05/0.6144, allocations: 0 / 0.4944 GB, free: 8.977 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001954/0.6146, allocations: 145.7 kB / 0.4946 GB, free: 8.836 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.6146, allocations: 0 / 0.4946 GB, free: 8.836 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003818/0.615, allocations: 32 kB / 0.4946 GB, free: 8.805 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.001902/0.6169, allocations: 1.278 MB / 0.4959 GB, free: 7.641 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0003057/0.6173, allocations: 99.91 kB / 0.496 GB, free: 7.543 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.357e-06/0.6173, allocations: 0 / 0.496 GB, free: 7.543 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001387/0.6174, allocations: 55.92 kB / 0.496 GB, free: 7.488 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003264/0.6178, allocations: 12 kB / 0.496 GB, free: 7.477 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009357/0.6187, allocations: 326.1 kB / 0.4963 GB, free: 7.105 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00034/0.6191, allocations: 0.7239 MB / 0.497 GB, free: 6.355 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001257/0.6192, allocations: 39.42 kB / 0.4971 GB, free: 6.316 MB / 426.7 MB Notification: Performance of SimCode: time 1.032e-06/0.6192, allocations: 0 / 0.4971 GB, free: 6.316 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_Test26CalcHelperMain.o OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Dv_Test26CalcHelperMain.cpp In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Dv_Test26CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Dv_Test26FMU.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_Test26.so OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Dv_Test26CalcHelperMain.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_Test26_FMU.makefile:93: recipe for target 'ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Dv_Test26.fmu' failed make: *** [ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Dv_Test26.fmu] Error 1