Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test15,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable1Ds_Test15",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.04/2.04, allocations: 209.3 MB / 221.9 MB, free: 1.941 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.216e-05/4.227e-05, allocations: 4 kB / 273.1 MB, free: 0.6406 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1074/0.1075, allocations: 48.71 MB / 321.9 MB, free: 15.83 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4162/0.5237, allocations: 74.43 MB / 396.3 MB, free: 15.39 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002726/0.5241, allocations: 78.72 kB / 396.4 MB, free: 15.32 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01262/0.5367, allocations: 2.958 MB / 399.3 MB, free: 12.37 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.714e-06/0.5368, allocations: 0 / 399.3 MB, free: 12.37 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.62e-05/0.5368, allocations: 4 kB / 399.3 MB, free: 12.36 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.0005163/0.5373, allocations: 400 kB / 399.7 MB, free: 11.92 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.811e-05/0.5374, allocations: 8.031 kB / 399.7 MB, free: 11.91 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.814e-05/0.5374, allocations: 38.55 kB / 399.8 MB, free: 11.87 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.167e-05/0.5375, allocations: 7.906 kB / 399.8 MB, free: 11.86 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002924/0.5378, allocations: 199.4 kB / 400 MB, free: 11.62 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.375e-05/0.5378, allocations: 4 kB / 400 MB, free: 11.62 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.517e-05/0.5379, allocations: 8 kB / 400 MB, free: 11.61 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001303/0.538, allocations: 45.69 kB / 400 MB, free: 11.56 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.199e-05/0.538, allocations: 0 / 400 MB, free: 11.56 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.019e-05/0.538, allocations: 0 / 400 MB, free: 11.56 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/0.5381, allocations: 0 / 400 MB, free: 11.56 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.894e-05/0.5381, allocations: 16 kB / 400 MB, free: 11.54 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004474/0.5386, allocations: 280.9 kB / 400.3 MB, free: 11.22 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002069/0.5388, allocations: 42.5 kB / 400.3 MB, free: 11.17 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.627e-05/0.5389, allocations: 16.86 kB / 400.4 MB, free: 11.15 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.252e-05/0.5389, allocations: 3.938 kB / 400.4 MB, free: 11.14 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.706e-05/0.5389, allocations: 30.56 kB / 400.4 MB, free: 11.11 MB / 330.7 MB Notification: Performance of pre-optimization done (n=3): time 1.664e-06/0.539, allocations: 0 / 400.4 MB, free: 11.11 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005234/0.5395, allocations: 122.7 kB / 400.5 MB, free: 10.98 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.091e-05/0.5396, allocations: 55.36 kB / 400.6 MB, free: 10.91 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002806/0.5398, allocations: 182.6 kB / 400.8 MB, free: 10.73 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.213e-05/0.5399, allocations: 25.7 kB / 400.8 MB, free: 10.7 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.972e-05/0.54, allocations: 162.5 kB / 400.9 MB, free: 10.54 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.842e-05/0.54, allocations: 23.69 kB / 401 MB, free: 10.52 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.219e-06/0.54, allocations: 0 / 401 MB, free: 10.52 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001434/0.5402, allocations: 310.8 kB / 401.3 MB, free: 10.2 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.677e-05/0.5403, allocations: 12 kB / 401.3 MB, free: 10.19 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.292e-05/0.5403, allocations: 16 kB / 401.3 MB, free: 10.18 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.773e-05/0.5404, allocations: 41.69 kB / 401.3 MB, free: 10.13 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/0.5404, allocations: 0 / 401.3 MB, free: 10.13 MB / 330.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001893/0.5406, allocations: 95.3 kB / 401.4 MB, free: 10.02 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.857e-05/0.5407, allocations: 29.7 kB / 401.5 MB, free: 9.988 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.623e-06/0.5407, allocations: 3.938 kB / 401.5 MB, free: 9.984 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.372e-05/0.5407, allocations: 0 / 401.5 MB, free: 9.984 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001268/0.5408, allocations: 12 kB / 401.5 MB, free: 9.973 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.063e-05/0.5409, allocations: 3.984 kB / 401.5 MB, free: 9.969 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.108e-05/0.541, allocations: 15.95 kB / 401.5 MB, free: 9.953 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.283e-05/0.541, allocations: 4 kB / 401.5 MB, free: 9.949 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.363e-05/0.5411, allocations: 105 kB / 401.6 MB, free: 9.84 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.462e-05/0.5411, allocations: 7.906 kB / 401.6 MB, free: 9.832 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002139/0.5414, allocations: 73.77 kB / 401.7 MB, free: 9.754 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.837e-06/0.5414, allocations: 0 / 401.7 MB, free: 9.754 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.1e-06/0.5414, allocations: 0 / 401.7 MB, free: 9.754 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.902e-06/0.5414, allocations: 4.312 kB / 401.7 MB, free: 9.75 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005519/0.542, allocations: 354.5 kB / 402 MB, free: 9.348 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.542, allocations: 0 / 402 MB, free: 9.348 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001053/0.5421, allocations: 12 kB / 402 MB, free: 9.336 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.948e-06/0.5421, allocations: 0 / 402 MB, free: 9.336 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.319e-05/0.5421, allocations: 11.98 kB / 402 MB, free: 9.324 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.495e-06/0.5422, allocations: 0 / 402 MB, free: 9.324 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.177e-06/0.5422, allocations: 3.953 kB / 402.1 MB, free: 9.32 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002045/0.5424, allocations: 163.4 kB / 402.2 MB, free: 9.145 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.998e-05/0.5425, allocations: 89.02 kB / 402.3 MB, free: 9.039 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.758e-05/0.5425, allocations: 4 kB / 402.3 MB, free: 9.035 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001112/0.5426, allocations: 7.984 kB / 402.3 MB, free: 9.027 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.781e-05/0.5427, allocations: 4 kB / 402.3 MB, free: 9.023 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.397e-06/0.5427, allocations: 3.953 kB / 402.3 MB, free: 9.02 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001922/0.5429, allocations: 147.2 kB / 402.5 MB, free: 8.875 MB / 330.7 MB Notification: Performance of sort global known variables: time 2.385e-06/0.5429, allocations: 4 kB / 402.5 MB, free: 8.871 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003479/0.5433, allocations: 23.94 kB / 402.5 MB, free: 8.848 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.00108/0.5444, allocations: 0.8278 MB / 403.3 MB, free: 8.039 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.000192/0.5446, allocations: 83.41 kB / 403.4 MB, free: 7.945 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.5446, allocations: 0 / 403.4 MB, free: 7.945 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 5.203e-05/0.5447, allocations: 16.12 kB / 403.4 MB, free: 7.93 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002643/0.5449, allocations: 11.98 kB / 403.4 MB, free: 7.918 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006944/0.5456, allocations: 232.5 kB / 403.7 MB, free: 7.648 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003769/0.546, allocations: 0.7082 MB / 404.4 MB, free: 6.914 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.765e-05/0.5461, allocations: 27.42 kB / 404.4 MB, free: 6.887 MB / 330.7 MB Notification: Performance of SimCode: time 1.022e-06/0.5462, allocations: 0 / 404.4 MB, free: 6.887 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_Test15CalcHelperMain.o OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable1Ds_Test15CalcHelperMain.cpp In file included from OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable1Ds_Test15CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable1Ds_Test15FMU.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_Test15.so OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable1Ds_Test15CalcHelperMain.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" -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_Test15_FMU.makefile:93: recipe for target 'ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable1Ds_Test15.fmu' failed make: *** [ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable1Ds_Test15.fmu] Error 1