Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test20,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test20",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.452/2.452, allocations: 235 MB / 247.6 MB, free: 14.59 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.784e-05/3.789e-05, allocations: 4 kB / 305 MB, free: 5.785 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.412/0.412, allocations: 54.86 MB / 359.9 MB, free: 2.223 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.157/0.5691, allocations: 82.11 MB / 442 MB, free: 14.8 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002707/0.5695, allocations: 69.19 kB / 442 MB, free: 14.74 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02639/0.5959, allocations: 6.432 MB / 448.5 MB, free: 8.344 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.513e-06/0.5959, allocations: 0 / 448.5 MB, free: 8.344 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.465e-05/0.596, allocations: 4 kB / 448.5 MB, free: 8.34 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0008887/0.5969, allocations: 0.6856 MB / 449.2 MB, free: 7.578 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.783e-05/0.5969, allocations: 8.031 kB / 449.2 MB, free: 7.57 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.006e-05/0.597, allocations: 46.55 kB / 449.2 MB, free: 7.516 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.1e-05/0.5971, allocations: 31.62 kB / 449.2 MB, free: 7.484 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005665/0.5977, allocations: 295.8 kB / 449.5 MB, free: 7.156 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.102e-05/0.5977, allocations: 13.78 kB / 449.5 MB, free: 7.145 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.26e-05/0.5978, allocations: 15.95 kB / 449.6 MB, free: 7.129 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002675/0.5981, allocations: 97.66 kB / 449.7 MB, free: 7.027 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.951e-05/0.5981, allocations: 3.906 kB / 449.7 MB, free: 7.023 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.777e-05/0.5981, allocations: 8 kB / 449.7 MB, free: 7.016 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.025e-06/0.5981, allocations: 0 / 449.7 MB, free: 7.016 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001905/0.5983, allocations: 63.92 kB / 449.7 MB, free: 6.953 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008741/0.5992, allocations: 477.7 kB / 450.2 MB, free: 6.438 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002286/0.5995, allocations: 82.56 kB / 450.3 MB, free: 6.348 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.239e-05/0.5996, allocations: 32.86 kB / 450.3 MB, free: 6.312 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.505e-05/0.5996, allocations: 7.984 kB / 450.3 MB, free: 6.305 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.915e-05/0.5997, allocations: 34.5 kB / 450.4 MB, free: 6.262 MB / 378.7 MB Notification: Performance of pre-optimization done (n=11): time 1.893e-06/0.5997, allocations: 4 kB / 450.4 MB, free: 6.258 MB / 378.7 MB Notification: Performance of matching and sorting (n=17): time 0.00108/0.6008, allocations: 317.4 kB / 450.7 MB, free: 5.941 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.575e-05/0.6008, allocations: 59.34 kB / 450.7 MB, free: 5.871 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007398/0.6016, allocations: 415.5 kB / 451.1 MB, free: 5.453 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.44e-05/0.6016, allocations: 25.7 kB / 451.2 MB, free: 5.422 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001519/0.6018, allocations: 226.8 kB / 451.4 MB, free: 5.199 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.767e-05/0.6019, allocations: 63.09 kB / 451.4 MB, free: 5.137 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.377e-05/0.6019, allocations: 0 / 451.4 MB, free: 5.137 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001345/0.602, allocations: 326.8 kB / 451.8 MB, free: 4.809 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000148/0.6022, allocations: 48.38 kB / 451.8 MB, free: 4.758 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001437/0.6023, allocations: 51.56 kB / 451.9 MB, free: 4.711 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002357/0.6026, allocations: 193.4 kB / 452 MB, free: 4.492 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.6026, allocations: 0 / 452 MB, free: 4.492 MB / 378.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0005182/0.6031, allocations: 312.1 kB / 452.3 MB, free: 4.152 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001186/0.6033, allocations: 145.9 kB / 452.5 MB, free: 3.98 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.6033, allocations: 0 / 452.5 MB, free: 3.98 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.722e-05/0.6033, allocations: 0 / 452.5 MB, free: 3.98 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002839/0.6036, allocations: 51.92 kB / 452.5 MB, free: 3.93 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.959e-06/0.6036, allocations: 0 / 452.5 MB, free: 3.93 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000134/0.6038, allocations: 11.98 kB / 452.6 MB, free: 3.918 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.855e-05/0.6038, allocations: 8 kB / 452.6 MB, free: 3.91 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 (22): * Single equations (assignments): 17 * 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 0.0001101/0.6039, allocations: 109 kB / 452.7 MB, free: 3.797 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.91e-05/0.604, allocations: 31.62 kB / 452.7 MB, free: 3.766 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006332/0.6047, allocations: 232.6 kB / 452.9 MB, free: 3.531 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.488e-06/0.6047, allocations: 0 / 452.9 MB, free: 3.531 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.6047, allocations: 0 / 452.9 MB, free: 3.531 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.468e-06/0.6047, allocations: 0 / 452.9 MB, free: 3.531 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001162/0.6059, allocations: 0.6199 MB / 453.5 MB, free: 2.855 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.6059, allocations: 0 / 453.5 MB, free: 2.855 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002274/0.6062, allocations: 39.98 kB / 453.6 MB, free: 2.816 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.037e-06/0.6062, allocations: 0 / 453.6 MB, free: 2.816 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.551e-05/0.6062, allocations: 11.98 kB / 453.6 MB, free: 2.805 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.26e-06/0.6062, allocations: 3.938 kB / 453.6 MB, free: 2.801 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.704e-06/0.6062, allocations: 0 / 453.6 MB, free: 2.801 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004796/0.6067, allocations: 276.6 kB / 453.9 MB, free: 2.516 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001577/0.6069, allocations: 120.7 kB / 454 MB, free: 2.379 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.468e-05/0.607, allocations: 8 kB / 454 MB, free: 2.371 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001624/0.6071, allocations: 11.98 kB / 454 MB, free: 2.359 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001078/0.6073, allocations: 11.98 kB / 454 MB, free: 2.348 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.143e-05/0.6073, allocations: 8 kB / 454 MB, free: 2.34 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0006143/0.6079, allocations: 330.1 kB / 454.3 MB, free: 2.016 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.445e-06/0.6079, allocations: 0 / 454.3 MB, free: 2.016 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005584/0.6085, allocations: 99.64 kB / 454.4 MB, free: 1.918 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 (17): * Single equations (assignments): 17 * 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.002929/0.6115, allocations: 1.427 MB / 455.9 MB, free: 0.5625 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0006233/0.6121, allocations: 397 kB / 456.3 MB, free: 116 kB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.977e-06/0.6122, allocations: 3.938 kB / 456.3 MB, free: 112 kB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001713/0.6123, allocations: 67.94 kB / 456.3 MB, free: 44 kB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005163/0.6129, allocations: 37.11 kB / 456.4 MB, free: 8 kB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001692/0.6146, allocations: 0.6113 MB / 457 MB, free: 15.35 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004635/0.6151, allocations: 0.7946 MB / 457.8 MB, free: 14.53 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002752/0.6154, allocations: 95.41 kB / 457.9 MB, free: 14.43 MB / 394.7 MB Notification: Performance of SimCode: time 1.152e-06/0.6154, allocations: 0 / 457.9 MB, free: 14.43 MB / 394.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_Test20CalcHelperMain.o OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test20CalcHelperMain.cpp In file included from OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test20CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test20FMU.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_Test20.so OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test20CalcHelperMain.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_Test20_FMU.makefile:93: recipe for target 'ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test20.fmu' failed make: *** [ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test20.fmu] Error 1