Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test12,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable1Ds_Test12",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.954/1.954, allocations: 209.3 MB / 221.9 MB, free: 1.926 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.214e-05/3.238e-05, allocations: 0 / 273.1 MB, free: 0.6445 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.114/0.1141, allocations: 48.71 MB / 321.8 MB, free: 15.84 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4448/0.5589, allocations: 74.38 MB / 396.2 MB, free: 15.54 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003185/0.5593, allocations: 75.08 kB / 396.3 MB, free: 15.47 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01501/0.5743, allocations: 2.633 MB / 398.9 MB, free: 12.85 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.094e-06/0.5744, allocations: 0 / 398.9 MB, free: 12.85 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.517e-05/0.5744, allocations: 0 / 398.9 MB, free: 12.85 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.000595/0.575, allocations: 404 kB / 399.3 MB, free: 12.4 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.41e-05/0.5751, allocations: 8.031 kB / 399.3 MB, free: 12.39 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.749e-05/0.5751, allocations: 38.55 kB / 399.4 MB, free: 12.35 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.651e-05/0.5752, allocations: 11.91 kB / 399.4 MB, free: 12.34 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003127/0.5755, allocations: 186.9 kB / 399.6 MB, free: 12.11 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.968e-05/0.5756, allocations: 8 kB / 399.6 MB, free: 12.11 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.741e-05/0.5756, allocations: 4 kB / 399.6 MB, free: 12.1 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001568/0.5758, allocations: 41.69 kB / 399.6 MB, free: 12.05 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.32e-05/0.5758, allocations: 0 / 399.6 MB, free: 12.05 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.24e-05/0.5758, allocations: 0 / 399.6 MB, free: 12.05 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.891e-06/0.5759, allocations: 0 / 399.6 MB, free: 12.05 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.226e-05/0.576, allocations: 19.94 kB / 399.6 MB, free: 12.04 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005331/0.5765, allocations: 280.8 kB / 399.9 MB, free: 11.71 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002705/0.5768, allocations: 42.58 kB / 399.9 MB, free: 11.66 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.879e-05/0.5769, allocations: 12.94 kB / 400 MB, free: 11.64 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.841e-05/0.5769, allocations: 0 / 400 MB, free: 11.64 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.989e-05/0.577, allocations: 34.5 kB / 400 MB, free: 11.6 MB / 330.7 MB Notification: Performance of pre-optimization done (n=3): time 2.414e-06/0.577, allocations: 0 / 400 MB, free: 11.6 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.0006528/0.5777, allocations: 106.9 kB / 400.1 MB, free: 11.49 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.847e-05/0.5777, allocations: 55.36 kB / 400.2 MB, free: 11.43 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002517/0.578, allocations: 144.9 kB / 400.3 MB, free: 11.27 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.618e-05/0.578, allocations: 25.7 kB / 400.3 MB, free: 11.24 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.565e-05/0.5782, allocations: 170.4 kB / 400.5 MB, free: 11.07 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.814e-05/0.5782, allocations: 7.812 kB / 400.5 MB, free: 11.07 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.311e-05/0.5782, allocations: 4 kB / 400.5 MB, free: 11.06 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001503/0.5784, allocations: 318.8 kB / 400.8 MB, free: 10.74 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.659e-05/0.5785, allocations: 16 kB / 400.8 MB, free: 10.73 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.277e-05/0.5785, allocations: 8 kB / 400.8 MB, free: 10.72 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.561e-05/0.5786, allocations: 37.7 kB / 400.9 MB, free: 10.68 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.159e-06/0.5787, allocations: 0 / 400.9 MB, free: 10.68 MB / 330.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002557/0.5789, allocations: 95.33 kB / 401 MB, free: 10.57 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.152e-05/0.579, allocations: 33.7 kB / 401 MB, free: 10.53 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.643e-06/0.579, allocations: 0 / 401 MB, free: 10.53 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.742e-05/0.5791, allocations: 0 / 401 MB, free: 10.53 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001765/0.5792, allocations: 15.98 kB / 401 MB, free: 10.52 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.26e-05/0.5793, allocations: 0 / 401 MB, free: 10.52 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000112/0.5794, allocations: 19.88 kB / 401 MB, free: 10.5 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.683e-05/0.5794, allocations: 4 kB / 401 MB, free: 10.49 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 9.668e-05/0.5796, allocations: 105 kB / 401.1 MB, free: 10.38 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.627e-05/0.5796, allocations: 7.906 kB / 401.1 MB, free: 10.38 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002826/0.5799, allocations: 77.94 kB / 401.2 MB, free: 10.3 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.468e-06/0.58, allocations: 0 / 401.2 MB, free: 10.3 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.111e-06/0.58, allocations: 0 / 401.2 MB, free: 10.3 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.566e-06/0.58, allocations: 3.984 kB / 401.2 MB, free: 10.29 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006478/0.5807, allocations: 338.5 kB / 401.6 MB, free: 9.906 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/0.5807, allocations: 0 / 401.6 MB, free: 9.906 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001486/0.5808, allocations: 15.98 kB / 401.6 MB, free: 9.891 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.35e-06/0.5809, allocations: 0 / 401.6 MB, free: 9.891 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.517e-05/0.5809, allocations: 4 kB / 401.6 MB, free: 9.887 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.917e-06/0.5809, allocations: 0 / 401.6 MB, free: 9.887 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.234e-06/0.5809, allocations: 7.938 kB / 401.6 MB, free: 9.879 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002587/0.5812, allocations: 163.4 kB / 401.7 MB, free: 9.703 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.452e-05/0.5813, allocations: 89.09 kB / 401.8 MB, free: 9.598 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.885e-05/0.5814, allocations: 0 / 401.8 MB, free: 9.598 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000165/0.5816, allocations: 11.94 kB / 401.8 MB, free: 9.586 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.916e-05/0.5816, allocations: 4.125 kB / 401.8 MB, free: 9.582 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.581e-05/0.5817, allocations: 7.953 kB / 401.9 MB, free: 9.574 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001818/0.5819, allocations: 122.3 kB / 402 MB, free: 9.457 MB / 330.7 MB Notification: Performance of sort global known variables: time 6.21e-07/0.5819, allocations: 4 kB / 402 MB, free: 9.453 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0005446/0.5824, allocations: 19.94 kB / 402 MB, free: 9.434 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.001441/0.5839, allocations: 0.8289 MB / 402.8 MB, free: 8.621 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002712/0.5842, allocations: 83.34 kB / 402.9 MB, free: 8.527 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.158e-06/0.5842, allocations: 0 / 402.9 MB, free: 8.527 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 7.675e-05/0.5843, allocations: 16 kB / 402.9 MB, free: 8.512 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004136/0.5848, allocations: 11.98 kB / 402.9 MB, free: 8.5 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006963/0.5855, allocations: 200 kB / 403.1 MB, free: 8.262 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003168/0.5858, allocations: 0.6965 MB / 403.8 MB, free: 7.539 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.964e-05/0.5859, allocations: 23.42 kB / 403.8 MB, free: 7.516 MB / 330.7 MB Notification: Performance of SimCode: time 1.102e-06/0.5859, allocations: 0 / 403.8 MB, free: 7.516 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_CombiTable1Ds_Test12CalcHelperMain.o OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable1Ds_Test12CalcHelperMain.cpp In file included from OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable1Ds_Test12CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable1Ds_Test12FMU.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_CombiTable1Ds_Test12.so OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable1Ds_Test12CalcHelperMain.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_CombiTable1Ds_Test12_FMU.makefile:93: recipe for target 'ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable1Ds_Test12.fmu' failed make: *** [ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable1Ds_Test12.fmu] Error 1