Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test8,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Ds_Test8",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.461/2.461, allocations: 270 MB / 282.6 MB, free: 1.887 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.528e-05/3.508e-05, allocations: 4 kB / 347.1 MB, free: 3.145 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4105/0.4106, allocations: 61.87 MB / 408.9 MB, free: 10.67 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1625/0.5732, allocations: 88.33 MB / 497.3 MB, free: 2.223 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002647/0.5735, allocations: 71.97 kB / 497.3 MB, free: 2.152 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03012/0.6036, allocations: 7.931 MB / 0.4934 GB, free: 10.2 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.833e-06/0.6037, allocations: 0 / 0.4934 GB, free: 10.2 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.914e-05/0.6037, allocations: 4 kB / 0.4934 GB, free: 10.2 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.0006876/0.6044, allocations: 0.5441 MB / 0.4939 GB, free: 9.605 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.809e-05/0.6045, allocations: 8.031 kB / 0.494 GB, free: 9.598 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.704e-05/0.6045, allocations: 42.55 kB / 0.494 GB, free: 9.547 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.741e-05/0.6046, allocations: 39.44 kB / 0.494 GB, free: 9.508 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006361/0.6053, allocations: 327.3 kB / 0.4943 GB, free: 9.148 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.347e-05/0.6053, allocations: 4 kB / 0.4943 GB, free: 9.145 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.352e-05/0.6053, allocations: 0 / 0.4943 GB, free: 9.145 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001173/0.6055, allocations: 37.7 kB / 0.4944 GB, free: 9.102 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.626e-06/0.6055, allocations: 0 / 0.4944 GB, free: 9.102 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.015e-05/0.6055, allocations: 0 / 0.4944 GB, free: 9.102 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.874e-06/0.6055, allocations: 4 kB / 0.4944 GB, free: 9.098 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.697e-05/0.6056, allocations: 19.86 kB / 0.4944 GB, free: 9.078 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007219/0.6063, allocations: 432.7 kB / 0.4948 GB, free: 8.605 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.415e-05/0.6064, allocations: 18.58 kB / 0.4948 GB, free: 8.578 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.389e-05/0.6065, allocations: 12.92 kB / 0.4948 GB, free: 8.562 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.34e-05/0.6065, allocations: 0 / 0.4948 GB, free: 8.562 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.341e-05/0.6065, allocations: 34.56 kB / 0.4949 GB, free: 8.52 MB / 426.7 MB Notification: Performance of pre-optimization done (n=2): time 1.803e-06/0.6065, allocations: 3.938 kB / 0.4949 GB, free: 8.516 MB / 426.7 MB Notification: Performance of matching and sorting (n=2): time 0.0002304/0.6068, allocations: 81.17 kB / 0.495 GB, free: 8.43 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.517e-05/0.6068, allocations: 51.41 kB / 0.495 GB, free: 8.367 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001842/0.6087, allocations: 0.7811 MB / 0.4958 GB, free: 7.574 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.052e-05/0.6087, allocations: 29.7 kB / 0.4958 GB, free: 7.539 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002014/0.6089, allocations: 243.8 kB / 0.496 GB, free: 7.301 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.451e-05/0.609, allocations: 4 kB / 0.496 GB, free: 7.297 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.517e-06/0.609, allocations: 0 / 0.496 GB, free: 7.297 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001239/0.6091, allocations: 314.9 kB / 0.4963 GB, free: 6.98 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.33e-05/0.6091, allocations: 4 kB / 0.4963 GB, free: 6.977 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.902e-05/0.6092, allocations: 4 kB / 0.4963 GB, free: 6.973 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.807e-05/0.6092, allocations: 7.984 kB / 0.4964 GB, free: 6.965 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.6092, allocations: 0 / 0.4964 GB, free: 6.965 MB / 426.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 9.722e-05/0.6093, allocations: 41.64 kB / 0.4964 GB, free: 6.918 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.753e-05/0.6094, allocations: 8 kB / 0.4964 GB, free: 6.91 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.681e-06/0.6094, allocations: 0 / 0.4964 GB, free: 6.91 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.369e-05/0.6094, allocations: 4.094 kB / 0.4964 GB, free: 6.906 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001009/0.6095, allocations: 7.984 kB / 0.4964 GB, free: 6.898 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.662e-06/0.6095, allocations: 0 / 0.4964 GB, free: 6.898 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001122/0.6096, allocations: 11.91 kB / 0.4964 GB, free: 6.887 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.306e-05/0.6097, allocations: 7.953 kB / 0.4964 GB, free: 6.879 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 7.288e-05/0.6098, allocations: 101 kB / 0.4965 GB, free: 6.773 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001107/0.6099, allocations: 39.53 kB / 0.4966 GB, free: 6.734 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002211/0.6101, allocations: 96.66 kB / 0.4967 GB, free: 6.625 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.095e-06/0.6101, allocations: 0 / 0.4967 GB, free: 6.625 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.224e-06/0.6101, allocations: 3.984 kB / 0.4967 GB, free: 6.621 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.6101, allocations: 0 / 0.4967 GB, free: 6.621 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004393/0.6106, allocations: 329.3 kB / 0.497 GB, free: 6.25 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.6106, allocations: 0 / 0.497 GB, free: 6.25 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.017e-05/0.6107, allocations: 7.938 kB / 0.497 GB, free: 6.242 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.6107, allocations: 0 / 0.497 GB, free: 6.242 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.105e-06/0.6107, allocations: 0 / 0.497 GB, free: 6.242 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.944e-06/0.6107, allocations: 0 / 0.497 GB, free: 6.242 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.6107, allocations: 0 / 0.497 GB, free: 6.242 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002223/0.611, allocations: 183 kB / 0.4972 GB, free: 6.047 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002781/0.6113, allocations: 164.5 kB / 0.4973 GB, free: 5.867 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.873e-05/0.6113, allocations: 11.88 kB / 0.4973 GB, free: 5.855 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001454/0.6115, allocations: 4 kB / 0.4973 GB, free: 5.852 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.23e-05/0.6115, allocations: 0 / 0.4973 GB, free: 5.852 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.608e-06/0.6115, allocations: 0 / 0.4973 GB, free: 5.852 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001131/0.6127, allocations: 0.6381 MB / 0.498 GB, free: 5.215 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.4e-07/0.6127, allocations: 0 / 0.498 GB, free: 5.215 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.000425/0.6131, allocations: 47.98 kB / 0.498 GB, free: 5.168 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.001418/0.6146, allocations: 0.9675 MB / 0.4989 GB, free: 4.293 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 9.78e-05/0.6147, allocations: 16 kB / 0.499 GB, free: 4.277 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.6147, allocations: 0 / 0.499 GB, free: 4.277 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 2.879e-05/0.6147, allocations: 4 kB / 0.499 GB, free: 4.273 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003742/0.6151, allocations: 26.08 kB / 0.499 GB, free: 4.246 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001975/0.6171, allocations: 0.8277 MB / 0.4998 GB, free: 3.375 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005161/0.6176, allocations: 0.8262 MB / 0.5006 GB, free: 2.523 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002487/0.6179, allocations: 119.6 kB / 0.5007 GB, free: 2.406 MB / 426.7 MB Notification: Performance of SimCode: time 2.514e-06/0.6179, allocations: 0 / 0.5007 GB, free: 2.406 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_Test8CalcHelperMain.o OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Ds_Test8CalcHelperMain.cpp In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Ds_Test8CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Ds_Test8FMU.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_Test8.so OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Ds_Test8CalcHelperMain.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_Test8_FMU.makefile:93: recipe for target 'ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Ds_Test8.fmu' failed make: *** [ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Ds_Test8.fmu] Error 1