Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test28,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Dv_Test28",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.638/2.638, allocations: 270 MB / 282.6 MB, free: 1.805 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 4.437e-05/4.442e-05, allocations: 7.938 kB / 347.1 MB, free: 3.094 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3973/0.3974, allocations: 61.88 MB / 408.9 MB, free: 10.73 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1862/0.5836, allocations: 88.99 MB / 497.9 MB, free: 1.617 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003158/0.584, allocations: 71.95 kB / 498 MB, free: 1.547 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0209/0.6049, allocations: 4.714 MB / 0.4909 GB, free: 12.82 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.513e-06/0.605, allocations: 3.938 kB / 0.4909 GB, free: 12.82 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.677e-05/0.605, allocations: 4 kB / 0.4909 GB, free: 12.81 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.0005567/0.6056, allocations: 410.1 kB / 0.4913 GB, free: 12.37 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.21e-05/0.6057, allocations: 12.03 kB / 0.4913 GB, free: 12.36 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.469e-05/0.6057, allocations: 38.5 kB / 0.4914 GB, free: 12.31 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.662e-05/0.6058, allocations: 11.89 kB / 0.4914 GB, free: 12.3 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003131/0.6061, allocations: 207.7 kB / 0.4916 GB, free: 12.05 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.582e-05/0.6061, allocations: 8 kB / 0.4916 GB, free: 12.05 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.13e-05/0.6062, allocations: 4 kB / 0.4916 GB, free: 12.04 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001693/0.6063, allocations: 57.61 kB / 0.4916 GB, free: 11.98 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.624e-05/0.6064, allocations: 3.906 kB / 0.4916 GB, free: 11.98 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.406e-05/0.6064, allocations: 4 kB / 0.4916 GB, free: 11.97 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.785e-06/0.6064, allocations: 4 kB / 0.4917 GB, free: 11.97 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.859e-05/0.6065, allocations: 20 kB / 0.4917 GB, free: 11.95 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006731/0.6072, allocations: 336.7 kB / 0.492 GB, free: 11.57 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002895/0.6075, allocations: 46.58 kB / 0.492 GB, free: 11.52 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.772e-05/0.6076, allocations: 20.97 kB / 0.4921 GB, free: 11.49 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.456e-05/0.6076, allocations: 0 / 0.4921 GB, free: 11.49 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.126e-05/0.6077, allocations: 46.59 kB / 0.4921 GB, free: 11.44 MB / 426.7 MB Notification: Performance of pre-optimization done (n=5): time 1.864e-06/0.6077, allocations: 0 / 0.4921 GB, free: 11.44 MB / 426.7 MB Notification: Performance of matching and sorting (n=11): time 0.0009858/0.6087, allocations: 241 kB / 0.4923 GB, free: 11.2 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.263e-05/0.6087, allocations: 55.41 kB / 0.4924 GB, free: 11.13 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002692/0.609, allocations: 172.9 kB / 0.4925 GB, free: 10.96 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.273e-05/0.6091, allocations: 29.7 kB / 0.4926 GB, free: 10.92 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.584e-05/0.6092, allocations: 170.5 kB / 0.4927 GB, free: 10.75 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.09e-05/0.6092, allocations: 39.41 kB / 0.4928 GB, free: 10.71 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.987e-06/0.6092, allocations: 0 / 0.4928 GB, free: 10.71 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001186/0.6094, allocations: 314.8 kB / 0.4931 GB, free: 10.4 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001021/0.6095, allocations: 36 kB / 0.4931 GB, free: 10.36 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.99e-05/0.6096, allocations: 35.98 kB / 0.4931 GB, free: 10.33 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001226/0.6097, allocations: 43.97 kB / 0.4932 GB, free: 10.29 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.816e-06/0.6097, allocations: 4 kB / 0.4932 GB, free: 10.28 MB / 426.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003106/0.6101, allocations: 117.9 kB / 0.4933 GB, free: 10.16 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.074e-05/0.6101, allocations: 7.938 kB / 0.4933 GB, free: 10.15 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.555e-06/0.6101, allocations: 4 kB / 0.4933 GB, free: 10.15 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.622e-05/0.6101, allocations: 0 / 0.4933 GB, free: 10.15 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002549/0.6104, allocations: 35.91 kB / 0.4933 GB, free: 10.11 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.161e-05/0.6104, allocations: 3.953 kB / 0.4934 GB, free: 10.11 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001418/0.6106, allocations: 12 kB / 0.4934 GB, free: 10.1 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.877e-05/0.6106, allocations: 8 kB / 0.4934 GB, free: 10.09 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.281e-05/0.6107, allocations: 109 kB / 0.4935 GB, free: 9.977 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.324e-05/0.6108, allocations: 7.906 kB / 0.4935 GB, free: 9.969 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004235/0.6112, allocations: 162.1 kB / 0.4936 GB, free: 9.805 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.529e-06/0.6112, allocations: 0 / 0.4936 GB, free: 9.805 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.6112, allocations: 0 / 0.4936 GB, free: 9.805 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.913e-06/0.6113, allocations: 3.953 kB / 0.4936 GB, free: 9.801 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008874/0.6122, allocations: 484.1 kB / 0.4941 GB, free: 9.266 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.953e-06/0.6122, allocations: 0 / 0.4941 GB, free: 9.266 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002301/0.6124, allocations: 35.86 kB / 0.4941 GB, free: 9.23 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.454e-05/0.6125, allocations: 11.94 kB / 0.4941 GB, free: 9.219 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.611e-05/0.6125, allocations: 4.062 kB / 0.4942 GB, free: 9.215 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.181e-06/0.6125, allocations: 4 kB / 0.4942 GB, free: 9.211 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.395e-06/0.6125, allocations: 0 / 0.4942 GB, free: 9.211 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003936/0.6129, allocations: 256.4 kB / 0.4944 GB, free: 8.926 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.525e-05/0.613, allocations: 93.02 kB / 0.4945 GB, free: 8.816 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.322e-05/0.6131, allocations: 7.938 kB / 0.4945 GB, free: 8.809 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001852/0.6133, allocations: 12.36 kB / 0.4945 GB, free: 8.797 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.347e-05/0.6133, allocations: 15.98 kB / 0.4945 GB, free: 8.781 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.441e-05/0.6134, allocations: 4 kB / 0.4945 GB, free: 8.777 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001993/0.6136, allocations: 144.6 kB / 0.4947 GB, free: 8.637 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.6136, allocations: 0 / 0.4947 GB, free: 8.637 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003851/0.614, allocations: 31.94 kB / 0.4947 GB, free: 8.605 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.002002/0.616, allocations: 1.291 MB / 0.496 GB, free: 7.434 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0003527/0.6164, allocations: 99.84 kB / 0.4961 GB, free: 7.336 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.518e-06/0.6164, allocations: 0 / 0.4961 GB, free: 7.336 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000142/0.6166, allocations: 55.92 kB / 0.4961 GB, free: 7.281 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000356/0.6169, allocations: 12.19 kB / 0.4961 GB, free: 7.27 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009837/0.6179, allocations: 327 kB / 0.4964 GB, free: 6.898 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003576/0.6183, allocations: 0.7276 MB / 0.4971 GB, free: 6.145 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001398/0.6185, allocations: 39.42 kB / 0.4972 GB, free: 6.105 MB / 426.7 MB Notification: Performance of SimCode: time 1.293e-06/0.6185, allocations: 0 / 0.4972 GB, free: 6.105 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_Test28CalcHelperMain.o OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Dv_Test28CalcHelperMain.cpp In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Dv_Test28CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Dv_Test28FMU.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_Test28.so OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Dv_Test28CalcHelperMain.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_Test28_FMU.makefile:93: recipe for target 'ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Dv_Test28.fmu' failed make: *** [ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Dv_Test28.fmu] Error 1