Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1D.Test4,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable1D_Test4",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.876/1.876, allocations: 209.3 MB / 221.9 MB, free: 1.938 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.615e-05/4.626e-05, allocations: 8 kB / 273.1 MB, free: 0.6367 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1029/0.103, allocations: 48.71 MB / 321.9 MB, free: 15.83 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3876/0.4907, allocations: 74.55 MB / 396.4 MB, free: 15.28 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002556/0.491, allocations: 71.95 kB / 396.5 MB, free: 15.21 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01326/0.5043, allocations: 3.291 MB / 399.8 MB, free: 11.92 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.5043, allocations: 0 / 399.8 MB, free: 11.92 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.579e-05/0.5043, allocations: 8 kB / 399.8 MB, free: 11.91 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004991/0.5049, allocations: 415.9 kB / 400.2 MB, free: 11.46 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.869e-05/0.5049, allocations: 8.031 kB / 400.2 MB, free: 11.45 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.58e-05/0.505, allocations: 38.56 kB / 400.2 MB, free: 11.4 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.808e-05/0.505, allocations: 11.81 kB / 400.2 MB, free: 11.39 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002932/0.5053, allocations: 214.7 kB / 400.4 MB, free: 11.14 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.306e-05/0.5054, allocations: 0 / 400.4 MB, free: 11.14 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.808e-05/0.5054, allocations: 8 kB / 400.4 MB, free: 11.13 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001775/0.5056, allocations: 71.39 kB / 400.5 MB, free: 11.05 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.232e-05/0.5056, allocations: 0 / 400.5 MB, free: 11.05 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.037e-05/0.5056, allocations: 8 kB / 400.5 MB, free: 11.04 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.212e-06/0.5057, allocations: 3.938 kB / 400.5 MB, free: 11.04 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001073/0.5058, allocations: 20 kB / 400.5 MB, free: 11.02 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006022/0.5064, allocations: 414.3 kB / 401 MB, free: 10.56 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003326/0.5067, allocations: 77.08 kB / 401 MB, free: 10.47 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.213e-05/0.5068, allocations: 37.83 kB / 401.1 MB, free: 10.43 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.911e-05/0.5069, allocations: 3.984 kB / 401.1 MB, free: 10.42 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.264e-05/0.5069, allocations: 34.56 kB / 401.1 MB, free: 10.38 MB / 330.7 MB Notification: Performance of pre-optimization done (n=6): time 2.114e-06/0.5069, allocations: 0 / 401.1 MB, free: 10.38 MB / 330.7 MB Notification: Performance of matching and sorting (n=10): time 0.0007436/0.5077, allocations: 200.8 kB / 401.3 MB, free: 10.18 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.441e-05/0.5077, allocations: 81.11 kB / 401.4 MB, free: 10.08 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002969/0.508, allocations: 194.5 kB / 401.6 MB, free: 9.875 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.167e-05/0.5081, allocations: 29.7 kB / 401.6 MB, free: 9.84 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001102/0.5082, allocations: 170.5 kB / 401.8 MB, free: 9.672 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.518e-05/0.5083, allocations: 27.56 kB / 401.8 MB, free: 9.645 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.237e-05/0.5083, allocations: 8 kB / 401.8 MB, free: 9.637 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001113/0.5084, allocations: 314.8 kB / 402.1 MB, free: 9.32 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.016e-05/0.5085, allocations: 24 kB / 402.1 MB, free: 9.297 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.376e-05/0.5086, allocations: 27.98 kB / 402.2 MB, free: 9.27 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001084/0.5087, allocations: 57.69 kB / 402.2 MB, free: 9.207 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.422e-06/0.5087, allocations: 0 / 402.2 MB, free: 9.207 MB / 330.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002787/0.509, allocations: 139.7 kB / 402.3 MB, free: 9.059 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.504e-05/0.5091, allocations: 33.7 kB / 402.4 MB, free: 9.02 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.69e-06/0.5091, allocations: 0 / 402.4 MB, free: 9.02 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.349e-05/0.5091, allocations: 0 / 402.4 MB, free: 9.02 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001731/0.5093, allocations: 24.11 kB / 402.4 MB, free: 8.996 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.878e-06/0.5093, allocations: 3.953 kB / 402.4 MB, free: 8.992 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.963e-05/0.5094, allocations: 15.98 kB / 402.4 MB, free: 8.977 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.373e-05/0.5094, allocations: 0 / 402.4 MB, free: 8.977 MB / 330.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 (11): * Single equations (assignments): 10 * 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.458e-05/0.5095, allocations: 113 kB / 402.5 MB, free: 8.859 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.702e-05/0.5096, allocations: 7.906 kB / 402.5 MB, free: 8.852 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003572/0.51, allocations: 134.5 kB / 402.7 MB, free: 8.711 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.753e-06/0.51, allocations: 3.984 kB / 402.7 MB, free: 8.707 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.06e-06/0.51, allocations: 4 kB / 402.7 MB, free: 8.703 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.482e-06/0.51, allocations: 3.953 kB / 402.7 MB, free: 8.699 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008176/0.5109, allocations: 0.5063 MB / 403.2 MB, free: 8.133 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.5109, allocations: 0 / 403.2 MB, free: 8.133 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001595/0.511, allocations: 19.98 kB / 403.2 MB, free: 8.113 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.124e-06/0.5111, allocations: 4 kB / 403.2 MB, free: 8.109 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.412e-05/0.5111, allocations: 3.953 kB / 403.2 MB, free: 8.105 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.035e-06/0.5111, allocations: 7.984 kB / 403.2 MB, free: 8.098 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.5111, allocations: 0 / 403.2 MB, free: 8.098 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003303/0.5114, allocations: 310.9 kB / 403.5 MB, free: 7.762 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.569e-05/0.5116, allocations: 100.9 kB / 403.6 MB, free: 7.645 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.99e-05/0.5116, allocations: 4 kB / 403.6 MB, free: 7.641 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001645/0.5118, allocations: 7.984 kB / 403.6 MB, free: 7.633 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.002e-05/0.5118, allocations: 11.98 kB / 403.7 MB, free: 7.621 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.297e-05/0.5119, allocations: 8 kB / 403.7 MB, free: 7.613 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002289/0.5121, allocations: 164.9 kB / 403.8 MB, free: 7.453 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.71e-07/0.5121, allocations: 0 / 403.8 MB, free: 7.453 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004239/0.5126, allocations: 24 kB / 403.8 MB, free: 7.43 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 10 * 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.001179/0.5137, allocations: 1.114 MB / 405 MB, free: 6.324 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002867/0.514, allocations: 119.4 kB / 405.1 MB, free: 6.195 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.719e-06/0.5141, allocations: 0 / 405.1 MB, free: 6.195 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001161/0.5142, allocations: 43.92 kB / 405.1 MB, free: 6.152 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003203/0.5145, allocations: 16.11 kB / 405.1 MB, free: 6.137 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008686/0.5154, allocations: 302.4 kB / 405.4 MB, free: 5.797 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003326/0.5158, allocations: 0.7238 MB / 406.2 MB, free: 5.047 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000111/0.5159, allocations: 43.36 kB / 406.2 MB, free: 5.004 MB / 330.7 MB Notification: Performance of SimCode: time 8.42e-07/0.5159, allocations: 0 / 406.2 MB, free: 5.004 MB / 330.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_1_cpp_ModelicaTest_Tables_CombiTable1D_Test4CalcHelperMain.o OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable1D_Test4CalcHelperMain.cpp In file included from OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable1D_Test4CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable1D_Test4FMU.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_1_cpp_ModelicaTest_Tables_CombiTable1D_Test4.so OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable1D_Test4CalcHelperMain.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.1/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.1/Resources/Library/x86_64-linux" -Wl,-rpath="/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/Resources/Library/x86_64-linux" "-L/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/Resources/Library/linux64" -Wl,-rpath="/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/Resources/Library/linux64" "-L/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/Resources/Library" -Wl,-rpath="/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/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_1_cpp_ModelicaTest_Tables_CombiTable1D_Test4_FMU.makefile:93: recipe for target 'ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable1D_Test4.fmu' failed make: *** [ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable1D_Test4.fmu] Error 1