Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1D.Test6,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable1D_Test6",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.934/1.934, allocations: 209.3 MB / 221.9 MB, free: 1.934 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.737e-05/3.755e-05, allocations: 4 kB / 273.1 MB, free: 0.6367 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1149/0.115, allocations: 48.69 MB / 321.8 MB, free: 15.85 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.439/0.554, allocations: 74.55 MB / 396.4 MB, free: 15.3 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002596/0.5543, allocations: 63.97 kB / 396.4 MB, free: 15.23 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01351/0.5678, allocations: 3.309 MB / 399.8 MB, free: 11.93 MB / 330.7 MB Notification: Performance of FrontEnd: time 3.888e-06/0.5679, allocations: 3.938 kB / 399.8 MB, free: 11.93 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.524e-05/0.5679, allocations: 11.94 kB / 399.8 MB, free: 11.91 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005102/0.5685, allocations: 412 kB / 400.2 MB, free: 11.46 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.037e-05/0.5685, allocations: 8.031 kB / 400.2 MB, free: 11.45 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.831e-05/0.5686, allocations: 34.56 kB / 400.2 MB, free: 11.41 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5e-05/0.5686, allocations: 15.81 kB / 400.2 MB, free: 11.39 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003083/0.5689, allocations: 214.7 kB / 400.4 MB, free: 11.14 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.368e-05/0.569, allocations: 4 kB / 400.4 MB, free: 11.14 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.098e-05/0.569, allocations: 8 kB / 400.4 MB, free: 11.13 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000182/0.5692, allocations: 71.39 kB / 400.5 MB, free: 11.05 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.317e-05/0.5692, allocations: 0 / 400.5 MB, free: 11.05 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.641e-05/0.5693, allocations: 4 kB / 400.5 MB, free: 11.05 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.099e-05/0.5693, allocations: 4 kB / 400.5 MB, free: 11.04 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001048/0.5694, allocations: 27.92 kB / 400.6 MB, free: 11.02 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006456/0.5701, allocations: 410.4 kB / 401 MB, free: 10.56 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003427/0.5704, allocations: 85.16 kB / 401 MB, free: 10.46 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.179e-05/0.5705, allocations: 25.72 kB / 401.1 MB, free: 10.43 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.68e-05/0.5705, allocations: 0 / 401.1 MB, free: 10.43 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.636e-05/0.5706, allocations: 42.44 kB / 401.1 MB, free: 10.38 MB / 330.7 MB Notification: Performance of pre-optimization done (n=6): time 1.653e-06/0.5706, allocations: 4 kB / 401.1 MB, free: 10.38 MB / 330.7 MB Notification: Performance of matching and sorting (n=10): time 0.0007857/0.5714, allocations: 197 kB / 401.3 MB, free: 10.18 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.936e-05/0.5715, allocations: 77.11 kB / 401.4 MB, free: 10.08 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003061/0.5718, allocations: 198.5 kB / 401.6 MB, free: 9.875 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.326e-05/0.5718, allocations: 25.7 kB / 401.6 MB, free: 9.844 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.689e-05/0.5719, allocations: 174.5 kB / 401.8 MB, free: 9.672 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.192e-05/0.572, allocations: 31.55 kB / 401.8 MB, free: 9.641 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.276e-06/0.572, allocations: 0 / 401.8 MB, free: 9.641 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001228/0.5721, allocations: 314.8 kB / 402.1 MB, free: 9.324 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.578e-05/0.5722, allocations: 27.94 kB / 402.1 MB, free: 9.297 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.264e-05/0.5723, allocations: 27.98 kB / 402.2 MB, free: 9.27 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001093/0.5724, allocations: 54.23 kB / 402.2 MB, free: 9.211 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.5724, allocations: 0 / 402.2 MB, free: 9.211 MB / 330.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002858/0.5727, allocations: 139.4 kB / 402.3 MB, free: 9.062 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.386e-05/0.5728, allocations: 33.7 kB / 402.4 MB, free: 9.023 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.141e-06/0.5728, allocations: 0 / 402.4 MB, free: 9.023 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.798e-05/0.5728, allocations: 4 kB / 402.4 MB, free: 9.02 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001793/0.573, allocations: 23.92 kB / 402.4 MB, free: 8.996 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.029e-05/0.5731, allocations: 3.953 kB / 402.4 MB, free: 8.992 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.034e-05/0.5732, allocations: 11.98 kB / 402.4 MB, free: 8.98 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.86e-05/0.5732, allocations: 11.94 kB / 402.4 MB, free: 8.969 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 (11): * Single equations (assignments): 10 * 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.476e-05/0.5733, allocations: 105 kB / 402.5 MB, free: 8.859 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.098e-05/0.5734, allocations: 11.91 kB / 402.5 MB, free: 8.848 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003962/0.5738, allocations: 142.5 kB / 402.7 MB, free: 8.699 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.608e-06/0.5738, allocations: 4 kB / 402.7 MB, free: 8.695 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.5738, allocations: 0 / 402.7 MB, free: 8.695 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.832e-06/0.5738, allocations: 3.953 kB / 402.7 MB, free: 8.691 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008438/0.5747, allocations: 0.4988 MB / 403.2 MB, free: 8.133 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.39e-06/0.5747, allocations: 3.984 kB / 403.2 MB, free: 8.129 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001699/0.5749, allocations: 27.98 kB / 403.2 MB, free: 8.102 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.486e-06/0.5749, allocations: 3.984 kB / 403.2 MB, free: 8.098 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.849e-05/0.5749, allocations: 11.94 kB / 403.2 MB, free: 8.086 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.647e-06/0.5749, allocations: 320 / 403.2 MB, free: 8.086 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.5749, allocations: 0 / 403.2 MB, free: 8.086 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003488/0.5753, allocations: 314.9 kB / 403.5 MB, free: 7.746 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.435e-05/0.5754, allocations: 92.92 kB / 403.6 MB, free: 7.637 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.37e-05/0.5755, allocations: 7.984 kB / 403.6 MB, free: 7.629 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001645/0.5756, allocations: 8 kB / 403.7 MB, free: 7.621 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.637e-05/0.5757, allocations: 15.92 kB / 403.7 MB, free: 7.605 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.353e-05/0.5757, allocations: 4 kB / 403.7 MB, free: 7.602 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002168/0.5759, allocations: 160.9 kB / 403.8 MB, free: 7.445 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.576, allocations: 4 kB / 403.8 MB, free: 7.441 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003848/0.5764, allocations: 24 kB / 403.9 MB, free: 7.418 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 10 * 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.001219/0.5776, allocations: 1.116 MB / 405 MB, free: 6.316 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002922/0.5779, allocations: 131.3 kB / 405.1 MB, free: 6.176 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.5779, allocations: 0 / 405.1 MB, free: 6.176 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001076/0.578, allocations: 32 kB / 405.1 MB, free: 6.145 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003091/0.5784, allocations: 11.98 kB / 405.1 MB, free: 6.133 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000899/0.5793, allocations: 306.4 kB / 405.4 MB, free: 5.789 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000346/0.5796, allocations: 0.72 MB / 406.2 MB, free: 5.043 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001153/0.5798, allocations: 39.42 kB / 406.2 MB, free: 5.004 MB / 330.7 MB Notification: Performance of SimCode: time 3.527e-06/0.5798, allocations: 0 / 406.2 MB, free: 5.004 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_Test6CalcHelperMain.o OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable1D_Test6CalcHelperMain.cpp In file included from OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable1D_Test6CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable1D_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_CombiTable1D_Test6.so OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable1D_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_CombiTable1D_Test6_FMU.makefile:93: recipe for target 'ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable1D_Test6.fmu' failed make: *** [ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable1D_Test6.fmu] Error 1