Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1D.Test7,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable1D_Test7",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.858/1.858, allocations: 209.3 MB / 221.9 MB, free: 1.938 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.616e-05/3.626e-05, allocations: 4 kB / 273.1 MB, free: 0.6445 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1149/0.115, allocations: 48.71 MB / 321.9 MB, free: 15.84 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4032/0.5183, allocations: 74.4 MB / 396.3 MB, free: 15.43 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002581/0.5186, allocations: 71.95 kB / 396.3 MB, free: 15.36 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01128/0.5299, allocations: 2.613 MB / 398.9 MB, free: 12.76 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.813e-06/0.5299, allocations: 0 / 398.9 MB, free: 12.76 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.117e-05/0.5299, allocations: 4 kB / 398.9 MB, free: 12.75 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.0004781/0.5304, allocations: 400 kB / 399.3 MB, free: 12.31 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.491e-05/0.5305, allocations: 8.031 kB / 399.3 MB, free: 12.3 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.383e-05/0.5305, allocations: 34.55 kB / 399.4 MB, free: 12.26 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.81e-05/0.5306, allocations: 8 kB / 399.4 MB, free: 12.25 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000257/0.5309, allocations: 194.8 kB / 399.6 MB, free: 12.02 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.435e-05/0.5309, allocations: 4 kB / 399.6 MB, free: 12.02 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.231e-05/0.5309, allocations: 0 / 399.6 MB, free: 12.02 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001281/0.5311, allocations: 49.7 kB / 399.6 MB, free: 11.96 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.206e-05/0.5311, allocations: 0 / 399.6 MB, free: 11.96 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.019e-05/0.5311, allocations: 0 / 399.6 MB, free: 11.96 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.049e-06/0.5311, allocations: 0 / 399.6 MB, free: 11.96 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.127e-05/0.5312, allocations: 15.98 kB / 399.6 MB, free: 11.95 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004789/0.5317, allocations: 284.8 kB / 399.9 MB, free: 11.62 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002419/0.5319, allocations: 50.5 kB / 400 MB, free: 11.56 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.909e-05/0.532, allocations: 8.859 kB / 400 MB, free: 11.55 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.799e-05/0.532, allocations: 0 / 400 MB, free: 11.55 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.683e-05/0.5321, allocations: 34.56 kB / 400 MB, free: 11.51 MB / 330.7 MB Notification: Performance of pre-optimization done (n=3): time 1.503e-06/0.5321, allocations: 0 / 400 MB, free: 11.51 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005246/0.5326, allocations: 114.8 kB / 400.1 MB, free: 11.39 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.315e-05/0.5327, allocations: 59.36 kB / 400.2 MB, free: 11.32 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001722/0.5329, allocations: 133 kB / 400.3 MB, free: 11.18 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.033e-05/0.5329, allocations: 25.7 kB / 400.3 MB, free: 11.15 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.434e-05/0.533, allocations: 162.5 kB / 400.5 MB, free: 10.99 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.729e-05/0.533, allocations: 23.59 kB / 400.5 MB, free: 10.97 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.222e-06/0.533, allocations: 0 / 400.5 MB, free: 10.97 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001307/0.5332, allocations: 314.8 kB / 400.8 MB, free: 10.65 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.441e-05/0.5333, allocations: 16 kB / 400.8 MB, free: 10.64 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.738e-05/0.5333, allocations: 23.92 kB / 400.9 MB, free: 10.61 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.997e-05/0.5334, allocations: 37.7 kB / 400.9 MB, free: 10.57 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.282e-06/0.5334, allocations: 0 / 400.9 MB, free: 10.57 MB / 330.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001956/0.5336, allocations: 103.3 kB / 401 MB, free: 10.46 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.099e-05/0.5337, allocations: 29.7 kB / 401 MB, free: 10.42 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.5337, allocations: 0 / 401 MB, free: 10.42 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.296e-05/0.5337, allocations: 0 / 401 MB, free: 10.42 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001237/0.5338, allocations: 15.98 kB / 401.1 MB, free: 10.41 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.532e-06/0.5339, allocations: 0 / 401.1 MB, free: 10.41 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.028e-05/0.5339, allocations: 15.95 kB / 401.1 MB, free: 10.39 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.245e-05/0.534, allocations: 4 kB / 401.1 MB, free: 10.39 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.947e-05/0.5341, allocations: 105 kB / 401.2 MB, free: 10.28 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.787e-05/0.5341, allocations: 3.906 kB / 401.2 MB, free: 10.27 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002303/0.5343, allocations: 85.7 kB / 401.3 MB, free: 10.19 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.188e-06/0.5344, allocations: 0 / 401.3 MB, free: 10.19 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.5344, allocations: 0 / 401.3 MB, free: 10.19 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.5344, allocations: 0 / 401.3 MB, free: 10.19 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004849/0.5349, allocations: 346.8 kB / 401.6 MB, free: 9.793 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.5349, allocations: 0 / 401.6 MB, free: 9.793 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001089/0.535, allocations: 8 kB / 401.6 MB, free: 9.785 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/0.535, allocations: 4 kB / 401.6 MB, free: 9.781 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.189e-05/0.5351, allocations: 4 kB / 401.6 MB, free: 9.777 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/0.5351, allocations: 0 / 401.6 MB, free: 9.777 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.454e-06/0.5351, allocations: 7.938 kB / 401.6 MB, free: 9.77 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002123/0.5353, allocations: 167.4 kB / 401.8 MB, free: 9.59 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.66e-05/0.5354, allocations: 85.02 kB / 401.9 MB, free: 9.488 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.272e-05/0.5354, allocations: 4 kB / 401.9 MB, free: 9.484 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001133/0.5356, allocations: 8.125 kB / 401.9 MB, free: 9.477 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.252e-05/0.5356, allocations: 7.984 kB / 401.9 MB, free: 9.469 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.236e-05/0.5356, allocations: 7.953 kB / 401.9 MB, free: 9.461 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001196/0.5358, allocations: 108.5 kB / 402 MB, free: 9.355 MB / 330.7 MB Notification: Performance of sort global known variables: time 8.566e-06/0.5358, allocations: 0 / 402 MB, free: 9.355 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003406/0.5361, allocations: 20 kB / 402 MB, free: 9.336 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.001078/0.5372, allocations: 0.8324 MB / 402.9 MB, free: 8.52 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002052/0.5374, allocations: 91.39 kB / 402.9 MB, free: 8.418 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.5375, allocations: 0 / 402.9 MB, free: 8.418 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 5.993e-05/0.5375, allocations: 16 kB / 403 MB, free: 8.402 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002557/0.5378, allocations: 16.14 kB / 403 MB, free: 8.387 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006005/0.5384, allocations: 196 kB / 403.2 MB, free: 8.152 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003251/0.5388, allocations: 0.7004 MB / 403.9 MB, free: 7.426 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.348e-05/0.5388, allocations: 19.44 kB / 403.9 MB, free: 7.406 MB / 330.7 MB Notification: Performance of SimCode: time 8.21e-07/0.5389, allocations: 0 / 403.9 MB, free: 7.406 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_Test7CalcHelperMain.o OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable1D_Test7CalcHelperMain.cpp In file included from OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable1D_Test7CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable1D_Test7FMU.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_Test7.so OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable1D_Test7CalcHelperMain.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_Test7_FMU.makefile:93: recipe for target 'ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable1D_Test7.fmu' failed make: *** [ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable1D_Test7.fmu] Error 1