Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test7,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Dv_Test7",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.615/2.615, allocations: 270 MB / 282.6 MB, free: 1.855 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 4.837e-05/4.82e-05, allocations: 11.94 kB / 347.1 MB, free: 3.105 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4159/0.416, allocations: 61.87 MB / 408.9 MB, free: 10.64 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1782/0.5943, allocations: 88.78 MB / 497.7 MB, free: 1.746 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003996/0.5947, allocations: 75.97 kB / 497.8 MB, free: 1.672 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05345/0.6482, allocations: 8.009 MB / 0.4939 GB, free: 9.641 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.835e-06/0.6483, allocations: 0 / 0.4939 GB, free: 9.641 MB / 426.7 MB Notification: Performance of Transformations before backend: time 4.986e-05/0.6484, allocations: 8 kB / 0.4939 GB, free: 9.633 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.001054/0.6494, allocations: 0.5442 MB / 0.4945 GB, free: 9.043 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.227e-05/0.6495, allocations: 8.031 kB / 0.4945 GB, free: 9.035 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.575e-05/0.6496, allocations: 38.5 kB / 0.4945 GB, free: 8.988 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001589/0.6498, allocations: 47.38 kB / 0.4946 GB, free: 8.941 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009928/0.6508, allocations: 327.3 kB / 0.4949 GB, free: 8.582 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.222e-05/0.6509, allocations: 4 kB / 0.4949 GB, free: 8.578 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.12e-05/0.6509, allocations: 0 / 0.4949 GB, free: 8.578 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002037/0.6511, allocations: 53.67 kB / 0.4949 GB, free: 8.52 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.231e-05/0.6512, allocations: 0 / 0.4949 GB, free: 8.52 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.929e-05/0.6512, allocations: 4 kB / 0.4949 GB, free: 8.516 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.655e-06/0.6512, allocations: 0 / 0.4949 GB, free: 8.516 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000101/0.6513, allocations: 19.94 kB / 0.4949 GB, free: 8.496 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001374/0.6527, allocations: 440.6 kB / 0.4954 GB, free: 8.016 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001369/0.6529, allocations: 30.56 kB / 0.4954 GB, free: 7.977 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.011e-05/0.653, allocations: 12.92 kB / 0.4954 GB, free: 7.961 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.498e-05/0.6531, allocations: 0 / 0.4954 GB, free: 7.961 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.26e-05/0.6531, allocations: 34.56 kB / 0.4954 GB, free: 7.918 MB / 426.7 MB Notification: Performance of pre-optimization done (n=2): time 2.785e-06/0.6532, allocations: 0 / 0.4954 GB, free: 7.918 MB / 426.7 MB Notification: Performance of matching and sorting (n=2): time 0.0003946/0.6536, allocations: 81.08 kB / 0.4955 GB, free: 7.832 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.15e-05/0.6536, allocations: 59.39 kB / 0.4956 GB, free: 7.762 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002976/0.6566, allocations: 0.785 MB / 0.4963 GB, free: 6.965 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.369e-05/0.6567, allocations: 25.7 kB / 0.4964 GB, free: 6.934 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002879/0.6571, allocations: 239.8 kB / 0.4966 GB, free: 6.699 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.712e-05/0.6571, allocations: 7.906 kB / 0.4966 GB, free: 6.691 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.763e-06/0.6571, allocations: 0 / 0.4966 GB, free: 6.691 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001626/0.6573, allocations: 318.8 kB / 0.4969 GB, free: 6.371 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.153e-05/0.6574, allocations: 4 kB / 0.4969 GB, free: 6.367 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.936e-05/0.6575, allocations: 4 kB / 0.4969 GB, free: 6.363 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.288e-05/0.6575, allocations: 12.06 kB / 0.4969 GB, free: 6.352 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.519e-06/0.6576, allocations: 0 / 0.4969 GB, free: 6.352 MB / 426.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002023/0.6578, allocations: 45.69 kB / 0.497 GB, free: 6.301 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.711e-05/0.6578, allocations: 4 kB / 0.497 GB, free: 6.297 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.125e-06/0.6579, allocations: 0 / 0.497 GB, free: 6.297 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.054e-05/0.6579, allocations: 0 / 0.497 GB, free: 6.297 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001626/0.6581, allocations: 7.938 kB / 0.497 GB, free: 6.289 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.789e-06/0.6581, allocations: 4 kB / 0.497 GB, free: 6.285 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002322/0.6584, allocations: 7.984 kB / 0.497 GB, free: 6.277 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.826e-05/0.6584, allocations: 11.92 kB / 0.497 GB, free: 6.266 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 (2): * Single equations (assignments): 2 * 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 0.0001093/0.6585, allocations: 104.9 kB / 0.4971 GB, free: 6.156 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001794/0.6587, allocations: 43.44 kB / 0.4971 GB, free: 6.113 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004298/0.6592, allocations: 96.69 kB / 0.4972 GB, free: 6.004 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.081e-05/0.6592, allocations: 3.984 kB / 0.4972 GB, free: 6 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.763e-06/0.6592, allocations: 0 / 0.4972 GB, free: 6 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.25e-06/0.6593, allocations: 0 / 0.4972 GB, free: 6 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007044/0.66, allocations: 325.4 kB / 0.4976 GB, free: 5.633 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.426e-05/0.66, allocations: 4.031 kB / 0.4976 GB, free: 5.629 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001272/0.6602, allocations: 4 kB / 0.4976 GB, free: 5.625 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.534e-06/0.6602, allocations: 0 / 0.4976 GB, free: 5.625 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.308e-05/0.6602, allocations: 0 / 0.4976 GB, free: 5.625 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.378e-06/0.6603, allocations: 0 / 0.4976 GB, free: 5.625 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.438e-06/0.6603, allocations: 3.938 kB / 0.4976 GB, free: 5.621 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003949/0.6607, allocations: 183 kB / 0.4977 GB, free: 5.426 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004381/0.6612, allocations: 160.5 kB / 0.4979 GB, free: 5.25 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.117e-05/0.6613, allocations: 7.969 kB / 0.4979 GB, free: 5.242 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002551/0.6616, allocations: 7.984 kB / 0.4979 GB, free: 5.234 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.001e-05/0.6616, allocations: 0 / 0.4979 GB, free: 5.234 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.565e-05/0.6617, allocations: 8 kB / 0.4979 GB, free: 5.227 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001913/0.6636, allocations: 0.6381 MB / 0.4985 GB, free: 4.59 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.603e-06/0.6637, allocations: 0 / 0.4985 GB, free: 4.59 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0007493/0.6644, allocations: 44 kB / 0.4986 GB, free: 4.547 MB / 426.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 (2): * Single equations (assignments): 2 * 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.002296/0.6667, allocations: 0.9729 MB / 0.4995 GB, free: 3.664 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002015/0.667, allocations: 16 kB / 0.4995 GB, free: 3.648 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 8.536e-06/0.667, allocations: 0 / 0.4995 GB, free: 3.648 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 5.55e-05/0.6671, allocations: 7.938 kB / 0.4996 GB, free: 3.641 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006281/0.6678, allocations: 26.08 kB / 0.4996 GB, free: 3.613 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003161/0.671, allocations: 0.8511 MB / 0.5004 GB, free: 2.719 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007854/0.6718, allocations: 0.8301 MB / 0.5012 GB, free: 1.863 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004399/0.6723, allocations: 119.7 kB / 0.5013 GB, free: 1.746 MB / 426.7 MB Notification: Performance of SimCode: time 1.924e-06/0.6723, allocations: 0 / 0.5013 GB, free: 1.746 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_CombiTable2Dv_Test7CalcHelperMain.o OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Dv_Test7CalcHelperMain.cpp In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Dv_Test7CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Dv_Test7FMU.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_CombiTable2Dv_Test7.so OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Dv_Test7CalcHelperMain.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_CombiTable2Dv_Test7_FMU.makefile:93: recipe for target 'ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Dv_Test7.fmu' failed make: *** [ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Dv_Test7.fmu] Error 1