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.Test7.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.Test7,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test7",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.37/2.37, allocations: 235 MB / 248.1 MB, free: 14.57 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.762e-05/3.779e-05, allocations: 4 kB / 309.8 MB, free: 1.449 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.426/0.4261, allocations: 54.85 MB / 364.6 MB, free: 5.527 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1769/0.603, allocations: 80.86 MB / 445.5 MB, free: 15.64 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0006559/0.6037, allocations: 71.95 kB / 445.6 MB, free: 15.57 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01989/0.6236, allocations: 2.75 MB / 448.3 MB, free: 12.85 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.855e-06/0.6237, allocations: 0 / 448.3 MB, free: 12.85 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.537e-05/0.6238, allocations: 4 kB / 448.3 MB, free: 12.84 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.0007899/0.6246, allocations: 404.5 kB / 448.7 MB, free: 12.4 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.74e-05/0.6247, allocations: 8.031 kB / 448.7 MB, free: 12.39 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.656e-05/0.6248, allocations: 30.56 kB / 448.7 MB, free: 12.35 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.971e-05/0.6248, allocations: 11.95 kB / 448.7 MB, free: 12.34 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004248/0.6253, allocations: 182.9 kB / 448.9 MB, free: 12.12 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.249e-05/0.6253, allocations: 4 kB / 448.9 MB, free: 12.12 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.895e-05/0.6254, allocations: 4 kB / 448.9 MB, free: 12.11 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001986/0.6256, allocations: 41.69 kB / 449 MB, free: 12.07 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.786e-05/0.6257, allocations: 3.812 kB / 449 MB, free: 12.07 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.453e-05/0.6257, allocations: 4 kB / 449 MB, free: 12.06 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.116e-05/0.6257, allocations: 5.172 kB / 449 MB, free: 12.06 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001046/0.6258, allocations: 15.98 kB / 449 MB, free: 12.04 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007202/0.6266, allocations: 276.8 kB / 449.3 MB, free: 11.72 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003481/0.627, allocations: 38.56 kB / 449.3 MB, free: 11.68 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.903e-05/0.627, allocations: 12.86 kB / 449.3 MB, free: 11.66 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.763e-05/0.6271, allocations: 4 kB / 449.3 MB, free: 11.66 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001275/0.6273, allocations: 34.52 kB / 449.4 MB, free: 11.61 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 1.381e-05/0.6274, allocations: 0 / 449.4 MB, free: 11.61 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.001022/0.6285, allocations: 109.5 kB / 449.5 MB, free: 11.5 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.857e-05/0.6286, allocations: 51.41 kB / 449.5 MB, free: 11.44 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004287/0.629, allocations: 129.8 kB / 449.6 MB, free: 11.3 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.33e-05/0.6291, allocations: 33.7 kB / 449.7 MB, free: 11.27 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001746/0.6293, allocations: 154.6 kB / 449.8 MB, free: 11.11 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.291e-05/0.6294, allocations: 20.5 kB / 449.8 MB, free: 11.09 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.176e-05/0.6295, allocations: 4 kB / 449.9 MB, free: 11.09 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002755/0.6298, allocations: 314.8 kB / 450.2 MB, free: 10.77 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001151/0.6299, allocations: 12 kB / 450.2 MB, free: 10.76 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001088/0.63, allocations: 15.94 kB / 450.2 MB, free: 10.75 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001756/0.6302, allocations: 37.7 kB / 450.2 MB, free: 10.7 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/0.6303, allocations: 3.938 kB / 450.2 MB, free: 10.7 MB / 378.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003074/0.6306, allocations: 95.39 kB / 450.3 MB, free: 10.59 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.412e-05/0.6307, allocations: 33.66 kB / 450.4 MB, free: 10.55 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.774e-06/0.6307, allocations: 1.031 kB / 450.4 MB, free: 10.55 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.85e-05/0.6307, allocations: 144 / 450.4 MB, free: 10.55 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001807/0.6309, allocations: 15.98 kB / 450.4 MB, free: 10.54 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.44e-05/0.631, allocations: 3.984 kB / 450.4 MB, free: 10.54 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000119/0.6311, allocations: 11.98 kB / 450.4 MB, free: 10.52 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.324e-05/0.6311, allocations: 0 / 450.4 MB, free: 10.52 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 0.000137/0.6313, allocations: 120.9 kB / 450.5 MB, free: 10.4 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.298e-05/0.6314, allocations: 7.906 kB / 450.5 MB, free: 10.39 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003317/0.6317, allocations: 69.73 kB / 450.6 MB, free: 10.31 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.989e-06/0.6317, allocations: 0 / 450.6 MB, free: 10.31 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.041e-06/0.6318, allocations: 0 / 450.6 MB, free: 10.31 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.294e-05/0.6318, allocations: 7.938 kB / 450.6 MB, free: 10.3 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007649/0.6326, allocations: 327.4 kB / 450.9 MB, free: 9.93 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.947e-06/0.6326, allocations: 0 / 450.9 MB, free: 9.93 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001358/0.6327, allocations: 24.31 kB / 450.9 MB, free: 9.906 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.973e-06/0.6328, allocations: 0 / 450.9 MB, free: 9.906 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.103e-05/0.6328, allocations: 0 / 450.9 MB, free: 9.906 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.3e-06/0.6328, allocations: 4 kB / 450.9 MB, free: 9.902 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.6328, allocations: 0 / 450.9 MB, free: 9.902 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002097/0.633, allocations: 159.5 kB / 451.1 MB, free: 9.73 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.764e-05/0.6331, allocations: 85.02 kB / 451.2 MB, free: 9.629 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.809e-05/0.6331, allocations: 11.95 kB / 451.2 MB, free: 9.617 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001088/0.6333, allocations: 11.92 kB / 451.2 MB, free: 9.605 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.044e-05/0.6333, allocations: 4 kB / 451.2 MB, free: 9.602 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.426e-06/0.6333, allocations: 0 / 451.2 MB, free: 9.602 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001275/0.6335, allocations: 109.1 kB / 451.3 MB, free: 9.496 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.81e-07/0.6335, allocations: 0 / 451.3 MB, free: 9.496 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003184/0.6338, allocations: 20 kB / 451.3 MB, free: 9.477 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.001204/0.635, allocations: 0.8742 MB / 452.2 MB, free: 8.648 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002097/0.6353, allocations: 87.34 kB / 452.3 MB, free: 8.551 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.6353, allocations: 0 / 452.3 MB, free: 8.551 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.315e-05/0.6354, allocations: 19.98 kB / 452.3 MB, free: 8.531 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002582/0.6356, allocations: 15.45 kB / 452.3 MB, free: 8.52 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000781/0.6364, allocations: 192.6 kB / 452.5 MB, free: 8.289 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004007/0.6369, allocations: 0.6926 MB / 453.2 MB, free: 7.57 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001011/0.637, allocations: 27.42 kB / 453.2 MB, free: 7.543 MB / 378.7 MB Notification: Performance of SimCode: time 1.322e-06/0.637, allocations: 0 / 453.2 MB, free: 7.543 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_Test7CalcHelperMain.o OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test7CalcHelperMain.cpp In file included from OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test7CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test7FMU.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_Test7.so OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test7CalcHelperMain.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_Test7_FMU.makefile:93: recipe for target 'ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test7.fmu' failed make: *** [ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test7.fmu] Error 1