Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test2,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable2D_Test2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.038/2.038, allocations: 209.3 MB / 221.9 MB, free: 1.934 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.658e-05/3.667e-05, allocations: 7.984 kB / 273.1 MB, free: 0.6445 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1018/0.1019, allocations: 48.71 MB / 321.8 MB, free: 15.83 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4086/0.5106, allocations: 74.48 MB / 396.3 MB, free: 15.43 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000271/0.5109, allocations: 75.11 kB / 396.4 MB, free: 15.36 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01939/0.5303, allocations: 5.273 MB / 401.7 MB, free: 10.09 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.124e-06/0.5304, allocations: 0 / 401.7 MB, free: 10.09 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.886e-05/0.5304, allocations: 4 kB / 401.7 MB, free: 10.09 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.0008097/0.5313, allocations: 0.5693 MB / 402.2 MB, free: 9.465 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.221e-05/0.5313, allocations: 8.031 kB / 402.2 MB, free: 9.457 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.615e-05/0.5314, allocations: 38.56 kB / 402.3 MB, free: 9.41 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.941e-05/0.5315, allocations: 43.39 kB / 402.3 MB, free: 9.367 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006383/0.5321, allocations: 319.3 kB / 402.6 MB, free: 9.016 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.624e-05/0.5322, allocations: 8 kB / 402.6 MB, free: 9.008 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.369e-05/0.5322, allocations: 0 / 402.6 MB, free: 9.008 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001496/0.5324, allocations: 49.69 kB / 402.7 MB, free: 8.953 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.235e-05/0.5324, allocations: 0 / 402.7 MB, free: 8.953 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.055e-05/0.5324, allocations: 0 / 402.7 MB, free: 8.953 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.61e-06/0.5324, allocations: 4 kB / 402.7 MB, free: 8.949 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.185e-05/0.5325, allocations: 16 kB / 402.7 MB, free: 8.934 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007978/0.5333, allocations: 424.6 kB / 403.1 MB, free: 8.469 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002262/0.5336, allocations: 42.56 kB / 403.2 MB, free: 8.418 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.678e-05/0.5336, allocations: 14.23 kB / 403.2 MB, free: 8.402 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.065e-05/0.5337, allocations: 4 kB / 403.2 MB, free: 8.398 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.862e-05/0.5337, allocations: 38.5 kB / 403.2 MB, free: 8.352 MB / 330.7 MB Notification: Performance of pre-optimization done (n=3): time 1.884e-06/0.5337, allocations: 0 / 403.2 MB, free: 8.352 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.0006207/0.5343, allocations: 180.2 kB / 403.4 MB, free: 8.168 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.915e-05/0.5344, allocations: 51.41 kB / 403.5 MB, free: 8.105 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001922/0.5363, allocations: 0.7693 MB / 404.2 MB, free: 7.324 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.219e-05/0.5364, allocations: 29.7 kB / 404.3 MB, free: 7.289 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002325/0.5366, allocations: 246.4 kB / 404.5 MB, free: 7.047 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.703e-05/0.5367, allocations: 11.81 kB / 404.5 MB, free: 7.035 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.342e-06/0.5367, allocations: 0 / 404.5 MB, free: 7.035 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001433/0.5368, allocations: 314.8 kB / 404.8 MB, free: 6.719 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.277e-05/0.5369, allocations: 12 kB / 404.8 MB, free: 6.707 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.501e-05/0.5369, allocations: 12 kB / 404.8 MB, free: 6.695 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.808e-05/0.537, allocations: 41.69 kB / 404.9 MB, free: 6.648 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.392e-06/0.537, allocations: 0 / 404.9 MB, free: 6.648 MB / 330.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002121/0.5373, allocations: 99.52 kB / 405 MB, free: 6.539 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.216e-05/0.5373, allocations: 33.64 kB / 405 MB, free: 6.5 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.01e-05/0.5374, allocations: 8.016 kB / 405 MB, free: 6.492 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.871e-05/0.5374, allocations: 4 kB / 405 MB, free: 6.488 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001426/0.5375, allocations: 12.12 kB / 405 MB, free: 6.477 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.053e-05/0.5376, allocations: 7.938 kB / 405 MB, free: 6.469 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001226/0.5377, allocations: 4 kB / 405 MB, free: 6.465 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.131e-05/0.5377, allocations: 0 / 405 MB, free: 6.465 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.57e-05/0.5378, allocations: 113 kB / 405.2 MB, free: 6.348 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001207/0.5379, allocations: 47.42 kB / 405.2 MB, free: 6.301 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000307/0.5383, allocations: 117 kB / 405.3 MB, free: 6.18 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.811e-06/0.5383, allocations: 3.953 kB / 405.3 MB, free: 6.176 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.5383, allocations: 0 / 405.3 MB, free: 6.176 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.5383, allocations: 0 / 405.3 MB, free: 6.176 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001115/0.5394, allocations: 0.5569 MB / 405.9 MB, free: 5.562 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.5395, allocations: 0 / 405.9 MB, free: 5.562 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001216/0.5396, allocations: 19.98 kB / 405.9 MB, free: 5.543 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.783e-06/0.5396, allocations: 3.953 kB / 405.9 MB, free: 5.539 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.034e-05/0.5396, allocations: 4 kB / 405.9 MB, free: 5.535 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.595e-06/0.5396, allocations: 0 / 405.9 MB, free: 5.535 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.5396, allocations: 0 / 405.9 MB, free: 5.535 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002832/0.5399, allocations: 195 kB / 406.1 MB, free: 5.328 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002917/0.5402, allocations: 156.5 kB / 406.2 MB, free: 5.156 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.554e-05/0.5403, allocations: 15.95 kB / 406.3 MB, free: 5.141 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001478/0.5405, allocations: 4 kB / 406.3 MB, free: 5.137 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.158e-05/0.5405, allocations: 8.172 kB / 406.3 MB, free: 5.129 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.438e-06/0.5406, allocations: 4 kB / 406.3 MB, free: 5.125 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.001184/0.5418, allocations: 0.6186 MB / 406.9 MB, free: 4.512 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.5e-07/0.5418, allocations: 0 / 406.9 MB, free: 4.512 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004116/0.5422, allocations: 63.92 kB / 407 MB, free: 4.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.00123/0.5434, allocations: 0.8505 MB / 407.8 MB, free: 3.621 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002124/0.5437, allocations: 87.39 kB / 407.9 MB, free: 3.523 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.5437, allocations: 4 kB / 407.9 MB, free: 3.52 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 5.824e-05/0.5438, allocations: 16 kB / 407.9 MB, free: 3.504 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000332/0.5441, allocations: 25.92 kB / 407.9 MB, free: 3.48 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00204/0.5462, allocations: 0.8393 MB / 408.8 MB, free: 2.598 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006092/0.5468, allocations: 0.8261 MB / 409.6 MB, free: 1.746 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000253/0.5471, allocations: 107.6 kB / 409.7 MB, free: 1.641 MB / 330.7 MB Notification: Performance of SimCode: time 9.62e-07/0.5471, allocations: 0 / 409.7 MB, free: 1.641 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_Test2CalcHelperMain.o OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable2D_Test2CalcHelperMain.cpp In file included from OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable2D_Test2CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable2D_Test2FMU.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_Test2.so OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable2D_Test2CalcHelperMain.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_Test2_FMU.makefile:93: recipe for target 'ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable2D_Test2.fmu' failed make: *** [ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable2D_Test2.fmu] Error 1