Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test23,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable2D_Test23",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.998/1.998, allocations: 209.3 MB / 221.9 MB, free: 1.93 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.917e-05/3.912e-05, allocations: 4 kB / 273.1 MB, free: 0.6406 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1016/0.1017, allocations: 48.71 MB / 321.9 MB, free: 15.84 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3998/0.5015, allocations: 75.41 MB / 397.3 MB, free: 14.5 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002727/0.5018, allocations: 71.56 kB / 397.3 MB, free: 14.44 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0312/0.5331, allocations: 6.536 MB / 403.9 MB, free: 7.91 MB / 330.7 MB Notification: Performance of FrontEnd: time 7.704e-06/0.5331, allocations: 0 / 403.9 MB, free: 7.91 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.192e-05/0.5332, allocations: 11.88 kB / 403.9 MB, free: 7.898 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.001408/0.5346, allocations: 0.7498 MB / 404.6 MB, free: 7.078 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.203e-05/0.5347, allocations: 19.95 kB / 404.7 MB, free: 7.059 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.714e-05/0.5348, allocations: 46.5 kB / 404.7 MB, free: 7.004 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002214/0.535, allocations: 51.34 kB / 404.7 MB, free: 6.953 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001139/0.5362, allocations: 431.2 kB / 405.2 MB, free: 6.492 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.619e-05/0.5362, allocations: 11.98 kB / 405.2 MB, free: 6.48 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.899e-05/0.5363, allocations: 15.91 kB / 405.2 MB, free: 6.465 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003606/0.5367, allocations: 124.9 kB / 405.3 MB, free: 6.332 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.889e-05/0.5367, allocations: 3.953 kB / 405.3 MB, free: 6.328 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.483e-05/0.5367, allocations: 12 kB / 405.3 MB, free: 6.316 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.334e-06/0.5368, allocations: 0 / 405.3 MB, free: 6.316 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002444/0.537, allocations: 63.98 kB / 405.4 MB, free: 6.254 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00174/0.5388, allocations: 0.7034 MB / 406.1 MB, free: 5.496 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003546/0.5392, allocations: 105.2 kB / 406.2 MB, free: 5.375 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000124/0.5393, allocations: 41.84 kB / 406.2 MB, free: 5.328 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.397e-05/0.5394, allocations: 4 kB / 406.2 MB, free: 5.324 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.306e-05/0.5394, allocations: 42.55 kB / 406.3 MB, free: 5.273 MB / 330.7 MB Notification: Performance of pre-optimization done (n=12): time 3.186e-06/0.5394, allocations: 0 / 406.3 MB, free: 5.273 MB / 330.7 MB Notification: Performance of matching and sorting (n=20): time 0.002466/0.5419, allocations: 0.5336 MB / 406.8 MB, free: 4.73 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.608e-05/0.542, allocations: 81.05 kB / 406.9 MB, free: 4.633 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001567/0.5436, allocations: 0.7311 MB / 407.6 MB, free: 3.891 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.751e-05/0.5437, allocations: 29.7 kB / 407.7 MB, free: 3.855 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002115/0.5439, allocations: 247 kB / 407.9 MB, free: 3.613 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.147e-05/0.544, allocations: 67 kB / 408 MB, free: 3.547 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.632e-05/0.544, allocations: 8 kB / 408 MB, free: 3.539 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001297/0.5442, allocations: 322.8 kB / 408.3 MB, free: 3.215 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002185/0.5444, allocations: 60 kB / 408.3 MB, free: 3.156 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002357/0.5447, allocations: 85.7 kB / 408.4 MB, free: 3.066 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003015/0.545, allocations: 174.8 kB / 408.6 MB, free: 2.871 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.545, allocations: 0 / 408.6 MB, free: 2.871 MB / 330.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0007162/0.5457, allocations: 324.7 kB / 408.9 MB, free: 2.523 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.772e-05/0.5458, allocations: 118.8 kB / 409 MB, free: 2.383 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.554e-06/0.5458, allocations: 0 / 409 MB, free: 2.383 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.048e-05/0.5459, allocations: 4.141 kB / 409 MB, free: 2.379 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005642/0.5464, allocations: 63.95 kB / 409.1 MB, free: 2.316 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.004e-05/0.5465, allocations: 7.875 kB / 409.1 MB, free: 2.309 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000437/0.5469, allocations: 43.91 kB / 409.2 MB, free: 2.266 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.761e-05/0.547, allocations: 4 kB / 409.2 MB, free: 2.262 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (24): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 4 * 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 0.0001425/0.5471, allocations: 112.9 kB / 409.3 MB, free: 2.145 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001641/0.5473, allocations: 55.33 kB / 409.3 MB, free: 2.09 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009187/0.5482, allocations: 289.6 kB / 409.6 MB, free: 1.793 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.306e-06/0.5483, allocations: 4.375 kB / 409.6 MB, free: 1.789 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.717e-06/0.5483, allocations: 3.953 kB / 409.6 MB, free: 1.785 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.2e-06/0.5483, allocations: 4 kB / 409.6 MB, free: 1.781 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001866/0.5502, allocations: 0.8644 MB / 410.5 MB, free: 0.8594 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.038e-06/0.5502, allocations: 0 / 410.5 MB, free: 0.8594 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005266/0.5507, allocations: 71.84 kB / 410.6 MB, free: 0.7891 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.064e-05/0.5508, allocations: 4 kB / 410.6 MB, free: 0.7852 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.69e-05/0.5508, allocations: 0 / 410.6 MB, free: 0.7852 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.759e-06/0.5508, allocations: 4 kB / 410.6 MB, free: 0.7812 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.5508, allocations: 0 / 410.6 MB, free: 0.7812 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008059/0.5516, allocations: 420.2 kB / 411 MB, free: 356 kB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003727/0.552, allocations: 192.4 kB / 411.2 MB, free: 144 kB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.435e-05/0.5521, allocations: 11.95 kB / 411.2 MB, free: 132 kB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000438/0.5526, allocations: 27.97 kB / 411.2 MB, free: 104 kB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001035/0.5527, allocations: 23.91 kB / 411.2 MB, free: 80 kB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.922e-05/0.5528, allocations: 4 kB / 411.2 MB, free: 76 kB / 330.7 MB Notification: Performance of sorting global known variables: time 0.001169/0.5539, allocations: 0.5756 MB / 411.8 MB, free: 15.5 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.5e-07/0.554, allocations: 4 kB / 411.8 MB, free: 15.5 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0006898/0.5547, allocations: 103.9 kB / 411.9 MB, free: 15.4 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 20 * 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.002279/0.5569, allocations: 1.368 MB / 413.3 MB, free: 14.07 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0007407/0.5577, allocations: 385.5 kB / 413.6 MB, free: 13.64 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 5.75e-06/0.5577, allocations: 0 / 413.6 MB, free: 13.64 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000274/0.558, allocations: 103.8 kB / 413.8 MB, free: 13.54 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006071/0.5587, allocations: 45.53 kB / 413.8 MB, free: 13.5 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002475/0.5611, allocations: 0.8648 MB / 414.7 MB, free: 12.59 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005511/0.5617, allocations: 0.854 MB / 415.5 MB, free: 11.71 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004426/0.5622, allocations: 163.3 kB / 415.7 MB, free: 11.55 MB / 346.7 MB Notification: Performance of SimCode: time 1.092e-06/0.5622, allocations: 0 / 415.7 MB, free: 11.55 MB / 346.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_Test23CalcHelperMain.o OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable2D_Test23CalcHelperMain.cpp In file included from OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable2D_Test23CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable2D_Test23FMU.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_Test23.so OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable2D_Test23CalcHelperMain.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_Test23_FMU.makefile:93: recipe for target 'ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable2D_Test23.fmu' failed make: *** [ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable2D_Test23.fmu] Error 1