Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test6,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test6",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.474/2.474, allocations: 235 MB / 247.6 MB, free: 14.38 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.789e-05/3.821e-05, allocations: 4 kB / 305 MB, free: 5.562 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4316/0.4316, allocations: 54.85 MB / 359.9 MB, free: 2.672 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1508/0.5825, allocations: 80.85 MB / 440.7 MB, free: 132 kB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002642/0.5828, allocations: 71.97 kB / 440.8 MB, free: 60 kB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02001/0.6028, allocations: 5.387 MB / 446.2 MB, free: 10.69 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.024e-06/0.6029, allocations: 0 / 446.2 MB, free: 10.69 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.97e-05/0.6029, allocations: 4 kB / 446.2 MB, free: 10.68 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.0008682/0.6038, allocations: 0.5738 MB / 446.7 MB, free: 10.06 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.147e-05/0.6038, allocations: 8.031 kB / 446.8 MB, free: 10.05 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.772e-05/0.6039, allocations: 34.55 kB / 446.8 MB, free: 10.01 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001001/0.604, allocations: 43.44 kB / 446.8 MB, free: 9.965 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006204/0.6047, allocations: 319.4 kB / 447.1 MB, free: 9.609 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.3e-05/0.6047, allocations: 0 / 447.1 MB, free: 9.609 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.716e-05/0.6047, allocations: 8.547 kB / 447.2 MB, free: 9.602 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001528/0.6049, allocations: 51.3 kB / 447.2 MB, free: 9.547 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.361e-05/0.6049, allocations: 3.281 kB / 447.2 MB, free: 9.547 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.267e-05/0.6049, allocations: 0 / 447.2 MB, free: 9.547 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.79e-06/0.605, allocations: 0 / 447.2 MB, free: 9.547 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.114e-05/0.6051, allocations: 27.92 kB / 447.2 MB, free: 9.52 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007995/0.6059, allocations: 427.2 kB / 447.6 MB, free: 9.055 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001104/0.606, allocations: 34.58 kB / 447.7 MB, free: 9.012 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.631e-05/0.6061, allocations: 16.86 kB / 447.7 MB, free: 8.992 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.857e-05/0.6061, allocations: 0 / 447.7 MB, free: 8.992 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.527e-05/0.6061, allocations: 40.5 kB / 447.7 MB, free: 8.945 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 1.573e-06/0.6062, allocations: 0 / 447.7 MB, free: 8.945 MB / 378.7 MB Notification: Performance of matching and sorting (n=7): time 0.0008078/0.607, allocations: 224.2 kB / 448 MB, free: 8.719 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.629e-05/0.6071, allocations: 51.41 kB / 448 MB, free: 8.656 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001973/0.609, allocations: 0.7615 MB / 448.8 MB, free: 7.891 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.249e-05/0.6091, allocations: 29.7 kB / 448.8 MB, free: 7.855 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002197/0.6093, allocations: 234.5 kB / 449 MB, free: 7.625 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.829e-05/0.6094, allocations: 27.58 kB / 449.1 MB, free: 7.598 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.648e-06/0.6094, allocations: 8 kB / 449.1 MB, free: 7.59 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001313/0.6096, allocations: 314.8 kB / 449.4 MB, free: 7.273 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.067e-05/0.6096, allocations: 16 kB / 449.4 MB, free: 7.258 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.354e-05/0.6097, allocations: 20 kB / 449.4 MB, free: 7.238 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.177e-05/0.6098, allocations: 41.69 kB / 449.4 MB, free: 7.191 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.6098, allocations: 4 kB / 449.4 MB, free: 7.188 MB / 378.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002492/0.6101, allocations: 104.6 kB / 449.6 MB, free: 7.074 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.706e-05/0.6102, allocations: 35.42 kB / 449.6 MB, free: 7.035 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.434e-06/0.6102, allocations: 0 / 449.6 MB, free: 7.035 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.79e-05/0.6102, allocations: 4 kB / 449.6 MB, free: 7.031 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000234/0.6104, allocations: 23.98 kB / 449.6 MB, free: 7.008 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.093e-05/0.6105, allocations: 0 / 449.6 MB, free: 7.008 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001837/0.6107, allocations: 15.92 kB / 449.6 MB, free: 6.992 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.581e-05/0.6107, allocations: 4 kB / 449.6 MB, free: 6.988 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.361e-05/0.6108, allocations: 116.9 kB / 449.7 MB, free: 6.867 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001172/0.6109, allocations: 45.22 kB / 449.8 MB, free: 6.824 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003955/0.6113, allocations: 127.4 kB / 449.9 MB, free: 6.691 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.158e-06/0.6113, allocations: 0 / 449.9 MB, free: 6.691 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.544e-06/0.6114, allocations: 3.984 kB / 449.9 MB, free: 6.688 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/0.6114, allocations: 0 / 449.9 MB, free: 6.688 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00113/0.6125, allocations: 0.5803 MB / 450.5 MB, free: 6.051 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.466e-06/0.6125, allocations: 0 / 450.5 MB, free: 6.051 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001959/0.6127, allocations: 27.98 kB / 450.5 MB, free: 6.023 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.006e-05/0.6128, allocations: 5.609 kB / 450.5 MB, free: 6.02 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.317e-05/0.6128, allocations: 0 / 450.5 MB, free: 6.02 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.336e-06/0.6128, allocations: 0 / 450.5 MB, free: 6.02 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.6128, allocations: 0 / 450.5 MB, free: 6.02 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003255/0.6131, allocations: 210.9 kB / 450.7 MB, free: 5.797 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000273/0.6134, allocations: 148.6 kB / 450.9 MB, free: 5.633 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.122e-05/0.6135, allocations: 15.92 kB / 450.9 MB, free: 5.617 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001984/0.6137, allocations: 8 kB / 450.9 MB, free: 5.609 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.194e-05/0.6138, allocations: 7.984 kB / 450.9 MB, free: 5.602 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.36e-05/0.6138, allocations: 8 kB / 450.9 MB, free: 5.594 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001146/0.615, allocations: 0.6186 MB / 451.5 MB, free: 4.977 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.8e-07/0.615, allocations: 1.406 kB / 451.5 MB, free: 4.977 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000501/0.6155, allocations: 56 kB / 451.6 MB, free: 4.922 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.001408/0.6169, allocations: 0.9209 MB / 452.5 MB, free: 4.047 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002664/0.6172, allocations: 103.3 kB / 452.6 MB, free: 3.934 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 6.311e-06/0.6172, allocations: 0 / 452.6 MB, free: 3.934 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.986e-05/0.6173, allocations: 27.94 kB / 452.6 MB, free: 3.906 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003828/0.6177, allocations: 21.12 kB / 452.7 MB, free: 3.887 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002221/0.6199, allocations: 0.8561 MB / 453.5 MB, free: 2.984 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000565/0.6205, allocations: 0.8262 MB / 454.3 MB, free: 2.129 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002724/0.6208, allocations: 111.6 kB / 454.5 MB, free: 2.02 MB / 378.7 MB Notification: Performance of SimCode: time 1.543e-06/0.6209, allocations: 0 / 454.5 MB, free: 2.02 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_Test6CalcHelperMain.o OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test6CalcHelperMain.cpp In file included from OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test6CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test6FMU.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_Test6.so OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test6CalcHelperMain.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_Test6_FMU.makefile:93: recipe for target 'ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test6.fmu' failed make: *** [ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test6.fmu] Error 1