Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test24,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Ds_Test24",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.493/2.493, allocations: 270 MB / 282.6 MB, free: 1.855 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.334e-05/3.333e-05, allocations: 7.984 kB / 347.1 MB, free: 3.121 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3934/0.3935, allocations: 61.86 MB / 408.9 MB, free: 10.66 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1596/0.5531, allocations: 88.55 MB / 497.5 MB, free: 1.984 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00028/0.5535, allocations: 71.97 kB / 497.5 MB, free: 1.914 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01939/0.5729, allocations: 4.487 MB / 0.4903 GB, free: 13.41 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.234e-06/0.5729, allocations: 0 / 0.4903 GB, free: 13.41 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.447e-05/0.573, allocations: 0 / 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.0005392/0.5735, allocations: 402.1 kB / 0.4906 GB, free: 12.97 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.396e-05/0.5736, allocations: 12.03 kB / 0.4907 GB, free: 12.96 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.686e-05/0.5736, allocations: 34.56 kB / 0.4907 GB, free: 12.92 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.215e-05/0.5737, allocations: 7.906 kB / 0.4907 GB, free: 12.91 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000292/0.574, allocations: 210.4 kB / 0.4909 GB, free: 12.66 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.592e-05/0.574, allocations: 11.92 kB / 0.4909 GB, free: 12.65 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.614e-05/0.5741, allocations: 4 kB / 0.4909 GB, free: 12.65 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000147/0.5742, allocations: 53.62 kB / 0.491 GB, free: 12.59 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.347e-05/0.5743, allocations: 0 / 0.491 GB, free: 12.59 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.461e-05/0.5743, allocations: 4 kB / 0.491 GB, free: 12.59 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.31e-06/0.5743, allocations: 0 / 0.491 GB, free: 12.59 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.973e-05/0.5744, allocations: 20 kB / 0.491 GB, free: 12.57 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000495/0.5749, allocations: 312.7 kB / 0.4913 GB, free: 12.21 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002499/0.5752, allocations: 42.58 kB / 0.4913 GB, free: 12.16 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.323e-05/0.5752, allocations: 20.98 kB / 0.4913 GB, free: 12.14 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.02e-05/0.5753, allocations: 3.984 kB / 0.4913 GB, free: 12.13 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.507e-05/0.5753, allocations: 30.56 kB / 0.4914 GB, free: 12.09 MB / 426.7 MB Notification: Performance of pre-optimization done (n=5): time 1.963e-06/0.5753, allocations: 7.938 kB / 0.4914 GB, free: 12.09 MB / 426.7 MB Notification: Performance of matching and sorting (n=11): time 0.000892/0.5762, allocations: 213.2 kB / 0.4916 GB, free: 11.87 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.288e-05/0.5763, allocations: 55.41 kB / 0.4916 GB, free: 11.8 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002414/0.5765, allocations: 150.1 kB / 0.4918 GB, free: 11.64 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.345e-05/0.5766, allocations: 33.64 kB / 0.4918 GB, free: 11.61 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.764e-05/0.5767, allocations: 166.5 kB / 0.492 GB, free: 11.44 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.755e-05/0.5768, allocations: 39.53 kB / 0.492 GB, free: 11.4 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.925e-06/0.5768, allocations: 0 / 0.492 GB, free: 11.4 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001224/0.5769, allocations: 314.8 kB / 0.4923 GB, free: 11.09 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.835e-05/0.577, allocations: 24 kB / 0.4923 GB, free: 11.06 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.59e-05/0.5771, allocations: 24 kB / 0.4924 GB, free: 11.04 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.805e-05/0.5772, allocations: 27.98 kB / 0.4924 GB, free: 11.01 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.447e-06/0.5772, allocations: 0 / 0.4924 GB, free: 11.01 MB / 426.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002489/0.5775, allocations: 101.5 kB / 0.4925 GB, free: 10.91 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.827e-05/0.5775, allocations: 4 kB / 0.4925 GB, free: 10.9 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.813e-06/0.5775, allocations: 4 kB / 0.4925 GB, free: 10.9 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.767e-05/0.5775, allocations: 3.984 kB / 0.4925 GB, free: 10.89 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002415/0.5778, allocations: 35.92 kB / 0.4925 GB, free: 10.86 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.024e-05/0.5778, allocations: 3.953 kB / 0.4925 GB, free: 10.86 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001336/0.5779, allocations: 15.98 kB / 0.4925 GB, free: 10.84 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.276e-05/0.578, allocations: 0 / 0.4925 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.434e-05/0.5781, allocations: 113 kB / 0.4927 GB, free: 10.72 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.74e-05/0.5781, allocations: 7.906 kB / 0.4927 GB, free: 10.71 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003475/0.5785, allocations: 134.1 kB / 0.4928 GB, free: 10.58 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.398e-06/0.5785, allocations: 0 / 0.4928 GB, free: 10.58 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.5785, allocations: 0 / 0.4928 GB, free: 10.58 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.4e-06/0.5785, allocations: 7.891 kB / 0.4928 GB, free: 10.57 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007309/0.5793, allocations: 444 kB / 0.4932 GB, free: 10.07 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.567e-06/0.5793, allocations: 0 / 0.4932 GB, free: 10.07 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002159/0.5795, allocations: 27.98 kB / 0.4932 GB, free: 10.05 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.448e-06/0.5795, allocations: 3.953 kB / 0.4932 GB, free: 10.04 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.635e-05/0.5796, allocations: 4 kB / 0.4933 GB, free: 10.04 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.208e-06/0.5796, allocations: 3.938 kB / 0.4933 GB, free: 10.04 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.5796, allocations: 0 / 0.4933 GB, free: 10.04 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003175/0.5799, allocations: 240.5 kB / 0.4935 GB, free: 9.766 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.859e-05/0.58, allocations: 96.91 kB / 0.4936 GB, free: 9.652 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.07e-05/0.5801, allocations: 4 kB / 0.4936 GB, free: 9.648 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001849/0.5803, allocations: 20.36 kB / 0.4936 GB, free: 9.629 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.581e-05/0.5803, allocations: 11.98 kB / 0.4936 GB, free: 9.617 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.293e-05/0.5804, allocations: 7.938 kB / 0.4936 GB, free: 9.609 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001683/0.5805, allocations: 130.5 kB / 0.4937 GB, free: 9.484 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.61e-07/0.5805, allocations: 0 / 0.4937 GB, free: 9.484 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003944/0.581, allocations: 28 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.001893/0.5829, allocations: 1.265 MB / 0.495 GB, free: 8.309 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002651/0.5832, allocations: 68 kB / 0.4951 GB, free: 8.242 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.396e-06/0.5832, allocations: 3.938 kB / 0.4951 GB, free: 8.238 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001128/0.5833, allocations: 43.92 kB / 0.4951 GB, free: 8.195 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000335/0.5836, allocations: 15.98 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.0008252/0.5845, allocations: 274.3 kB / 0.4954 GB, free: 7.863 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003492/0.5849, allocations: 0.7239 MB / 0.4961 GB, free: 7.113 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001141/0.585, allocations: 31.42 kB / 0.4961 GB, free: 7.082 MB / 426.7 MB Notification: Performance of SimCode: time 1.093e-06/0.585, allocations: 0 / 0.4961 GB, free: 7.082 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_Test24CalcHelperMain.o OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Ds_Test24CalcHelperMain.cpp In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Ds_Test24CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Ds_Test24FMU.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_Test24.so OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Ds_Test24CalcHelperMain.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_Test24_FMU.makefile:93: recipe for target 'ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Ds_Test24.fmu' failed make: *** [ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Ds_Test24.fmu] Error 1