Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test24,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test24",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.449/2.449, allocations: 235 MB / 247.6 MB, free: 14.36 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.303e-05/4.31e-05, allocations: 4 kB / 305 MB, free: 5.574 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4156/0.4157, allocations: 54.87 MB / 359.9 MB, free: 2.328 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1557/0.5715, allocations: 80.89 MB / 440.8 MB, free: 15.99 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002883/0.5719, allocations: 73.19 kB / 440.8 MB, free: 15.92 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01281/0.5847, allocations: 2.874 MB / 443.7 MB, free: 13.08 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.873e-06/0.5847, allocations: 0 / 443.7 MB, free: 13.08 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.261e-05/0.5848, allocations: 4 kB / 443.7 MB, free: 13.07 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006098/0.5854, allocations: 407.9 kB / 444.1 MB, free: 12.62 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.427e-05/0.5855, allocations: 8.031 kB / 444.1 MB, free: 12.62 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.35e-05/0.5855, allocations: 34.56 kB / 444.1 MB, free: 12.57 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.746e-05/0.5856, allocations: 11.91 kB / 444.2 MB, free: 12.56 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002817/0.5859, allocations: 188.4 kB / 444.3 MB, free: 12.34 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.367e-05/0.5859, allocations: 0 / 444.3 MB, free: 12.34 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.728e-05/0.586, allocations: 4 kB / 444.3 MB, free: 12.34 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001554/0.5861, allocations: 49.62 kB / 444.4 MB, free: 12.28 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.44e-05/0.5862, allocations: 4 kB / 444.4 MB, free: 12.28 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.65e-05/0.5862, allocations: 7.938 kB / 444.4 MB, free: 12.27 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.835e-06/0.5862, allocations: 0 / 444.4 MB, free: 12.27 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.885e-05/0.5863, allocations: 23.28 kB / 444.4 MB, free: 12.25 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004994/0.5868, allocations: 288.7 kB / 444.7 MB, free: 11.92 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001229/0.587, allocations: 39.19 kB / 444.7 MB, free: 11.87 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.556e-05/0.587, allocations: 16.8 kB / 444.8 MB, free: 11.85 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.925e-05/0.5871, allocations: 0 / 444.8 MB, free: 11.85 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.238e-05/0.5871, allocations: 38.56 kB / 444.8 MB, free: 11.8 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 1.693e-06/0.5871, allocations: 0 / 444.8 MB, free: 11.8 MB / 378.7 MB Notification: Performance of matching and sorting (n=7): time 0.0007107/0.5878, allocations: 141.5 kB / 444.9 MB, free: 11.66 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.332e-05/0.5879, allocations: 51.41 kB / 445 MB, free: 11.6 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002051/0.5881, allocations: 140.1 kB / 445.1 MB, free: 11.45 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.286e-05/0.5881, allocations: 29.7 kB / 445.2 MB, free: 11.42 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001064/0.5883, allocations: 158.6 kB / 445.3 MB, free: 11.26 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.837e-05/0.5883, allocations: 31.55 kB / 445.3 MB, free: 11.23 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.564e-06/0.5883, allocations: 0 / 445.3 MB, free: 11.23 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001326/0.5885, allocations: 310.8 kB / 445.6 MB, free: 10.92 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.566e-05/0.5886, allocations: 20 kB / 445.7 MB, free: 10.9 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.475e-05/0.5886, allocations: 12 kB / 445.7 MB, free: 10.89 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.055e-05/0.5887, allocations: 51.33 kB / 445.7 MB, free: 10.83 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.198e-06/0.5887, allocations: 3.953 kB / 445.7 MB, free: 10.83 MB / 378.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002277/0.589, allocations: 103.4 kB / 445.8 MB, free: 10.71 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.236e-05/0.589, allocations: 29.7 kB / 445.9 MB, free: 10.68 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.772e-06/0.5891, allocations: 4 kB / 445.9 MB, free: 10.68 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.803e-05/0.5891, allocations: 2.562 kB / 445.9 MB, free: 10.68 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000217/0.5893, allocations: 27.92 kB / 445.9 MB, free: 10.65 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.895e-06/0.5893, allocations: 0 / 445.9 MB, free: 10.65 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001276/0.5895, allocations: 16.92 kB / 445.9 MB, free: 10.63 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.22e-05/0.5895, allocations: 0 / 445.9 MB, free: 10.63 MB / 378.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 (8): * Single equations (assignments): 7 * 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 9.031e-05/0.5896, allocations: 113 kB / 446 MB, free: 10.52 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.67e-05/0.5897, allocations: 15.8 kB / 446 MB, free: 10.5 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002816/0.5899, allocations: 88.78 kB / 446.1 MB, free: 10.4 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.789e-06/0.59, allocations: 0 / 446.1 MB, free: 10.4 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/0.59, allocations: 4 kB / 446.1 MB, free: 10.4 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.241e-06/0.59, allocations: 3.984 kB / 446.1 MB, free: 10.39 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005436/0.5905, allocations: 358.5 kB / 446.5 MB, free: 9.988 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.5906, allocations: 4 kB / 446.5 MB, free: 9.984 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001852/0.5908, allocations: 29.77 kB / 446.5 MB, free: 9.957 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.541e-06/0.5908, allocations: 0 / 446.5 MB, free: 9.957 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.182e-05/0.5908, allocations: 0 / 446.5 MB, free: 9.957 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.076e-06/0.5908, allocations: 0 / 446.5 MB, free: 9.957 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.5908, allocations: 0 / 446.5 MB, free: 9.957 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002494/0.5911, allocations: 179.3 kB / 446.7 MB, free: 9.766 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.534e-05/0.5912, allocations: 89.02 kB / 446.8 MB, free: 9.66 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.325e-05/0.5912, allocations: 0 / 446.8 MB, free: 9.66 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001518/0.5914, allocations: 12.86 kB / 446.8 MB, free: 9.648 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.471e-05/0.5914, allocations: 7.984 kB / 446.8 MB, free: 9.641 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.336e-05/0.5915, allocations: 8 kB / 446.8 MB, free: 9.633 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001323/0.5916, allocations: 113.5 kB / 446.9 MB, free: 9.523 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.5e-07/0.5916, allocations: 0 / 446.9 MB, free: 9.523 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003521/0.592, allocations: 27.94 kB / 446.9 MB, free: 9.496 MB / 378.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 (7): * Single equations (assignments): 7 * 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.001282/0.5933, allocations: 0.8898 MB / 447.8 MB, free: 8.648 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002785/0.5936, allocations: 107.4 kB / 447.9 MB, free: 8.531 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.517e-06/0.5936, allocations: 0 / 447.9 MB, free: 8.531 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.933e-05/0.5937, allocations: 23.94 kB / 448 MB, free: 8.508 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002779/0.594, allocations: 11.91 kB / 448 MB, free: 8.496 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006665/0.5947, allocations: 213.7 kB / 448.2 MB, free: 8.246 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003094/0.595, allocations: 0.7004 MB / 448.9 MB, free: 7.52 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.583e-05/0.5951, allocations: 23.42 kB / 448.9 MB, free: 7.496 MB / 378.7 MB Notification: Performance of SimCode: time 9.72e-07/0.5951, allocations: 0 / 448.9 MB, free: 7.496 MB / 378.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_2_cpp_ModelicaTest_Tables_CombiTable2D_Test24CalcHelperMain.o OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test24CalcHelperMain.cpp In file included from OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test24CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test24FMU.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_2_cpp_ModelicaTest_Tables_CombiTable2D_Test24.so OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test24CalcHelperMain.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.2/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.2/Resources/Library/x86_64-linux" -Wl,-rpath="/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Resources/Library/x86_64-linux" "-L/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Resources/Library/linux64" -Wl,-rpath="/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Resources/Library/linux64" "-L/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Resources/Library" -Wl,-rpath="/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/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_2_cpp_ModelicaTest_Tables_CombiTable2D_Test24_FMU.makefile:93: recipe for target 'ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test24.fmu' failed make: *** [ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test24.fmu] Error 1