Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1D.Test18,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable1D_Test18",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.9/1.9, allocations: 209.3 MB / 221.9 MB, free: 1.941 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.522e-05/4.538e-05, allocations: 4 kB / 273.1 MB, free: 0.6367 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1128/0.1129, allocations: 48.7 MB / 321.8 MB, free: 15.84 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4001/0.5131, allocations: 74.77 MB / 396.6 MB, free: 15.07 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002659/0.5134, allocations: 71.94 kB / 396.7 MB, free: 15 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0183/0.5317, allocations: 3.816 MB / 400.5 MB, free: 11.2 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.104e-06/0.5318, allocations: 0 / 400.5 MB, free: 11.2 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.962e-05/0.5318, allocations: 7.938 kB / 400.5 MB, free: 11.19 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0006508/0.5325, allocations: 396.1 kB / 400.9 MB, free: 10.75 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.248e-05/0.5326, allocations: 12.03 kB / 400.9 MB, free: 10.74 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.797e-05/0.5326, allocations: 34.56 kB / 400.9 MB, free: 10.7 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.547e-05/0.5327, allocations: 4 kB / 400.9 MB, free: 10.69 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003361/0.5331, allocations: 194.8 kB / 401.1 MB, free: 10.46 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.272e-05/0.5331, allocations: 12 kB / 401.1 MB, free: 10.45 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.507e-05/0.5331, allocations: 7.984 kB / 401.1 MB, free: 10.44 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002527/0.5334, allocations: 84.12 kB / 401.2 MB, free: 10.34 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.495e-05/0.5334, allocations: 0 / 401.2 MB, free: 10.34 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.955e-05/0.5335, allocations: 4 kB / 401.2 MB, free: 10.34 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.663e-06/0.5335, allocations: 0 / 401.2 MB, free: 10.34 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001458/0.5337, allocations: 27.98 kB / 401.3 MB, free: 10.31 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007736/0.5344, allocations: 396.9 kB / 401.6 MB, free: 9.871 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004183/0.5349, allocations: 73.14 kB / 401.7 MB, free: 9.781 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001/0.535, allocations: 45.77 kB / 401.8 MB, free: 9.73 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.343e-05/0.5351, allocations: 3.984 kB / 401.8 MB, free: 9.727 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.124e-05/0.5351, allocations: 30.56 kB / 401.8 MB, free: 9.688 MB / 330.7 MB Notification: Performance of pre-optimization done (n=6): time 2.645e-06/0.5351, allocations: 0 / 401.8 MB, free: 9.688 MB / 330.7 MB Notification: Performance of matching and sorting (n=10): time 0.0009685/0.5361, allocations: 181.2 kB / 402 MB, free: 9.504 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.475e-05/0.5362, allocations: 110.8 kB / 402.1 MB, free: 9.371 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001785/0.5364, allocations: 125.4 kB / 402.2 MB, free: 9.242 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.18e-05/0.5365, allocations: 29.7 kB / 402.2 MB, free: 9.207 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.961e-05/0.5366, allocations: 154.6 kB / 402.4 MB, free: 9.055 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.071e-05/0.5366, allocations: 31.55 kB / 402.4 MB, free: 9.023 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.616e-05/0.5367, allocations: 4 kB / 402.4 MB, free: 9.02 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001612/0.5368, allocations: 318.8 kB / 402.7 MB, free: 8.699 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000113/0.537, allocations: 24 kB / 402.8 MB, free: 8.676 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001448/0.5371, allocations: 45.7 kB / 402.8 MB, free: 8.625 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001576/0.5373, allocations: 57.69 kB / 402.9 MB, free: 8.562 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.5373, allocations: 0 / 402.9 MB, free: 8.562 MB / 330.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0004129/0.5377, allocations: 135.2 kB / 403 MB, free: 8.418 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.999e-05/0.5378, allocations: 29.7 kB / 403 MB, free: 8.383 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.103e-06/0.5378, allocations: 3.938 kB / 403 MB, free: 8.379 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.07e-05/0.5379, allocations: 4 kB / 403 MB, free: 8.375 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002399/0.5381, allocations: 19.98 kB / 403 MB, free: 8.355 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.219e-05/0.5381, allocations: 3.953 kB / 403 MB, free: 8.352 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000125/0.5383, allocations: 20.02 kB / 403.1 MB, free: 8.332 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.415e-05/0.5383, allocations: 4 kB / 403.1 MB, free: 8.328 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 (11): * Single equations (assignments): 10 * 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 0.0001177/0.5385, allocations: 105 kB / 403.2 MB, free: 8.219 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001022/0.5386, allocations: 7.906 kB / 403.2 MB, free: 8.211 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005056/0.5391, allocations: 133.8 kB / 403.3 MB, free: 8.078 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.056e-05/0.5391, allocations: 4 kB / 403.3 MB, free: 8.074 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.548e-06/0.5392, allocations: 3.984 kB / 403.3 MB, free: 8.07 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.438e-06/0.5392, allocations: 11.89 kB / 403.3 MB, free: 8.059 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001184/0.5404, allocations: 490.7 kB / 403.8 MB, free: 7.52 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.169e-06/0.5404, allocations: 0 / 403.8 MB, free: 7.52 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002447/0.5407, allocations: 23.98 kB / 403.8 MB, free: 7.496 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.105e-06/0.5407, allocations: 0 / 403.8 MB, free: 7.496 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.586e-05/0.5407, allocations: 7.953 kB / 403.8 MB, free: 7.488 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.709e-06/0.5408, allocations: 11.97 kB / 403.9 MB, free: 7.477 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.5408, allocations: 48 / 403.9 MB, free: 7.477 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005004/0.5413, allocations: 303 kB / 404.1 MB, free: 7.148 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.663e-05/0.5414, allocations: 89 kB / 404.2 MB, free: 7.043 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.167e-05/0.5415, allocations: 8 kB / 404.2 MB, free: 7.035 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003126/0.5418, allocations: 8 kB / 404.2 MB, free: 7.027 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.692e-05/0.5419, allocations: 11.92 kB / 404.3 MB, free: 7.016 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.018e-05/0.5419, allocations: 4 kB / 404.3 MB, free: 7.012 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001441/0.5421, allocations: 99.27 kB / 404.4 MB, free: 6.914 MB / 330.7 MB Notification: Performance of sort global known variables: time 6.22e-07/0.5421, allocations: 0 / 404.4 MB, free: 6.914 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0008131/0.5429, allocations: 32 kB / 404.4 MB, free: 6.883 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 10 * 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.002128/0.5451, allocations: 1.187 MB / 405.6 MB, free: 5.711 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.000415/0.5455, allocations: 123.3 kB / 405.7 MB, free: 5.578 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/0.5455, allocations: 0 / 405.7 MB, free: 5.578 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001898/0.5457, allocations: 39.92 kB / 405.7 MB, free: 5.539 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004841/0.5462, allocations: 16.16 kB / 405.8 MB, free: 5.523 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.003425/0.5497, allocations: 0.7754 MB / 406.5 MB, free: 4.699 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004224/0.5501, allocations: 0.7005 MB / 407.2 MB, free: 3.973 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001376/0.5503, allocations: 27.42 kB / 407.3 MB, free: 3.945 MB / 330.7 MB Notification: Performance of SimCode: time 1.182e-06/0.5503, allocations: 0 / 407.3 MB, free: 3.945 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_CombiTable1D_Test18CalcHelperMain.o OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable1D_Test18CalcHelperMain.cpp In file included from OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable1D_Test18CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable1D_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_CombiTable1D_Test18.so OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable1D_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_CombiTable1D_Test18_FMU.makefile:93: recipe for target 'ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable1D_Test18.fmu' failed make: *** [ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable1D_Test18.fmu] Error 1