Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1D.Test16,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable1D_Test16",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.844/1.844, allocations: 209.3 MB / 221.9 MB, free: 1.934 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.073e-05/3.086e-05, allocations: 0 / 273.1 MB, free: 0.6367 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1214/0.1214, allocations: 48.7 MB / 321.8 MB, free: 15.84 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4218/0.5433, allocations: 74.43 MB / 396.3 MB, free: 15.5 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002284/0.5436, allocations: 75.05 kB / 396.3 MB, free: 15.43 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01462/0.5582, allocations: 2.976 MB / 399.3 MB, free: 12.46 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.224e-06/0.5583, allocations: 0 / 399.3 MB, free: 12.46 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.666e-05/0.5583, allocations: 0 / 399.3 MB, free: 12.46 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.0007396/0.5591, allocations: 415.9 kB / 399.7 MB, free: 12.01 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.325e-05/0.5591, allocations: 12.03 kB / 399.7 MB, free: 12 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.809e-05/0.5592, allocations: 34.56 kB / 399.8 MB, free: 11.95 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.882e-05/0.5593, allocations: 7.906 kB / 399.8 MB, free: 11.95 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004102/0.5597, allocations: 195.5 kB / 400 MB, free: 11.71 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.436e-05/0.5598, allocations: 0 / 400 MB, free: 11.71 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.35e-05/0.5598, allocations: 4 kB / 400 MB, free: 11.71 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001622/0.56, allocations: 49.62 kB / 400 MB, free: 11.65 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.291e-05/0.56, allocations: 0 / 400 MB, free: 11.65 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.272e-05/0.56, allocations: 4 kB / 400 MB, free: 11.65 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.24e-06/0.5601, allocations: 0 / 400 MB, free: 11.65 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.8e-05/0.5601, allocations: 16 kB / 400 MB, free: 11.63 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005077/0.5607, allocations: 292.8 kB / 400.3 MB, free: 11.3 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002374/0.5609, allocations: 50.52 kB / 400.4 MB, free: 11.24 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.257e-05/0.561, allocations: 16.88 kB / 400.4 MB, free: 11.22 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.384e-05/0.561, allocations: 0 / 400.4 MB, free: 11.22 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.571e-05/0.561, allocations: 31.94 kB / 400.4 MB, free: 11.18 MB / 330.7 MB Notification: Performance of pre-optimization done (n=3): time 1.593e-06/0.5611, allocations: 0 / 400.4 MB, free: 11.18 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.0006249/0.5617, allocations: 125.2 kB / 400.5 MB, free: 11.05 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.63e-05/0.5618, allocations: 59.36 kB / 400.6 MB, free: 10.98 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002685/0.562, allocations: 182.6 kB / 400.8 MB, free: 10.8 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.919e-05/0.5621, allocations: 25.7 kB / 400.8 MB, free: 10.77 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.644e-05/0.5622, allocations: 166.5 kB / 401 MB, free: 10.6 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.261e-05/0.5622, allocations: 15.75 kB / 401 MB, free: 10.59 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.972e-06/0.5622, allocations: 0 / 401 MB, free: 10.59 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001301/0.5624, allocations: 314.8 kB / 401.3 MB, free: 10.27 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.566e-05/0.5624, allocations: 12 kB / 401.3 MB, free: 10.26 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.819e-05/0.5625, allocations: 19.92 kB / 401.3 MB, free: 10.24 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.501e-05/0.5626, allocations: 49.89 kB / 401.4 MB, free: 10.18 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.303e-06/0.5626, allocations: 0 / 401.4 MB, free: 10.18 MB / 330.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002027/0.5628, allocations: 107.2 kB / 401.5 MB, free: 10.07 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.918e-05/0.5629, allocations: 29.7 kB / 401.5 MB, free: 10.03 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.989e-06/0.5629, allocations: 0 / 401.5 MB, free: 10.03 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.576e-05/0.5629, allocations: 4 kB / 401.5 MB, free: 10.03 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001304/0.563, allocations: 11.98 kB / 401.5 MB, free: 10.02 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.474e-06/0.5631, allocations: 4 kB / 401.5 MB, free: 10.01 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.99e-05/0.5632, allocations: 11.95 kB / 401.5 MB, free: 10 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.097e-05/0.5632, allocations: 0 / 401.5 MB, free: 10 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.268e-05/0.5633, allocations: 109 kB / 401.6 MB, free: 9.887 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.437e-05/0.5633, allocations: 7.906 kB / 401.6 MB, free: 9.879 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002402/0.5636, allocations: 85.7 kB / 401.7 MB, free: 9.789 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.218e-06/0.5636, allocations: 0 / 401.7 MB, free: 9.789 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.658e-06/0.5636, allocations: 0 / 401.7 MB, free: 9.789 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.813e-06/0.5636, allocations: 3.984 kB / 401.7 MB, free: 9.785 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005445/0.5642, allocations: 354.5 kB / 402.1 MB, free: 9.383 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.335e-06/0.5642, allocations: 0 / 402.1 MB, free: 9.383 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001103/0.5643, allocations: 12 kB / 402.1 MB, free: 9.371 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.867e-06/0.5643, allocations: 0 / 402.1 MB, free: 9.371 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.336e-05/0.5644, allocations: 3.984 kB / 402.1 MB, free: 9.367 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.084e-06/0.5644, allocations: 3.984 kB / 402.1 MB, free: 9.363 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.088e-06/0.5644, allocations: 7.891 kB / 402.1 MB, free: 9.355 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002196/0.5646, allocations: 171.6 kB / 402.3 MB, free: 9.172 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002153/0.5648, allocations: 89.08 kB / 402.4 MB, free: 9.066 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.407e-05/0.565, allocations: 4 kB / 402.4 MB, free: 9.062 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002898/0.5653, allocations: 7.984 kB / 402.4 MB, free: 9.055 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.522e-05/0.5654, allocations: 4 kB / 402.4 MB, free: 9.051 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.724e-05/0.5654, allocations: 11.89 kB / 402.4 MB, free: 9.039 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002874/0.5657, allocations: 139.2 kB / 402.5 MB, free: 8.902 MB / 330.7 MB Notification: Performance of sort global known variables: time 6.11e-07/0.5657, allocations: 0 / 402.5 MB, free: 8.902 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0005677/0.5663, allocations: 27.98 kB / 402.5 MB, free: 8.875 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.001434/0.5678, allocations: 0.8329 MB / 403.4 MB, free: 8.059 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002633/0.5681, allocations: 87.41 kB / 403.5 MB, free: 7.961 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.5681, allocations: 0 / 403.5 MB, free: 7.961 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 8.715e-05/0.5682, allocations: 27.92 kB / 403.5 MB, free: 7.934 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003349/0.5685, allocations: 7 kB / 403.5 MB, free: 7.93 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009735/0.5695, allocations: 244.4 kB / 403.7 MB, free: 7.648 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004385/0.57, allocations: 0.7081 MB / 404.4 MB, free: 6.914 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001128/0.5701, allocations: 31.42 kB / 404.5 MB, free: 6.883 MB / 330.7 MB Notification: Performance of SimCode: time 1.143e-06/0.5701, allocations: 0 / 404.5 MB, free: 6.883 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_Test16CalcHelperMain.o OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable1D_Test16CalcHelperMain.cpp In file included from OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable1D_Test16CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable1D_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_CombiTable1D_Test16.so OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable1D_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_CombiTable1D_Test16_FMU.makefile:93: recipe for target 'ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable1D_Test16.fmu' failed make: *** [ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable1D_Test16.fmu] Error 1