Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1D.Test3,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable1D_Test3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.849/1.849, allocations: 209.3 MB / 221.9 MB, free: 1.945 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.279e-05/4.286e-05, allocations: 7.938 kB / 273.2 MB, free: 0.6328 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09852/0.09859, allocations: 48.69 MB / 321.8 MB, free: 15.84 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4023/0.5009, allocations: 74.44 MB / 396.3 MB, free: 15.38 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002286/0.5012, allocations: 71.14 kB / 396.4 MB, free: 15.31 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01217/0.5134, allocations: 2.895 MB / 399.3 MB, free: 12.42 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.743e-06/0.5134, allocations: 0 / 399.3 MB, free: 12.42 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.257e-05/0.5135, allocations: 0 / 399.3 MB, free: 12.42 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.000484/0.514, allocations: 407.9 kB / 399.7 MB, free: 11.97 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.651e-05/0.514, allocations: 12.03 kB / 399.7 MB, free: 11.96 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.908e-05/0.5141, allocations: 34.56 kB / 399.7 MB, free: 11.92 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.06e-05/0.5141, allocations: 7.906 kB / 399.7 MB, free: 11.91 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002653/0.5144, allocations: 202.8 kB / 399.9 MB, free: 11.67 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.566e-05/0.5144, allocations: 0 / 399.9 MB, free: 11.67 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.225e-05/0.5145, allocations: 3.938 kB / 399.9 MB, free: 11.67 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001291/0.5146, allocations: 45.69 kB / 400 MB, free: 11.62 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.174e-05/0.5146, allocations: 0 / 400 MB, free: 11.62 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.216e-05/0.5146, allocations: 4 kB / 400 MB, free: 11.61 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.055e-06/0.5147, allocations: 4 kB / 400 MB, free: 11.61 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.728e-05/0.5147, allocations: 12 kB / 400 MB, free: 11.6 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004951/0.5152, allocations: 292.9 kB / 400.3 MB, free: 11.26 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002233/0.5155, allocations: 38.52 kB / 400.3 MB, free: 11.21 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.085e-05/0.5155, allocations: 12.86 kB / 400.3 MB, free: 11.2 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.977e-05/0.5156, allocations: 96 / 400.3 MB, free: 11.2 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.953e-05/0.5156, allocations: 38.55 kB / 400.3 MB, free: 11.15 MB / 330.7 MB Notification: Performance of pre-optimization done (n=3): time 1.543e-06/0.5156, allocations: 4 kB / 400.4 MB, free: 11.15 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005505/0.5162, allocations: 122.6 kB / 400.5 MB, free: 11.02 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.524e-05/0.5162, allocations: 51.41 kB / 400.5 MB, free: 10.96 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002469/0.5165, allocations: 164.5 kB / 400.7 MB, free: 10.79 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.96e-05/0.5165, allocations: 29.7 kB / 400.7 MB, free: 10.76 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.292e-05/0.5166, allocations: 166.4 kB / 400.9 MB, free: 10.59 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.691e-05/0.5167, allocations: 15.8 kB / 400.9 MB, free: 10.58 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.386e-06/0.5167, allocations: 8 kB / 400.9 MB, free: 10.57 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001148/0.5168, allocations: 314.8 kB / 401.2 MB, free: 10.25 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.176e-05/0.5169, allocations: 12 kB / 401.2 MB, free: 10.24 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.781e-05/0.5169, allocations: 15.94 kB / 401.2 MB, free: 10.23 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.829e-05/0.517, allocations: 49.69 kB / 401.3 MB, free: 10.17 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.5171, allocations: 0 / 401.3 MB, free: 10.17 MB / 330.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000193/0.5173, allocations: 87.39 kB / 401.4 MB, free: 10.07 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.033e-05/0.5173, allocations: 37.7 kB / 401.4 MB, free: 10.03 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.159e-06/0.5173, allocations: 0 / 401.4 MB, free: 10.03 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.44e-05/0.5174, allocations: 0 / 401.4 MB, free: 10.03 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001312/0.5175, allocations: 23.92 kB / 401.4 MB, free: 10.01 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.022e-05/0.5175, allocations: 3.953 kB / 401.4 MB, free: 10 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.2e-05/0.5176, allocations: 7.984 kB / 401.4 MB, free: 9.996 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.346e-05/0.5176, allocations: 4 kB / 401.4 MB, free: 9.992 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 (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.415e-05/0.5177, allocations: 101 kB / 401.5 MB, free: 9.887 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.36e-05/0.5178, allocations: 7.906 kB / 401.5 MB, free: 9.879 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000235/0.518, allocations: 85.77 kB / 401.6 MB, free: 9.793 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.957e-06/0.518, allocations: 0 / 401.6 MB, free: 9.793 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.5181, allocations: 0 / 401.6 MB, free: 9.793 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.953e-06/0.5181, allocations: 4.094 kB / 401.6 MB, free: 9.789 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005128/0.5186, allocations: 350.7 kB / 402 MB, free: 9.391 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.5186, allocations: 0 / 402 MB, free: 9.391 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001188/0.5187, allocations: 28.03 kB / 402 MB, free: 9.363 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.309e-06/0.5188, allocations: 0 / 402 MB, free: 9.363 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.218e-05/0.5188, allocations: 4 kB / 402 MB, free: 9.359 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.238e-06/0.5188, allocations: 7.953 kB / 402 MB, free: 9.352 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/0.5188, allocations: 0 / 402 MB, free: 9.352 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002105/0.519, allocations: 163.4 kB / 402.2 MB, free: 9.176 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.572e-05/0.5191, allocations: 93 kB / 402.3 MB, free: 9.066 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.323e-05/0.5191, allocations: 0 / 402.3 MB, free: 9.066 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001157/0.5193, allocations: 8 kB / 402.3 MB, free: 9.059 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.886e-05/0.5193, allocations: 15.94 kB / 402.3 MB, free: 9.043 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.243e-06/0.5193, allocations: 0 / 402.3 MB, free: 9.043 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001685/0.5195, allocations: 135.4 kB / 402.4 MB, free: 8.914 MB / 330.7 MB Notification: Performance of sort global known variables: time 6.31e-07/0.5195, allocations: 0 / 402.4 MB, free: 8.914 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003404/0.5199, allocations: 19.94 kB / 402.4 MB, free: 8.895 MB / 330.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.001058/0.521, allocations: 0.8404 MB / 403.3 MB, free: 8.074 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002067/0.5212, allocations: 87.41 kB / 403.4 MB, free: 7.977 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.5212, allocations: 0 / 403.4 MB, free: 7.977 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 6.509e-05/0.5213, allocations: 19.98 kB / 403.4 MB, free: 7.957 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000238/0.5215, allocations: 11.95 kB / 403.4 MB, free: 7.945 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006786/0.5222, allocations: 240.8 kB / 403.6 MB, free: 7.668 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002944/0.5225, allocations: 0.7042 MB / 404.3 MB, free: 6.938 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.293e-05/0.5226, allocations: 23.44 kB / 404.4 MB, free: 6.914 MB / 330.7 MB Notification: Performance of SimCode: time 8.41e-07/0.5226, allocations: 4 kB / 404.4 MB, free: 6.91 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_Test3CalcHelperMain.o OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable1D_Test3CalcHelperMain.cpp In file included from OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable1D_Test3CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable1D_Test3FMU.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_Test3.so OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable1D_Test3CalcHelperMain.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_Test3_FMU.makefile:93: recipe for target 'ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable1D_Test3.fmu' failed make: *** [ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable1D_Test3.fmu] Error 1