Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test11,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable1Ds_Test11",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.041/2.041, allocations: 209.3 MB / 221.9 MB, free: 1.934 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.588e-05/4.598e-05, allocations: 11.98 kB / 273.2 MB, free: 0.6367 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1051/0.1052, allocations: 48.69 MB / 321.8 MB, free: 15.84 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4082/0.5134, allocations: 74.4 MB / 396.2 MB, free: 15.55 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002804/0.5137, allocations: 70.97 kB / 396.3 MB, free: 15.48 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01159/0.5254, allocations: 2.637 MB / 399 MB, free: 12.85 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.963e-06/0.5254, allocations: 0 / 399 MB, free: 12.85 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.634e-05/0.5254, allocations: 4 kB / 399 MB, free: 12.85 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.0005156/0.526, allocations: 403.9 kB / 399.4 MB, free: 12.4 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.598e-05/0.526, allocations: 8.031 kB / 399.4 MB, free: 12.39 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.236e-05/0.5261, allocations: 34.56 kB / 399.4 MB, free: 12.35 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.98e-05/0.5261, allocations: 7.906 kB / 399.4 MB, free: 12.34 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002671/0.5264, allocations: 190.9 kB / 399.6 MB, free: 12.12 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.72e-05/0.5264, allocations: 8 kB / 399.6 MB, free: 12.11 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.341e-05/0.5265, allocations: 0 / 399.6 MB, free: 12.11 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001325/0.5266, allocations: 41.69 kB / 399.6 MB, free: 12.06 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.188e-05/0.5266, allocations: 0 / 399.6 MB, free: 12.06 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.037e-05/0.5267, allocations: 0 / 399.6 MB, free: 12.06 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.176e-06/0.5267, allocations: 4 kB / 399.6 MB, free: 12.06 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.212e-05/0.5268, allocations: 12 kB / 399.7 MB, free: 12.05 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004361/0.5272, allocations: 288.8 kB / 399.9 MB, free: 11.71 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002191/0.5274, allocations: 34.58 kB / 400 MB, free: 11.67 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.587e-05/0.5275, allocations: 12.86 kB / 400 MB, free: 11.66 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.989e-05/0.5275, allocations: 0 / 400 MB, free: 11.66 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.353e-05/0.5276, allocations: 30.56 kB / 400 MB, free: 11.62 MB / 330.7 MB Notification: Performance of pre-optimization done (n=3): time 1.613e-06/0.5276, allocations: 0 / 400 MB, free: 11.62 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004974/0.5281, allocations: 110.9 kB / 400.1 MB, free: 11.5 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.968e-05/0.5281, allocations: 63.36 kB / 400.2 MB, free: 11.43 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001948/0.5283, allocations: 144.9 kB / 400.3 MB, free: 11.28 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.879e-05/0.5284, allocations: 25.7 kB / 400.3 MB, free: 11.25 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.867e-05/0.5285, allocations: 162.5 kB / 400.5 MB, free: 11.09 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.192e-05/0.5285, allocations: 15.75 kB / 400.5 MB, free: 11.07 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.356e-06/0.5285, allocations: 4 kB / 400.5 MB, free: 11.07 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001227/0.5286, allocations: 318.8 kB / 400.8 MB, free: 10.75 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.498e-05/0.5287, allocations: 12 kB / 400.8 MB, free: 10.73 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.41e-05/0.5288, allocations: 8 kB / 400.9 MB, free: 10.73 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.816e-05/0.5289, allocations: 45.62 kB / 400.9 MB, free: 10.68 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.967e-06/0.5289, allocations: 0 / 400.9 MB, free: 10.68 MB / 330.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001704/0.5291, allocations: 91.33 kB / 401 MB, free: 10.57 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.784e-05/0.5291, allocations: 40.83 kB / 401 MB, free: 10.53 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.222e-06/0.5291, allocations: 0 / 401 MB, free: 10.53 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.319e-05/0.5292, allocations: 0 / 401 MB, free: 10.53 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000126/0.5293, allocations: 19.98 kB / 401 MB, free: 10.51 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.525e-06/0.5293, allocations: 0 / 401 MB, free: 10.51 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.541e-05/0.5294, allocations: 7.953 kB / 401.1 MB, free: 10.5 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.27e-05/0.5294, allocations: 4 kB / 401.1 MB, free: 10.5 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 (6): * Single equations (assignments): 5 * 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.032e-05/0.5295, allocations: 101 kB / 401.2 MB, free: 10.39 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.184e-05/0.5296, allocations: 7.906 kB / 401.2 MB, free: 10.39 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002132/0.5298, allocations: 85.61 kB / 401.3 MB, free: 10.3 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/0.5298, allocations: 0 / 401.3 MB, free: 10.3 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.5298, allocations: 4 kB / 401.3 MB, free: 10.3 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.997e-06/0.5298, allocations: 0 / 401.3 MB, free: 10.3 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004644/0.5303, allocations: 330.5 kB / 401.6 MB, free: 9.918 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.494e-06/0.5303, allocations: 384 / 401.6 MB, free: 9.918 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001136/0.5305, allocations: 19.92 kB / 401.6 MB, free: 9.898 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.016e-06/0.5305, allocations: 0 / 401.6 MB, free: 9.898 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.217e-05/0.5305, allocations: 4 kB / 401.6 MB, free: 9.895 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.5305, allocations: 0 / 401.6 MB, free: 9.895 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.427e-06/0.5305, allocations: 8.094 kB / 401.6 MB, free: 9.887 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001907/0.5307, allocations: 163.4 kB / 401.8 MB, free: 9.711 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.756e-05/0.5308, allocations: 81.11 kB / 401.8 MB, free: 9.613 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.17e-05/0.5308, allocations: 0 / 401.8 MB, free: 9.613 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001129/0.531, allocations: 7.984 kB / 401.9 MB, free: 9.605 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.303e-05/0.531, allocations: 8 kB / 401.9 MB, free: 9.598 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.278e-06/0.531, allocations: 3.953 kB / 401.9 MB, free: 9.594 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001392/0.5312, allocations: 131.2 kB / 402 MB, free: 9.465 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.71e-07/0.5312, allocations: 0 / 402 MB, free: 9.465 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003397/0.5315, allocations: 15.94 kB / 402 MB, free: 9.449 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 (5): * Single equations (assignments): 5 * 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.001025/0.5326, allocations: 0.8229 MB / 402.8 MB, free: 8.641 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001817/0.5328, allocations: 91.34 kB / 402.9 MB, free: 8.539 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.5328, allocations: 0 / 402.9 MB, free: 8.539 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 5.732e-05/0.5329, allocations: 19.94 kB / 402.9 MB, free: 8.52 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000275/0.5332, allocations: 7.188 kB / 402.9 MB, free: 8.516 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006056/0.5338, allocations: 196 kB / 403.1 MB, free: 8.281 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003085/0.5341, allocations: 0.6965 MB / 403.8 MB, free: 7.559 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.058e-05/0.5342, allocations: 27.42 kB / 403.9 MB, free: 7.531 MB / 330.7 MB Notification: Performance of SimCode: time 7.61e-07/0.5342, allocations: 0 / 403.9 MB, free: 7.531 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_CombiTable1Ds_Test11CalcHelperMain.o OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable1Ds_Test11CalcHelperMain.cpp In file included from OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable1Ds_Test11CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable1Ds_Test11FMU.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_CombiTable1Ds_Test11.so OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable1Ds_Test11CalcHelperMain.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_CombiTable1Ds_Test11_FMU.makefile:93: recipe for target 'ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable1Ds_Test11.fmu' failed make: *** [ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable1Ds_Test11.fmu] Error 1