Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1D.Test8,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable1D_Test8",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.923/1.923, allocations: 209.3 MB / 221.9 MB, free: 1.938 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.647e-05/3.654e-05, allocations: 4 kB / 273.2 MB, free: 0.6445 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09831/0.09838, allocations: 48.71 MB / 321.9 MB, free: 15.83 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3866/0.4851, allocations: 74.4 MB / 396.3 MB, free: 15.43 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002636/0.4854, allocations: 67.97 kB / 396.3 MB, free: 15.36 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0113/0.4967, allocations: 2.609 MB / 398.9 MB, free: 12.76 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.683e-06/0.4968, allocations: 0 / 398.9 MB, free: 12.76 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.133e-05/0.4968, allocations: 0 / 398.9 MB, free: 12.76 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.0004908/0.4973, allocations: 403.9 kB / 399.3 MB, free: 12.31 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.697e-05/0.4974, allocations: 8.031 kB / 399.3 MB, free: 12.3 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.06e-05/0.4974, allocations: 30.56 kB / 399.4 MB, free: 12.27 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.809e-05/0.4975, allocations: 11.98 kB / 399.4 MB, free: 12.25 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002519/0.4977, allocations: 190.9 kB / 399.6 MB, free: 12.03 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.231e-05/0.4977, allocations: 0 / 399.6 MB, free: 12.03 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.438e-05/0.4978, allocations: 0 / 399.6 MB, free: 12.03 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001311/0.4979, allocations: 49.69 kB / 399.6 MB, free: 11.97 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.167e-05/0.4979, allocations: 0 / 399.6 MB, free: 11.97 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.022e-05/0.498, allocations: 0 / 399.6 MB, free: 11.97 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.498, allocations: 0 / 399.6 MB, free: 11.97 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.816e-05/0.4981, allocations: 15.94 kB / 399.6 MB, free: 11.96 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004714/0.4985, allocations: 292.8 kB / 399.9 MB, free: 11.62 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002214/0.4988, allocations: 38.56 kB / 400 MB, free: 11.57 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.169e-05/0.4988, allocations: 12.86 kB / 400 MB, free: 11.56 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.282e-05/0.4989, allocations: 0 / 400 MB, free: 11.56 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.792e-05/0.4989, allocations: 34.56 kB / 400 MB, free: 11.52 MB / 330.7 MB Notification: Performance of pre-optimization done (n=3): time 1.403e-06/0.4989, allocations: 7.938 kB / 400 MB, free: 11.51 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005113/0.4994, allocations: 110.9 kB / 400.1 MB, free: 11.39 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.494e-05/0.4995, allocations: 55.36 kB / 400.2 MB, free: 11.33 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001746/0.4997, allocations: 137 kB / 400.3 MB, free: 11.19 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.083e-05/0.4997, allocations: 25.7 kB / 400.3 MB, free: 11.16 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001009/0.4998, allocations: 154.6 kB / 400.5 MB, free: 11 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.188e-05/0.4999, allocations: 23.66 kB / 400.5 MB, free: 10.98 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.262e-06/0.4999, allocations: 4 kB / 400.5 MB, free: 10.98 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001339/0.5, allocations: 314.8 kB / 400.8 MB, free: 10.66 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.889e-05/0.5001, allocations: 19.94 kB / 400.8 MB, free: 10.64 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.633e-05/0.5002, allocations: 15.94 kB / 400.9 MB, free: 10.62 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.328e-05/0.5003, allocations: 45.69 kB / 400.9 MB, free: 10.57 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.293e-06/0.5003, allocations: 0 / 400.9 MB, free: 10.57 MB / 330.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001865/0.5005, allocations: 95.39 kB / 401 MB, free: 10.47 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.515e-05/0.5005, allocations: 33.64 kB / 401 MB, free: 10.43 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.5005, allocations: 0 / 401 MB, free: 10.43 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.504e-05/0.5006, allocations: 4 kB / 401 MB, free: 10.43 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001259/0.5007, allocations: 15.98 kB / 401 MB, free: 10.41 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.074e-06/0.5007, allocations: 0 / 401 MB, free: 10.41 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.844e-05/0.5008, allocations: 11.95 kB / 401.1 MB, free: 10.4 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.239e-05/0.5008, allocations: 3.984 kB / 401.1 MB, free: 10.39 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.228e-05/0.5009, allocations: 109 kB / 401.2 MB, free: 10.28 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.78e-05/0.501, allocations: 7.844 kB / 401.2 MB, free: 10.27 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002234/0.5012, allocations: 81.77 kB / 401.2 MB, free: 10.19 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/0.5012, allocations: 0 / 401.2 MB, free: 10.19 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.5012, allocations: 144 / 401.2 MB, free: 10.19 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.292e-06/0.5012, allocations: 3.984 kB / 401.3 MB, free: 10.19 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004972/0.5017, allocations: 338.5 kB / 401.6 MB, free: 9.801 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.5018, allocations: 8.312 kB / 401.6 MB, free: 9.793 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001122/0.5019, allocations: 11.98 kB / 401.6 MB, free: 9.781 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.356e-06/0.5019, allocations: 4 kB / 401.6 MB, free: 9.777 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.14e-05/0.5019, allocations: 8 kB / 401.6 MB, free: 9.77 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.5019, allocations: 0 / 401.6 MB, free: 9.77 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.198e-06/0.502, allocations: 3.953 kB / 401.6 MB, free: 9.766 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002037/0.5022, allocations: 159.5 kB / 401.8 MB, free: 9.594 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.352e-05/0.5022, allocations: 93 kB / 401.9 MB, free: 9.484 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.101e-05/0.5023, allocations: 0 / 401.9 MB, free: 9.484 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000107/0.5024, allocations: 8 kB / 401.9 MB, free: 9.477 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.667e-05/0.5025, allocations: 7.984 kB / 401.9 MB, free: 9.469 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.125e-05/0.5025, allocations: 7.953 kB / 401.9 MB, free: 9.461 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001146/0.5026, allocations: 112.5 kB / 402 MB, free: 9.352 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.5026, allocations: 0 / 402 MB, free: 9.352 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003251/0.5029, allocations: 16 kB / 402 MB, free: 9.336 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.001046/0.504, allocations: 0.8348 MB / 402.9 MB, free: 8.52 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002026/0.5042, allocations: 87.39 kB / 402.9 MB, free: 8.422 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 5.541e-06/0.5042, allocations: 4 kB / 402.9 MB, free: 8.418 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 6.143e-05/0.5043, allocations: 19.94 kB / 403 MB, free: 8.398 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002541/0.5046, allocations: 15.84 kB / 403 MB, free: 8.383 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005948/0.5052, allocations: 192 kB / 403.2 MB, free: 8.152 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002974/0.5055, allocations: 0.7043 MB / 403.9 MB, free: 7.422 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.598e-05/0.5056, allocations: 23.42 kB / 403.9 MB, free: 7.398 MB / 330.7 MB Notification: Performance of SimCode: time 7.72e-07/0.5056, allocations: 0 / 403.9 MB, free: 7.398 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_Test8CalcHelperMain.o OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable1D_Test8CalcHelperMain.cpp In file included from OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable1D_Test8CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable1D_Test8FMU.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_Test8.so OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable1D_Test8CalcHelperMain.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_Test8_FMU.makefile:93: recipe for target 'ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable1D_Test8.fmu' failed make: *** [ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable1D_Test8.fmu] Error 1