Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test6,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable2D_Test6",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.978/1.978, allocations: 209.3 MB / 221.9 MB, free: 1.941 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.333e-05/4.351e-05, allocations: 4 kB / 273.1 MB, free: 0.6406 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1111/0.1112, allocations: 48.69 MB / 321.8 MB, free: 15.85 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4288/0.5401, allocations: 74.39 MB / 396.2 MB, free: 15.55 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003238/0.5405, allocations: 64.47 kB / 396.3 MB, free: 15.49 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02568/0.5662, allocations: 5.238 MB / 401.5 MB, free: 10.25 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.903e-06/0.5662, allocations: 0 / 401.5 MB, free: 10.25 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.798e-05/0.5663, allocations: 8 kB / 401.5 MB, free: 10.24 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.001062/0.5674, allocations: 0.5732 MB / 402.1 MB, free: 9.617 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.91e-05/0.5674, allocations: 8.031 kB / 402.1 MB, free: 9.609 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.947e-05/0.5675, allocations: 38.56 kB / 402.1 MB, free: 9.562 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001384/0.5677, allocations: 43.39 kB / 402.2 MB, free: 9.52 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000873/0.5686, allocations: 323.3 kB / 402.5 MB, free: 9.164 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.303e-05/0.5686, allocations: 8 kB / 402.5 MB, free: 9.156 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.142e-05/0.5687, allocations: 0 / 402.5 MB, free: 9.156 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001901/0.5689, allocations: 49.69 kB / 402.6 MB, free: 9.102 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.458e-05/0.5689, allocations: 0 / 402.6 MB, free: 9.102 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.339e-05/0.5689, allocations: 0 / 402.6 MB, free: 9.102 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.582e-06/0.5689, allocations: 0 / 402.6 MB, free: 9.102 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001113/0.5691, allocations: 16 kB / 402.6 MB, free: 9.086 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001161/0.5702, allocations: 440.6 kB / 403 MB, free: 8.605 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001461/0.5704, allocations: 34.58 kB / 403 MB, free: 8.562 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.367e-05/0.5705, allocations: 14.22 kB / 403.1 MB, free: 8.547 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.35e-05/0.5705, allocations: 4 kB / 403.1 MB, free: 8.543 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.515e-05/0.5706, allocations: 34.56 kB / 403.1 MB, free: 8.5 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 3.457e-06/0.5706, allocations: 0 / 403.1 MB, free: 8.5 MB / 330.7 MB Notification: Performance of matching and sorting (n=7): time 0.001015/0.5716, allocations: 232.1 kB / 403.3 MB, free: 8.266 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.999e-05/0.5717, allocations: 51.41 kB / 403.4 MB, free: 8.203 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002598/0.5743, allocations: 0.7576 MB / 404.1 MB, free: 7.434 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.604e-05/0.5744, allocations: 25.7 kB / 404.2 MB, free: 7.402 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003199/0.5747, allocations: 238.5 kB / 404.4 MB, free: 7.168 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.594e-05/0.5748, allocations: 23.66 kB / 404.4 MB, free: 7.145 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.199e-05/0.5749, allocations: 4 kB / 404.4 MB, free: 7.141 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001947/0.5751, allocations: 314.8 kB / 404.7 MB, free: 6.824 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000109/0.5752, allocations: 23.94 kB / 404.7 MB, free: 6.801 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.215e-05/0.5753, allocations: 12 kB / 404.8 MB, free: 6.789 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001449/0.5755, allocations: 45.94 kB / 404.8 MB, free: 6.738 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/0.5755, allocations: 0 / 404.8 MB, free: 6.738 MB / 330.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003955/0.5759, allocations: 107.4 kB / 404.9 MB, free: 6.621 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.453e-05/0.576, allocations: 37.64 kB / 404.9 MB, free: 6.578 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.21e-05/0.576, allocations: 0 / 404.9 MB, free: 6.578 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.632e-05/0.5761, allocations: 15.88 kB / 405 MB, free: 6.562 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003481/0.5765, allocations: 23.98 kB / 405 MB, free: 6.539 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.2e-05/0.5765, allocations: 0 / 405 MB, free: 6.539 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003013/0.5768, allocations: 15.98 kB / 405 MB, free: 6.523 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.974e-05/0.5769, allocations: 0 / 405 MB, free: 6.523 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 (8): * Single equations (assignments): 7 * 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 0.0001355/0.577, allocations: 112.9 kB / 405.1 MB, free: 6.406 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001909/0.5772, allocations: 47.44 kB / 405.2 MB, free: 6.359 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006542/0.5779, allocations: 129.4 kB / 405.3 MB, free: 6.227 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.302e-05/0.5779, allocations: 4 kB / 405.3 MB, free: 6.223 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.653e-06/0.578, allocations: 0 / 405.3 MB, free: 6.223 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.633e-06/0.578, allocations: 0 / 405.3 MB, free: 6.223 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001794/0.5798, allocations: 0.5764 MB / 405.9 MB, free: 5.59 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.601e-06/0.5798, allocations: 4 kB / 405.9 MB, free: 5.586 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002644/0.5801, allocations: 27.94 kB / 405.9 MB, free: 5.559 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.364e-06/0.5801, allocations: 0 / 405.9 MB, free: 5.559 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.926e-05/0.5802, allocations: 4 kB / 405.9 MB, free: 5.555 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.217e-06/0.5802, allocations: 0 / 405.9 MB, free: 5.555 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.355e-06/0.5802, allocations: 0 / 405.9 MB, free: 5.555 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004615/0.5807, allocations: 210.9 kB / 406.1 MB, free: 5.332 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004166/0.5811, allocations: 152.6 kB / 406.2 MB, free: 5.164 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.271e-05/0.5812, allocations: 7.953 kB / 406.3 MB, free: 5.156 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003265/0.5816, allocations: 15.98 kB / 406.3 MB, free: 5.141 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.036e-05/0.5817, allocations: 7.984 kB / 406.3 MB, free: 5.133 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.202e-05/0.5817, allocations: 0 / 406.3 MB, free: 5.133 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.001295/0.583, allocations: 0.6225 MB / 406.9 MB, free: 4.516 MB / 330.7 MB Notification: Performance of sort global known variables: time 6.51e-07/0.583, allocations: 0 / 406.9 MB, free: 4.516 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004563/0.5835, allocations: 56 kB / 407 MB, free: 4.461 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 (7): * Single equations (assignments): 7 * 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.001317/0.5848, allocations: 0.8787 MB / 407.8 MB, free: 3.605 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002417/0.5851, allocations: 99.41 kB / 407.9 MB, free: 3.496 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 5.59e-06/0.5851, allocations: 4 kB / 407.9 MB, free: 3.492 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 8.087e-05/0.5852, allocations: 27.94 kB / 408 MB, free: 3.465 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003656/0.5856, allocations: 18.05 kB / 408 MB, free: 3.445 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002114/0.5877, allocations: 0.8626 MB / 408.8 MB, free: 2.539 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005861/0.5883, allocations: 0.8223 MB / 409.7 MB, free: 1.691 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002676/0.5886, allocations: 111.6 kB / 409.8 MB, free: 1.582 MB / 330.7 MB Notification: Performance of SimCode: time 1.232e-06/0.5886, allocations: 0 / 409.8 MB, free: 1.582 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_Test6CalcHelperMain.o OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable2D_Test6CalcHelperMain.cpp In file included from OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable2D_Test6CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable2D_Test6FMU.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_Test6.so OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable2D_Test6CalcHelperMain.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_Test6_FMU.makefile:93: recipe for target 'ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable2D_Test6.fmu' failed make: *** [ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable2D_Test6.fmu] Error 1