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.788/1.788, allocations: 209.3 MB / 221.9 MB, free: 1.938 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.802e-05/2.819e-05, allocations: 0 / 273.1 MB, free: 0.6445 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1109/0.111, allocations: 48.7 MB / 321.8 MB, free: 15.84 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4416/0.5527, allocations: 74.43 MB / 396.3 MB, free: 15.41 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002261/0.5529, allocations: 75.14 kB / 396.3 MB, free: 15.34 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01171/0.5647, allocations: 2.887 MB / 399.2 MB, free: 12.46 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.864e-06/0.5647, allocations: 0 / 399.2 MB, free: 12.46 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.171e-05/0.5647, allocations: 4 kB / 399.2 MB, free: 12.46 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.00049/0.5652, allocations: 407.9 kB / 399.6 MB, free: 12.01 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.292e-05/0.5653, allocations: 8.031 kB / 399.6 MB, free: 12 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.159e-05/0.5654, allocations: 34.56 kB / 399.7 MB, free: 11.96 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.12e-05/0.5654, allocations: 7.906 kB / 399.7 MB, free: 11.95 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003045/0.5657, allocations: 202.8 kB / 399.9 MB, free: 11.71 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.169e-05/0.5658, allocations: 0 / 399.9 MB, free: 11.71 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.279e-05/0.5658, allocations: 7.984 kB / 399.9 MB, free: 11.71 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001322/0.5659, allocations: 41.7 kB / 399.9 MB, free: 11.66 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.432e-05/0.566, allocations: 0 / 399.9 MB, free: 11.66 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.738e-06/0.566, allocations: 0 / 399.9 MB, free: 11.66 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.558e-06/0.566, allocations: 0 / 399.9 MB, free: 11.66 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.233e-05/0.5661, allocations: 23.92 kB / 399.9 MB, free: 11.64 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004972/0.5666, allocations: 288.9 kB / 400.2 MB, free: 11.3 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002154/0.5668, allocations: 38.56 kB / 400.3 MB, free: 11.26 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.705e-05/0.5669, allocations: 16.86 kB / 400.3 MB, free: 11.24 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.483e-05/0.5669, allocations: 0 / 400.3 MB, free: 11.24 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.268e-05/0.5669, allocations: 35.88 kB / 400.3 MB, free: 11.2 MB / 330.7 MB Notification: Performance of pre-optimization done (n=3): time 1.563e-06/0.567, allocations: 4 kB / 400.3 MB, free: 11.19 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.000517/0.5675, allocations: 121.4 kB / 400.4 MB, free: 11.07 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.208e-05/0.5675, allocations: 55.34 kB / 400.5 MB, free: 11 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002456/0.5678, allocations: 168.9 kB / 400.7 MB, free: 10.83 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.73e-05/0.5678, allocations: 25.7 kB / 400.7 MB, free: 10.8 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.757e-05/0.5679, allocations: 170.4 kB / 400.8 MB, free: 10.63 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.698e-05/0.568, allocations: 11.81 kB / 400.9 MB, free: 10.62 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.462e-06/0.568, allocations: 4 kB / 400.9 MB, free: 10.61 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001318/0.5681, allocations: 318.8 kB / 401.2 MB, free: 10.29 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.216e-05/0.5682, allocations: 15.98 kB / 401.2 MB, free: 10.28 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.686e-05/0.5683, allocations: 19.94 kB / 401.2 MB, free: 10.26 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.449e-05/0.5683, allocations: 41.69 kB / 401.2 MB, free: 10.21 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.282e-06/0.5684, allocations: 0 / 401.2 MB, free: 10.21 MB / 330.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001982/0.5686, allocations: 95.39 kB / 401.3 MB, free: 10.11 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.705e-05/0.5686, allocations: 29.7 kB / 401.4 MB, free: 10.07 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.03e-06/0.5686, allocations: 0 / 401.4 MB, free: 10.07 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.593e-05/0.5687, allocations: 4 kB / 401.4 MB, free: 10.07 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001277/0.5688, allocations: 19.92 kB / 401.4 MB, free: 10.05 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.073e-05/0.5688, allocations: 7.953 kB / 401.4 MB, free: 10.04 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.385e-05/0.5689, allocations: 4 kB / 401.4 MB, free: 10.04 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.073e-05/0.5689, allocations: 0 / 401.4 MB, free: 10.04 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.798e-05/0.569, allocations: 109 kB / 401.5 MB, free: 9.922 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.368e-05/0.5691, allocations: 7.906 kB / 401.5 MB, free: 9.914 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002277/0.5693, allocations: 85.77 kB / 401.6 MB, free: 9.828 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.801e-06/0.5693, allocations: 3.984 kB / 401.6 MB, free: 9.824 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.5693, allocations: 0 / 401.6 MB, free: 9.824 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.861e-06/0.5694, allocations: 3.953 kB / 401.6 MB, free: 9.82 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005407/0.5699, allocations: 354.4 kB / 402 MB, free: 9.418 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.986e-06/0.5699, allocations: 384 / 402 MB, free: 9.418 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001076/0.57, allocations: 12 kB / 402 MB, free: 9.406 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.47e-06/0.5701, allocations: 4 kB / 402 MB, free: 9.402 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.678e-06/0.5701, allocations: 4 kB / 402 MB, free: 9.398 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.117e-06/0.5701, allocations: 7.953 kB / 402 MB, free: 9.391 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.789e-06/0.5701, allocations: 3.984 kB / 402 MB, free: 9.387 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002195/0.5703, allocations: 163.4 kB / 402.1 MB, free: 9.211 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.468e-05/0.5704, allocations: 93.02 kB / 402.2 MB, free: 9.102 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.315e-05/0.5705, allocations: 0 / 402.2 MB, free: 9.102 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001108/0.5706, allocations: 7.984 kB / 402.2 MB, free: 9.094 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.241e-05/0.5706, allocations: 11.95 kB / 402.3 MB, free: 9.082 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.813e-06/0.5707, allocations: 0 / 402.3 MB, free: 9.082 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001748/0.5708, allocations: 135.8 kB / 402.4 MB, free: 8.949 MB / 330.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.5709, allocations: 0 / 402.4 MB, free: 8.949 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003196/0.5712, allocations: 23.94 kB / 402.4 MB, free: 8.926 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.001054/0.5723, allocations: 0.8396 MB / 403.3 MB, free: 8.109 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002224/0.5725, allocations: 91.39 kB / 403.3 MB, free: 8.008 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.5725, allocations: 0 / 403.3 MB, free: 8.008 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 6.611e-05/0.5726, allocations: 23.94 kB / 403.4 MB, free: 7.984 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002395/0.5728, allocations: 7.938 kB / 403.4 MB, free: 7.977 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007157/0.5736, allocations: 236.9 kB / 403.6 MB, free: 7.703 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003666/0.574, allocations: 0.7043 MB / 404.3 MB, free: 6.973 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.195e-05/0.5741, allocations: 31.42 kB / 404.3 MB, free: 6.941 MB / 330.7 MB Notification: Performance of SimCode: time 1.152e-06/0.5741, allocations: 0 / 404.3 MB, free: 6.941 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