Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test6,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable1Ds_Test6",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.92/1.92, allocations: 209.3 MB / 221.9 MB, free: 1.938 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.839e-05/3.854e-05, allocations: 4 kB / 273.1 MB, free: 0.6445 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1151/0.1152, allocations: 48.71 MB / 321.8 MB, free: 15.84 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4798/0.5951, allocations: 74.47 MB / 396.3 MB, free: 15.45 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002635/0.5954, allocations: 71.95 kB / 396.4 MB, free: 15.38 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01311/0.6085, allocations: 3.265 MB / 399.6 MB, free: 12.12 MB / 330.7 MB Notification: Performance of FrontEnd: time 3.867e-06/0.6086, allocations: 0 / 399.6 MB, free: 12.12 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.315e-05/0.6086, allocations: 3.938 kB / 399.6 MB, free: 12.12 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.0005089/0.6091, allocations: 415.9 kB / 400.1 MB, free: 11.66 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.899e-05/0.6092, allocations: 12.03 kB / 400.1 MB, free: 11.65 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.429e-05/0.6092, allocations: 30.56 kB / 400.1 MB, free: 11.61 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.851e-05/0.6093, allocations: 11.81 kB / 400.1 MB, free: 11.6 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002938/0.6096, allocations: 206.8 kB / 400.3 MB, free: 11.36 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.787e-05/0.6096, allocations: 15.92 kB / 400.3 MB, free: 11.34 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.329e-05/0.6096, allocations: 4 kB / 400.3 MB, free: 11.34 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001515/0.6098, allocations: 49.69 kB / 400.4 MB, free: 11.29 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.289e-05/0.6098, allocations: 0 / 400.4 MB, free: 11.29 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.606e-05/0.6099, allocations: 7.984 kB / 400.4 MB, free: 11.28 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.11e-06/0.6099, allocations: 0 / 400.4 MB, free: 11.28 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.471e-05/0.61, allocations: 24 kB / 400.4 MB, free: 11.25 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005026/0.6105, allocations: 304.8 kB / 400.7 MB, free: 10.91 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001247/0.6106, allocations: 47.89 kB / 400.8 MB, free: 10.85 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.84e-05/0.6107, allocations: 16.98 kB / 400.8 MB, free: 10.83 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.748e-05/0.6107, allocations: 0 / 400.8 MB, free: 10.83 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.89e-05/0.6108, allocations: 42.48 kB / 400.8 MB, free: 10.78 MB / 330.7 MB Notification: Performance of pre-optimization done (n=5): time 1.714e-06/0.6108, allocations: 0 / 400.8 MB, free: 10.78 MB / 330.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006197/0.6114, allocations: 161.1 kB / 401 MB, free: 10.62 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.865e-05/0.6115, allocations: 55.41 kB / 401 MB, free: 10.55 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003/0.6118, allocations: 194.4 kB / 401.2 MB, free: 10.35 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.901e-05/0.6118, allocations: 29.7 kB / 401.2 MB, free: 10.31 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.548e-05/0.6119, allocations: 162.8 kB / 401.4 MB, free: 10.15 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.623e-05/0.612, allocations: 27.55 kB / 401.4 MB, free: 10.12 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.13e-05/0.612, allocations: 4 kB / 401.4 MB, free: 10.12 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001129/0.6121, allocations: 310.8 kB / 401.7 MB, free: 9.805 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.413e-05/0.6122, allocations: 24 kB / 401.8 MB, free: 9.781 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.867e-05/0.6122, allocations: 19.94 kB / 401.8 MB, free: 9.762 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.771e-05/0.6123, allocations: 53.81 kB / 401.8 MB, free: 9.703 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.213e-06/0.6124, allocations: 0 / 401.8 MB, free: 9.703 MB / 330.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002279/0.6126, allocations: 115.3 kB / 401.9 MB, free: 9.578 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.734e-05/0.6126, allocations: 29.7 kB / 402 MB, free: 9.543 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.6127, allocations: 0 / 402 MB, free: 9.543 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.3e-05/0.6127, allocations: 0 / 402 MB, free: 9.543 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000167/0.6129, allocations: 19.98 kB / 402 MB, free: 9.523 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.197e-06/0.6129, allocations: 7.953 kB / 402 MB, free: 9.516 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.585e-05/0.613, allocations: 15.98 kB / 402 MB, free: 9.5 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.246e-05/0.613, allocations: 0 / 402 MB, free: 9.5 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 7.442e-05/0.6131, allocations: 105 kB / 402.1 MB, free: 9.391 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.853e-05/0.6132, allocations: 11.81 kB / 402.1 MB, free: 9.379 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002972/0.6135, allocations: 111.2 kB / 402.2 MB, free: 9.258 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.627e-06/0.6135, allocations: 0 / 402.2 MB, free: 9.258 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.772e-06/0.6135, allocations: 8 kB / 402.2 MB, free: 9.25 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.584e-06/0.6135, allocations: 7.938 kB / 402.3 MB, free: 9.242 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005925/0.6141, allocations: 390.5 kB / 402.6 MB, free: 8.805 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.578e-06/0.6141, allocations: 3.984 kB / 402.6 MB, free: 8.801 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001643/0.6143, allocations: 19.98 kB / 402.7 MB, free: 8.781 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.426e-06/0.6143, allocations: 3.938 kB / 402.7 MB, free: 8.777 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.106e-05/0.6143, allocations: 0 / 402.7 MB, free: 8.777 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.679e-06/0.6144, allocations: 3.953 kB / 402.7 MB, free: 8.773 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/0.6144, allocations: 4 kB / 402.7 MB, free: 8.77 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002395/0.6146, allocations: 179.4 kB / 402.8 MB, free: 8.578 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.893e-05/0.6147, allocations: 93 kB / 402.9 MB, free: 8.469 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.05e-05/0.6148, allocations: 8 kB / 402.9 MB, free: 8.461 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001143/0.6149, allocations: 4 kB / 402.9 MB, free: 8.457 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.749e-05/0.6149, allocations: 19.86 kB / 403 MB, free: 8.438 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.418e-06/0.615, allocations: 4 kB / 403 MB, free: 8.434 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002144/0.6152, allocations: 164.9 kB / 403.1 MB, free: 8.273 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.6152, allocations: 0 / 403.1 MB, free: 8.273 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003202/0.6155, allocations: 27.98 kB / 403.2 MB, free: 8.246 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.001078/0.6166, allocations: 0.8471 MB / 404 MB, free: 7.426 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002287/0.6169, allocations: 107.3 kB / 404.1 MB, free: 7.309 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.6169, allocations: 0 / 404.1 MB, free: 7.309 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 7.868e-05/0.617, allocations: 31.94 kB / 404.1 MB, free: 7.277 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002512/0.6172, allocations: 19.84 kB / 404.2 MB, free: 7.258 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007608/0.618, allocations: 268.7 kB / 404.4 MB, free: 6.953 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003428/0.6184, allocations: 0.7121 MB / 405.1 MB, free: 6.215 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001076/0.6185, allocations: 39.41 kB / 405.2 MB, free: 6.176 MB / 330.7 MB Notification: Performance of SimCode: time 8.01e-07/0.6185, allocations: 0 / 405.2 MB, free: 6.176 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_Test6CalcHelperMain.o OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable1Ds_Test6CalcHelperMain.cpp In file included from OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable1Ds_Test6CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable1Ds_Test6FMU.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_Test6.so OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable1Ds_Test6CalcHelperMain.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_Test6_FMU.makefile:93: recipe for target 'ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable1Ds_Test6.fmu' failed make: *** [ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable1Ds_Test6.fmu] Error 1