Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable1Ds.Test26.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test26,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test26",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.548/2.548, allocations: 235 MB / 248 MB, free: 14.54 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.686e-05/3.697e-05, allocations: 4 kB / 309.8 MB, free: 1.449 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.451/0.4511, allocations: 54.85 MB / 364.6 MB, free: 5.387 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1626/0.6137, allocations: 80.89 MB / 445.5 MB, free: 15.53 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003233/0.6141, allocations: 67.97 kB / 445.6 MB, free: 15.46 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01389/0.628, allocations: 3.108 MB / 448.7 MB, free: 12.38 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.813e-06/0.6281, allocations: 0 / 448.7 MB, free: 12.38 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.917e-05/0.6281, allocations: 4 kB / 448.7 MB, free: 12.37 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005558/0.6287, allocations: 412.9 kB / 449.1 MB, free: 11.92 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.436e-05/0.6287, allocations: 8.031 kB / 449.1 MB, free: 11.91 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.562e-05/0.6288, allocations: 34.56 kB / 449.1 MB, free: 11.87 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.943e-05/0.6289, allocations: 11.86 kB / 449.1 MB, free: 11.86 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003069/0.6292, allocations: 195.5 kB / 449.3 MB, free: 11.62 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.458e-05/0.6292, allocations: 5.312 kB / 449.3 MB, free: 11.62 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.441e-05/0.6292, allocations: 0 / 449.3 MB, free: 11.62 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001508/0.6294, allocations: 42.58 kB / 449.4 MB, free: 11.57 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.867e-05/0.6294, allocations: 7.969 kB / 449.4 MB, free: 11.56 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.148e-05/0.6295, allocations: 0 / 449.4 MB, free: 11.56 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.324e-06/0.6295, allocations: 7.953 kB / 449.4 MB, free: 11.55 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.785e-05/0.6296, allocations: 12 kB / 449.4 MB, free: 11.54 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005321/0.6301, allocations: 284.8 kB / 449.7 MB, free: 11.21 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002383/0.6304, allocations: 34.58 kB / 449.7 MB, free: 11.17 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.152e-05/0.6304, allocations: 16.94 kB / 449.7 MB, free: 11.15 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.139e-05/0.6305, allocations: 0 / 449.7 MB, free: 11.15 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.808e-05/0.6305, allocations: 34.52 kB / 449.8 MB, free: 11.11 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 1.964e-06/0.6305, allocations: 4 kB / 449.8 MB, free: 11.11 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005545/0.6311, allocations: 121.2 kB / 449.9 MB, free: 10.98 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.879e-05/0.6311, allocations: 52.06 kB / 449.9 MB, free: 10.92 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002911/0.6314, allocations: 178.9 kB / 450.1 MB, free: 10.73 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.995e-05/0.6315, allocations: 25.7 kB / 450.1 MB, free: 10.7 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001022/0.6316, allocations: 166.6 kB / 450.3 MB, free: 10.54 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.875e-05/0.6316, allocations: 11.75 kB / 450.3 MB, free: 10.53 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.771e-06/0.6316, allocations: 0 / 450.3 MB, free: 10.53 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001471/0.6318, allocations: 326.8 kB / 450.6 MB, free: 10.2 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.891e-05/0.6319, allocations: 13.16 kB / 450.7 MB, free: 10.19 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.612e-05/0.6319, allocations: 12 kB / 450.7 MB, free: 10.18 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.086e-05/0.632, allocations: 37.7 kB / 450.7 MB, free: 10.13 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.632, allocations: 3.938 kB / 450.7 MB, free: 10.13 MB / 378.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002061/0.6322, allocations: 95.3 kB / 450.8 MB, free: 10.02 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.122e-05/0.6323, allocations: 37.66 kB / 450.8 MB, free: 9.98 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.263e-06/0.6323, allocations: 0 / 450.8 MB, free: 9.98 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.805e-05/0.6323, allocations: 0 / 450.8 MB, free: 9.98 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001536/0.6325, allocations: 19.98 kB / 450.9 MB, free: 9.961 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.164e-05/0.6325, allocations: 3.984 kB / 450.9 MB, free: 9.957 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.785e-05/0.6326, allocations: 4 kB / 450.9 MB, free: 9.953 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.413e-05/0.6327, allocations: 7.984 kB / 450.9 MB, free: 9.945 MB / 378.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.991e-05/0.6328, allocations: 104.9 kB / 451 MB, free: 9.836 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.768e-05/0.6328, allocations: 11.84 kB / 451 MB, free: 9.824 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002668/0.6331, allocations: 77.73 kB / 451.1 MB, free: 9.746 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.529e-06/0.6331, allocations: 4 kB / 451.1 MB, free: 9.742 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.691e-06/0.6332, allocations: 4 kB / 451.1 MB, free: 9.738 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.273e-06/0.6332, allocations: 3.984 kB / 451.1 MB, free: 9.734 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005817/0.6338, allocations: 338.5 kB / 451.4 MB, free: 9.348 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.536e-06/0.6338, allocations: 0 / 451.4 MB, free: 9.348 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001344/0.6339, allocations: 19.94 kB / 451.4 MB, free: 9.328 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.452e-06/0.634, allocations: 0 / 451.4 MB, free: 9.328 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.147e-05/0.634, allocations: 384 / 451.4 MB, free: 9.328 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.176e-06/0.634, allocations: 0 / 451.4 MB, free: 9.328 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.829e-06/0.634, allocations: 12 kB / 451.4 MB, free: 9.316 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002157/0.6342, allocations: 159.5 kB / 451.6 MB, free: 9.145 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.463e-05/0.6343, allocations: 88.95 kB / 451.7 MB, free: 9.039 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.856e-05/0.6344, allocations: 7.938 kB / 451.7 MB, free: 9.031 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001139/0.6345, allocations: 12 kB / 451.7 MB, free: 9.02 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.896e-05/0.6346, allocations: 0 / 451.7 MB, free: 9.02 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.852e-05/0.6346, allocations: 7.984 kB / 451.7 MB, free: 9.012 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002095/0.6348, allocations: 147.1 kB / 451.9 MB, free: 8.867 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.6348, allocations: 0 / 451.9 MB, free: 8.867 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003415/0.6352, allocations: 19.98 kB / 451.9 MB, free: 8.848 MB / 378.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.001421/0.6366, allocations: 0.8696 MB / 452.7 MB, free: 8.031 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002441/0.6369, allocations: 95.33 kB / 452.8 MB, free: 7.926 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.539e-06/0.6369, allocations: 0 / 452.8 MB, free: 7.926 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 5.869e-05/0.637, allocations: 20 kB / 452.9 MB, free: 7.906 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002821/0.6373, allocations: 11.95 kB / 452.9 MB, free: 7.895 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007626/0.6381, allocations: 224.3 kB / 453.1 MB, free: 7.633 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003629/0.6385, allocations: 0.7082 MB / 453.8 MB, free: 6.898 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.367e-05/0.6386, allocations: 27.42 kB / 453.8 MB, free: 6.871 MB / 378.7 MB Notification: Performance of SimCode: time 9.51e-07/0.6386, allocations: 0 / 453.8 MB, free: 6.871 MB / 378.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_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test26CalcHelperMain.o OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test26CalcHelperMain.cpp In file included from OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test26CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test26FMU.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_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test26.so OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test26CalcHelperMain.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.2/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.2/Resources/Library/x86_64-linux" -Wl,-rpath="/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Resources/Library/x86_64-linux" "-L/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Resources/Library/linux64" -Wl,-rpath="/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Resources/Library/linux64" "-L/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Resources/Library" -Wl,-rpath="/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/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_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test26_FMU.makefile:93: recipe for target 'ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test26.fmu' failed make: *** [ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test26.fmu] Error 1