Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test7,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable2D_Test7",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.955/1.955, allocations: 209.3 MB / 221.9 MB, free: 1.934 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.411e-05/3.404e-05, allocations: 4 kB / 273.1 MB, free: 0.6484 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09997/0.1, allocations: 48.71 MB / 321.9 MB, free: 15.84 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3987/0.4988, allocations: 74.34 MB / 396.2 MB, free: 15.5 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002586/0.4991, allocations: 67.97 kB / 396.3 MB, free: 15.43 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01755/0.5166, allocations: 5.036 MB / 401.3 MB, free: 10.39 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.735e-06/0.5167, allocations: 0 / 401.3 MB, free: 10.39 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.562e-05/0.5167, allocations: 11.83 kB / 401.3 MB, free: 10.39 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0007053/0.5174, allocations: 0.5616 MB / 401.9 MB, free: 9.773 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.107e-05/0.5175, allocations: 12.03 kB / 401.9 MB, free: 9.762 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.227e-05/0.5176, allocations: 34.55 kB / 401.9 MB, free: 9.719 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001084/0.5177, allocations: 43.52 kB / 402 MB, free: 9.676 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006019/0.5183, allocations: 323.2 kB / 402.3 MB, free: 9.32 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.338e-05/0.5183, allocations: 0 / 402.3 MB, free: 9.32 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.76e-05/0.5183, allocations: 4 kB / 402.3 MB, free: 9.316 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001275/0.5185, allocations: 45.69 kB / 402.3 MB, free: 9.266 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.867e-06/0.5185, allocations: 4 kB / 402.3 MB, free: 9.262 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.537e-06/0.5185, allocations: 0 / 402.3 MB, free: 9.262 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.949e-06/0.5185, allocations: 0 / 402.3 MB, free: 9.262 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.772e-05/0.5186, allocations: 12 kB / 402.3 MB, free: 9.25 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007239/0.5193, allocations: 420.8 kB / 402.7 MB, free: 8.789 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.631e-05/0.5194, allocations: 22.56 kB / 402.8 MB, free: 8.758 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.487e-05/0.5195, allocations: 16.92 kB / 402.8 MB, free: 8.738 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.395e-05/0.5195, allocations: 0 / 402.8 MB, free: 8.738 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.835e-05/0.5196, allocations: 38.5 kB / 402.8 MB, free: 8.691 MB / 330.7 MB Notification: Performance of pre-optimization done (n=2): time 1.433e-06/0.5196, allocations: 0 / 402.8 MB, free: 8.691 MB / 330.7 MB Notification: Performance of matching and sorting (n=2): time 0.0002778/0.5198, allocations: 81.09 kB / 402.9 MB, free: 8.605 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.648e-05/0.5199, allocations: 55.34 kB / 403 MB, free: 8.539 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001806/0.5217, allocations: 0.7615 MB / 403.7 MB, free: 7.766 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.637e-05/0.5218, allocations: 25.7 kB / 403.7 MB, free: 7.734 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002273/0.522, allocations: 242.6 kB / 404 MB, free: 7.496 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.839e-05/0.522, allocations: 3.906 kB / 404 MB, free: 7.492 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.489e-06/0.522, allocations: 0 / 404 MB, free: 7.492 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.000141/0.5222, allocations: 316.2 kB / 404.3 MB, free: 7.176 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.13e-05/0.5222, allocations: 4 kB / 404.3 MB, free: 7.172 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.63e-05/0.5223, allocations: 8 kB / 404.3 MB, free: 7.164 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.756e-05/0.5223, allocations: 29.7 kB / 404.3 MB, free: 7.129 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.973e-06/0.5223, allocations: 3.938 kB / 404.3 MB, free: 7.125 MB / 330.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001447/0.5225, allocations: 71.39 kB / 404.4 MB, free: 7.043 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.359e-05/0.5226, allocations: 37.7 kB / 404.4 MB, free: 7 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.5226, allocations: 0 / 404.4 MB, free: 7 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.323e-05/0.5226, allocations: 0 / 404.4 MB, free: 7 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001068/0.5227, allocations: 7.984 kB / 404.4 MB, free: 6.992 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.321e-05/0.5227, allocations: 3.953 kB / 404.5 MB, free: 6.988 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.838e-05/0.5228, allocations: 11.94 kB / 404.5 MB, free: 6.977 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.158e-05/0.5229, allocations: 4 kB / 404.5 MB, free: 6.973 MB / 330.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 (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 1 * 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.001e-05/0.523, allocations: 104.9 kB / 404.6 MB, free: 6.863 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001149/0.5231, allocations: 47.44 kB / 404.6 MB, free: 6.816 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002122/0.5233, allocations: 92.52 kB / 404.7 MB, free: 6.719 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.626e-06/0.5233, allocations: 0 / 404.7 MB, free: 6.719 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.648e-06/0.5233, allocations: 0 / 404.7 MB, free: 6.719 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.622e-06/0.5234, allocations: 3.953 kB / 404.7 MB, free: 6.715 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004578/0.5238, allocations: 313.5 kB / 405 MB, free: 6.359 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.5238, allocations: 0 / 405 MB, free: 6.359 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.401e-05/0.5239, allocations: 7.984 kB / 405 MB, free: 6.352 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.175e-06/0.5239, allocations: 4 kB / 405 MB, free: 6.348 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.574e-06/0.5239, allocations: 4.031 kB / 405 MB, free: 6.344 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.755e-06/0.524, allocations: 0 / 405 MB, free: 6.344 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.524, allocations: 0 / 405 MB, free: 6.344 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002282/0.5242, allocations: 179.1 kB / 405.2 MB, free: 6.152 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002743/0.5245, allocations: 164.5 kB / 405.4 MB, free: 5.973 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.773e-05/0.5246, allocations: 4 kB / 405.4 MB, free: 5.969 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001297/0.5247, allocations: 4 kB / 405.4 MB, free: 5.965 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.751e-05/0.5247, allocations: 8.016 kB / 405.4 MB, free: 5.957 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.608e-06/0.5248, allocations: 0 / 405.4 MB, free: 5.957 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.001094/0.5259, allocations: 0.6186 MB / 406 MB, free: 5.344 MB / 330.7 MB Notification: Performance of sort global known variables: time 5.71e-07/0.5259, allocations: 3.938 kB / 406 MB, free: 5.34 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003997/0.5263, allocations: 44 kB / 406 MB, free: 5.297 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (2): * Single equations (assignments): 2 * 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.0009373/0.5272, allocations: 0.81 MB / 406.9 MB, free: 4.496 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001436/0.5274, allocations: 67.41 kB / 406.9 MB, free: 4.418 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.5274, allocations: 0 / 406.9 MB, free: 4.418 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 3.132e-05/0.5275, allocations: 4 kB / 406.9 MB, free: 4.414 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003587/0.5278, allocations: 20.59 kB / 406.9 MB, free: 4.398 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001868/0.5297, allocations: 0.823 MB / 407.8 MB, free: 3.531 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005227/0.5302, allocations: 0.8223 MB / 408.6 MB, free: 2.684 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002327/0.5305, allocations: 111.6 kB / 408.7 MB, free: 2.574 MB / 330.7 MB Notification: Performance of SimCode: time 3.066e-06/0.5305, allocations: 0 / 408.7 MB, free: 2.574 MB / 330.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"." -DUSE_LOGGER -c -o OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable2D_Test7CalcHelperMain.o OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable2D_Test7CalcHelperMain.cpp In file included from OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable2D_Test7CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable2D_Test7FMU.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_3_2_1_cpp_ModelicaTest_Tables_CombiTable2D_Test7.so OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable2D_Test7CalcHelperMain.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 3.2.1/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 3.2.1/Resources/Library/x86_64-linux" -Wl,-rpath="/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/Resources/Library/x86_64-linux" "-L/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/Resources/Library/linux64" -Wl,-rpath="/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/Resources/Library/linux64" "-L/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/Resources/Library" -Wl,-rpath="/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/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_3_2_1_cpp_ModelicaTest_Tables_CombiTable2D_Test7_FMU.makefile:93: recipe for target 'ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable2D_Test7.fmu' failed make: *** [ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable2D_Test7.fmu] Error 1