Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test25,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Ds_Test25",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.471/2.471, allocations: 270 MB / 282.6 MB, free: 1.91 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.446e-05/3.452e-05, allocations: 4 kB / 347.1 MB, free: 3.168 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3941/0.3942, allocations: 61.86 MB / 408.9 MB, free: 10.65 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1612/0.5555, allocations: 88.54 MB / 497.5 MB, free: 1.992 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002742/0.5558, allocations: 75.95 kB / 497.5 MB, free: 1.918 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01913/0.5749, allocations: 4.483 MB / 0.4903 GB, free: 13.42 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.423e-06/0.575, allocations: 0 / 0.4903 GB, free: 13.42 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.4e-05/0.575, allocations: 4 kB / 0.4903 GB, free: 13.41 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.0005772/0.5756, allocations: 410.1 kB / 0.4907 GB, free: 12.97 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.687e-05/0.5757, allocations: 8.031 kB / 0.4907 GB, free: 12.96 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.617e-05/0.5757, allocations: 30.56 kB / 0.4907 GB, free: 12.92 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.443e-05/0.5758, allocations: 15.83 kB / 0.4907 GB, free: 12.91 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002902/0.5761, allocations: 207.3 kB / 0.4909 GB, free: 12.66 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.136e-05/0.5761, allocations: 0 / 0.4909 GB, free: 12.66 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.514e-05/0.5761, allocations: 8 kB / 0.4909 GB, free: 12.65 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001487/0.5763, allocations: 53.69 kB / 0.491 GB, free: 12.59 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.298e-05/0.5763, allocations: 0 / 0.491 GB, free: 12.59 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.428e-05/0.5764, allocations: 4 kB / 0.491 GB, free: 12.59 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.047e-06/0.5764, allocations: 0 / 0.491 GB, free: 12.59 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.611e-05/0.5765, allocations: 19.94 kB / 0.491 GB, free: 12.57 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004949/0.577, allocations: 312.7 kB / 0.4913 GB, free: 12.21 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002429/0.5772, allocations: 58.48 kB / 0.4913 GB, free: 12.15 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.853e-05/0.5773, allocations: 17.02 kB / 0.4914 GB, free: 12.13 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.681e-05/0.5773, allocations: 4 kB / 0.4914 GB, free: 12.12 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.757e-05/0.5774, allocations: 30.56 kB / 0.4914 GB, free: 12.09 MB / 426.7 MB Notification: Performance of pre-optimization done (n=5): time 2.094e-06/0.5774, allocations: 0 / 0.4914 GB, free: 12.09 MB / 426.7 MB Notification: Performance of matching and sorting (n=11): time 0.000882/0.5783, allocations: 217.1 kB / 0.4916 GB, free: 11.87 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.734e-05/0.5783, allocations: 51.41 kB / 0.4916 GB, free: 11.8 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002423/0.5786, allocations: 157.5 kB / 0.4918 GB, free: 11.64 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.221e-05/0.5786, allocations: 29.7 kB / 0.4918 GB, free: 11.61 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.117e-05/0.5787, allocations: 166.5 kB / 0.492 GB, free: 11.44 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.617e-05/0.5788, allocations: 31.55 kB / 0.492 GB, free: 11.41 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.875e-06/0.5788, allocations: 0 / 0.492 GB, free: 11.41 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001275/0.5789, allocations: 318.8 kB / 0.4923 GB, free: 11.09 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.711e-05/0.579, allocations: 27.98 kB / 0.4923 GB, free: 11.06 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.338e-05/0.5791, allocations: 24 kB / 0.4924 GB, free: 11.04 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.781e-05/0.5792, allocations: 27.94 kB / 0.4924 GB, free: 11.01 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.5792, allocations: 0 / 0.4924 GB, free: 11.01 MB / 426.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002461/0.5795, allocations: 101.9 kB / 0.4925 GB, free: 10.91 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.119e-05/0.5795, allocations: 7.984 kB / 0.4925 GB, free: 10.9 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.5795, allocations: 0 / 0.4925 GB, free: 10.9 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.438e-05/0.5796, allocations: 4 kB / 0.4925 GB, free: 10.89 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002304/0.5798, allocations: 31.98 kB / 0.4925 GB, free: 10.86 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.211e-05/0.5798, allocations: 3.953 kB / 0.4925 GB, free: 10.86 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001269/0.58, allocations: 11.98 kB / 0.4925 GB, free: 10.85 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.749e-05/0.58, allocations: 8 kB / 0.4926 GB, free: 10.84 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 8.707e-05/0.5801, allocations: 104.4 kB / 0.4927 GB, free: 10.73 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.639e-05/0.5801, allocations: 11.91 kB / 0.4927 GB, free: 10.72 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003404/0.5805, allocations: 138.1 kB / 0.4928 GB, free: 10.58 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.222e-06/0.5805, allocations: 7.938 kB / 0.4928 GB, free: 10.57 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.5805, allocations: 0 / 0.4928 GB, free: 10.57 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.911e-06/0.5805, allocations: 3.953 kB / 0.4928 GB, free: 10.57 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007142/0.5813, allocations: 436.1 kB / 0.4932 GB, free: 10.08 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.101e-06/0.5813, allocations: 7.938 kB / 0.4932 GB, free: 10.07 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000207/0.5815, allocations: 32.05 kB / 0.4933 GB, free: 10.04 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.033e-06/0.5815, allocations: 3.953 kB / 0.4933 GB, free: 10.04 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.307e-05/0.5816, allocations: 0 / 0.4933 GB, free: 10.04 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.337e-06/0.5816, allocations: 4 kB / 0.4933 GB, free: 10.04 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.5816, allocations: 0 / 0.4933 GB, free: 10.04 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003086/0.5819, allocations: 244.4 kB / 0.4935 GB, free: 9.762 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.313e-05/0.582, allocations: 96.91 kB / 0.4936 GB, free: 9.648 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.93e-05/0.582, allocations: 4 kB / 0.4936 GB, free: 9.645 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001687/0.5822, allocations: 15.98 kB / 0.4936 GB, free: 9.629 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.092e-05/0.5823, allocations: 7.984 kB / 0.4936 GB, free: 9.621 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.616e-05/0.5823, allocations: 12.38 kB / 0.4936 GB, free: 9.609 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001644/0.5825, allocations: 126.6 kB / 0.4938 GB, free: 9.488 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.5825, allocations: 0 / 0.4938 GB, free: 9.488 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.000372/0.5829, allocations: 31.98 kB / 0.4938 GB, free: 9.457 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.00189/0.5848, allocations: 1.263 MB / 0.495 GB, free: 8.309 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002471/0.585, allocations: 75.92 kB / 0.4951 GB, free: 8.234 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.596e-06/0.5851, allocations: 0 / 0.4951 GB, free: 8.234 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001074/0.5852, allocations: 43.94 kB / 0.4951 GB, free: 8.191 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003174/0.5855, allocations: 15.03 kB / 0.4951 GB, free: 8.18 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008091/0.5863, allocations: 282.3 kB / 0.4954 GB, free: 7.855 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003278/0.5867, allocations: 0.712 MB / 0.4961 GB, free: 7.117 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001127/0.5868, allocations: 39.55 kB / 0.4961 GB, free: 7.078 MB / 426.7 MB Notification: Performance of SimCode: time 8.91e-07/0.5868, allocations: 4 kB / 0.4962 GB, free: 7.074 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_Test25CalcHelperMain.o OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Ds_Test25CalcHelperMain.cpp In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Ds_Test25CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Ds_Test25FMU.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_Test25.so OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Ds_Test25CalcHelperMain.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_Test25_FMU.makefile:93: recipe for target 'ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Ds_Test25.fmu' failed make: *** [ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Ds_Test25.fmu] Error 1