Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test16,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable1Ds_Test16",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.937/1.937, allocations: 209.3 MB / 221.9 MB, free: 1.934 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.006e-05/4.016e-05, allocations: 4 kB / 273.1 MB, free: 0.6406 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1008/0.1009, allocations: 48.71 MB / 321.8 MB, free: 15.84 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4003/0.5013, allocations: 74.43 MB / 396.3 MB, free: 15.5 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002823/0.5017, allocations: 75.94 kB / 396.3 MB, free: 15.43 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01304/0.5147, allocations: 2.95 MB / 399.3 MB, free: 12.48 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.663e-06/0.5148, allocations: 0 / 399.3 MB, free: 12.48 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.459e-05/0.5148, allocations: 7.938 kB / 399.3 MB, free: 12.48 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.0005573/0.5154, allocations: 407.9 kB / 399.7 MB, free: 12.03 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.072e-05/0.5155, allocations: 8.031 kB / 399.7 MB, free: 12.02 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.361e-05/0.5155, allocations: 34.56 kB / 399.7 MB, free: 11.98 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.824e-05/0.5156, allocations: 7.906 kB / 399.7 MB, free: 11.97 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003019/0.5159, allocations: 199.5 kB / 399.9 MB, free: 11.73 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.07e-05/0.5159, allocations: 4 kB / 399.9 MB, free: 11.73 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.496e-05/0.5159, allocations: 4 kB / 399.9 MB, free: 11.72 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001405/0.5161, allocations: 45.62 kB / 400 MB, free: 11.67 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.435e-05/0.5161, allocations: 4 kB / 400 MB, free: 11.67 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.057e-05/0.5161, allocations: 0 / 400 MB, free: 11.67 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.628e-06/0.5162, allocations: 0 / 400 MB, free: 11.67 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.834e-05/0.5163, allocations: 19.94 kB / 400 MB, free: 11.65 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005136/0.5168, allocations: 284.9 kB / 400.3 MB, free: 11.32 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002311/0.517, allocations: 42.5 kB / 400.3 MB, free: 11.27 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.045e-05/0.5171, allocations: 12.86 kB / 400.3 MB, free: 11.25 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.268e-05/0.5171, allocations: 0 / 400.3 MB, free: 11.25 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.545e-05/0.5172, allocations: 31.94 kB / 400.4 MB, free: 11.21 MB / 330.7 MB Notification: Performance of pre-optimization done (n=3): time 4.168e-06/0.5172, allocations: 3.984 kB / 400.4 MB, free: 11.21 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005508/0.5177, allocations: 117.3 kB / 400.5 MB, free: 11.09 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.308e-05/0.5178, allocations: 55.36 kB / 400.5 MB, free: 11.02 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002792/0.5181, allocations: 182.6 kB / 400.7 MB, free: 10.84 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.934e-05/0.5181, allocations: 25.7 kB / 400.7 MB, free: 10.81 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.477e-05/0.5182, allocations: 158.6 kB / 400.9 MB, free: 10.65 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.573e-05/0.5183, allocations: 27.72 kB / 400.9 MB, free: 10.62 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.881e-06/0.5183, allocations: 0 / 400.9 MB, free: 10.62 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001184/0.5184, allocations: 314.8 kB / 401.2 MB, free: 10.31 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.958e-05/0.5185, allocations: 12 kB / 401.2 MB, free: 10.3 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.162e-05/0.5185, allocations: 15.94 kB / 401.3 MB, free: 10.28 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.543e-05/0.5186, allocations: 41.7 kB / 401.3 MB, free: 10.23 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.5186, allocations: 0 / 401.3 MB, free: 10.23 MB / 330.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002052/0.5188, allocations: 95.23 kB / 401.4 MB, free: 10.13 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.357e-05/0.5189, allocations: 29.7 kB / 401.4 MB, free: 10.09 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.067e-06/0.5189, allocations: 3.984 kB / 401.4 MB, free: 10.09 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.789e-05/0.5189, allocations: 4 kB / 401.4 MB, free: 10.09 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001507/0.5191, allocations: 16 kB / 401.4 MB, free: 10.07 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.275e-06/0.5191, allocations: 4 kB / 401.5 MB, free: 10.07 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.065e-05/0.5192, allocations: 11.94 kB / 401.5 MB, free: 10.05 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.156e-05/0.5193, allocations: 0 / 401.5 MB, free: 10.05 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 7.942e-05/0.5193, allocations: 105 kB / 401.6 MB, free: 9.945 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.656e-05/0.5194, allocations: 7.906 kB / 401.6 MB, free: 9.938 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002478/0.5197, allocations: 81.7 kB / 401.7 MB, free: 9.852 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.428e-06/0.5197, allocations: 4.312 kB / 401.7 MB, free: 9.848 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/0.5197, allocations: 0 / 401.7 MB, free: 9.848 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.5197, allocations: 0 / 401.7 MB, free: 9.848 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005273/0.5203, allocations: 346.5 kB / 402 MB, free: 9.453 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.1e-06/0.5203, allocations: 3.984 kB / 402 MB, free: 9.449 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000127/0.5204, allocations: 12 kB / 402 MB, free: 9.438 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.55e-06/0.5204, allocations: 0 / 402 MB, free: 9.438 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.385e-05/0.5205, allocations: 0 / 402 MB, free: 9.438 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.497e-06/0.5205, allocations: 7.938 kB / 402 MB, free: 9.43 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.911e-06/0.5205, allocations: 3.953 kB / 402 MB, free: 9.426 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002384/0.5207, allocations: 159.5 kB / 402.2 MB, free: 9.254 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.436e-05/0.5208, allocations: 93 kB / 402.3 MB, free: 9.145 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.492e-05/0.5209, allocations: 3.938 kB / 402.3 MB, free: 9.141 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001114/0.521, allocations: 4 kB / 402.3 MB, free: 9.137 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.093e-05/0.5211, allocations: 11.98 kB / 402.3 MB, free: 9.125 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.759e-06/0.5211, allocations: 7.953 kB / 402.3 MB, free: 9.117 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001987/0.5213, allocations: 143.2 kB / 402.4 MB, free: 8.977 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.4e-07/0.5213, allocations: 0 / 402.4 MB, free: 8.977 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003218/0.5216, allocations: 20 kB / 402.5 MB, free: 8.957 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.00122/0.5229, allocations: 0.8361 MB / 403.3 MB, free: 8.145 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002241/0.5231, allocations: 91.41 kB / 403.4 MB, free: 8.043 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.5231, allocations: 0 / 403.4 MB, free: 8.043 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 5.478e-05/0.5232, allocations: 15.94 kB / 403.4 MB, free: 8.027 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002656/0.5235, allocations: 4 kB / 403.4 MB, free: 8.023 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007382/0.5242, allocations: 240.4 kB / 403.6 MB, free: 7.746 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000427/0.5247, allocations: 0.7082 MB / 404.3 MB, free: 7.012 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001026/0.5248, allocations: 27.42 kB / 404.4 MB, free: 6.984 MB / 330.7 MB Notification: Performance of SimCode: time 9.92e-07/0.5248, allocations: 0 / 404.4 MB, free: 6.984 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_Test16CalcHelperMain.o OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable1Ds_Test16CalcHelperMain.cpp In file included from OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable1Ds_Test16CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable1Ds_Test16FMU.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_Test16.so OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable1Ds_Test16CalcHelperMain.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_Test16_FMU.makefile:93: recipe for target 'ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable1Ds_Test16.fmu' failed make: *** [ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable1Ds_Test16.fmu] Error 1