Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test25,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Dv_Test25",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.613/2.613, allocations: 270 MB / 282.6 MB, free: 1.82 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 4.056e-05/4.068e-05, allocations: 4 kB / 347.1 MB, free: 3.125 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.403/0.4031, allocations: 61.86 MB / 408.9 MB, free: 10.65 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1651/0.5683, allocations: 89.01 MB / 497.9 MB, free: 1.523 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002786/0.5686, allocations: 71.97 kB / 498 MB, free: 1.453 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0199/0.5885, allocations: 4.585 MB / 0.4908 GB, free: 12.85 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.724e-06/0.5886, allocations: 0 / 0.4908 GB, free: 12.85 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.984e-05/0.5886, allocations: 7.938 kB / 0.4908 GB, free: 12.84 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.0005288/0.5892, allocations: 402.1 kB / 0.4912 GB, free: 12.41 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.879e-05/0.5892, allocations: 8.031 kB / 0.4912 GB, free: 12.4 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.105e-05/0.5893, allocations: 42.56 kB / 0.4912 GB, free: 12.35 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.1e-05/0.5893, allocations: 7.906 kB / 0.4912 GB, free: 12.34 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003084/0.5897, allocations: 203.4 kB / 0.4914 GB, free: 12.1 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.467e-05/0.5897, allocations: 4 kB / 0.4914 GB, free: 12.09 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.91e-05/0.5897, allocations: 4 kB / 0.4914 GB, free: 12.09 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001629/0.5899, allocations: 65.55 kB / 0.4915 GB, free: 12.02 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.297e-05/0.5899, allocations: 0 / 0.4915 GB, free: 12.02 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.425e-05/0.59, allocations: 4 kB / 0.4915 GB, free: 12.02 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.139e-06/0.59, allocations: 0 / 0.4915 GB, free: 12.02 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001014/0.5901, allocations: 20 kB / 0.4915 GB, free: 12 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006094/0.5907, allocations: 332.7 kB / 0.4918 GB, free: 11.62 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000246/0.591, allocations: 50.55 kB / 0.4919 GB, free: 11.56 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.154e-05/0.591, allocations: 24.97 kB / 0.4919 GB, free: 11.54 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.254e-05/0.5911, allocations: 4 kB / 0.4919 GB, free: 11.53 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.282e-05/0.5911, allocations: 30.56 kB / 0.492 GB, free: 11.49 MB / 426.7 MB Notification: Performance of pre-optimization done (n=5): time 2.184e-06/0.5911, allocations: 0 / 0.492 GB, free: 11.49 MB / 426.7 MB Notification: Performance of matching and sorting (n=11): time 0.0009876/0.5921, allocations: 245.1 kB / 0.4922 GB, free: 11.25 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.357e-05/0.5922, allocations: 55.41 kB / 0.4922 GB, free: 11.18 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002344/0.5924, allocations: 160 kB / 0.4924 GB, free: 11.02 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.443e-05/0.5925, allocations: 29.7 kB / 0.4924 GB, free: 10.98 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.325e-05/0.5926, allocations: 166.5 kB / 0.4926 GB, free: 10.82 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.379e-05/0.5926, allocations: 39.44 kB / 0.4926 GB, free: 10.78 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.288e-06/0.5926, allocations: 0 / 0.4926 GB, free: 10.78 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001346/0.5928, allocations: 318.8 kB / 0.4929 GB, free: 10.46 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001005/0.5929, allocations: 31.98 kB / 0.493 GB, free: 10.43 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001026/0.593, allocations: 35.98 kB / 0.493 GB, free: 10.39 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001125/0.5931, allocations: 43.98 kB / 0.493 GB, free: 10.35 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.5932, allocations: 0 / 0.493 GB, free: 10.35 MB / 426.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002977/0.5935, allocations: 121.6 kB / 0.4931 GB, free: 10.22 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.131e-05/0.5935, allocations: 8 kB / 0.4932 GB, free: 10.21 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.602e-06/0.5935, allocations: 0 / 0.4932 GB, free: 10.21 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.487e-05/0.5935, allocations: 0 / 0.4932 GB, free: 10.21 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002385/0.5938, allocations: 31.92 kB / 0.4932 GB, free: 10.18 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.082e-05/0.5938, allocations: 3.953 kB / 0.4932 GB, free: 10.18 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001424/0.594, allocations: 24.36 kB / 0.4932 GB, free: 10.16 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.408e-05/0.594, allocations: 0 / 0.4932 GB, free: 10.16 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.59e-05/0.5941, allocations: 112.9 kB / 0.4933 GB, free: 10.04 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.052e-05/0.5942, allocations: 11.81 kB / 0.4933 GB, free: 10.03 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000418/0.5946, allocations: 154.6 kB / 0.4935 GB, free: 9.871 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.853e-06/0.5946, allocations: 4 kB / 0.4935 GB, free: 9.867 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.5946, allocations: 4 kB / 0.4935 GB, free: 9.863 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.448e-06/0.5946, allocations: 7.938 kB / 0.4935 GB, free: 9.855 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008388/0.5955, allocations: 468 kB / 0.4939 GB, free: 9.336 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.288e-06/0.5955, allocations: 0 / 0.4939 GB, free: 9.336 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002164/0.5957, allocations: 31.97 kB / 0.494 GB, free: 9.305 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.807e-06/0.5958, allocations: 15.95 kB / 0.494 GB, free: 9.289 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.571e-05/0.5958, allocations: 0 / 0.494 GB, free: 9.289 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.41e-06/0.5958, allocations: 4 kB / 0.494 GB, free: 9.285 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.345e-06/0.5958, allocations: 0 / 0.494 GB, free: 9.285 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003725/0.5962, allocations: 264.5 kB / 0.4942 GB, free: 8.992 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.41e-05/0.5963, allocations: 89.02 kB / 0.4943 GB, free: 8.887 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.183e-05/0.5963, allocations: 7.938 kB / 0.4943 GB, free: 8.879 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000175/0.5965, allocations: 11.98 kB / 0.4943 GB, free: 8.867 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.54e-05/0.5966, allocations: 15.92 kB / 0.4944 GB, free: 8.852 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.444e-05/0.5966, allocations: 4 kB / 0.4944 GB, free: 8.848 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001679/0.5968, allocations: 131.2 kB / 0.4945 GB, free: 8.719 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.81e-07/0.5968, allocations: 8 kB / 0.4945 GB, free: 8.711 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003824/0.5972, allocations: 31.94 kB / 0.4945 GB, free: 8.68 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.001987/0.5992, allocations: 1.274 MB / 0.4958 GB, free: 7.523 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0003242/0.5996, allocations: 87.98 kB / 0.4959 GB, free: 7.438 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.5996, allocations: 3.938 kB / 0.4959 GB, free: 7.434 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001402/0.5997, allocations: 47.98 kB / 0.4959 GB, free: 7.387 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003426/0.6001, allocations: 26.42 kB / 0.4959 GB, free: 7.363 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009338/0.601, allocations: 318.3 kB / 0.4962 GB, free: 7.004 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003748/0.6014, allocations: 0.7238 MB / 0.4969 GB, free: 6.254 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001247/0.6016, allocations: 35.42 kB / 0.497 GB, free: 6.219 MB / 426.7 MB Notification: Performance of SimCode: time 1.433e-06/0.6016, allocations: 0 / 0.497 GB, free: 6.219 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_Test25CalcHelperMain.o OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Dv_Test25CalcHelperMain.cpp In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Dv_Test25CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Dv_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_CombiTable2Dv_Test25.so OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Dv_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_CombiTable2Dv_Test25_FMU.makefile:93: recipe for target 'ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Dv_Test25.fmu' failed make: *** [ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Dv_Test25.fmu] Error 1