Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test6,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test6",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.493/2.493, allocations: 235 MB / 247.6 MB, free: 14.39 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.64e-05/3.65e-05, allocations: 7.984 kB / 305 MB, free: 5.562 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4097/0.4097, allocations: 54.85 MB / 359.9 MB, free: 2.707 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1565/0.5663, allocations: 80.95 MB / 440.8 MB, free: 36 kB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002814/0.5667, allocations: 71.95 kB / 440.9 MB, free: 15.96 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01428/0.581, allocations: 3.413 MB / 444.3 MB, free: 12.58 MB / 378.7 MB Notification: Performance of FrontEnd: time 4.048e-06/0.581, allocations: 4 kB / 444.3 MB, free: 12.57 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.641e-05/0.581, allocations: 0 / 444.3 MB, free: 12.57 MB / 378.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.0005572/0.5816, allocations: 423.9 kB / 444.7 MB, free: 12.11 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.785e-05/0.5817, allocations: 8.031 kB / 444.7 MB, free: 12.1 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.222e-05/0.5817, allocations: 39.31 kB / 444.8 MB, free: 12.05 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.776e-05/0.5818, allocations: 20.61 kB / 444.8 MB, free: 12.04 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003025/0.5821, allocations: 194.9 kB / 445 MB, free: 11.8 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.047e-05/0.5821, allocations: 8 kB / 445 MB, free: 11.8 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.975e-05/0.5822, allocations: 4 kB / 445 MB, free: 11.79 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001658/0.5823, allocations: 53.67 kB / 445 MB, free: 11.73 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.275e-05/0.5824, allocations: 0 / 445 MB, free: 11.73 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.257e-05/0.5824, allocations: 0 / 445 MB, free: 11.73 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.155e-06/0.5824, allocations: 3.953 kB / 445 MB, free: 11.73 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001035/0.5825, allocations: 30.8 kB / 445.1 MB, free: 11.7 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005134/0.583, allocations: 313.3 kB / 445.4 MB, free: 11.35 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001168/0.5832, allocations: 38.58 kB / 445.4 MB, free: 11.3 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.855e-05/0.5832, allocations: 16.98 kB / 445.4 MB, free: 11.28 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.018e-05/0.5833, allocations: 7.953 kB / 445.4 MB, free: 11.27 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.783e-05/0.5833, allocations: 30.56 kB / 445.5 MB, free: 11.23 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 3.717e-06/0.5833, allocations: 4 kB / 445.5 MB, free: 11.23 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006703/0.584, allocations: 149.8 kB / 445.6 MB, free: 11.08 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.956e-05/0.5841, allocations: 55.39 kB / 445.7 MB, free: 11.01 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003197/0.5844, allocations: 198.4 kB / 445.9 MB, free: 10.8 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.674e-05/0.5845, allocations: 29.7 kB / 445.9 MB, free: 10.77 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.235e-05/0.5846, allocations: 158.8 kB / 446 MB, free: 10.61 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.994e-05/0.5846, allocations: 35.61 kB / 446.1 MB, free: 10.57 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.478e-06/0.5846, allocations: 8 kB / 446.1 MB, free: 10.57 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001396/0.5848, allocations: 316.6 kB / 446.4 MB, free: 10.25 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.032e-05/0.5849, allocations: 23.94 kB / 446.4 MB, free: 10.23 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.061e-05/0.5849, allocations: 16 kB / 446.4 MB, free: 10.21 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.428e-05/0.585, allocations: 45.69 kB / 446.5 MB, free: 10.16 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.522e-06/0.5851, allocations: 4 kB / 446.5 MB, free: 10.16 MB / 378.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002562/0.5853, allocations: 117.2 kB / 446.6 MB, free: 10.03 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.304e-05/0.5854, allocations: 31.42 kB / 446.6 MB, free: 9.996 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.181e-06/0.5854, allocations: 0 / 446.6 MB, free: 9.996 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.775e-05/0.5854, allocations: 0 / 446.6 MB, free: 9.996 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001984/0.5856, allocations: 23.98 kB / 446.6 MB, free: 9.973 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.184e-05/0.5857, allocations: 4 kB / 446.7 MB, free: 9.969 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.807e-05/0.5858, allocations: 4 kB / 446.7 MB, free: 9.965 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.048e-05/0.5858, allocations: 11.98 kB / 446.7 MB, free: 9.953 MB / 378.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 8.899e-05/0.5859, allocations: 101 kB / 446.8 MB, free: 9.848 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.753e-05/0.586, allocations: 19.75 kB / 446.8 MB, free: 9.828 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003281/0.5863, allocations: 112.4 kB / 446.9 MB, free: 9.711 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.785e-06/0.5864, allocations: 4 kB / 446.9 MB, free: 9.707 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.5864, allocations: 0 / 446.9 MB, free: 9.707 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.848e-06/0.5864, allocations: 0 / 446.9 MB, free: 9.707 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006863/0.5871, allocations: 394.5 kB / 447.3 MB, free: 9.266 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.687e-06/0.5871, allocations: 1.5 kB / 447.3 MB, free: 9.266 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00015/0.5873, allocations: 21.34 kB / 447.3 MB, free: 9.246 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.959e-06/0.5873, allocations: 4 kB / 447.3 MB, free: 9.242 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.814e-05/0.5873, allocations: 7.984 kB / 447.3 MB, free: 9.234 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.277e-06/0.5873, allocations: 3.938 kB / 447.3 MB, free: 9.23 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.5873, allocations: 0 / 447.3 MB, free: 9.23 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002673/0.5876, allocations: 187.3 kB / 447.5 MB, free: 9.031 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.635e-05/0.5877, allocations: 85.02 kB / 447.6 MB, free: 8.93 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.806e-05/0.5877, allocations: 7.984 kB / 447.6 MB, free: 8.922 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001203/0.5879, allocations: 12 kB / 447.6 MB, free: 8.91 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.183e-05/0.5879, allocations: 7.984 kB / 447.6 MB, free: 8.902 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.859e-06/0.588, allocations: 0.625 kB / 447.6 MB, free: 8.902 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002275/0.5882, allocations: 160 kB / 447.8 MB, free: 8.746 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.71e-07/0.5882, allocations: 0 / 447.8 MB, free: 8.746 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003546/0.5886, allocations: 24 kB / 447.8 MB, free: 8.723 MB / 378.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.001299/0.5899, allocations: 0.8995 MB / 448.7 MB, free: 7.863 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002578/0.5902, allocations: 115.3 kB / 448.8 MB, free: 7.738 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.816e-06/0.5902, allocations: 0 / 448.8 MB, free: 7.738 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.086e-05/0.5903, allocations: 24 kB / 448.8 MB, free: 7.715 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002801/0.5906, allocations: 11.05 kB / 448.8 MB, free: 7.707 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000817/0.5914, allocations: 278 kB / 449.1 MB, free: 7.395 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003773/0.5918, allocations: 0.716 MB / 449.8 MB, free: 6.652 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001051/0.5919, allocations: 31.42 kB / 449.9 MB, free: 6.621 MB / 378.7 MB Notification: Performance of SimCode: time 9.32e-07/0.5919, allocations: 3.938 kB / 449.9 MB, free: 6.617 MB / 378.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_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test6CalcHelperMain.o OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test6CalcHelperMain.cpp In file included from OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test6CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_3_2_2_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_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test6.so OMCppModelicaTest_3_2_2_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.2/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.2/Resources/Library/x86_64-linux" -Wl,-rpath="/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Resources/Library/x86_64-linux" "-L/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Resources/Library/linux64" -Wl,-rpath="/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Resources/Library/linux64" "-L/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Resources/Library" -Wl,-rpath="/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/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_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test6_FMU.makefile:93: recipe for target 'ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test6.fmu' failed make: *** [ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test6.fmu] Error 1