Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable1D.Test28.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.CombiTable1D.Test28,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1D_Test28",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.328/2.328, allocations: 235 MB / 248 MB, free: 14.37 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.883e-05/2.887e-05, allocations: 0 / 309.8 MB, free: 1.242 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3823/0.3823, allocations: 54.85 MB / 364.6 MB, free: 5.543 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1476/0.5299, allocations: 80.9 MB / 445.5 MB, free: 15.59 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000276/0.5302, allocations: 76.95 kB / 445.6 MB, free: 15.51 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01292/0.5432, allocations: 3.24 MB / 448.8 MB, free: 12.29 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.5432, allocations: 0 / 448.8 MB, free: 12.29 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.577e-05/0.5433, allocations: 4 kB / 448.8 MB, free: 12.28 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.0005037/0.5438, allocations: 419.9 kB / 449.2 MB, free: 11.82 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.183e-05/0.5438, allocations: 12.03 kB / 449.3 MB, free: 11.81 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.961e-05/0.5439, allocations: 35.31 kB / 449.3 MB, free: 11.77 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.502e-05/0.5439, allocations: 11.81 kB / 449.3 MB, free: 11.75 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003117/0.5443, allocations: 199.6 kB / 449.5 MB, free: 11.52 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.152e-05/0.5443, allocations: 1.938 kB / 449.5 MB, free: 11.52 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.453e-05/0.5443, allocations: 4 kB / 449.5 MB, free: 11.51 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001287/0.5445, allocations: 41.69 kB / 449.5 MB, free: 11.46 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.62e-05/0.5445, allocations: 7.953 kB / 449.6 MB, free: 11.46 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.027e-05/0.5445, allocations: 0 / 449.6 MB, free: 11.46 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.384e-06/0.5445, allocations: 9.406 kB / 449.6 MB, free: 11.45 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.853e-05/0.5446, allocations: 15.94 kB / 449.6 MB, free: 11.43 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005111/0.5451, allocations: 293 kB / 449.9 MB, free: 11.1 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002237/0.5454, allocations: 42.52 kB / 449.9 MB, free: 11.05 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.034e-05/0.5454, allocations: 12.86 kB / 449.9 MB, free: 11.03 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.79e-05/0.5455, allocations: 4 kB / 449.9 MB, free: 11.03 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.322e-05/0.5455, allocations: 38.5 kB / 450 MB, free: 10.98 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 1.843e-06/0.5455, allocations: 0 / 450 MB, free: 10.98 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005152/0.546, allocations: 121.3 kB / 450.1 MB, free: 10.86 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.061e-05/0.5461, allocations: 51.41 kB / 450.1 MB, free: 10.79 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003437/0.5465, allocations: 213.4 kB / 450.3 MB, free: 10.58 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.954e-05/0.5465, allocations: 29.7 kB / 450.4 MB, free: 10.54 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.662e-05/0.5466, allocations: 174.5 kB / 450.5 MB, free: 10.37 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.791e-05/0.5466, allocations: 11.81 kB / 450.5 MB, free: 10.36 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.803e-06/0.5466, allocations: 0 / 450.5 MB, free: 10.36 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001153/0.5468, allocations: 316 kB / 450.9 MB, free: 10.04 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.67e-05/0.5468, allocations: 19.98 kB / 450.9 MB, free: 10.02 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.966e-05/0.5469, allocations: 12 kB / 450.9 MB, free: 10.01 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.324e-05/0.547, allocations: 42.45 kB / 450.9 MB, free: 9.965 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.402e-06/0.547, allocations: 0 / 450.9 MB, free: 9.965 MB / 378.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001918/0.5472, allocations: 107.3 kB / 451 MB, free: 9.848 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.619e-05/0.5473, allocations: 29.7 kB / 451.1 MB, free: 9.812 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.813e-06/0.5473, allocations: 2.312 kB / 451.1 MB, free: 9.812 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.507e-05/0.5473, allocations: 0 / 451.1 MB, free: 9.812 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001247/0.5474, allocations: 15.98 kB / 451.1 MB, free: 9.797 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.248e-05/0.5475, allocations: 7.984 kB / 451.1 MB, free: 9.789 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.302e-05/0.5475, allocations: 7.938 kB / 451.1 MB, free: 9.781 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.277e-05/0.5476, allocations: 7.938 kB / 451.1 MB, free: 9.773 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 7.816e-05/0.5477, allocations: 109 kB / 451.2 MB, free: 9.66 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.225e-05/0.5477, allocations: 15.77 kB / 451.2 MB, free: 9.645 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002318/0.548, allocations: 86.75 kB / 451.3 MB, free: 9.555 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.196e-05/0.548, allocations: 11.97 kB / 451.3 MB, free: 9.543 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.489e-06/0.548, allocations: 0 / 451.3 MB, free: 9.543 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.446e-06/0.548, allocations: 0 / 451.3 MB, free: 9.543 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005405/0.5486, allocations: 366.5 kB / 451.7 MB, free: 9.129 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.5486, allocations: 0 / 451.7 MB, free: 9.129 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001126/0.5487, allocations: 19.31 kB / 451.7 MB, free: 9.113 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.007e-06/0.5487, allocations: 0 / 451.7 MB, free: 9.113 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.01e-05/0.5487, allocations: 0 / 451.7 MB, free: 9.113 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.554e-06/0.5488, allocations: 7.984 kB / 451.7 MB, free: 9.105 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.734e-06/0.5488, allocations: 0 / 451.7 MB, free: 9.105 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002175/0.549, allocations: 175.3 kB / 451.9 MB, free: 8.918 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.534e-05/0.5491, allocations: 92.92 kB / 452 MB, free: 8.809 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.554e-05/0.5491, allocations: 4 kB / 452 MB, free: 8.805 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001122/0.5493, allocations: 7.984 kB / 452 MB, free: 8.797 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.577e-05/0.5493, allocations: 8 kB / 452 MB, free: 8.789 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.983e-06/0.5493, allocations: 0 / 452 MB, free: 8.789 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002292/0.5496, allocations: 168.7 kB / 452.2 MB, free: 8.625 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.5496, allocations: 0 / 452.2 MB, free: 8.625 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003194/0.5499, allocations: 24 kB / 452.2 MB, free: 8.602 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.001168/0.5511, allocations: 0.8905 MB / 453.1 MB, free: 7.766 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002072/0.5513, allocations: 91.39 kB / 453.2 MB, free: 7.664 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.678e-06/0.5513, allocations: 4 kB / 453.2 MB, free: 7.66 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 5.914e-05/0.5514, allocations: 16 kB / 453.2 MB, free: 7.645 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002451/0.5517, allocations: 12.48 kB / 453.2 MB, free: 7.633 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007404/0.5524, allocations: 272.4 kB / 453.5 MB, free: 7.32 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003189/0.5528, allocations: 0.716 MB / 454.2 MB, free: 6.578 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.526e-05/0.5529, allocations: 31.42 kB / 454.2 MB, free: 6.547 MB / 378.7 MB Notification: Performance of SimCode: time 8.51e-07/0.5529, allocations: 0 / 454.2 MB, free: 6.547 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_CombiTable1D_Test28CalcHelperMain.o OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1D_Test28CalcHelperMain.cpp In file included from OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1D_Test28CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1D_Test28FMU.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_CombiTable1D_Test28.so OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1D_Test28CalcHelperMain.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_CombiTable1D_Test28_FMU.makefile:93: recipe for target 'ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1D_Test28.fmu' failed make: *** [ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1D_Test28.fmu] Error 1