Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test30,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Dv_Test30",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.516/2.516, allocations: 270 MB / 282.6 MB, free: 1.918 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.738e-05/3.788e-05, allocations: 4 kB / 347.1 MB, free: 3.211 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4/0.4001, allocations: 61.86 MB / 408.9 MB, free: 10.83 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1927/0.5929, allocations: 89 MB / 497.9 MB, free: 1.715 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002678/0.5932, allocations: 71.95 kB / 498 MB, free: 1.645 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02003/0.6132, allocations: 4.823 MB / 0.491 GB, free: 12.81 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.422e-06/0.6133, allocations: 0 / 0.491 GB, free: 12.81 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.453e-05/0.6133, allocations: 0 / 0.491 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.0005542/0.6139, allocations: 410.1 kB / 0.4914 GB, free: 12.36 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.836e-05/0.6139, allocations: 8.031 kB / 0.4914 GB, free: 12.36 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.037e-05/0.614, allocations: 42.5 kB / 0.4915 GB, free: 12.3 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.271e-05/0.6141, allocations: 11.91 kB / 0.4915 GB, free: 12.29 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003248/0.6144, allocations: 221.5 kB / 0.4917 GB, free: 12.04 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.583e-05/0.6144, allocations: 8 kB / 0.4917 GB, free: 12.03 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.596e-05/0.6145, allocations: 7.938 kB / 0.4917 GB, free: 12.02 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001744/0.6146, allocations: 53.69 kB / 0.4918 GB, free: 11.96 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.35e-05/0.6147, allocations: 0 / 0.4918 GB, free: 11.96 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.418e-05/0.6147, allocations: 4 kB / 0.4918 GB, free: 11.96 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.089e-06/0.6147, allocations: 0 / 0.4918 GB, free: 11.96 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.699e-05/0.6148, allocations: 23.94 kB / 0.4918 GB, free: 11.93 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006361/0.6155, allocations: 340.6 kB / 0.4921 GB, free: 11.55 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002481/0.6157, allocations: 46.56 kB / 0.4921 GB, free: 11.5 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.633e-05/0.6158, allocations: 29.02 kB / 0.4922 GB, free: 11.46 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.074e-05/0.6158, allocations: 4 kB / 0.4922 GB, free: 11.46 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.321e-05/0.6159, allocations: 30.56 kB / 0.4922 GB, free: 11.42 MB / 426.7 MB Notification: Performance of pre-optimization done (n=5): time 2.134e-06/0.6159, allocations: 0 / 0.4922 GB, free: 11.42 MB / 426.7 MB Notification: Performance of matching and sorting (n=11): time 0.0009483/0.6168, allocations: 237 kB / 0.4924 GB, free: 11.18 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.343e-05/0.6169, allocations: 55.41 kB / 0.4925 GB, free: 11.12 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003108/0.6172, allocations: 206.7 kB / 0.4927 GB, free: 10.91 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.236e-05/0.6173, allocations: 25.7 kB / 0.4927 GB, free: 10.88 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.498e-05/0.6174, allocations: 162.6 kB / 0.4929 GB, free: 10.71 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.807e-05/0.6174, allocations: 47.38 kB / 0.4929 GB, free: 10.67 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.007e-06/0.6174, allocations: 0 / 0.4929 GB, free: 10.67 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001321/0.6176, allocations: 318.8 kB / 0.4932 GB, free: 10.35 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001/0.6177, allocations: 32 kB / 0.4932 GB, free: 10.32 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001/0.6178, allocations: 39.98 kB / 0.4933 GB, free: 10.28 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001148/0.6179, allocations: 39.98 kB / 0.4933 GB, free: 10.24 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.6179, allocations: 0 / 0.4933 GB, free: 10.24 MB / 426.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002978/0.6183, allocations: 121.6 kB / 0.4934 GB, free: 10.11 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.984e-05/0.6183, allocations: 7.938 kB / 0.4934 GB, free: 10.11 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.591e-06/0.6183, allocations: 0 / 0.4934 GB, free: 10.11 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.447e-05/0.6183, allocations: 0 / 0.4934 GB, free: 10.11 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002357/0.6186, allocations: 31.98 kB / 0.4935 GB, free: 10.07 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.078e-05/0.6186, allocations: 3.953 kB / 0.4935 GB, free: 10.07 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001705/0.6188, allocations: 23.89 kB / 0.4935 GB, free: 10.05 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.784e-05/0.6188, allocations: 4 kB / 0.4935 GB, free: 10.04 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.809e-05/0.6189, allocations: 105 kB / 0.4936 GB, free: 9.934 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.478e-05/0.619, allocations: 15.89 kB / 0.4936 GB, free: 9.918 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004151/0.6194, allocations: 151.5 kB / 0.4938 GB, free: 9.762 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.623e-06/0.6194, allocations: 3.984 kB / 0.4938 GB, free: 9.758 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.6194, allocations: 0 / 0.4938 GB, free: 9.758 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.462e-06/0.6194, allocations: 7.953 kB / 0.4938 GB, free: 9.75 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000916/0.6204, allocations: 484 kB / 0.4942 GB, free: 9.215 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.54e-06/0.6204, allocations: 3.938 kB / 0.4942 GB, free: 9.211 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002153/0.6206, allocations: 35.91 kB / 0.4943 GB, free: 9.176 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.365e-06/0.6206, allocations: 4.016 kB / 0.4943 GB, free: 9.172 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.974e-05/0.6207, allocations: 8.375 kB / 0.4943 GB, free: 9.164 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.216e-06/0.6207, allocations: 0 / 0.4943 GB, free: 9.164 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.414e-06/0.6207, allocations: 0 / 0.4943 GB, free: 9.164 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003803/0.6211, allocations: 268.4 kB / 0.4945 GB, free: 8.867 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.53e-05/0.6212, allocations: 101 kB / 0.4946 GB, free: 8.75 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.066e-05/0.6212, allocations: 4 kB / 0.4946 GB, free: 8.746 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001819/0.6214, allocations: 15.98 kB / 0.4947 GB, free: 8.73 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.061e-05/0.6215, allocations: 11.98 kB / 0.4947 GB, free: 8.719 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.397e-05/0.6215, allocations: 4 kB / 0.4947 GB, free: 8.715 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002161/0.6218, allocations: 152.2 kB / 0.4948 GB, free: 8.566 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.5e-07/0.6218, allocations: 0 / 0.4948 GB, free: 8.566 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003952/0.6222, allocations: 39.94 kB / 0.4949 GB, free: 8.527 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.00198/0.6242, allocations: 1.275 MB / 0.4961 GB, free: 7.367 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0003117/0.6245, allocations: 99.84 kB / 0.4962 GB, free: 7.27 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.6245, allocations: 0 / 0.4962 GB, free: 7.27 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001402/0.6247, allocations: 51.88 kB / 0.4962 GB, free: 7.219 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003296/0.625, allocations: 19.05 kB / 0.4963 GB, free: 7.203 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009705/0.626, allocations: 346.7 kB / 0.4966 GB, free: 6.816 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003751/0.6264, allocations: 0.7276 MB / 0.4973 GB, free: 6.062 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001297/0.6265, allocations: 43.42 kB / 0.4973 GB, free: 6.02 MB / 426.7 MB Notification: Performance of SimCode: time 1.042e-06/0.6266, allocations: 0 / 0.4973 GB, free: 6.02 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_Test30CalcHelperMain.o OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Dv_Test30CalcHelperMain.cpp In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Dv_Test30CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Dv_Test30FMU.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_Test30.so OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Dv_Test30CalcHelperMain.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_Test30_FMU.makefile:93: recipe for target 'ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Dv_Test30.fmu' failed make: *** [ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Dv_Test30.fmu] Error 1