Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test20,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable2D_Test20",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.21/2.21, allocations: 209.3 MB / 221.9 MB, free: 1.93 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.649e-05/3.66e-05, allocations: 4 kB / 273.2 MB, free: 0.6328 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1017/0.1018, allocations: 48.71 MB / 321.9 MB, free: 15.83 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4002/0.502, allocations: 75.62 MB / 397.5 MB, free: 14.2 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002717/0.5024, allocations: 70.78 kB / 397.6 MB, free: 14.13 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02611/0.5285, allocations: 6.091 MB / 403.6 MB, free: 8.051 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.634e-06/0.5286, allocations: 0 / 403.6 MB, free: 8.051 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.814e-05/0.5286, allocations: 8 kB / 403.6 MB, free: 8.043 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0008973/0.5295, allocations: 0.6895 MB / 404.3 MB, free: 7.277 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.751e-05/0.5296, allocations: 8.031 kB / 404.3 MB, free: 7.27 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.924e-05/0.5296, allocations: 46.55 kB / 404.4 MB, free: 7.215 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001109/0.5298, allocations: 43.48 kB / 404.4 MB, free: 7.172 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005833/0.5304, allocations: 291.9 kB / 404.7 MB, free: 6.844 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.165e-05/0.5304, allocations: 8 kB / 404.7 MB, free: 6.836 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.223e-05/0.5305, allocations: 12 kB / 404.7 MB, free: 6.824 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002793/0.5307, allocations: 97.61 kB / 404.8 MB, free: 6.723 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.116e-05/0.5308, allocations: 7.906 kB / 404.8 MB, free: 6.715 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.865e-05/0.5308, allocations: 4 kB / 404.8 MB, free: 6.711 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.024e-05/0.5308, allocations: 11.95 kB / 404.9 MB, free: 6.699 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001856/0.531, allocations: 55.98 kB / 404.9 MB, free: 6.645 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009305/0.532, allocations: 480.3 kB / 405.4 MB, free: 6.125 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002249/0.5322, allocations: 90.5 kB / 405.5 MB, free: 6.027 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.115e-05/0.5323, allocations: 28.86 kB / 405.5 MB, free: 5.996 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.98e-05/0.5324, allocations: 8 kB / 405.5 MB, free: 5.988 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.38e-05/0.5324, allocations: 30.56 kB / 405.5 MB, free: 5.949 MB / 330.7 MB Notification: Performance of pre-optimization done (n=11): time 2.936e-06/0.5324, allocations: 0 / 405.5 MB, free: 5.949 MB / 330.7 MB Notification: Performance of matching and sorting (n=17): time 0.001114/0.5335, allocations: 320.4 kB / 405.8 MB, free: 5.629 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.336e-05/0.5336, allocations: 59.36 kB / 405.9 MB, free: 5.559 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007752/0.5344, allocations: 423.5 kB / 406.3 MB, free: 5.141 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.86e-05/0.5344, allocations: 29.7 kB / 406.3 MB, free: 5.105 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001557/0.5346, allocations: 218.9 kB / 406.6 MB, free: 4.891 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.03e-05/0.5347, allocations: 59.11 kB / 406.6 MB, free: 4.832 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.586e-05/0.5347, allocations: 0 / 406.6 MB, free: 4.832 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001268/0.5348, allocations: 326.8 kB / 406.9 MB, free: 4.504 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001527/0.535, allocations: 56.31 kB / 407 MB, free: 4.445 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001374/0.5352, allocations: 47.75 kB / 407 MB, free: 4.402 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002377/0.5354, allocations: 193.4 kB / 407.2 MB, free: 4.184 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.5354, allocations: 0 / 407.2 MB, free: 4.184 MB / 330.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0005581/0.536, allocations: 312.1 kB / 407.5 MB, free: 3.844 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.563e-05/0.5361, allocations: 136.5 kB / 407.7 MB, free: 3.68 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.296e-06/0.5361, allocations: 0 / 407.7 MB, free: 3.68 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.769e-05/0.5362, allocations: 0 / 407.7 MB, free: 3.68 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003047/0.5365, allocations: 43.97 kB / 407.7 MB, free: 3.637 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.598e-06/0.5365, allocations: 3.938 kB / 407.7 MB, free: 3.633 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001754/0.5367, allocations: 11.95 kB / 407.7 MB, free: 3.621 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.947e-05/0.5367, allocations: 16 kB / 407.7 MB, free: 3.605 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 (22): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 5 * 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 9.694e-05/0.5368, allocations: 105 kB / 407.8 MB, free: 3.496 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.407e-05/0.5369, allocations: 31.62 kB / 407.9 MB, free: 3.465 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006907/0.5376, allocations: 224.6 kB / 408.1 MB, free: 3.23 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.021e-06/0.5377, allocations: 0 / 408.1 MB, free: 3.23 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.636e-06/0.5377, allocations: 4 kB / 408.1 MB, free: 3.227 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.939e-06/0.5377, allocations: 0 / 408.1 MB, free: 3.227 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001315/0.539, allocations: 0.6262 MB / 408.7 MB, free: 2.547 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.31e-06/0.5391, allocations: 0 / 408.7 MB, free: 2.547 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002672/0.5394, allocations: 35.97 kB / 408.8 MB, free: 2.512 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.825e-06/0.5394, allocations: 0 / 408.8 MB, free: 2.512 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.902e-05/0.5394, allocations: 11.95 kB / 408.8 MB, free: 2.5 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.109e-06/0.5394, allocations: 0 / 408.8 MB, free: 2.5 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.5395, allocations: 7.938 kB / 408.8 MB, free: 2.492 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005535/0.54, allocations: 279 kB / 409.1 MB, free: 2.203 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001785/0.5402, allocations: 120.7 kB / 409.2 MB, free: 2.066 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.415e-05/0.5403, allocations: 4 kB / 409.2 MB, free: 2.062 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001713/0.5405, allocations: 15.95 kB / 409.2 MB, free: 2.047 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.785e-05/0.5406, allocations: 11.98 kB / 409.2 MB, free: 2.035 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.321e-05/0.5406, allocations: 11.92 kB / 409.2 MB, free: 2.023 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.000624/0.5412, allocations: 334.1 kB / 409.5 MB, free: 1.699 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.5412, allocations: 0 / 409.5 MB, free: 1.699 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0005526/0.5418, allocations: 99.7 kB / 409.6 MB, free: 1.602 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 (17): * Single equations (assignments): 17 * 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.002352/0.5442, allocations: 1.287 MB / 410.9 MB, free: 384 kB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0006143/0.5448, allocations: 397 kB / 411.3 MB, free: 15.93 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.5449, allocations: 0 / 411.3 MB, free: 15.93 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001718/0.545, allocations: 71.92 kB / 411.4 MB, free: 15.86 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004982/0.5455, allocations: 38.97 kB / 411.4 MB, free: 15.82 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001675/0.5472, allocations: 0.6073 MB / 412 MB, free: 15.17 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004809/0.5478, allocations: 0.7907 MB / 412.8 MB, free: 14.35 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000265/0.548, allocations: 99.39 kB / 412.9 MB, free: 14.25 MB / 346.7 MB Notification: Performance of SimCode: time 9.42e-07/0.5481, allocations: 0 / 412.9 MB, free: 14.25 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_Test20CalcHelperMain.o OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable2D_Test20CalcHelperMain.cpp In file included from OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable2D_Test20CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable2D_Test20FMU.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_Test20.so OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable2D_Test20CalcHelperMain.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_Test20_FMU.makefile:93: recipe for target 'ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable2D_Test20.fmu' failed make: *** [ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable2D_Test20.fmu] Error 1