Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1D.Test24,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable1D_Test24",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.916/1.916, allocations: 209.3 MB / 221.9 MB, free: 1.934 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.357e-05/3.375e-05, allocations: 3.984 kB / 273.1 MB, free: 0.6445 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1021/0.1021, allocations: 48.7 MB / 321.8 MB, free: 15.84 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4091/0.5112, allocations: 74.66 MB / 396.5 MB, free: 15.29 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002794/0.5116, allocations: 71.28 kB / 396.6 MB, free: 15.22 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01519/0.5268, allocations: 3.528 MB / 400.1 MB, free: 11.71 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.684e-06/0.5269, allocations: 0 / 400.1 MB, free: 11.71 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.092e-05/0.5269, allocations: 0 / 400.1 MB, free: 11.71 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004837/0.5274, allocations: 392.1 kB / 400.5 MB, free: 11.27 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.698e-05/0.5274, allocations: 8.031 kB / 400.5 MB, free: 11.27 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.292e-05/0.5275, allocations: 46.48 kB / 400.5 MB, free: 11.21 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.511e-05/0.5275, allocations: 3.906 kB / 400.5 MB, free: 11.21 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002651/0.5278, allocations: 182.9 kB / 400.7 MB, free: 10.99 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.472e-05/0.5278, allocations: 4 kB / 400.7 MB, free: 10.98 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.247e-05/0.5279, allocations: 0 / 400.7 MB, free: 10.98 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000162/0.528, allocations: 61.03 kB / 400.8 MB, free: 10.91 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.276e-05/0.5281, allocations: 0 / 400.8 MB, free: 10.91 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.12e-05/0.5281, allocations: 0 / 400.8 MB, free: 10.91 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.53e-06/0.5281, allocations: 0 / 400.8 MB, free: 10.91 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.335e-05/0.5282, allocations: 27.92 kB / 400.8 MB, free: 10.89 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004738/0.5287, allocations: 276.9 kB / 401.1 MB, free: 10.57 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002237/0.5289, allocations: 42.56 kB / 401.1 MB, free: 10.52 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.025e-05/0.529, allocations: 12.8 kB / 401.1 MB, free: 10.5 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.172e-05/0.529, allocations: 4 kB / 401.1 MB, free: 10.5 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.649e-05/0.5291, allocations: 42.5 kB / 401.2 MB, free: 10.45 MB / 330.7 MB Notification: Performance of pre-optimization done (n=3): time 1.733e-06/0.5291, allocations: 0 / 401.2 MB, free: 10.45 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005651/0.5296, allocations: 109.6 kB / 401.3 MB, free: 10.33 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.783e-05/0.5297, allocations: 85 kB / 401.4 MB, free: 10.23 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001362/0.5299, allocations: 113 kB / 401.5 MB, free: 10.11 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.995e-05/0.5299, allocations: 25.7 kB / 401.5 MB, free: 10.08 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.116e-05/0.53, allocations: 166.5 kB / 401.7 MB, free: 9.918 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.198e-05/0.53, allocations: 19.64 kB / 401.7 MB, free: 9.898 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.385e-06/0.53, allocations: 0 / 401.7 MB, free: 9.898 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001285/0.5302, allocations: 322.8 kB / 402 MB, free: 9.574 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.329e-05/0.5302, allocations: 12 kB / 402 MB, free: 9.562 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.507e-05/0.5303, allocations: 29.7 kB / 402 MB, free: 9.527 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.855e-05/0.5304, allocations: 41.89 kB / 402.1 MB, free: 9.48 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.332e-06/0.5304, allocations: 0 / 402.1 MB, free: 9.48 MB / 330.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002121/0.5307, allocations: 111.4 kB / 402.2 MB, free: 9.359 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.778e-05/0.5307, allocations: 29.7 kB / 402.2 MB, free: 9.324 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.5307, allocations: 0 / 402.2 MB, free: 9.324 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.758e-05/0.5308, allocations: 4 kB / 402.2 MB, free: 9.32 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001208/0.5309, allocations: 15.94 kB / 402.2 MB, free: 9.305 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.328e-06/0.5309, allocations: 3.984 kB / 402.2 MB, free: 9.301 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.673e-05/0.531, allocations: 7.953 kB / 402.2 MB, free: 9.293 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.57e-05/0.531, allocations: 4 kB / 402.2 MB, free: 9.289 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 (6): * Single equations (assignments): 5 * 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.307e-05/0.5311, allocations: 109 kB / 402.4 MB, free: 9.176 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.876e-05/0.5312, allocations: 4 kB / 402.4 MB, free: 9.172 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000228/0.5314, allocations: 81.67 kB / 402.4 MB, free: 9.09 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.777e-06/0.5314, allocations: 0 / 402.4 MB, free: 9.09 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.5314, allocations: 0 / 402.4 MB, free: 9.09 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.498e-06/0.5315, allocations: 0 / 402.4 MB, free: 9.09 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000473/0.5319, allocations: 338.5 kB / 402.8 MB, free: 8.703 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.345e-06/0.532, allocations: 4 kB / 402.8 MB, free: 8.699 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001088/0.5321, allocations: 12 kB / 402.8 MB, free: 8.688 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.035e-06/0.5321, allocations: 0 / 402.8 MB, free: 8.688 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.668e-06/0.5321, allocations: 0 / 402.8 MB, free: 8.688 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.5321, allocations: 0 / 402.8 MB, free: 8.688 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.759e-06/0.5321, allocations: 3.953 kB / 402.8 MB, free: 8.684 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002163/0.5324, allocations: 171.7 kB / 403 MB, free: 8.5 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.104e-05/0.5324, allocations: 81.02 kB / 403 MB, free: 8.402 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.657e-05/0.5325, allocations: 8 kB / 403 MB, free: 8.395 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001108/0.5326, allocations: 11.98 kB / 403.1 MB, free: 8.383 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.196e-05/0.5327, allocations: 4 kB / 403.1 MB, free: 8.379 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.137e-05/0.5327, allocations: 11.89 kB / 403.1 MB, free: 8.367 MB / 330.7 MB Notification: Performance of sorting global known variables: time 9.4e-05/0.5328, allocations: 96.25 kB / 403.2 MB, free: 8.273 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.5328, allocations: 3.938 kB / 403.2 MB, free: 8.27 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003442/0.5331, allocations: 28 kB / 403.2 MB, free: 8.242 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 (5): * Single equations (assignments): 5 * 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.001312/0.5345, allocations: 0.9126 MB / 404.1 MB, free: 7.352 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002157/0.5347, allocations: 91.41 kB / 404.2 MB, free: 7.25 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.5347, allocations: 0 / 404.2 MB, free: 7.25 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 7.144e-05/0.5348, allocations: 23.92 kB / 404.2 MB, free: 7.227 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002343/0.5351, allocations: 12 kB / 404.2 MB, free: 7.215 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.002321/0.5374, allocations: 0.7107 MB / 404.9 MB, free: 6.457 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003462/0.5378, allocations: 0.6926 MB / 405.6 MB, free: 5.738 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.32e-05/0.5379, allocations: 27.42 kB / 405.7 MB, free: 5.711 MB / 330.7 MB Notification: Performance of SimCode: time 3.346e-06/0.5379, allocations: 0 / 405.7 MB, free: 5.711 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_Test24CalcHelperMain.o OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable1D_Test24CalcHelperMain.cpp In file included from OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable1D_Test24CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable1D_Test24FMU.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_Test24.so OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable1D_Test24CalcHelperMain.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_Test24_FMU.makefile:93: recipe for target 'ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable1D_Test24.fmu' failed make: *** [ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable1D_Test24.fmu] Error 1