Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1D.Test12,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable1D_Test12",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.929/1.929, allocations: 209.3 MB / 221.9 MB, free: 1.945 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.969e-05/3.982e-05, allocations: 7.984 kB / 273.1 MB, free: 0.6562 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09935/0.09943, allocations: 48.7 MB / 321.8 MB, free: 15.86 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3909/0.4904, allocations: 74.39 MB / 396.2 MB, free: 15.57 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002837/0.4907, allocations: 67.12 kB / 396.3 MB, free: 15.51 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01146/0.5022, allocations: 2.656 MB / 398.9 MB, free: 12.86 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.783e-06/0.5022, allocations: 0 / 398.9 MB, free: 12.86 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.27e-05/0.5023, allocations: 4 kB / 398.9 MB, free: 12.86 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.0004834/0.5028, allocations: 400 kB / 399.3 MB, free: 12.41 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.273e-05/0.5028, allocations: 12.03 kB / 399.4 MB, free: 12.4 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.516e-05/0.5029, allocations: 34.56 kB / 399.4 MB, free: 12.36 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.577e-05/0.5029, allocations: 7.906 kB / 399.4 MB, free: 12.35 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002582/0.5032, allocations: 190.9 kB / 399.6 MB, free: 12.12 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.213e-05/0.5032, allocations: 4 kB / 399.6 MB, free: 12.12 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.346e-05/0.5033, allocations: 4 kB / 399.6 MB, free: 12.12 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001408/0.5034, allocations: 45.69 kB / 399.6 MB, free: 12.07 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.318e-05/0.5034, allocations: 0 / 399.6 MB, free: 12.07 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.24e-05/0.5035, allocations: 4 kB / 399.6 MB, free: 12.06 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.921e-06/0.5035, allocations: 0 / 399.6 MB, free: 12.06 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.374e-05/0.5036, allocations: 19.92 kB / 399.7 MB, free: 12.04 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004972/0.5041, allocations: 292.8 kB / 399.9 MB, free: 11.71 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002424/0.5043, allocations: 38.56 kB / 400 MB, free: 11.66 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.985e-05/0.5044, allocations: 16.86 kB / 400 MB, free: 11.64 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.625e-05/0.5044, allocations: 3.984 kB / 400 MB, free: 11.64 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.366e-05/0.5045, allocations: 30.56 kB / 400 MB, free: 11.6 MB / 330.7 MB Notification: Performance of pre-optimization done (n=3): time 1.914e-06/0.5045, allocations: 0 / 400 MB, free: 11.6 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.000533/0.505, allocations: 118.9 kB / 400.1 MB, free: 11.48 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.948e-05/0.5051, allocations: 55.36 kB / 400.2 MB, free: 11.41 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000197/0.5053, allocations: 144.9 kB / 400.3 MB, free: 11.26 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.702e-05/0.5053, allocations: 29.7 kB / 400.4 MB, free: 11.22 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.842e-05/0.5054, allocations: 162.5 kB / 400.5 MB, free: 11.06 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.778e-05/0.5055, allocations: 15.8 kB / 400.5 MB, free: 11.05 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.466e-06/0.5055, allocations: 4 kB / 400.5 MB, free: 11.04 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001208/0.5056, allocations: 314.8 kB / 400.9 MB, free: 10.73 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.616e-05/0.5057, allocations: 15.98 kB / 400.9 MB, free: 10.71 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.012e-05/0.5057, allocations: 15.94 kB / 400.9 MB, free: 10.7 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.776e-05/0.5058, allocations: 49.69 kB / 400.9 MB, free: 10.64 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.709e-06/0.5059, allocations: 0 / 400.9 MB, free: 10.64 MB / 330.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000195/0.5061, allocations: 95.33 kB / 401 MB, free: 10.54 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.493e-05/0.5061, allocations: 36.83 kB / 401.1 MB, free: 10.5 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.281e-06/0.5061, allocations: 0 / 401.1 MB, free: 10.5 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.485e-05/0.5062, allocations: 0 / 401.1 MB, free: 10.5 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001334/0.5063, allocations: 19.98 kB / 401.1 MB, free: 10.48 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.185e-06/0.5063, allocations: 0 / 401.1 MB, free: 10.48 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.929e-05/0.5064, allocations: 7.953 kB / 401.1 MB, free: 10.47 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.579e-05/0.5064, allocations: 4 kB / 401.1 MB, free: 10.46 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.305e-05/0.5065, allocations: 104.9 kB / 401.2 MB, free: 10.36 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.356e-05/0.5066, allocations: 7.906 kB / 401.2 MB, free: 10.35 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002417/0.5068, allocations: 85.67 kB / 401.3 MB, free: 10.26 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.991e-06/0.5069, allocations: 3.984 kB / 401.3 MB, free: 10.26 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.711e-06/0.5069, allocations: 4.312 kB / 401.3 MB, free: 10.25 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.507e-06/0.5069, allocations: 0 / 401.3 MB, free: 10.25 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005003/0.5074, allocations: 346.5 kB / 401.6 MB, free: 9.859 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.5074, allocations: 0 / 401.6 MB, free: 9.859 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001195/0.5075, allocations: 15.98 kB / 401.7 MB, free: 9.844 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.037e-06/0.5076, allocations: 0 / 401.7 MB, free: 9.844 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.055e-05/0.5076, allocations: 0 / 401.7 MB, free: 9.844 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.314e-06/0.5076, allocations: 0 / 401.7 MB, free: 9.844 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.923e-06/0.5076, allocations: 11.95 kB / 401.7 MB, free: 9.832 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002074/0.5078, allocations: 163.5 kB / 401.8 MB, free: 9.656 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.376e-05/0.5079, allocations: 85.09 kB / 401.9 MB, free: 9.555 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.436e-05/0.5079, allocations: 3.938 kB / 401.9 MB, free: 9.551 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000109/0.5081, allocations: 11.94 kB / 401.9 MB, free: 9.539 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.657e-05/0.5081, allocations: 3.984 kB / 401.9 MB, free: 9.535 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.868e-06/0.5081, allocations: 3.953 kB / 401.9 MB, free: 9.531 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001341/0.5083, allocations: 127.2 kB / 402.1 MB, free: 9.406 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.81e-07/0.5083, allocations: 0 / 402.1 MB, free: 9.406 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003127/0.5086, allocations: 19.94 kB / 402.1 MB, free: 9.387 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.001053/0.5097, allocations: 0.8195 MB / 402.9 MB, free: 8.582 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002206/0.51, allocations: 107.3 kB / 403 MB, free: 8.465 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.51, allocations: 0 / 403 MB, free: 8.465 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 6.391e-05/0.5101, allocations: 20 kB / 403 MB, free: 8.445 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002594/0.5103, allocations: 7.984 kB / 403 MB, free: 8.438 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000641/0.511, allocations: 208 kB / 403.2 MB, free: 8.191 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003/0.5113, allocations: 0.7004 MB / 403.9 MB, free: 7.465 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.539e-05/0.5114, allocations: 23.42 kB / 403.9 MB, free: 7.441 MB / 330.7 MB Notification: Performance of SimCode: time 1.042e-06/0.5114, allocations: 0 / 403.9 MB, free: 7.441 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_Test12CalcHelperMain.o OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable1D_Test12CalcHelperMain.cpp In file included from OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable1D_Test12CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable1D_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_CombiTable1D_Test12.so OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable1D_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_CombiTable1D_Test12_FMU.makefile:93: recipe for target 'ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable1D_Test12.fmu' failed make: *** [ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable1D_Test12.fmu] Error 1