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.Test6.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.Test6,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test6",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.342/2.342, allocations: 235 MB / 248.1 MB, free: 14.41 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.441e-05/3.452e-05, allocations: 4 kB / 309.8 MB, free: 1.23 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3969/0.3969, allocations: 54.85 MB / 364.6 MB, free: 5.535 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1568/0.5538, allocations: 80.94 MB / 445.6 MB, free: 15.53 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002723/0.5542, allocations: 71.95 kB / 445.6 MB, free: 15.46 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01452/0.5687, allocations: 3.422 MB / 449.1 MB, free: 12.06 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.773e-06/0.5687, allocations: 0 / 449.1 MB, free: 12.06 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.693e-05/0.5688, allocations: 4 kB / 449.1 MB, free: 12.05 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.000515/0.5693, allocations: 423.8 kB / 449.5 MB, free: 11.59 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.768e-05/0.5694, allocations: 8.031 kB / 449.5 MB, free: 11.58 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.047e-05/0.5694, allocations: 38.55 kB / 449.5 MB, free: 11.54 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.063e-05/0.5695, allocations: 23.7 kB / 449.5 MB, free: 11.52 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003178/0.5698, allocations: 202.8 kB / 449.7 MB, free: 11.28 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.263e-05/0.5698, allocations: 0 / 449.7 MB, free: 11.28 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.556e-05/0.5699, allocations: 11.98 kB / 449.8 MB, free: 11.27 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001629/0.57, allocations: 53.62 kB / 449.8 MB, free: 11.21 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.382e-05/0.5701, allocations: 4 kB / 449.8 MB, free: 11.2 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.166e-05/0.5701, allocations: 0 / 449.8 MB, free: 11.2 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.414e-06/0.5701, allocations: 3.953 kB / 449.8 MB, free: 11.2 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.401e-05/0.5702, allocations: 20 kB / 449.8 MB, free: 11.18 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005203/0.5708, allocations: 313.6 kB / 450.1 MB, free: 10.82 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001376/0.5709, allocations: 50.5 kB / 450.2 MB, free: 10.77 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.77e-05/0.571, allocations: 16.98 kB / 450.2 MB, free: 10.75 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.046e-05/0.571, allocations: 3.953 kB / 450.2 MB, free: 10.74 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.239e-05/0.5711, allocations: 34.56 kB / 450.2 MB, free: 10.7 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 2.043e-06/0.5711, allocations: 0 / 450.2 MB, free: 10.7 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.00068/0.5718, allocations: 153.2 kB / 450.4 MB, free: 10.54 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.325e-05/0.5718, allocations: 51.41 kB / 450.4 MB, free: 10.48 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003239/0.5722, allocations: 198.4 kB / 450.6 MB, free: 10.27 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.384e-05/0.5722, allocations: 30.45 kB / 450.7 MB, free: 10.24 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001/0.5723, allocations: 158.8 kB / 450.8 MB, free: 10.08 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.971e-05/0.5724, allocations: 31.55 kB / 450.9 MB, free: 10.05 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.404e-06/0.5724, allocations: 0 / 450.9 MB, free: 10.05 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001423/0.5725, allocations: 322.8 kB / 451.2 MB, free: 9.723 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.474e-05/0.5726, allocations: 16 kB / 451.2 MB, free: 9.707 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.825e-05/0.5727, allocations: 16.75 kB / 451.2 MB, free: 9.691 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.254e-05/0.5728, allocations: 54.47 kB / 451.3 MB, free: 9.633 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.5728, allocations: 0 / 451.3 MB, free: 9.633 MB / 378.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002639/0.5731, allocations: 116.8 kB / 451.4 MB, free: 9.508 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.209e-05/0.5731, allocations: 29.7 kB / 451.4 MB, free: 9.473 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.553e-06/0.5731, allocations: 0 / 451.4 MB, free: 9.473 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.003e-05/0.5732, allocations: 3.984 kB / 451.4 MB, free: 9.469 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002035/0.5734, allocations: 23.94 kB / 451.4 MB, free: 9.445 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.053e-05/0.5734, allocations: 4 kB / 451.4 MB, free: 9.441 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.37e-05/0.5735, allocations: 7.984 kB / 451.4 MB, free: 9.434 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.648e-05/0.5735, allocations: 4 kB / 451.4 MB, free: 9.43 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 (9): * Single equations (assignments): 8 * 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.0001241/0.5737, allocations: 105 kB / 451.5 MB, free: 9.32 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.968e-05/0.5737, allocations: 15.77 kB / 451.6 MB, free: 9.305 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003629/0.5741, allocations: 111.2 kB / 451.7 MB, free: 9.188 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.044e-05/0.5742, allocations: 8 kB / 451.7 MB, free: 9.18 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.794e-06/0.5742, allocations: 1.406 kB / 451.7 MB, free: 9.18 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.7e-06/0.5742, allocations: 0 / 451.7 MB, free: 9.18 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008436/0.575, allocations: 390.5 kB / 452.1 MB, free: 8.742 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.607e-06/0.5751, allocations: 0 / 452.1 MB, free: 8.742 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001728/0.5753, allocations: 23.92 kB / 452.1 MB, free: 8.719 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.013e-06/0.5753, allocations: 0 / 452.1 MB, free: 8.719 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.663e-05/0.5753, allocations: 4.938 kB / 452.1 MB, free: 8.715 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.872e-06/0.5753, allocations: 4 kB / 452.1 MB, free: 8.711 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.588e-06/0.5753, allocations: 8.172 kB / 452.1 MB, free: 8.703 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002644/0.5756, allocations: 191.3 kB / 452.3 MB, free: 8.5 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.034e-05/0.5757, allocations: 93 kB / 452.4 MB, free: 8.391 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.653e-05/0.5758, allocations: 0 / 452.4 MB, free: 8.391 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001147/0.5759, allocations: 8 kB / 452.4 MB, free: 8.383 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.191e-05/0.5759, allocations: 12.86 kB / 452.4 MB, free: 8.371 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.258e-05/0.576, allocations: 4 kB / 452.4 MB, free: 8.367 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000237/0.5762, allocations: 160.2 kB / 452.6 MB, free: 8.211 MB / 378.7 MB Notification: Performance of sort global known variables: time 5.72e-07/0.5762, allocations: 0 / 452.6 MB, free: 8.211 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003476/0.5766, allocations: 24 kB / 452.6 MB, free: 8.188 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 (8): * Single equations (assignments): 8 * 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.001339/0.5779, allocations: 0.8976 MB / 453.5 MB, free: 7.34 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002731/0.5782, allocations: 107.3 kB / 453.6 MB, free: 7.223 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/0.5783, allocations: 4 kB / 453.6 MB, free: 7.219 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.977e-05/0.5784, allocations: 28 kB / 453.6 MB, free: 7.191 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002754/0.5786, allocations: 7.984 kB / 453.6 MB, free: 7.184 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008196/0.5795, allocations: 276.7 kB / 453.9 MB, free: 6.871 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004332/0.5799, allocations: 0.7121 MB / 454.6 MB, free: 6.133 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001023/0.58, allocations: 31.62 kB / 454.6 MB, free: 6.102 MB / 378.7 MB Notification: Performance of SimCode: time 1.222e-06/0.5801, allocations: 4 kB / 454.6 MB, free: 6.098 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_Test6CalcHelperMain.o OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test6CalcHelperMain.cpp In file included from OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test6CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test6FMU.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_Test6.so OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test6CalcHelperMain.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_Test6_FMU.makefile:93: recipe for target 'ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test6.fmu' failed make: *** [ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test6.fmu] Error 1