Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test18,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable1Ds_Test18",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.899/1.899, allocations: 209.3 MB / 221.9 MB, free: 1.938 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.951e-05/3.995e-05, allocations: 7.984 kB / 273.1 MB, free: 0.6445 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1098/0.1099, allocations: 48.69 MB / 321.8 MB, free: 15.85 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4361/0.5461, allocations: 74.7 MB / 396.5 MB, free: 15.15 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002818/0.5464, allocations: 71.95 kB / 396.6 MB, free: 15.08 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0166/0.563, allocations: 3.777 MB / 400.4 MB, free: 11.32 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.483e-06/0.5631, allocations: 4 kB / 400.4 MB, free: 11.31 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.377e-05/0.5631, allocations: 3.938 kB / 400.4 MB, free: 11.31 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005108/0.5636, allocations: 400.1 kB / 400.8 MB, free: 10.87 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.609e-05/0.5637, allocations: 8.031 kB / 400.8 MB, free: 10.86 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.163e-05/0.5637, allocations: 30.56 kB / 400.8 MB, free: 10.82 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.818e-05/0.5638, allocations: 4 kB / 400.8 MB, free: 10.82 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002535/0.564, allocations: 190.8 kB / 401 MB, free: 10.59 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.597e-05/0.5641, allocations: 11.94 kB / 401 MB, free: 10.58 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.455e-05/0.5641, allocations: 8 kB / 401 MB, free: 10.57 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001826/0.5643, allocations: 67.39 kB / 401.1 MB, free: 10.49 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.279e-05/0.5643, allocations: 0 / 401.1 MB, free: 10.49 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.43e-05/0.5644, allocations: 4 kB / 401.1 MB, free: 10.49 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.009e-06/0.5644, allocations: 0 / 401.1 MB, free: 10.49 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.6e-05/0.5645, allocations: 27.98 kB / 401.1 MB, free: 10.46 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004601/0.5649, allocations: 304.7 kB / 401.4 MB, free: 10.11 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001324/0.5651, allocations: 46.58 kB / 401.5 MB, free: 10.06 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.371e-05/0.5652, allocations: 20.92 kB / 401.5 MB, free: 10.04 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.52e-05/0.5652, allocations: 0 / 401.5 MB, free: 10.04 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.955e-05/0.5652, allocations: 30.56 kB / 401.5 MB, free: 9.996 MB / 330.7 MB Notification: Performance of pre-optimization done (n=5): time 1.543e-06/0.5652, allocations: 0 / 401.5 MB, free: 9.996 MB / 330.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006256/0.5659, allocations: 149.3 kB / 401.7 MB, free: 9.844 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.326e-05/0.5659, allocations: 77.11 kB / 401.7 MB, free: 9.75 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000141/0.5661, allocations: 116.9 kB / 401.9 MB, free: 9.629 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.04e-05/0.5661, allocations: 29.7 kB / 401.9 MB, free: 9.594 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.576e-05/0.5662, allocations: 158.7 kB / 402 MB, free: 9.434 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.452e-05/0.5663, allocations: 27.72 kB / 402.1 MB, free: 9.406 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.424e-06/0.5663, allocations: 0 / 402.1 MB, free: 9.406 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001277/0.5664, allocations: 318.8 kB / 402.4 MB, free: 9.086 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.609e-05/0.5665, allocations: 23.94 kB / 402.4 MB, free: 9.062 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.528e-05/0.5666, allocations: 33.72 kB / 402.4 MB, free: 9.023 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.36e-05/0.5667, allocations: 53.81 kB / 402.5 MB, free: 8.965 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.402e-06/0.5667, allocations: 0 / 402.5 MB, free: 8.965 MB / 330.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002409/0.567, allocations: 115.3 kB / 402.6 MB, free: 8.84 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.12e-05/0.567, allocations: 29.7 kB / 402.6 MB, free: 8.805 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.567, allocations: 0 / 402.6 MB, free: 8.805 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.26e-05/0.5671, allocations: 0 / 402.6 MB, free: 8.805 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001746/0.5672, allocations: 28.02 kB / 402.7 MB, free: 8.777 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.126e-05/0.5673, allocations: 7.953 kB / 402.7 MB, free: 8.77 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.154e-05/0.5674, allocations: 7.984 kB / 402.7 MB, free: 8.762 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.74e-05/0.5674, allocations: 4 kB / 402.7 MB, free: 8.758 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 (9): * Single equations (assignments): 8 * 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 8.749e-05/0.5675, allocations: 108.9 kB / 402.8 MB, free: 8.645 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.29e-05/0.5675, allocations: 7.906 kB / 402.8 MB, free: 8.637 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002905/0.5678, allocations: 102.3 kB / 402.9 MB, free: 8.531 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.871e-06/0.5679, allocations: 4 kB / 402.9 MB, free: 8.527 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.499e-06/0.5679, allocations: 7.938 kB / 402.9 MB, free: 8.52 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.231e-06/0.5679, allocations: 3.953 kB / 402.9 MB, free: 8.516 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005761/0.5685, allocations: 362.5 kB / 403.3 MB, free: 8.105 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.5685, allocations: 0 / 403.3 MB, free: 8.105 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001403/0.5686, allocations: 23.98 kB / 403.3 MB, free: 8.082 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.306e-06/0.5687, allocations: 0 / 403.3 MB, free: 8.082 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.025e-05/0.5687, allocations: 0 / 403.3 MB, free: 8.082 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.841e-06/0.5687, allocations: 7.953 kB / 403.3 MB, free: 8.074 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.572e-06/0.5687, allocations: 0 / 403.3 MB, free: 8.074 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000244/0.569, allocations: 183.4 kB / 403.5 MB, free: 7.879 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.577e-05/0.569, allocations: 85.02 kB / 403.5 MB, free: 7.777 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.369e-05/0.5691, allocations: 0 / 403.5 MB, free: 7.777 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00012/0.5692, allocations: 12.17 kB / 403.6 MB, free: 7.766 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.383e-05/0.5693, allocations: 11.95 kB / 403.6 MB, free: 7.754 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.119e-05/0.5693, allocations: 8 kB / 403.6 MB, free: 7.746 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001014/0.5694, allocations: 104.2 kB / 403.7 MB, free: 7.645 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.81e-07/0.5694, allocations: 0 / 403.7 MB, free: 7.645 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003717/0.5698, allocations: 35.98 kB / 403.7 MB, free: 7.609 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 (8): * Single equations (assignments): 8 * 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.001281/0.5711, allocations: 0.9237 MB / 404.6 MB, free: 6.715 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002363/0.5713, allocations: 99.41 kB / 404.7 MB, free: 6.605 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.746e-06/0.5713, allocations: 4 kB / 404.7 MB, free: 6.602 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 8.803e-05/0.5714, allocations: 31.92 kB / 404.8 MB, free: 6.57 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002394/0.5717, allocations: 11.95 kB / 404.8 MB, free: 6.559 MB / 330.7 MB Warning: Could not resolve URI (uri) at compile-time; copying all loaded packages into the FMU Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002485/0.5742, allocations: 0.7384 MB / 405.5 MB, free: 5.773 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003265/0.5745, allocations: 0.7004 MB / 406.2 MB, free: 5.047 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001018/0.5747, allocations: 27.42 kB / 406.3 MB, free: 5.02 MB / 330.7 MB Notification: Performance of SimCode: time 2.004e-06/0.5747, allocations: 0 / 406.3 MB, free: 5.02 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_CombiTable1Ds_Test18CalcHelperMain.o OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable1Ds_Test18CalcHelperMain.cpp In file included from OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable1Ds_Test18CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable1Ds_Test18FMU.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_CombiTable1Ds_Test18.so OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable1Ds_Test18CalcHelperMain.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" -lModelicaExternalC -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_CombiTable1Ds_Test18_FMU.makefile:93: recipe for target 'ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable1Ds_Test18.fmu' failed make: *** [ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable1Ds_Test18.fmu] Error 1