Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1D.Test4,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable1D_Test4",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.957/1.957, allocations: 209.3 MB / 221.9 MB, free: 1.945 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.441e-05/3.448e-05, allocations: 4 kB / 273.1 MB, free: 0.6406 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1083/0.1084, allocations: 48.7 MB / 321.8 MB, free: 15.85 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4447/0.5532, allocations: 74.54 MB / 396.4 MB, free: 15.41 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002638/0.5535, allocations: 71.95 kB / 396.4 MB, free: 15.34 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01305/0.5666, allocations: 3.287 MB / 399.7 MB, free: 12.05 MB / 330.7 MB Notification: Performance of FrontEnd: time 6.472e-06/0.5666, allocations: 0 / 399.7 MB, free: 12.05 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.415e-05/0.5667, allocations: 11.88 kB / 399.7 MB, free: 12.04 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004961/0.5672, allocations: 416 kB / 400.1 MB, free: 11.59 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.586e-05/0.5672, allocations: 8.031 kB / 400.1 MB, free: 11.58 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.459e-05/0.5673, allocations: 42.55 kB / 400.2 MB, free: 11.53 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.537e-05/0.5673, allocations: 11.81 kB / 400.2 MB, free: 11.52 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002994/0.5676, allocations: 214.8 kB / 400.4 MB, free: 11.27 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.16e-05/0.5677, allocations: 0 / 400.4 MB, free: 11.27 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.619e-05/0.5677, allocations: 7.938 kB / 400.4 MB, free: 11.26 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001824/0.5679, allocations: 71.41 kB / 400.5 MB, free: 11.18 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.333e-05/0.5679, allocations: 0 / 400.5 MB, free: 11.18 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.451e-05/0.568, allocations: 4 kB / 400.5 MB, free: 11.17 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.42e-06/0.568, allocations: 0 / 400.5 MB, free: 11.17 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.963e-05/0.5681, allocations: 35.86 kB / 400.5 MB, free: 11.14 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006264/0.5687, allocations: 410.3 kB / 400.9 MB, free: 10.68 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003278/0.5691, allocations: 77.17 kB / 401 MB, free: 10.59 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.942e-05/0.5691, allocations: 29.72 kB / 401 MB, free: 10.55 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.625e-05/0.5692, allocations: 0 / 401 MB, free: 10.55 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.657e-05/0.5692, allocations: 46.58 kB / 401.1 MB, free: 10.5 MB / 330.7 MB Notification: Performance of pre-optimization done (n=6): time 1.664e-06/0.5692, allocations: 0 / 401.1 MB, free: 10.5 MB / 330.7 MB Notification: Performance of matching and sorting (n=10): time 0.0007455/0.57, allocations: 200.8 kB / 401.3 MB, free: 10.3 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.033e-05/0.5701, allocations: 77.11 kB / 401.4 MB, free: 10.2 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002923/0.5704, allocations: 190.5 kB / 401.5 MB, free: 10 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.255e-05/0.5704, allocations: 29.7 kB / 401.6 MB, free: 9.969 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.907e-05/0.5705, allocations: 170.5 kB / 401.7 MB, free: 9.801 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.237e-05/0.5706, allocations: 35.55 kB / 401.8 MB, free: 9.766 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.023e-05/0.5706, allocations: 4 kB / 401.8 MB, free: 9.762 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001163/0.5707, allocations: 310.8 kB / 402.1 MB, free: 9.449 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.398e-05/0.5708, allocations: 27.98 kB / 402.1 MB, free: 9.422 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.517e-05/0.5709, allocations: 24 kB / 402.1 MB, free: 9.398 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001218/0.571, allocations: 58.23 kB / 402.2 MB, free: 9.336 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.432e-06/0.5711, allocations: 7.938 kB / 402.2 MB, free: 9.328 MB / 330.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002723/0.5713, allocations: 135.4 kB / 402.3 MB, free: 9.184 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.106e-05/0.5714, allocations: 37.69 kB / 402.4 MB, free: 9.141 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.549e-06/0.5714, allocations: 4 kB / 402.4 MB, free: 9.137 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.322e-05/0.5714, allocations: 0 / 402.4 MB, free: 9.137 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001641/0.5716, allocations: 23.98 kB / 402.4 MB, free: 9.113 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.231e-05/0.5716, allocations: 3.953 kB / 402.4 MB, free: 9.109 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.992e-05/0.5717, allocations: 4 kB / 402.4 MB, free: 9.105 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.597e-05/0.5717, allocations: 4 kB / 402.4 MB, free: 9.102 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 (11): * Single equations (assignments): 10 * 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.563e-05/0.5718, allocations: 108.9 kB / 402.5 MB, free: 8.988 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.139e-05/0.5719, allocations: 16.19 kB / 402.5 MB, free: 8.973 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003648/0.5723, allocations: 142.5 kB / 402.7 MB, free: 8.824 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.282e-06/0.5723, allocations: 3.984 kB / 402.7 MB, free: 8.82 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.5723, allocations: 0 / 402.7 MB, free: 8.82 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.287e-06/0.5723, allocations: 7.953 kB / 402.7 MB, free: 8.812 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008246/0.5732, allocations: 0.4988 MB / 403.2 MB, free: 8.254 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.14e-06/0.5732, allocations: 8.031 kB / 403.2 MB, free: 8.246 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000166/0.5734, allocations: 19.98 kB / 403.2 MB, free: 8.227 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.743e-06/0.5734, allocations: 7.938 kB / 403.2 MB, free: 8.219 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.644e-05/0.5734, allocations: 7.953 kB / 403.2 MB, free: 8.211 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.925e-06/0.5734, allocations: 0 / 403.2 MB, free: 8.211 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.369e-06/0.5734, allocations: 4 kB / 403.2 MB, free: 8.207 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003374/0.5738, allocations: 306.8 kB / 403.5 MB, free: 7.875 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001099/0.5739, allocations: 100.9 kB / 403.6 MB, free: 7.758 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.997e-05/0.574, allocations: 4 kB / 403.6 MB, free: 7.754 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001619/0.5741, allocations: 4 kB / 403.6 MB, free: 7.75 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.93e-05/0.5742, allocations: 15.92 kB / 403.6 MB, free: 7.734 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.371e-05/0.5742, allocations: 4 kB / 403.6 MB, free: 7.73 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002327/0.5745, allocations: 172.9 kB / 403.8 MB, free: 7.562 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.5745, allocations: 0 / 403.8 MB, free: 7.562 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003735/0.5749, allocations: 28 kB / 403.8 MB, free: 7.535 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 10 * 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.001222/0.5761, allocations: 1.106 MB / 404.9 MB, free: 6.438 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002775/0.5764, allocations: 119.6 kB / 405.1 MB, free: 6.309 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.5764, allocations: 8 kB / 405.1 MB, free: 6.301 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001069/0.5765, allocations: 43.86 kB / 405.1 MB, free: 6.258 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000302/0.5768, allocations: 8 kB / 405.1 MB, free: 6.25 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008534/0.5777, allocations: 298.4 kB / 405.4 MB, free: 5.914 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003413/0.5781, allocations: 0.7199 MB / 406.1 MB, free: 5.168 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001137/0.5782, allocations: 43.48 kB / 406.2 MB, free: 5.125 MB / 330.7 MB Notification: Performance of SimCode: time 2.484e-06/0.5782, allocations: 0 / 406.2 MB, free: 5.125 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_Test4CalcHelperMain.o OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable1D_Test4CalcHelperMain.cpp In file included from OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable1D_Test4CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable1D_Test4FMU.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_Test4.so OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable1D_Test4CalcHelperMain.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_Test4_FMU.makefile:93: recipe for target 'ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable1D_Test4.fmu' failed make: *** [ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable1D_Test4.fmu] Error 1