Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test7,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Ds_Test7",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.661/2.661, allocations: 270 MB / 282.6 MB, free: 1.938 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.514e-05/3.528e-05, allocations: 4 kB / 347.1 MB, free: 3.195 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3935/0.3936, allocations: 61.87 MB / 408.9 MB, free: 10.7 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1809/0.5745, allocations: 88.33 MB / 497.3 MB, free: 2.25 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002668/0.5748, allocations: 75.95 kB / 497.3 MB, free: 2.176 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02894/0.6037, allocations: 7.927 MB / 0.4934 GB, free: 10.23 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.343e-06/0.6038, allocations: 0 / 0.4934 GB, free: 10.23 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.805e-05/0.6038, allocations: 4 kB / 0.4934 GB, free: 10.22 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.0006539/0.6045, allocations: 0.548 MB / 0.494 GB, free: 9.629 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.457e-05/0.6046, allocations: 11.97 kB / 0.494 GB, free: 9.617 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.672e-05/0.6046, allocations: 34.56 kB / 0.494 GB, free: 9.574 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.776e-05/0.6047, allocations: 43.44 kB / 0.494 GB, free: 9.531 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006006/0.6053, allocations: 323.4 kB / 0.4943 GB, free: 9.176 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.29e-05/0.6053, allocations: 4 kB / 0.4944 GB, free: 9.172 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.278e-05/0.6054, allocations: 0 / 0.4944 GB, free: 9.172 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001092/0.6055, allocations: 41.69 kB / 0.4944 GB, free: 9.125 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.716e-06/0.6055, allocations: 3.938 kB / 0.4944 GB, free: 9.121 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.618e-06/0.6055, allocations: 0 / 0.4944 GB, free: 9.121 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.2e-06/0.6055, allocations: 0 / 0.4944 GB, free: 9.121 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.213e-05/0.6056, allocations: 12 kB / 0.4944 GB, free: 9.109 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007071/0.6063, allocations: 432.7 kB / 0.4948 GB, free: 8.637 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.434e-05/0.6064, allocations: 26.52 kB / 0.4948 GB, free: 8.602 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.483e-05/0.6065, allocations: 12.92 kB / 0.4949 GB, free: 8.586 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.286e-05/0.6065, allocations: 3.938 kB / 0.4949 GB, free: 8.582 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.817e-05/0.6065, allocations: 38.55 kB / 0.4949 GB, free: 8.535 MB / 426.7 MB Notification: Performance of pre-optimization done (n=2): time 1.583e-06/0.6065, allocations: 0 / 0.4949 GB, free: 8.535 MB / 426.7 MB Notification: Performance of matching and sorting (n=2): time 0.0002206/0.6068, allocations: 81.22 kB / 0.495 GB, free: 8.449 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.653e-05/0.6068, allocations: 51.41 kB / 0.495 GB, free: 8.387 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001868/0.6087, allocations: 0.7811 MB / 0.4958 GB, free: 7.594 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.766e-05/0.6087, allocations: 29.7 kB / 0.4958 GB, free: 7.559 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001953/0.6089, allocations: 243.8 kB / 0.496 GB, free: 7.32 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.672e-05/0.609, allocations: 4 kB / 0.4961 GB, free: 7.316 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.298e-06/0.609, allocations: 0 / 0.4961 GB, free: 7.316 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001201/0.6091, allocations: 314.9 kB / 0.4964 GB, free: 7 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.357e-05/0.6091, allocations: 4 kB / 0.4964 GB, free: 6.996 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.882e-05/0.6092, allocations: 4 kB / 0.4964 GB, free: 6.992 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.637e-05/0.6092, allocations: 4 kB / 0.4964 GB, free: 6.988 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.6092, allocations: 0 / 0.4964 GB, free: 6.988 MB / 426.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 9.596e-05/0.6093, allocations: 45.62 kB / 0.4964 GB, free: 6.938 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.73e-05/0.6094, allocations: 8 kB / 0.4964 GB, free: 6.93 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.15e-06/0.6094, allocations: 0 / 0.4964 GB, free: 6.93 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.211e-05/0.6094, allocations: 4.094 kB / 0.4964 GB, free: 6.926 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.198e-05/0.6095, allocations: 4 kB / 0.4964 GB, free: 6.922 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.663e-06/0.6095, allocations: 0 / 0.4964 GB, free: 6.922 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001089/0.6096, allocations: 11.91 kB / 0.4964 GB, free: 6.91 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.053e-05/0.6097, allocations: 3.953 kB / 0.4964 GB, free: 6.906 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 6.728e-05/0.6097, allocations: 109 kB / 0.4965 GB, free: 6.793 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001091/0.6098, allocations: 35.53 kB / 0.4966 GB, free: 6.758 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000204/0.6101, allocations: 104.6 kB / 0.4967 GB, free: 6.641 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.985e-06/0.6101, allocations: 0 / 0.4967 GB, free: 6.641 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.6101, allocations: 0 / 0.4967 GB, free: 6.641 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.6101, allocations: 3.938 kB / 0.4967 GB, free: 6.637 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004284/0.6105, allocations: 325.3 kB / 0.497 GB, free: 6.27 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.018e-06/0.6106, allocations: 4 kB / 0.497 GB, free: 6.266 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.964e-05/0.6106, allocations: 7.984 kB / 0.497 GB, free: 6.258 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.6106, allocations: 0 / 0.497 GB, free: 6.258 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.808e-06/0.6107, allocations: 0 / 0.497 GB, free: 6.258 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-06/0.6107, allocations: 3.938 kB / 0.497 GB, free: 6.254 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.6107, allocations: 0 / 0.497 GB, free: 6.254 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002171/0.6109, allocations: 179 kB / 0.4972 GB, free: 6.062 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002711/0.6112, allocations: 164.5 kB / 0.4973 GB, free: 5.883 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.057e-05/0.6113, allocations: 4 kB / 0.4973 GB, free: 5.879 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001394/0.6114, allocations: 7.984 kB / 0.4973 GB, free: 5.871 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.016e-05/0.6115, allocations: 0 / 0.4973 GB, free: 5.871 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.318e-06/0.6115, allocations: 0 / 0.4973 GB, free: 5.871 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001117/0.6126, allocations: 0.6381 MB / 0.498 GB, free: 5.234 MB / 426.7 MB Notification: Performance of sort global known variables: time 3.837e-06/0.6126, allocations: 0 / 0.498 GB, free: 5.234 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0004034/0.613, allocations: 47.94 kB / 0.498 GB, free: 5.188 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.001375/0.6144, allocations: 0.9599 MB / 0.4989 GB, free: 4.316 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 8.792e-05/0.6145, allocations: 16 kB / 0.499 GB, free: 4.301 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.524e-06/0.6145, allocations: 0 / 0.499 GB, free: 4.301 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 2.991e-05/0.6146, allocations: 7.938 kB / 0.499 GB, free: 4.293 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003422/0.6149, allocations: 22.09 kB / 0.499 GB, free: 4.27 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001878/0.6168, allocations: 0.8316 MB / 0.4998 GB, free: 3.395 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005086/0.6173, allocations: 0.8262 MB / 0.5006 GB, free: 2.543 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002424/0.6176, allocations: 115.6 kB / 0.5007 GB, free: 2.43 MB / 426.7 MB Notification: Performance of SimCode: time 7.02e-07/0.6176, allocations: 0 / 0.5007 GB, free: 2.43 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_Test7CalcHelperMain.o OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Ds_Test7CalcHelperMain.cpp In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Ds_Test7CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Ds_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_CombiTable2Ds_Test7.so OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Ds_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_CombiTable2Ds_Test7_FMU.makefile:93: recipe for target 'ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Ds_Test7.fmu' failed make: *** [ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Ds_Test7.fmu] Error 1