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.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.CombiTable1Ds.Test28,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test28",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.5/2.5, allocations: 235 MB / 248.1 MB, free: 14.36 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.394e-05/4.398e-05, allocations: 4 kB / 309.8 MB, free: 1.242 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4702/0.4703, allocations: 54.85 MB / 364.6 MB, free: 5.414 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1621/0.6324, allocations: 80.89 MB / 445.5 MB, free: 15.5 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003192/0.6328, allocations: 75.94 kB / 445.6 MB, free: 15.42 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01734/0.6502, allocations: 3.222 MB / 448.8 MB, free: 12.21 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.763e-06/0.6502, allocations: 0 / 448.8 MB, free: 12.21 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.07e-05/0.6503, allocations: 4 kB / 448.8 MB, free: 12.21 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.0006368/0.6509, allocations: 416.7 kB / 449.2 MB, free: 11.75 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.746e-05/0.651, allocations: 12.03 kB / 449.2 MB, free: 11.74 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.122e-05/0.6511, allocations: 31.44 kB / 449.3 MB, free: 11.7 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.799e-05/0.6512, allocations: 19.81 kB / 449.3 MB, free: 11.68 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003848/0.6516, allocations: 199.6 kB / 449.5 MB, free: 11.45 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.657e-06/0.6516, allocations: 0 / 449.5 MB, free: 11.45 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.869e-05/0.6516, allocations: 4 kB / 449.5 MB, free: 11.44 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001604/0.6518, allocations: 41.69 kB / 449.5 MB, free: 11.39 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.679e-05/0.6519, allocations: 4.766 kB / 449.5 MB, free: 11.39 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.724e-05/0.6519, allocations: 4.656 kB / 449.5 MB, free: 11.39 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.991e-06/0.6519, allocations: 3.938 kB / 449.5 MB, free: 11.38 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.133e-05/0.652, allocations: 16 kB / 449.5 MB, free: 11.37 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005871/0.6526, allocations: 285 kB / 449.8 MB, free: 11.04 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002745/0.6529, allocations: 42.53 kB / 449.9 MB, free: 10.99 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.163e-05/0.653, allocations: 16.78 kB / 449.9 MB, free: 10.97 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.336e-05/0.653, allocations: 0 / 449.9 MB, free: 10.97 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.056e-05/0.6531, allocations: 35.59 kB / 449.9 MB, free: 10.93 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 2.695e-06/0.6531, allocations: 0 / 449.9 MB, free: 10.93 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0006708/0.6538, allocations: 125.2 kB / 450 MB, free: 10.8 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.846e-05/0.6539, allocations: 55.41 kB / 450.1 MB, free: 10.73 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004495/0.6543, allocations: 205.4 kB / 450.3 MB, free: 10.53 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.926e-05/0.6544, allocations: 33.7 kB / 450.3 MB, free: 10.49 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001085/0.6545, allocations: 166.5 kB / 450.5 MB, free: 10.32 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.691e-05/0.6545, allocations: 15.81 kB / 450.5 MB, free: 10.31 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.125e-06/0.6546, allocations: 0 / 450.5 MB, free: 10.31 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001507/0.6547, allocations: 314.8 kB / 450.8 MB, free: 9.992 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.45e-05/0.6548, allocations: 12 kB / 450.8 MB, free: 9.98 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.722e-05/0.6549, allocations: 13.5 kB / 450.8 MB, free: 9.969 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.423e-05/0.655, allocations: 41.69 kB / 450.9 MB, free: 9.922 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.439e-06/0.655, allocations: 0 / 450.9 MB, free: 9.922 MB / 378.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002646/0.6553, allocations: 95.28 kB / 451 MB, free: 9.816 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.667e-05/0.6554, allocations: 33.7 kB / 451 MB, free: 9.777 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.953e-06/0.6554, allocations: 4 kB / 451 MB, free: 9.773 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.916e-05/0.6554, allocations: 0 / 451 MB, free: 9.773 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001883/0.6556, allocations: 19.92 kB / 451 MB, free: 9.754 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.378e-06/0.6557, allocations: 0 / 451 MB, free: 9.754 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001179/0.6558, allocations: 8 kB / 451 MB, free: 9.746 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.433e-05/0.6558, allocations: 0 / 451 MB, free: 9.746 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 9.599e-05/0.6559, allocations: 101 kB / 451.1 MB, free: 9.641 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.22e-05/0.656, allocations: 23.77 kB / 451.2 MB, free: 9.617 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002896/0.6563, allocations: 82.61 kB / 451.2 MB, free: 9.531 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.298e-06/0.6564, allocations: 0 / 451.2 MB, free: 9.531 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.658e-06/0.6564, allocations: 0 / 451.2 MB, free: 9.531 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.619e-06/0.6564, allocations: 11.88 kB / 451.3 MB, free: 9.52 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007453/0.6572, allocations: 362.5 kB / 451.6 MB, free: 9.109 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.477e-06/0.6572, allocations: 0 / 451.6 MB, free: 9.109 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001508/0.6573, allocations: 12 kB / 451.6 MB, free: 9.098 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.853e-06/0.6574, allocations: 4.875 kB / 451.6 MB, free: 9.094 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.253e-05/0.6574, allocations: 0 / 451.6 MB, free: 9.094 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.271e-06/0.6574, allocations: 3.984 kB / 451.6 MB, free: 9.09 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.541e-06/0.6574, allocations: 3.984 kB / 451.6 MB, free: 9.086 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002781/0.6577, allocations: 164.2 kB / 451.8 MB, free: 8.91 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001243/0.6579, allocations: 100.9 kB / 451.9 MB, free: 8.793 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.465e-05/0.6579, allocations: 0 / 451.9 MB, free: 8.793 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001784/0.6581, allocations: 8 kB / 451.9 MB, free: 8.785 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.077e-05/0.6582, allocations: 11.98 kB / 451.9 MB, free: 8.773 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.054e-05/0.6582, allocations: 448 / 451.9 MB, free: 8.773 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003477/0.6586, allocations: 168.7 kB / 452.1 MB, free: 8.609 MB / 378.7 MB Notification: Performance of sort global known variables: time 6.32e-07/0.6586, allocations: 0 / 452.1 MB, free: 8.609 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005615/0.6592, allocations: 24 kB / 452.1 MB, free: 8.586 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.001673/0.6609, allocations: 0.8821 MB / 453 MB, free: 7.754 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002535/0.6612, allocations: 87.41 kB / 453.1 MB, free: 7.656 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.567e-06/0.6612, allocations: 0 / 453.1 MB, free: 7.656 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.347e-05/0.6613, allocations: 19.94 kB / 453.1 MB, free: 7.637 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003645/0.6617, allocations: 7.938 kB / 453.1 MB, free: 7.633 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00106/0.6627, allocations: 264.5 kB / 453.4 MB, free: 7.328 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004217/0.6632, allocations: 0.7082 MB / 454.1 MB, free: 6.594 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001339/0.6633, allocations: 39.42 kB / 454.1 MB, free: 6.555 MB / 378.7 MB Notification: Performance of SimCode: time 1.282e-06/0.6634, allocations: 0 / 454.1 MB, free: 6.555 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_Test28CalcHelperMain.o OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test28CalcHelperMain.cpp In file included from OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test28CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_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_CombiTable1Ds_Test28.so OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_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_CombiTable1Ds_Test28_FMU.makefile:93: recipe for target 'ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test28.fmu' failed make: *** [ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test28.fmu] Error 1