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 2.005/2.005, allocations: 209.3 MB / 221.9 MB, free: 1.938 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.328e-05/4.334e-05, allocations: 4 kB / 273.1 MB, free: 0.6445 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1372/0.1373, allocations: 48.71 MB / 321.9 MB, free: 15.84 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.388/0.5253, allocations: 74.4 MB / 396.3 MB, free: 15.44 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002484/0.5256, allocations: 63.97 kB / 396.3 MB, free: 15.38 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01862/0.5442, allocations: 5.231 MB / 401.5 MB, free: 10.15 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.192e-06/0.5443, allocations: 0 / 401.5 MB, free: 10.15 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.797e-05/0.5443, allocations: 8 kB / 401.6 MB, free: 10.14 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.0007891/0.5451, allocations: 0.5732 MB / 402.1 MB, free: 9.516 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.936e-05/0.5452, allocations: 8.031 kB / 402.1 MB, free: 9.508 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.824e-05/0.5452, allocations: 46.55 kB / 402.2 MB, free: 9.453 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001002/0.5453, allocations: 47.39 kB / 402.2 MB, free: 9.406 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005941/0.5459, allocations: 319.3 kB / 402.5 MB, free: 9.055 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.43e-05/0.546, allocations: 4 kB / 402.5 MB, free: 9.051 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.211e-05/0.546, allocations: 3.984 kB / 402.5 MB, free: 9.047 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001368/0.5462, allocations: 49.69 kB / 402.6 MB, free: 8.992 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.2e-05/0.5462, allocations: 0 / 402.6 MB, free: 8.992 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.061e-05/0.5462, allocations: 0 / 402.6 MB, free: 8.992 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/0.5462, allocations: 0 / 402.6 MB, free: 8.992 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.286e-05/0.5463, allocations: 16 kB / 402.6 MB, free: 8.977 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007405/0.5471, allocations: 444.6 kB / 403 MB, free: 8.492 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001028/0.5472, allocations: 34.58 kB / 403.1 MB, free: 8.449 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.618e-05/0.5472, allocations: 14.23 kB / 403.1 MB, free: 8.434 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.436e-05/0.5473, allocations: 0 / 403.1 MB, free: 8.434 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.989e-05/0.5473, allocations: 34.56 kB / 403.1 MB, free: 8.391 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 2.024e-06/0.5473, allocations: 4 kB / 403.1 MB, free: 8.387 MB / 330.7 MB Notification: Performance of matching and sorting (n=7): time 0.0007274/0.5481, allocations: 220.1 kB / 403.3 MB, free: 8.164 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.602e-05/0.5481, allocations: 55.41 kB / 403.4 MB, free: 8.098 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001826/0.5499, allocations: 0.7576 MB / 404.2 MB, free: 7.328 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.925e-05/0.55, allocations: 25.7 kB / 404.2 MB, free: 7.297 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001932/0.5502, allocations: 238.5 kB / 404.4 MB, free: 7.062 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.509e-05/0.5502, allocations: 31.59 kB / 404.4 MB, free: 7.031 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.524e-06/0.5503, allocations: 0 / 404.4 MB, free: 7.031 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001119/0.5504, allocations: 314.8 kB / 404.8 MB, free: 6.715 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.049e-05/0.5504, allocations: 16 kB / 404.8 MB, free: 6.699 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.743e-05/0.5505, allocations: 16 kB / 404.8 MB, free: 6.684 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.15e-05/0.5506, allocations: 45.7 kB / 404.8 MB, free: 6.633 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.343e-06/0.5506, allocations: 3.938 kB / 404.8 MB, free: 6.629 MB / 330.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002176/0.5508, allocations: 103.7 kB / 404.9 MB, free: 6.516 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.28e-05/0.5509, allocations: 41.64 kB / 405 MB, free: 6.469 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.5509, allocations: 7.938 kB / 405 MB, free: 6.461 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.357e-05/0.5509, allocations: 0 / 405 MB, free: 6.461 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000214/0.5512, allocations: 27.98 kB / 405 MB, free: 6.434 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.893e-06/0.5512, allocations: 0 / 405 MB, free: 6.434 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001572/0.5514, allocations: 11.98 kB / 405 MB, free: 6.422 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.419e-05/0.5514, allocations: 4 kB / 405 MB, free: 6.418 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 7.573e-05/0.5515, allocations: 105 kB / 405.1 MB, free: 6.309 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001143/0.5516, allocations: 43.44 kB / 405.2 MB, free: 6.266 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003088/0.5519, allocations: 137.4 kB / 405.3 MB, free: 6.125 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/0.5519, allocations: 0 / 405.3 MB, free: 6.125 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.548e-06/0.5519, allocations: 0 / 405.3 MB, free: 6.125 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.161e-06/0.552, allocations: 3.984 kB / 405.3 MB, free: 6.121 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00105/0.553, allocations: 0.5687 MB / 405.9 MB, free: 5.496 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.553, allocations: 0 / 405.9 MB, free: 5.496 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001748/0.5532, allocations: 39.88 kB / 405.9 MB, free: 5.457 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.238e-06/0.5532, allocations: 0 / 405.9 MB, free: 5.457 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.037e-05/0.5533, allocations: 0 / 405.9 MB, free: 5.457 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.779e-06/0.5533, allocations: 3.984 kB / 405.9 MB, free: 5.453 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.5533, allocations: 0 / 405.9 MB, free: 5.453 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003017/0.5536, allocations: 207 kB / 406.1 MB, free: 5.234 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002553/0.5539, allocations: 156.6 kB / 406.3 MB, free: 5.062 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.316e-05/0.5539, allocations: 7.953 kB / 406.3 MB, free: 5.055 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001914/0.5541, allocations: 11.98 kB / 406.3 MB, free: 5.043 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.329e-05/0.5542, allocations: 7.984 kB / 406.3 MB, free: 5.035 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.185e-05/0.5542, allocations: 4 kB / 406.3 MB, free: 5.031 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.00108/0.5553, allocations: 0.6186 MB / 406.9 MB, free: 4.418 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.5553, allocations: 0 / 406.9 MB, free: 4.418 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004554/0.5558, allocations: 56 kB / 407 MB, free: 4.363 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.001125/0.5569, allocations: 0.8833 MB / 407.9 MB, free: 3.5 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002332/0.5572, allocations: 103.3 kB / 408 MB, free: 3.387 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.5572, allocations: 0 / 408 MB, free: 3.387 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 7.446e-05/0.5573, allocations: 20 kB / 408 MB, free: 3.367 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003345/0.5576, allocations: 26.03 kB / 408 MB, free: 3.34 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001949/0.5596, allocations: 0.8548 MB / 408.9 MB, free: 2.441 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005051/0.5601, allocations: 0.8262 MB / 409.7 MB, free: 1.59 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002529/0.5604, allocations: 111.6 kB / 409.8 MB, free: 1.48 MB / 330.7 MB Notification: Performance of SimCode: time 9.02e-07/0.5604, allocations: 4 kB / 409.8 MB, free: 1.477 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