Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test23,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable2D_Test23",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.149/2.149, allocations: 209.3 MB / 221.9 MB, free: 1.934 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.993e-05/4.012e-05, allocations: 0 / 273.1 MB, free: 0.6406 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1154/0.1155, allocations: 48.7 MB / 321.8 MB, free: 15.84 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4147/0.5303, allocations: 75.41 MB / 397.2 MB, free: 14.52 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003344/0.5307, allocations: 67.95 kB / 397.3 MB, free: 14.45 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02855/0.5593, allocations: 6.536 MB / 403.8 MB, free: 7.922 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.532e-06/0.5593, allocations: 0 / 403.8 MB, free: 7.922 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.028e-05/0.5594, allocations: 11.94 kB / 403.9 MB, free: 7.91 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.001237/0.5606, allocations: 0.7537 MB / 404.6 MB, free: 7.086 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.562e-05/0.5607, allocations: 8.031 kB / 404.6 MB, free: 7.078 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.426e-05/0.5608, allocations: 50.48 kB / 404.7 MB, free: 7.02 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001357/0.5609, allocations: 55.28 kB / 404.7 MB, free: 6.965 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001089/0.562, allocations: 431.2 kB / 405.1 MB, free: 6.504 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.109e-05/0.5621, allocations: 8 kB / 405.1 MB, free: 6.496 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.317e-05/0.5621, allocations: 15.91 kB / 405.2 MB, free: 6.48 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003557/0.5625, allocations: 128.9 kB / 405.3 MB, free: 6.344 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.343e-05/0.5625, allocations: 11.95 kB / 405.3 MB, free: 6.332 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.971e-05/0.5626, allocations: 0 / 405.3 MB, free: 6.332 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.803e-06/0.5626, allocations: 0 / 405.3 MB, free: 6.332 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002434/0.5628, allocations: 71.98 kB / 405.4 MB, free: 6.262 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001606/0.5645, allocations: 0.6956 MB / 406.1 MB, free: 5.512 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002915/0.5648, allocations: 109.2 kB / 406.2 MB, free: 5.387 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001327/0.5649, allocations: 45.83 kB / 406.2 MB, free: 5.336 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.089e-05/0.565, allocations: 4 kB / 406.2 MB, free: 5.332 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.297e-05/0.565, allocations: 34.56 kB / 406.3 MB, free: 5.289 MB / 330.7 MB Notification: Performance of pre-optimization done (n=12): time 2.204e-06/0.565, allocations: 3.938 kB / 406.3 MB, free: 5.285 MB / 330.7 MB Notification: Performance of matching and sorting (n=20): time 0.002271/0.5673, allocations: 0.5336 MB / 406.8 MB, free: 4.742 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.461e-05/0.5674, allocations: 81.11 kB / 406.9 MB, free: 4.645 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001507/0.5689, allocations: 0.7233 MB / 407.6 MB, free: 3.91 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 5.181e-05/0.569, allocations: 33.7 kB / 407.6 MB, free: 3.871 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002357/0.5692, allocations: 254.9 kB / 407.9 MB, free: 3.621 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.176e-05/0.5693, allocations: 63.02 kB / 407.9 MB, free: 3.559 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.46e-05/0.5694, allocations: 8 kB / 407.9 MB, free: 3.551 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001375/0.5695, allocations: 322.8 kB / 408.3 MB, free: 3.227 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002234/0.5698, allocations: 63.98 kB / 408.3 MB, free: 3.164 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002492/0.57, allocations: 101 kB / 408.4 MB, free: 3.062 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000305/0.5703, allocations: 171.3 kB / 408.6 MB, free: 2.871 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/0.5703, allocations: 0 / 408.6 MB, free: 2.871 MB / 330.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0007238/0.5711, allocations: 320.6 kB / 408.9 MB, free: 2.527 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.101e-05/0.5712, allocations: 114.8 kB / 409 MB, free: 2.391 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.795e-06/0.5712, allocations: 4 kB / 409 MB, free: 2.387 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.792e-05/0.5712, allocations: 3.953 kB / 409 MB, free: 2.383 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005903/0.5718, allocations: 75.81 kB / 409.1 MB, free: 2.309 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.114e-05/0.5719, allocations: 0 / 409.1 MB, free: 2.309 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004401/0.5723, allocations: 39.92 kB / 409.1 MB, free: 2.27 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.997e-05/0.5724, allocations: 7.984 kB / 409.1 MB, free: 2.262 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (24): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 4 * 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.0001234/0.5725, allocations: 116.9 kB / 409.3 MB, free: 2.141 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001612/0.5727, allocations: 51.34 kB / 409.3 MB, free: 2.09 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009379/0.5736, allocations: 293.7 kB / 409.6 MB, free: 1.789 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.476e-06/0.5737, allocations: 4 kB / 409.6 MB, free: 1.785 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.406e-06/0.5737, allocations: 7.953 kB / 409.6 MB, free: 1.777 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.907e-06/0.5737, allocations: 3.984 kB / 409.6 MB, free: 1.773 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001857/0.5756, allocations: 0.8566 MB / 410.5 MB, free: 0.8594 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.168e-06/0.5756, allocations: 0 / 410.5 MB, free: 0.8594 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005225/0.5761, allocations: 67.84 kB / 410.5 MB, free: 0.793 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.544e-06/0.5761, allocations: 4 kB / 410.5 MB, free: 0.7891 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.232e-05/0.5762, allocations: 11.98 kB / 410.5 MB, free: 0.7773 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.667e-06/0.5762, allocations: 0 / 410.5 MB, free: 0.7773 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.365e-06/0.5762, allocations: 0 / 410.5 MB, free: 0.7773 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007554/0.577, allocations: 419.9 kB / 411 MB, free: 352 kB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000397/0.5774, allocations: 188.4 kB / 411.1 MB, free: 144 kB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.094e-05/0.5775, allocations: 7.953 kB / 411.2 MB, free: 136 kB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004342/0.5779, allocations: 27.98 kB / 411.2 MB, free: 108 kB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001043/0.5781, allocations: 20.28 kB / 411.2 MB, free: 88 kB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.339e-05/0.5781, allocations: 11.98 kB / 411.2 MB, free: 76 kB / 330.7 MB Notification: Performance of sorting global known variables: time 0.001215/0.5793, allocations: 0.5756 MB / 411.8 MB, free: 15.5 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.5793, allocations: 0 / 411.8 MB, free: 15.5 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0006296/0.58, allocations: 111.8 kB / 411.9 MB, free: 15.39 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 20 * 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.002338/0.5823, allocations: 1.36 MB / 413.3 MB, free: 14.07 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.000753/0.5831, allocations: 389.7 kB / 413.6 MB, free: 13.64 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.396e-06/0.5832, allocations: 4 kB / 413.6 MB, free: 13.64 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002786/0.5834, allocations: 99.86 kB / 413.7 MB, free: 13.54 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005822/0.584, allocations: 38.3 kB / 413.8 MB, free: 13.51 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002494/0.5865, allocations: 0.8682 MB / 414.6 MB, free: 12.59 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005957/0.5872, allocations: 0.8543 MB / 415.5 MB, free: 11.71 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004506/0.5876, allocations: 163.4 kB / 415.7 MB, free: 11.55 MB / 346.7 MB Notification: Performance of SimCode: time 1.123e-06/0.5877, allocations: 0 / 415.7 MB, free: 11.55 MB / 346.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"." -DUSE_LOGGER -c -o OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable2D_Test23CalcHelperMain.o OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable2D_Test23CalcHelperMain.cpp In file included from OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable2D_Test23CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable2D_Test23FMU.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_3_2_1_cpp_ModelicaTest_Tables_CombiTable2D_Test23.so OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable2D_Test23CalcHelperMain.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 3.2.1/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 3.2.1/Resources/Library/x86_64-linux" -Wl,-rpath="/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/Resources/Library/x86_64-linux" "-L/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/Resources/Library/linux64" -Wl,-rpath="/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/Resources/Library/linux64" "-L/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/Resources/Library" -Wl,-rpath="/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/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_3_2_1_cpp_ModelicaTest_Tables_CombiTable2D_Test23_FMU.makefile:93: recipe for target 'ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable2D_Test23.fmu' failed make: *** [ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable2D_Test23.fmu] Error 1