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.042/2.042, allocations: 209.3 MB / 221.9 MB, free: 1.941 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.535e-05/3.548e-05, allocations: 4 kB / 273.1 MB, free: 0.6562 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1072/0.1073, allocations: 48.7 MB / 321.8 MB, free: 15.86 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4202/0.5276, allocations: 74.43 MB / 396.3 MB, free: 15.52 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002914/0.528, allocations: 71.06 kB / 396.3 MB, free: 15.45 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01287/0.5409, allocations: 2.962 MB / 399.3 MB, free: 12.5 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.154e-06/0.5409, allocations: 0 / 399.3 MB, free: 12.5 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.713e-05/0.541, allocations: 4 kB / 399.3 MB, free: 12.49 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.0004993/0.5415, allocations: 412 kB / 399.7 MB, free: 12.04 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.003e-05/0.5415, allocations: 8.031 kB / 399.7 MB, free: 12.03 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.628e-05/0.5416, allocations: 30.56 kB / 399.7 MB, free: 11.99 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.451e-05/0.5416, allocations: 11.91 kB / 399.7 MB, free: 11.98 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002903/0.5419, allocations: 195.5 kB / 399.9 MB, free: 11.75 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.351e-05/0.542, allocations: 4 kB / 399.9 MB, free: 11.74 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.303e-05/0.542, allocations: 0 / 399.9 MB, free: 11.74 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001429/0.5422, allocations: 49.62 kB / 400 MB, free: 11.69 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.156e-05/0.5422, allocations: 4 kB / 400 MB, free: 11.68 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.091e-05/0.5422, allocations: 0 / 400 MB, free: 11.68 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.737e-06/0.5422, allocations: 4 kB / 400 MB, free: 11.68 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.665e-05/0.5423, allocations: 12 kB / 400 MB, free: 11.67 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004519/0.5428, allocations: 280.9 kB / 400.3 MB, free: 11.34 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000224/0.543, allocations: 42.5 kB / 400.3 MB, free: 11.29 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.024e-05/0.5431, allocations: 16.86 kB / 400.3 MB, free: 11.27 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.014e-05/0.5431, allocations: 0 / 400.3 MB, free: 11.27 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.503e-05/0.5431, allocations: 31.94 kB / 400.4 MB, free: 11.23 MB / 330.7 MB Notification: Performance of pre-optimization done (n=3): time 1.893e-06/0.5431, allocations: 0 / 400.4 MB, free: 11.23 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005414/0.5437, allocations: 113.3 kB / 400.5 MB, free: 11.12 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.013e-05/0.5438, allocations: 55.36 kB / 400.5 MB, free: 11.05 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002788/0.5441, allocations: 186.6 kB / 400.7 MB, free: 10.86 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.786e-05/0.5441, allocations: 25.7 kB / 400.7 MB, free: 10.83 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.266e-05/0.5442, allocations: 162.6 kB / 400.9 MB, free: 10.67 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.459e-05/0.5442, allocations: 15.75 kB / 400.9 MB, free: 10.66 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.56e-06/0.5442, allocations: 0 / 400.9 MB, free: 10.66 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001236/0.5444, allocations: 322.8 kB / 401.2 MB, free: 10.33 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.936e-05/0.5444, allocations: 8 kB / 401.2 MB, free: 10.32 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.331e-05/0.5445, allocations: 15.94 kB / 401.3 MB, free: 10.31 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.82e-05/0.5446, allocations: 37.7 kB / 401.3 MB, free: 10.27 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.5446, allocations: 7.938 kB / 401.3 MB, free: 10.26 MB / 330.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002008/0.5448, allocations: 99.23 kB / 401.4 MB, free: 10.15 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.171e-05/0.5448, allocations: 29.7 kB / 401.4 MB, free: 10.11 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.582e-06/0.5449, allocations: 4.141 kB / 401.4 MB, free: 10.11 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.499e-05/0.5449, allocations: 0 / 401.4 MB, free: 10.11 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001478/0.545, allocations: 19.97 kB / 401.4 MB, free: 10.09 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.194e-06/0.5451, allocations: 0 / 401.4 MB, free: 10.09 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.037e-05/0.5452, allocations: 12.19 kB / 401.5 MB, free: 10.08 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.381e-05/0.5452, allocations: 8 kB / 401.5 MB, free: 10.07 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.483e-05/0.5453, allocations: 101 kB / 401.6 MB, free: 9.965 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.734e-05/0.5453, allocations: 7.906 kB / 401.6 MB, free: 9.957 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000228/0.5456, allocations: 81.72 kB / 401.7 MB, free: 9.871 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.858e-06/0.5456, allocations: 0 / 401.7 MB, free: 9.871 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.265e-05/0.5456, allocations: 7.984 kB / 401.7 MB, free: 9.863 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.586e-06/0.5456, allocations: 0 / 401.7 MB, free: 9.863 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000496/0.5461, allocations: 342.5 kB / 402 MB, free: 9.473 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.996e-06/0.5462, allocations: 4 kB / 402 MB, free: 9.469 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001237/0.5463, allocations: 19.92 kB / 402 MB, free: 9.449 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.2e-06/0.5463, allocations: 0 / 402 MB, free: 9.449 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.778e-06/0.5463, allocations: 0 / 402 MB, free: 9.449 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.086e-06/0.5463, allocations: 0 / 402 MB, free: 9.449 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.018e-06/0.5464, allocations: 7.953 kB / 402 MB, free: 9.441 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001967/0.5466, allocations: 155.5 kB / 402.2 MB, free: 9.273 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.504e-05/0.5467, allocations: 97 kB / 402.3 MB, free: 9.16 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.326e-05/0.5467, allocations: 0 / 402.3 MB, free: 9.16 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000115/0.5468, allocations: 12 kB / 402.3 MB, free: 9.148 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.034e-05/0.5469, allocations: 3.984 kB / 402.3 MB, free: 9.145 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.27e-05/0.5469, allocations: 7.953 kB / 402.3 MB, free: 9.137 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001912/0.5471, allocations: 143.2 kB / 402.4 MB, free: 8.996 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.5471, allocations: 0 / 402.4 MB, free: 8.996 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003192/0.5474, allocations: 16 kB / 402.5 MB, free: 8.98 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.001079/0.5485, allocations: 0.839 MB / 403.3 MB, free: 8.16 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.000206/0.5488, allocations: 95.34 kB / 403.4 MB, free: 8.055 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.5488, allocations: 0 / 403.4 MB, free: 8.055 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 5.482e-05/0.5488, allocations: 16 kB / 403.4 MB, free: 8.039 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002596/0.5491, allocations: 8 kB / 403.4 MB, free: 8.031 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007339/0.5499, allocations: 228.4 kB / 403.6 MB, free: 7.766 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003124/0.5502, allocations: 0.7082 MB / 404.3 MB, free: 7.031 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.055e-05/0.5503, allocations: 27.42 kB / 404.4 MB, free: 7.004 MB / 330.7 MB Notification: Performance of SimCode: time 1.262e-06/0.5503, allocations: 4 kB / 404.4 MB, free: 7 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