Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1D.Test8,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable1D_Test8",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.963/1.963, allocations: 209.3 MB / 221.9 MB, free: 1.93 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.134e-05/4.156e-05, allocations: 0 / 273.1 MB, free: 0.6406 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1023/0.1024, allocations: 48.7 MB / 321.8 MB, free: 15.84 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4133/0.5157, allocations: 74.39 MB / 396.2 MB, free: 15.54 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002245/0.516, allocations: 71.28 kB / 396.3 MB, free: 15.48 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01088/0.5269, allocations: 2.609 MB / 398.9 MB, free: 12.88 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.413e-06/0.5269, allocations: 0 / 398.9 MB, free: 12.88 MB / 330.7 MB Notification: Performance of Transformations before backend: time 8.636e-06/0.527, allocations: 4 kB / 398.9 MB, free: 12.87 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.0004471/0.5274, allocations: 400 kB / 399.3 MB, free: 12.43 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.244e-05/0.5275, allocations: 8.031 kB / 399.3 MB, free: 12.42 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.775e-05/0.5275, allocations: 30.56 kB / 399.3 MB, free: 12.38 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.543e-05/0.5276, allocations: 4 kB / 399.3 MB, free: 12.38 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002409/0.5278, allocations: 194.8 kB / 399.5 MB, free: 12.15 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.546e-06/0.5278, allocations: 0 / 399.5 MB, free: 12.15 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.878e-05/0.5279, allocations: 8 kB / 399.5 MB, free: 12.14 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001134/0.528, allocations: 49.69 kB / 399.6 MB, free: 12.09 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.204e-05/0.528, allocations: 0 / 399.6 MB, free: 12.09 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.012e-05/0.528, allocations: 0 / 399.6 MB, free: 12.09 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.738e-06/0.5281, allocations: 0 / 399.6 MB, free: 12.09 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.855e-05/0.5281, allocations: 15.98 kB / 399.6 MB, free: 12.07 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004524/0.5286, allocations: 288.8 kB / 399.9 MB, free: 11.74 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002081/0.5288, allocations: 46.56 kB / 399.9 MB, free: 11.68 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.976e-05/0.5289, allocations: 12.94 kB / 399.9 MB, free: 11.67 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.893e-05/0.5289, allocations: 3.938 kB / 399.9 MB, free: 11.66 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.883e-05/0.529, allocations: 34.56 kB / 400 MB, free: 11.62 MB / 330.7 MB Notification: Performance of pre-optimization done (n=3): time 1.843e-06/0.529, allocations: 0 / 400 MB, free: 11.62 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004883/0.5295, allocations: 114.7 kB / 400.1 MB, free: 11.5 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.362e-05/0.5295, allocations: 59.36 kB / 400.1 MB, free: 11.43 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001719/0.5297, allocations: 133 kB / 400.3 MB, free: 11.3 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.842e-05/0.5298, allocations: 25.7 kB / 400.3 MB, free: 11.27 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.57e-05/0.5298, allocations: 162.6 kB / 400.5 MB, free: 11.11 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.827e-05/0.5299, allocations: 19.64 kB / 400.5 MB, free: 11.09 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.54e-06/0.5299, allocations: 0 / 400.5 MB, free: 11.09 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001214/0.53, allocations: 318.8 kB / 400.8 MB, free: 10.77 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.213e-05/0.5301, allocations: 12 kB / 400.8 MB, free: 10.75 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.765e-05/0.5301, allocations: 16 kB / 400.8 MB, free: 10.74 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.763e-05/0.5302, allocations: 49.56 kB / 400.9 MB, free: 10.68 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.5302, allocations: 0 / 400.9 MB, free: 10.68 MB / 330.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001957/0.5305, allocations: 95.39 kB / 401 MB, free: 10.58 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.044e-05/0.5305, allocations: 33.69 kB / 401 MB, free: 10.54 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.102e-06/0.5305, allocations: 0 / 401 MB, free: 10.54 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.229e-05/0.5305, allocations: 4 kB / 401 MB, free: 10.54 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001345/0.5307, allocations: 12 kB / 401 MB, free: 10.52 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.384e-06/0.5307, allocations: 0 / 401 MB, free: 10.52 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.654e-05/0.5308, allocations: 19.94 kB / 401 MB, free: 10.5 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.244e-05/0.5308, allocations: 4 kB / 401 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 7.736e-05/0.5309, allocations: 101 kB / 401.1 MB, free: 10.39 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.525e-05/0.531, allocations: 7.906 kB / 401.1 MB, free: 10.39 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002375/0.5312, allocations: 81.7 kB / 401.2 MB, free: 10.3 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.916e-06/0.5312, allocations: 0 / 401.2 MB, free: 10.3 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.444e-06/0.5313, allocations: 4.312 kB / 401.2 MB, free: 10.3 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.5313, allocations: 0 / 401.2 MB, free: 10.3 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004877/0.5318, allocations: 346.5 kB / 401.6 MB, free: 9.906 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.5318, allocations: 0 / 401.6 MB, free: 9.906 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001137/0.5319, allocations: 15.98 kB / 401.6 MB, free: 9.891 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.578e-06/0.5319, allocations: 0 / 401.6 MB, free: 9.891 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.598e-06/0.532, allocations: 0 / 401.6 MB, free: 9.891 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.585e-06/0.532, allocations: 0 / 401.6 MB, free: 9.891 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.007e-06/0.532, allocations: 7.953 kB / 401.6 MB, free: 9.883 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002059/0.5322, allocations: 167.4 kB / 401.7 MB, free: 9.703 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.044e-05/0.5323, allocations: 85.02 kB / 401.8 MB, free: 9.602 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.885e-05/0.5323, allocations: 0 / 401.8 MB, free: 9.602 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000106/0.5324, allocations: 8 kB / 401.8 MB, free: 9.594 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.432e-05/0.5325, allocations: 7.984 kB / 401.8 MB, free: 9.586 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.214e-05/0.5325, allocations: 3.953 kB / 401.9 MB, free: 9.582 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001141/0.5326, allocations: 116.4 kB / 402 MB, free: 9.469 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.5326, allocations: 0 / 402 MB, free: 9.469 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004067/0.533, allocations: 24 kB / 402 MB, free: 9.445 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.0009909/0.5341, allocations: 0.8208 MB / 402.8 MB, free: 8.641 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002035/0.5343, allocations: 103.3 kB / 402.9 MB, free: 8.527 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.5343, allocations: 0 / 402.9 MB, free: 8.527 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 6.283e-05/0.5344, allocations: 20 kB / 402.9 MB, free: 8.508 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002376/0.5346, allocations: 11.89 kB / 402.9 MB, free: 8.496 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005841/0.5352, allocations: 196 kB / 403.1 MB, free: 8.262 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000296/0.5355, allocations: 0.6965 MB / 403.8 MB, free: 7.539 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.464e-05/0.5356, allocations: 27.36 kB / 403.9 MB, free: 7.512 MB / 330.7 MB Notification: Performance of SimCode: time 7.02e-07/0.5356, allocations: 0 / 403.9 MB, free: 7.512 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_CombiTable1D_Test8CalcHelperMain.o OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable1D_Test8CalcHelperMain.cpp In file included from OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable1D_Test8CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable1D_Test8FMU.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_CombiTable1D_Test8.so OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable1D_Test8CalcHelperMain.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_CombiTable1D_Test8_FMU.makefile:93: recipe for target 'ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable1D_Test8.fmu' failed make: *** [ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable1D_Test8.fmu] Error 1