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.Test31.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.Test31,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test31",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.495/2.495, allocations: 235 MB / 248.1 MB, free: 14.38 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.469e-05/4.485e-05, allocations: 4 kB / 309.8 MB, free: 1.246 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4283/0.4284, allocations: 54.84 MB / 364.6 MB, free: 5.562 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1507/0.5791, allocations: 80.9 MB / 445.5 MB, free: 15.61 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002746/0.5794, allocations: 68.62 kB / 445.6 MB, free: 15.54 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01369/0.5931, allocations: 3.343 MB / 448.9 MB, free: 12.22 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.5932, allocations: 0 / 448.9 MB, free: 12.22 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.325e-05/0.5932, allocations: 0.6562 kB / 448.9 MB, free: 12.22 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.000515/0.5937, allocations: 435.7 kB / 449.3 MB, free: 11.75 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.897e-05/0.5938, allocations: 8.031 kB / 449.4 MB, free: 11.74 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.011e-05/0.5938, allocations: 34.56 kB / 449.4 MB, free: 11.7 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.659e-05/0.5939, allocations: 11.91 kB / 449.4 MB, free: 11.68 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003367/0.5942, allocations: 200.2 kB / 449.6 MB, free: 11.45 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.403e-05/0.5943, allocations: 4 kB / 449.6 MB, free: 11.45 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.647e-05/0.5943, allocations: 4.75 kB / 449.6 MB, free: 11.44 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001299/0.5945, allocations: 41.69 kB / 449.6 MB, free: 11.39 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.7e-05/0.5945, allocations: 9.484 kB / 449.7 MB, free: 11.39 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.124e-05/0.5945, allocations: 0 / 449.7 MB, free: 11.39 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.93e-06/0.5945, allocations: 0 / 449.7 MB, free: 11.39 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.706e-05/0.5946, allocations: 19.94 kB / 449.7 MB, free: 11.37 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004633/0.5951, allocations: 293 kB / 450 MB, free: 11.03 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002135/0.5953, allocations: 34.53 kB / 450 MB, free: 10.99 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.522e-05/0.5954, allocations: 18.55 kB / 450 MB, free: 10.97 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.681e-05/0.5954, allocations: 3.984 kB / 450 MB, free: 10.96 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.988e-05/0.5954, allocations: 42.58 kB / 450.1 MB, free: 10.91 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 3.547e-06/0.5955, allocations: 3.984 kB / 450.1 MB, free: 10.91 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005183/0.596, allocations: 113.2 kB / 450.2 MB, free: 10.79 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.77e-05/0.596, allocations: 55.41 kB / 450.2 MB, free: 10.73 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003975/0.5964, allocations: 238.5 kB / 450.5 MB, free: 10.48 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.054e-05/0.5965, allocations: 25.7 kB / 450.5 MB, free: 10.45 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001006/0.5966, allocations: 162.6 kB / 450.6 MB, free: 10.29 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.89e-05/0.5966, allocations: 27.73 kB / 450.7 MB, free: 10.26 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.942e-06/0.5966, allocations: 0 / 450.7 MB, free: 10.26 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001606/0.5968, allocations: 310.8 kB / 451 MB, free: 9.945 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.945e-05/0.5969, allocations: 12 kB / 451 MB, free: 9.934 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.173e-05/0.5969, allocations: 12 kB / 451 MB, free: 9.922 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.926e-05/0.597, allocations: 46.38 kB / 451 MB, free: 9.871 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.04e-06/0.597, allocations: 0 / 451 MB, free: 9.871 MB / 378.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001926/0.5972, allocations: 91.3 kB / 451.1 MB, free: 9.77 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.235e-05/0.5973, allocations: 33.69 kB / 451.2 MB, free: 9.73 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.101e-06/0.5973, allocations: 1.094 kB / 451.2 MB, free: 9.73 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.375e-05/0.5973, allocations: 4 kB / 451.2 MB, free: 9.727 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001261/0.5975, allocations: 16 kB / 451.2 MB, free: 9.711 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.107e-05/0.5975, allocations: 7.938 kB / 451.2 MB, free: 9.703 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.686e-05/0.5976, allocations: 11.98 kB / 451.2 MB, free: 9.691 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.098e-05/0.5976, allocations: 0 / 451.2 MB, free: 9.691 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.393e-05/0.5977, allocations: 105 kB / 451.3 MB, free: 9.582 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.647e-05/0.5978, allocations: 15.77 kB / 451.3 MB, free: 9.566 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002425/0.598, allocations: 86.67 kB / 451.4 MB, free: 9.473 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.867e-06/0.5981, allocations: 0.8438 kB / 451.4 MB, free: 9.473 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.5981, allocations: 0 / 451.4 MB, free: 9.473 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.5981, allocations: 0 / 451.4 MB, free: 9.473 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000565/0.5987, allocations: 370.5 kB / 451.8 MB, free: 9.055 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/0.5987, allocations: 0 / 451.8 MB, free: 9.055 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001142/0.5988, allocations: 15.98 kB / 451.8 MB, free: 9.039 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.088e-06/0.5988, allocations: 4 kB / 451.8 MB, free: 9.035 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.748e-06/0.5988, allocations: 0 / 451.8 MB, free: 9.035 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.585e-06/0.5988, allocations: 0 / 451.8 MB, free: 9.035 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.5989, allocations: 0.5625 kB / 451.8 MB, free: 9.035 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002065/0.5991, allocations: 171.2 kB / 452 MB, free: 8.852 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.714e-05/0.5992, allocations: 93.02 kB / 452 MB, free: 8.742 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.278e-05/0.5992, allocations: 7.984 kB / 452.1 MB, free: 8.734 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001198/0.5994, allocations: 12 kB / 452.1 MB, free: 8.723 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.434e-05/0.5994, allocations: 0 / 452.1 MB, free: 8.723 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.468e-06/0.5994, allocations: 7.938 kB / 452.1 MB, free: 8.715 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002716/0.5997, allocations: 193.1 kB / 452.3 MB, free: 8.527 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.81e-07/0.5997, allocations: 0 / 452.3 MB, free: 8.527 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003337/0.6001, allocations: 24 kB / 452.3 MB, free: 8.504 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.001225/0.6013, allocations: 0.8837 MB / 453.2 MB, free: 7.672 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002189/0.6016, allocations: 83.41 kB / 453.3 MB, free: 7.578 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.6016, allocations: 0 / 453.3 MB, free: 7.578 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.223e-05/0.6017, allocations: 16 kB / 453.3 MB, free: 7.562 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002982/0.602, allocations: 12.12 kB / 453.3 MB, free: 7.547 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009005/0.6029, allocations: 285.3 kB / 453.6 MB, free: 7.23 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003465/0.6032, allocations: 0.716 MB / 454.3 MB, free: 6.488 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001047/0.6034, allocations: 39.36 kB / 454.3 MB, free: 6.449 MB / 378.7 MB Notification: Performance of SimCode: time 1.653e-06/0.6034, allocations: 0 / 454.3 MB, free: 6.449 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_Test31CalcHelperMain.o OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test31CalcHelperMain.cpp In file included from OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test31CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test31FMU.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_Test31.so OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test31CalcHelperMain.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_Test31_FMU.makefile:93: recipe for target 'ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test31.fmu' failed make: *** [ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test31.fmu] Error 1