Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1D.Test19,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable1D_Test19",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.913/1.913, allocations: 209.3 MB / 221.9 MB, free: 1.934 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.593e-05/3.611e-05, allocations: 7.984 kB / 273.1 MB, free: 0.6367 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.107/0.1071, allocations: 48.71 MB / 321.8 MB, free: 15.84 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4375/0.5447, allocations: 74.65 MB / 396.5 MB, free: 15.28 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00026/0.545, allocations: 63.97 kB / 396.6 MB, free: 15.22 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01419/0.5592, allocations: 3.531 MB / 400.1 MB, free: 11.7 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.442e-06/0.5592, allocations: 0 / 400.1 MB, free: 11.7 MB / 330.7 MB Notification: Performance of Transformations before backend: time 9.949e-06/0.5593, allocations: 0 / 400.1 MB, free: 11.7 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.0004436/0.5597, allocations: 392.1 kB / 400.5 MB, free: 11.27 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.662e-05/0.5598, allocations: 12.03 kB / 400.5 MB, free: 11.26 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.423e-05/0.5598, allocations: 30.56 kB / 400.5 MB, free: 11.22 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.994e-05/0.5599, allocations: 7.906 kB / 400.5 MB, free: 11.21 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002607/0.5602, allocations: 194.8 kB / 400.7 MB, free: 10.98 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.769e-05/0.5602, allocations: 8 kB / 400.7 MB, free: 10.97 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.818e-05/0.5602, allocations: 7.984 kB / 400.7 MB, free: 10.96 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001509/0.5604, allocations: 53.05 kB / 400.8 MB, free: 10.9 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.173e-05/0.5604, allocations: 4 kB / 400.8 MB, free: 10.9 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.46e-05/0.5604, allocations: 3.984 kB / 400.8 MB, free: 10.89 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.269e-06/0.5605, allocations: 4 kB / 400.8 MB, free: 10.89 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.756e-05/0.5605, allocations: 15.94 kB / 400.8 MB, free: 10.88 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004699/0.561, allocations: 276.9 kB / 401.1 MB, free: 10.55 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002221/0.5613, allocations: 42.56 kB / 401.1 MB, free: 10.5 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.023e-05/0.5613, allocations: 12.86 kB / 401.1 MB, free: 10.49 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.216e-05/0.5614, allocations: 4 kB / 401.1 MB, free: 10.48 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.698e-05/0.5614, allocations: 34.5 kB / 401.2 MB, free: 10.44 MB / 330.7 MB Notification: Performance of pre-optimization done (n=3): time 1.743e-06/0.5614, allocations: 3.938 kB / 401.2 MB, free: 10.44 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005123/0.5619, allocations: 109.5 kB / 401.3 MB, free: 10.32 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.891e-05/0.562, allocations: 85.06 kB / 401.4 MB, free: 10.22 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001387/0.5622, allocations: 116.9 kB / 401.5 MB, free: 10.1 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.805e-05/0.5622, allocations: 29.7 kB / 401.5 MB, free: 10.07 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.348e-05/0.5623, allocations: 154.6 kB / 401.7 MB, free: 9.914 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.308e-05/0.5623, allocations: 27.64 kB / 401.7 MB, free: 9.887 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.069e-05/0.5624, allocations: 0 / 401.7 MB, free: 9.887 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001405/0.5625, allocations: 314.8 kB / 402 MB, free: 9.57 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.253e-05/0.5626, allocations: 12 kB / 402 MB, free: 9.559 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.251e-05/0.5627, allocations: 37.7 kB / 402 MB, free: 9.516 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.93e-05/0.5628, allocations: 37.7 kB / 402.1 MB, free: 9.473 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.5628, allocations: 4 kB / 402.1 MB, free: 9.469 MB / 330.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001957/0.563, allocations: 95.38 kB / 402.2 MB, free: 9.363 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.439e-05/0.563, allocations: 33.7 kB / 402.2 MB, free: 9.324 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.5631, allocations: 0 / 402.2 MB, free: 9.324 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.289e-05/0.5631, allocations: 0 / 402.2 MB, free: 9.324 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001186/0.5632, allocations: 23.92 kB / 402.2 MB, free: 9.301 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.552e-06/0.5632, allocations: 0 / 402.2 MB, free: 9.301 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.36e-05/0.5633, allocations: 11.98 kB / 402.2 MB, free: 9.289 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.112e-05/0.5633, allocations: 4 kB / 402.2 MB, free: 9.285 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 8.751e-05/0.5634, allocations: 105 kB / 402.3 MB, free: 9.176 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.784e-05/0.5635, allocations: 0 / 402.3 MB, free: 9.176 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002312/0.5637, allocations: 85.91 kB / 402.4 MB, free: 9.09 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.27e-06/0.5637, allocations: 4 kB / 402.4 MB, free: 9.086 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/0.5638, allocations: 4.062 kB / 402.4 MB, free: 9.082 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/0.5638, allocations: 0 / 402.4 MB, free: 9.082 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000459/0.5642, allocations: 342.5 kB / 402.8 MB, free: 8.691 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.5643, allocations: 0 / 402.8 MB, free: 8.691 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000104/0.5644, allocations: 12 kB / 402.8 MB, free: 8.68 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.647e-06/0.5644, allocations: 0 / 402.8 MB, free: 8.68 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.759e-05/0.5644, allocations: 7.984 kB / 402.8 MB, free: 8.672 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.5644, allocations: 0 / 402.8 MB, free: 8.672 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.497e-06/0.5644, allocations: 3.953 kB / 402.8 MB, free: 8.668 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002031/0.5646, allocations: 163.5 kB / 403 MB, free: 8.492 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.036e-05/0.5647, allocations: 85.02 kB / 403 MB, free: 8.391 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.376e-05/0.5648, allocations: 4 kB / 403 MB, free: 8.387 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001084/0.5649, allocations: 7.984 kB / 403.1 MB, free: 8.379 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.225e-05/0.5649, allocations: 4.141 kB / 403.1 MB, free: 8.375 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.068e-05/0.5649, allocations: 7.938 kB / 403.1 MB, free: 8.367 MB / 330.7 MB Notification: Performance of sorting global known variables: time 9.051e-05/0.565, allocations: 100.2 kB / 403.2 MB, free: 8.27 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.5651, allocations: 3.938 kB / 403.2 MB, free: 8.266 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003361/0.5654, allocations: 39.92 kB / 403.2 MB, free: 8.227 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.001265/0.5667, allocations: 0.9012 MB / 404.1 MB, free: 7.348 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002168/0.5669, allocations: 95.39 kB / 404.2 MB, free: 7.242 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.5669, allocations: 0 / 404.2 MB, free: 7.242 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 6.269e-05/0.567, allocations: 19.94 kB / 404.2 MB, free: 7.223 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002209/0.5672, allocations: 8 kB / 404.2 MB, free: 7.215 MB / 330.7 MB Warning: Could not resolve URI (uri) at compile-time; copying all loaded packages into the FMU Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002254/0.5695, allocations: 0.7186 MB / 404.9 MB, free: 6.449 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002817/0.5698, allocations: 0.6926 MB / 405.6 MB, free: 5.73 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.152e-05/0.5699, allocations: 19.44 kB / 405.7 MB, free: 5.711 MB / 330.7 MB Notification: Performance of SimCode: time 9.52e-07/0.5699, allocations: 3.938 kB / 405.7 MB, free: 5.707 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_Test19CalcHelperMain.o OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable1D_Test19CalcHelperMain.cpp In file included from OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable1D_Test19CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable1D_Test19FMU.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_Test19.so OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable1D_Test19CalcHelperMain.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" -lModelicaExternalC -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_Test19_FMU.makefile:93: recipe for target 'ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable1D_Test19.fmu' failed make: *** [ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable1D_Test19.fmu] Error 1