Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test6,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Dv_Test6",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.558/2.558, allocations: 270 MB / 282.6 MB, free: 1.809 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.676e-05/3.693e-05, allocations: 4 kB / 347.1 MB, free: 3.09 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.415/0.4151, allocations: 61.87 MB / 408.9 MB, free: 10.63 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1624/0.5776, allocations: 88.89 MB / 497.8 MB, free: 1.625 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002751/0.5779, allocations: 67.95 kB / 497.9 MB, free: 1.559 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03016/0.6081, allocations: 7.994 MB / 0.494 GB, free: 9.543 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.563e-06/0.6081, allocations: 0 / 0.494 GB, free: 9.543 MB / 426.7 MB Notification: Performance of Transformations before backend: time 3.461e-05/0.6082, allocations: 4 kB / 0.494 GB, free: 9.539 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0007634/0.6089, allocations: 0.5598 MB / 0.4946 GB, free: 8.934 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.567e-05/0.609, allocations: 11.97 kB / 0.4946 GB, free: 8.922 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.848e-05/0.6091, allocations: 34.56 kB / 0.4946 GB, free: 8.879 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.13e-05/0.6092, allocations: 39.44 kB / 0.4946 GB, free: 8.84 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006457/0.6098, allocations: 335.2 kB / 0.495 GB, free: 8.473 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.54e-05/0.6098, allocations: 8 kB / 0.495 GB, free: 8.465 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.254e-05/0.6099, allocations: 0 / 0.495 GB, free: 8.465 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000151/0.61, allocations: 53.62 kB / 0.495 GB, free: 8.406 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.208e-05/0.6101, allocations: 4 kB / 0.495 GB, free: 8.402 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.117e-05/0.6101, allocations: 0 / 0.495 GB, free: 8.402 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.674e-06/0.6101, allocations: 4 kB / 0.495 GB, free: 8.398 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.908e-05/0.6102, allocations: 23.98 kB / 0.4951 GB, free: 8.375 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008837/0.6111, allocations: 452.7 kB / 0.4955 GB, free: 7.883 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001176/0.6112, allocations: 42.52 kB / 0.4955 GB, free: 7.832 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.446e-05/0.6113, allocations: 20.84 kB / 0.4955 GB, free: 7.809 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.627e-05/0.6113, allocations: 0 / 0.4955 GB, free: 7.809 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.743e-05/0.6114, allocations: 34.64 kB / 0.4956 GB, free: 7.766 MB / 426.7 MB Notification: Performance of pre-optimization done (n=4): time 1.813e-06/0.6114, allocations: 3.938 kB / 0.4956 GB, free: 7.762 MB / 426.7 MB Notification: Performance of matching and sorting (n=7): time 0.0008297/0.6122, allocations: 243.8 kB / 0.4958 GB, free: 7.516 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.806e-05/0.6123, allocations: 55.41 kB / 0.4959 GB, free: 7.449 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001876/0.6142, allocations: 0.785 MB / 0.4966 GB, free: 6.656 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.187e-05/0.6142, allocations: 25.7 kB / 0.4967 GB, free: 6.625 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001925/0.6144, allocations: 226.6 kB / 0.4969 GB, free: 6.402 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.495e-05/0.6145, allocations: 19.72 kB / 0.4969 GB, free: 6.383 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.855e-06/0.6145, allocations: 0 / 0.4969 GB, free: 6.383 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001251/0.6146, allocations: 322.8 kB / 0.4972 GB, free: 6.059 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.933e-05/0.6147, allocations: 24 kB / 0.4972 GB, free: 6.035 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.57e-05/0.6148, allocations: 16.06 kB / 0.4972 GB, free: 6.02 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.56e-05/0.6149, allocations: 28.22 kB / 0.4973 GB, free: 5.992 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.6149, allocations: 0 / 0.4973 GB, free: 5.992 MB / 426.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002152/0.6151, allocations: 81.66 kB / 0.4973 GB, free: 5.906 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.923e-05/0.6151, allocations: 8 kB / 0.4974 GB, free: 5.898 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.6151, allocations: 0 / 0.4974 GB, free: 5.898 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.416e-05/0.6152, allocations: 0 / 0.4974 GB, free: 5.898 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002278/0.6154, allocations: 31.92 kB / 0.4974 GB, free: 5.867 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.508e-06/0.6154, allocations: 7.891 kB / 0.4974 GB, free: 5.859 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001738/0.6156, allocations: 19.83 kB / 0.4974 GB, free: 5.84 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.43e-05/0.6156, allocations: 4 kB / 0.4974 GB, free: 5.836 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 (7): * Single equations (assignments): 7 * 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 7.753e-05/0.6157, allocations: 105 kB / 0.4975 GB, free: 5.727 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001375/0.6159, allocations: 39.53 kB / 0.4976 GB, free: 5.688 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003608/0.6163, allocations: 141.6 kB / 0.4977 GB, free: 5.539 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.933e-06/0.6163, allocations: 8 kB / 0.4977 GB, free: 5.531 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.6163, allocations: 0 / 0.4977 GB, free: 5.531 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.352e-06/0.6163, allocations: 3.953 kB / 0.4977 GB, free: 5.527 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001149/0.6175, allocations: 0.6076 MB / 0.4983 GB, free: 4.863 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/0.6175, allocations: 0 / 0.4983 GB, free: 4.863 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000176/0.6177, allocations: 19.98 kB / 0.4983 GB, free: 4.844 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.819e-06/0.6177, allocations: 0 / 0.4983 GB, free: 4.844 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.653e-05/0.6177, allocations: 11.98 kB / 0.4983 GB, free: 4.832 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.641e-06/0.6177, allocations: 3.953 kB / 0.4983 GB, free: 4.828 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.913e-06/0.6177, allocations: 0 / 0.4983 GB, free: 4.828 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003327/0.6181, allocations: 227 kB / 0.4985 GB, free: 4.59 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002716/0.6184, allocations: 160.5 kB / 0.4987 GB, free: 4.414 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.155e-05/0.6184, allocations: 0 / 0.4987 GB, free: 4.414 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002038/0.6187, allocations: 20 kB / 0.4987 GB, free: 4.395 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.653e-05/0.6187, allocations: 7.938 kB / 0.4987 GB, free: 4.387 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.114e-05/0.6187, allocations: 4 kB / 0.4987 GB, free: 4.383 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001363/0.6201, allocations: 0.6303 MB / 0.4993 GB, free: 3.754 MB / 426.7 MB Notification: Performance of sort global known variables: time 8.41e-07/0.6202, allocations: 4 kB / 0.4993 GB, free: 3.75 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0007408/0.6209, allocations: 63.94 kB / 0.4994 GB, free: 3.688 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 (7): * Single equations (assignments): 7 * 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.002421/0.6234, allocations: 1.057 MB / 0.5004 GB, free: 2.738 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002771/0.6237, allocations: 59.97 kB / 0.5005 GB, free: 2.68 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.948e-06/0.6237, allocations: 4 kB / 0.5005 GB, free: 2.676 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000139/0.6238, allocations: 31.92 kB / 0.5005 GB, free: 2.645 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005482/0.6244, allocations: 22.05 kB / 0.5006 GB, free: 2.625 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00292/0.6273, allocations: 0.8864 MB / 0.5014 GB, free: 1.695 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007669/0.6282, allocations: 0.8379 MB / 0.5022 GB, free: 0.832 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003886/0.6286, allocations: 127.6 kB / 0.5024 GB, free: 0.707 MB / 426.7 MB Notification: Performance of SimCode: time 1.462e-06/0.6286, allocations: 0 / 0.5024 GB, free: 0.707 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_Test6CalcHelperMain.o OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Dv_Test6CalcHelperMain.cpp In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Dv_Test6CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Dv_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_trunk_cpp_ModelicaTest_Tables_CombiTable2Dv_Test6.so OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Dv_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 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_Test6_FMU.makefile:93: recipe for target 'ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Dv_Test6.fmu' failed make: *** [ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Dv_Test6.fmu] Error 1