Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test3,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Dv_Test3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.682/2.682, allocations: 270 MB / 282.6 MB, free: 1.828 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.452e-05/3.472e-05, allocations: 4 kB / 347.1 MB, free: 3.109 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4082/0.4083, allocations: 61.88 MB / 408.9 MB, free: 10.64 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.171/0.5793, allocations: 88.99 MB / 497.9 MB, free: 1.523 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002745/0.5796, allocations: 67.97 kB / 498 MB, free: 1.457 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03345/0.6131, allocations: 8.506 MB / 0.4946 GB, free: 8.93 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.864e-06/0.6131, allocations: 4 kB / 0.4946 GB, free: 8.926 MB / 426.7 MB Notification: Performance of Transformations before backend: time 3.878e-05/0.6132, allocations: 8 kB / 0.4946 GB, free: 8.918 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.0008038/0.614, allocations: 0.5675 MB / 0.4952 GB, free: 8.305 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.851e-05/0.6141, allocations: 12.03 kB / 0.4952 GB, free: 8.293 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.362e-05/0.6141, allocations: 34.56 kB / 0.4952 GB, free: 8.25 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.763e-05/0.6142, allocations: 47.42 kB / 0.4953 GB, free: 8.203 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000701/0.6149, allocations: 327.3 kB / 0.4956 GB, free: 7.844 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.169e-05/0.615, allocations: 4 kB / 0.4956 GB, free: 7.84 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.908e-05/0.615, allocations: 8 kB / 0.4956 GB, free: 7.832 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001667/0.6152, allocations: 57.62 kB / 0.4957 GB, free: 7.77 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.392e-05/0.6152, allocations: 0 / 0.4957 GB, free: 7.77 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.159e-05/0.6152, allocations: 0 / 0.4957 GB, free: 7.77 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.102e-06/0.6153, allocations: 3.938 kB / 0.4957 GB, free: 7.766 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001012/0.6154, allocations: 27.98 kB / 0.4957 GB, free: 7.738 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009765/0.6164, allocations: 476.5 kB / 0.4961 GB, free: 7.223 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002519/0.6166, allocations: 46.56 kB / 0.4962 GB, free: 7.168 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.327e-05/0.6167, allocations: 24.98 kB / 0.4962 GB, free: 7.141 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.445e-05/0.6167, allocations: 0 / 0.4962 GB, free: 7.141 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.335e-05/0.6168, allocations: 30.56 kB / 0.4962 GB, free: 7.102 MB / 426.7 MB Notification: Performance of pre-optimization done (n=5): time 1.794e-06/0.6168, allocations: 4 kB / 0.4963 GB, free: 7.098 MB / 426.7 MB Notification: Performance of matching and sorting (n=11): time 0.001066/0.6179, allocations: 315.8 kB / 0.4966 GB, free: 6.781 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.268e-05/0.6179, allocations: 55.41 kB / 0.4966 GB, free: 6.715 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001883/0.6198, allocations: 0.785 MB / 0.4974 GB, free: 5.918 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.935e-05/0.6199, allocations: 25.7 kB / 0.4974 GB, free: 5.887 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000198/0.6201, allocations: 242.5 kB / 0.4976 GB, free: 5.648 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.436e-05/0.6201, allocations: 35.45 kB / 0.4977 GB, free: 5.613 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.538e-06/0.6202, allocations: 0 / 0.4977 GB, free: 5.613 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001272/0.6203, allocations: 314.8 kB / 0.498 GB, free: 5.297 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001049/0.6204, allocations: 35.98 kB / 0.498 GB, free: 5.262 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.944e-05/0.6205, allocations: 32 kB / 0.498 GB, free: 5.23 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001208/0.6207, allocations: 43.97 kB / 0.4981 GB, free: 5.188 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/0.6207, allocations: 0 / 0.4981 GB, free: 5.188 MB / 426.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003152/0.621, allocations: 121.9 kB / 0.4982 GB, free: 5.062 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.312e-05/0.621, allocations: 8 kB / 0.4982 GB, free: 5.055 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.343e-06/0.6211, allocations: 0 / 0.4982 GB, free: 5.055 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.537e-05/0.6211, allocations: 7.953 kB / 0.4982 GB, free: 5.047 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002629/0.6214, allocations: 35.97 kB / 0.4982 GB, free: 5.012 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.145e-06/0.6214, allocations: 3.938 kB / 0.4982 GB, free: 5.008 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002037/0.6216, allocations: 15.98 kB / 0.4983 GB, free: 4.992 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.694e-05/0.6216, allocations: 4 kB / 0.4983 GB, free: 4.988 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.642e-05/0.6217, allocations: 109 kB / 0.4984 GB, free: 4.875 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001224/0.6219, allocations: 43.44 kB / 0.4984 GB, free: 4.832 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004981/0.6224, allocations: 190 kB / 0.4986 GB, free: 4.637 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.656e-06/0.6224, allocations: 7.953 kB / 0.4986 GB, free: 4.629 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/0.6224, allocations: 0 / 0.4986 GB, free: 4.629 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.6224, allocations: 0 / 0.4986 GB, free: 4.629 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001432/0.6239, allocations: 0.6989 MB / 0.4993 GB, free: 3.867 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.652e-06/0.6239, allocations: 3.953 kB / 0.4993 GB, free: 3.863 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002318/0.6241, allocations: 32.08 kB / 0.4993 GB, free: 3.832 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.813e-06/0.6242, allocations: 3.938 kB / 0.4993 GB, free: 3.828 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.972e-05/0.6242, allocations: 7.969 kB / 0.4993 GB, free: 3.82 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.636e-06/0.6242, allocations: 7.938 kB / 0.4993 GB, free: 3.812 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.6242, allocations: 0 / 0.4993 GB, free: 3.812 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004356/0.6247, allocations: 288.2 kB / 0.4996 GB, free: 3.496 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002781/0.625, allocations: 168.5 kB / 0.4998 GB, free: 3.312 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.211e-05/0.625, allocations: 4 kB / 0.4998 GB, free: 3.309 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002198/0.6253, allocations: 16 kB / 0.4998 GB, free: 3.293 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.416e-05/0.6254, allocations: 7.984 kB / 0.4998 GB, free: 3.285 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.213e-05/0.6254, allocations: 8 kB / 0.4998 GB, free: 3.277 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001186/0.6266, allocations: 0.638 MB / 0.5004 GB, free: 2.641 MB / 426.7 MB Notification: Performance of sort global known variables: time 5.51e-07/0.6266, allocations: 0 / 0.5004 GB, free: 2.641 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0005032/0.6271, allocations: 71.98 kB / 0.5005 GB, free: 2.57 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.002047/0.6292, allocations: 1.314 MB / 0.5018 GB, free: 1.371 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0003163/0.6295, allocations: 99.86 kB / 0.5019 GB, free: 1.273 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/0.6295, allocations: 0 / 0.5019 GB, free: 1.273 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001384/0.6297, allocations: 51.92 kB / 0.5019 GB, free: 1.223 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004347/0.6301, allocations: 30.03 kB / 0.5019 GB, free: 1.191 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0023/0.6325, allocations: 0.9429 MB / 0.5029 GB, free: 204 kB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005923/0.6331, allocations: 0.8496 MB / 0.5037 GB, free: 15.32 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003433/0.6334, allocations: 135.6 kB / 0.5038 GB, free: 15.19 MB / 442.7 MB Notification: Performance of SimCode: time 1.383e-06/0.6335, allocations: 0 / 0.5038 GB, free: 15.19 MB / 442.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_Test3CalcHelperMain.o OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Dv_Test3CalcHelperMain.cpp In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Dv_Test3CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Dv_Test3FMU.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_Test3.so OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Dv_Test3CalcHelperMain.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_Test3_FMU.makefile:93: recipe for target 'ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Dv_Test3.fmu' failed make: *** [ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Dv_Test3.fmu] Error 1