Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test30,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Ds_Test30",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.713/2.713, allocations: 270 MB / 282.6 MB, free: 1.945 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.954e-05/3.968e-05, allocations: 4 kB / 347.1 MB, free: 3.215 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4135/0.4136, allocations: 61.86 MB / 408.9 MB, free: 10.84 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1713/0.5849, allocations: 88.54 MB / 497.5 MB, free: 2.184 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003048/0.5853, allocations: 67.97 kB / 497.5 MB, free: 2.117 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02/0.6054, allocations: 4.726 MB / 0.4905 GB, free: 13.38 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.513e-06/0.6054, allocations: 0 / 0.4905 GB, free: 13.38 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.947e-05/0.6054, allocations: 4 kB / 0.4905 GB, free: 13.38 MB / 426.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.0005876/0.606, allocations: 410.1 kB / 0.4909 GB, free: 12.93 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.938e-05/0.6061, allocations: 11.97 kB / 0.4909 GB, free: 12.92 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.231e-05/0.6062, allocations: 38.56 kB / 0.4909 GB, free: 12.87 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.833e-05/0.6062, allocations: 11.89 kB / 0.4909 GB, free: 12.86 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003486/0.6066, allocations: 209.6 kB / 0.4911 GB, free: 12.61 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.67e-05/0.6066, allocations: 11.94 kB / 0.4911 GB, free: 12.6 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.532e-05/0.6067, allocations: 4 kB / 0.4912 GB, free: 12.6 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001611/0.6068, allocations: 49.69 kB / 0.4912 GB, free: 12.54 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.532e-05/0.6069, allocations: 4 kB / 0.4912 GB, free: 12.54 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.144e-05/0.6069, allocations: 0 / 0.4912 GB, free: 12.54 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.831e-06/0.6069, allocations: 0 / 0.4912 GB, free: 12.54 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.36e-05/0.607, allocations: 24 kB / 0.4912 GB, free: 12.52 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005426/0.6075, allocations: 316.7 kB / 0.4915 GB, free: 12.16 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000247/0.6078, allocations: 46.56 kB / 0.4916 GB, free: 12.1 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.887e-05/0.6079, allocations: 20.92 kB / 0.4916 GB, free: 12.08 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.685e-05/0.6079, allocations: 0 / 0.4916 GB, free: 12.08 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.193e-05/0.608, allocations: 34.56 kB / 0.4916 GB, free: 12.04 MB / 426.7 MB Notification: Performance of pre-optimization done (n=5): time 1.803e-06/0.608, allocations: 4 kB / 0.4916 GB, free: 12.03 MB / 426.7 MB Notification: Performance of matching and sorting (n=11): time 0.0009039/0.6089, allocations: 213.1 kB / 0.4918 GB, free: 11.82 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.193e-05/0.6089, allocations: 55.39 kB / 0.4919 GB, free: 11.75 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003226/0.6093, allocations: 186 kB / 0.4921 GB, free: 11.56 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.44e-05/0.6093, allocations: 29.7 kB / 0.4921 GB, free: 11.52 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001/0.6094, allocations: 178.4 kB / 0.4923 GB, free: 11.35 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.931e-05/0.6095, allocations: 31.47 kB / 0.4923 GB, free: 11.32 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.038e-05/0.6095, allocations: 4 kB / 0.4923 GB, free: 11.31 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001366/0.6097, allocations: 314.8 kB / 0.4926 GB, free: 11 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.527e-05/0.6097, allocations: 28 kB / 0.4926 GB, free: 10.97 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.372e-05/0.6098, allocations: 20 kB / 0.4926 GB, free: 10.95 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.078e-05/0.6099, allocations: 35.92 kB / 0.4927 GB, free: 10.91 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.182e-06/0.6099, allocations: 0 / 0.4927 GB, free: 10.91 MB / 426.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002374/0.6102, allocations: 89.69 kB / 0.4928 GB, free: 10.82 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.914e-05/0.6102, allocations: 8 kB / 0.4928 GB, free: 10.81 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.632e-06/0.6102, allocations: 0 / 0.4928 GB, free: 10.81 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.816e-05/0.6103, allocations: 7.984 kB / 0.4928 GB, free: 10.8 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002509/0.6105, allocations: 31.92 kB / 0.4928 GB, free: 10.77 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.018e-05/0.6106, allocations: 3.953 kB / 0.4928 GB, free: 10.77 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001374/0.6107, allocations: 15.98 kB / 0.4928 GB, free: 10.75 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.656e-05/0.6107, allocations: 8 kB / 0.4928 GB, free: 10.75 MB / 426.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): 11 * 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 prepare postOptimizeDAE: time 9.117e-05/0.6108, allocations: 105 kB / 0.4929 GB, free: 10.64 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.354e-05/0.6109, allocations: 19.75 kB / 0.493 GB, free: 10.62 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003526/0.6113, allocations: 135.4 kB / 0.4931 GB, free: 10.48 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.168e-06/0.6113, allocations: 0 / 0.4931 GB, free: 10.48 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/0.6113, allocations: 0 / 0.4931 GB, free: 10.48 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.876e-06/0.6113, allocations: 7.938 kB / 0.4931 GB, free: 10.47 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007784/0.6121, allocations: 452.1 kB / 0.4935 GB, free: 9.965 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.6121, allocations: 0 / 0.4935 GB, free: 9.965 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002129/0.6123, allocations: 31.92 kB / 0.4936 GB, free: 9.934 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.305e-06/0.6124, allocations: 3.953 kB / 0.4936 GB, free: 9.93 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.761e-05/0.6124, allocations: 8 kB / 0.4936 GB, free: 9.922 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.33e-06/0.6124, allocations: 4.359 kB / 0.4936 GB, free: 9.918 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.824e-06/0.6124, allocations: 64 / 0.4936 GB, free: 9.918 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003338/0.6128, allocations: 236.5 kB / 0.4938 GB, free: 9.652 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.415e-05/0.6129, allocations: 100.9 kB / 0.4939 GB, free: 9.535 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.248e-05/0.6129, allocations: 4 kB / 0.4939 GB, free: 9.531 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001706/0.6131, allocations: 19.98 kB / 0.4939 GB, free: 9.512 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.879e-05/0.6132, allocations: 15.92 kB / 0.4939 GB, free: 9.496 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.357e-05/0.6132, allocations: 4 kB / 0.4939 GB, free: 9.492 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002222/0.6134, allocations: 155 kB / 0.4941 GB, free: 9.344 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.6135, allocations: 0 / 0.4941 GB, free: 9.344 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003931/0.6139, allocations: 39.92 kB / 0.4941 GB, free: 9.305 MB / 426.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 (11): * Single equations (assignments): 11 * 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.00205/0.6159, allocations: 1.253 MB / 0.4953 GB, free: 8.164 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002923/0.6163, allocations: 83.86 kB / 0.4954 GB, free: 8.082 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.028e-06/0.6163, allocations: 0 / 0.4954 GB, free: 8.082 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001111/0.6164, allocations: 39.94 kB / 0.4955 GB, free: 8.043 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003638/0.6168, allocations: 18.83 kB / 0.4955 GB, free: 8.027 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009907/0.6178, allocations: 318.6 kB / 0.4958 GB, free: 7.672 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004154/0.6182, allocations: 0.7199 MB / 0.4965 GB, free: 6.926 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001581/0.6184, allocations: 39.42 kB / 0.4965 GB, free: 6.887 MB / 426.7 MB Notification: Performance of SimCode: time 1.914e-06/0.6184, allocations: 0 / 0.4965 GB, free: 6.887 MB / 426.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"." "-I/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica trunk/Resources/C-Sources" -DUSE_LOGGER -c -o OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Ds_Test30CalcHelperMain.o OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Ds_Test30CalcHelperMain.cpp In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Ds_Test30CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Ds_Test30FMU.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_trunk_cpp_ModelicaTest_Tables_CombiTable2Ds_Test30.so OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Ds_Test30CalcHelperMain.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 trunk/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 trunk/Resources/Library/x86_64-linux" -Wl,-rpath="/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica trunk/Resources/Library/x86_64-linux" "-L/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica trunk/Resources/Library/linux64" -Wl,-rpath="/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica trunk/Resources/Library/linux64" "-L/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica trunk/Resources/Library" -Wl,-rpath="/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica trunk/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_trunk_cpp_ModelicaTest_Tables_CombiTable2Ds_Test30_FMU.makefile:93: recipe for target 'ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Ds_Test30.fmu' failed make: *** [ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Ds_Test30.fmu] Error 1