Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test19,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test19",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.593/2.593, allocations: 235 MB / 247.6 MB, free: 14.36 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.562e-05/3.574e-05, allocations: 4 kB / 305 MB, free: 5.562 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4141/0.4141, allocations: 54.86 MB / 359.9 MB, free: 2.309 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1563/0.5705, allocations: 81.9 MB / 441.8 MB, free: 14.97 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002746/0.5708, allocations: 69.19 kB / 441.8 MB, free: 14.9 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02443/0.5952, allocations: 5.586 MB / 447.4 MB, free: 9.363 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.563e-06/0.5953, allocations: 0 / 447.4 MB, free: 9.363 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.197e-05/0.5953, allocations: 4 kB / 447.4 MB, free: 9.359 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0008382/0.5962, allocations: 0.6471 MB / 448.1 MB, free: 8.637 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.993e-05/0.5963, allocations: 8.031 kB / 448.1 MB, free: 8.629 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.276e-05/0.5963, allocations: 42.56 kB / 448.1 MB, free: 8.578 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001003/0.5964, allocations: 35.58 kB / 448.2 MB, free: 8.543 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005607/0.597, allocations: 283.9 kB / 448.4 MB, free: 8.223 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.465e-05/0.597, allocations: 8 kB / 448.4 MB, free: 8.215 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.208e-05/0.5971, allocations: 7.984 kB / 448.4 MB, free: 8.207 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002195/0.5973, allocations: 70.53 kB / 448.5 MB, free: 8.133 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.016e-05/0.5973, allocations: 0 / 448.5 MB, free: 8.133 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.571e-05/0.5974, allocations: 4 kB / 448.5 MB, free: 8.129 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.179e-05/0.5974, allocations: 7.953 kB / 448.5 MB, free: 8.121 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001505/0.5975, allocations: 40 kB / 448.6 MB, free: 8.082 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007798/0.5983, allocations: 428.4 kB / 449 MB, free: 7.613 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001592/0.5985, allocations: 51.98 kB / 449 MB, free: 7.555 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.737e-05/0.5986, allocations: 32.91 kB / 449.1 MB, free: 7.52 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.033e-05/0.5987, allocations: 0 / 449.1 MB, free: 7.52 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.117e-05/0.5987, allocations: 34.56 kB / 449.1 MB, free: 7.477 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 2.003e-06/0.5987, allocations: 4 kB / 449.1 MB, free: 7.473 MB / 378.7 MB Notification: Performance of matching and sorting (n=6): time 0.0003322/0.5991, allocations: 93.31 kB / 449.2 MB, free: 7.375 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.094e-05/0.5991, allocations: 51.41 kB / 449.2 MB, free: 7.312 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008385/0.6, allocations: 415.7 kB / 449.6 MB, free: 6.895 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.494e-05/0.6, allocations: 29.7 kB / 449.7 MB, free: 6.859 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001629/0.6002, allocations: 210.5 kB / 449.9 MB, free: 6.652 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.817e-05/0.6002, allocations: 19.66 kB / 449.9 MB, free: 6.633 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.273e-05/0.6003, allocations: 8 kB / 449.9 MB, free: 6.625 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001345/0.6004, allocations: 314.8 kB / 450.2 MB, free: 6.309 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.65e-05/0.6005, allocations: 24 kB / 450.2 MB, free: 6.285 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.643e-05/0.6006, allocations: 20.77 kB / 450.3 MB, free: 6.266 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001802/0.6008, allocations: 169.5 kB / 450.4 MB, free: 6.07 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.092e-06/0.6008, allocations: 3.953 kB / 450.4 MB, free: 6.066 MB / 378.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003719/0.6012, allocations: 222.2 kB / 450.6 MB, free: 5.812 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000107/0.6013, allocations: 142.2 kB / 450.8 MB, free: 5.645 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.216e-06/0.6013, allocations: 4 kB / 450.8 MB, free: 5.641 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.886e-05/0.6014, allocations: 4 kB / 450.8 MB, free: 5.637 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001751/0.6016, allocations: 12 kB / 450.8 MB, free: 5.625 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.618e-06/0.6016, allocations: 0 / 450.8 MB, free: 5.625 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001788/0.6018, allocations: 15.83 kB / 450.8 MB, free: 5.609 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.937e-05/0.6018, allocations: 4 kB / 450.8 MB, free: 5.605 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 (11): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 5 * 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.959e-05/0.6019, allocations: 109 kB / 450.9 MB, free: 5.492 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.917e-05/0.602, allocations: 35.52 kB / 451 MB, free: 5.457 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004069/0.6024, allocations: 120.5 kB / 451.1 MB, free: 5.336 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.384e-06/0.6025, allocations: 4 kB / 451.1 MB, free: 5.332 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.6025, allocations: 0 / 451.1 MB, free: 5.332 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.629e-06/0.6025, allocations: 0 / 451.1 MB, free: 5.332 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004293/0.6029, allocations: 273.5 kB / 451.4 MB, free: 5.016 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.075e-06/0.6029, allocations: 4.062 kB / 451.4 MB, free: 5.012 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001285/0.6031, allocations: 15.95 kB / 451.4 MB, free: 4.996 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.767e-06/0.6031, allocations: 4 kB / 451.4 MB, free: 4.992 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.465e-05/0.6031, allocations: 3.984 kB / 451.4 MB, free: 4.988 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.146e-06/0.6031, allocations: 0 / 451.4 MB, free: 4.988 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.997e-06/0.6032, allocations: 1.172 kB / 451.4 MB, free: 4.988 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003231/0.6035, allocations: 199.1 kB / 451.6 MB, free: 4.777 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001608/0.6037, allocations: 116.8 kB / 451.7 MB, free: 4.645 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.505e-05/0.6037, allocations: 11.95 kB / 451.7 MB, free: 4.633 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001236/0.6039, allocations: 0 / 451.7 MB, free: 4.633 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.017e-05/0.6039, allocations: 7.984 kB / 451.7 MB, free: 4.625 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.365e-05/0.604, allocations: 4 kB / 451.7 MB, free: 4.621 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0005906/0.6046, allocations: 334.1 kB / 452 MB, free: 4.297 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.6046, allocations: 0 / 452 MB, free: 4.297 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004696/0.605, allocations: 63.78 kB / 452.1 MB, free: 4.234 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 (6): * Single equations (assignments): 6 * 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.002071/0.6071, allocations: 1.113 MB / 453.2 MB, free: 3.184 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0004668/0.6077, allocations: 325 kB / 453.5 MB, free: 2.805 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.577e-06/0.6077, allocations: 0 / 453.5 MB, free: 2.805 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.279e-05/0.6078, allocations: 27.94 kB / 453.6 MB, free: 2.777 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005239/0.6083, allocations: 33.14 kB / 453.6 MB, free: 2.738 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001462/0.6098, allocations: 0.4998 MB / 454.1 MB, free: 2.199 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004611/0.6103, allocations: 0.7784 MB / 454.9 MB, free: 1.395 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002112/0.6105, allocations: 79.41 kB / 455 MB, free: 1.32 MB / 378.7 MB Notification: Performance of SimCode: time 1.242e-06/0.6105, allocations: 0 / 455 MB, free: 1.32 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_Test19CalcHelperMain.o OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test19CalcHelperMain.cpp In file included from OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test19CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test19FMU.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_Test19.so OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test19CalcHelperMain.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_Test19_FMU.makefile:93: recipe for target 'ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test19.fmu' failed make: *** [ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test19.fmu] Error 1