Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test5,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test5",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.418/2.418, allocations: 235 MB / 247.6 MB, free: 14.38 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.77e-05/3.774e-05, allocations: 4 kB / 305 MB, free: 5.559 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4643/0.4644, allocations: 54.86 MB / 359.9 MB, free: 2.723 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1606/0.6251, allocations: 80.92 MB / 440.8 MB, free: 60 kB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002955/0.6254, allocations: 75.95 kB / 440.9 MB, free: 15.98 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02041/0.6459, allocations: 5.326 MB / 446.2 MB, free: 10.68 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.884e-06/0.6459, allocations: 0 / 446.2 MB, free: 10.68 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.754e-05/0.6459, allocations: 4 kB / 446.2 MB, free: 10.68 MB / 378.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.0007915/0.6468, allocations: 0.5732 MB / 446.8 MB, free: 10.05 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.214e-05/0.6468, allocations: 8.031 kB / 446.8 MB, free: 10.04 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.521e-05/0.6469, allocations: 41.69 kB / 446.8 MB, free: 9.996 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001002/0.647, allocations: 43.42 kB / 446.9 MB, free: 9.953 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006205/0.6476, allocations: 307.4 kB / 447.2 MB, free: 9.609 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.717e-05/0.6476, allocations: 8 kB / 447.2 MB, free: 9.602 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.089e-05/0.6477, allocations: 0 / 447.2 MB, free: 9.602 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001425/0.6478, allocations: 49.64 kB / 447.2 MB, free: 9.547 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.653e-05/0.6479, allocations: 7.938 kB / 447.2 MB, free: 9.539 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.346e-05/0.6479, allocations: 7.281 kB / 447.2 MB, free: 9.535 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.57e-06/0.6479, allocations: 0 / 447.2 MB, free: 9.535 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.503e-05/0.648, allocations: 16 kB / 447.2 MB, free: 9.52 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008361/0.6488, allocations: 424.6 kB / 447.7 MB, free: 9.055 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002706/0.6491, allocations: 50.5 kB / 447.7 MB, free: 8.996 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.051e-05/0.6492, allocations: 8.859 kB / 447.7 MB, free: 8.984 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.909e-05/0.6492, allocations: 4 kB / 447.7 MB, free: 8.98 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.529e-05/0.6493, allocations: 30.56 kB / 447.7 MB, free: 8.941 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 2.585e-06/0.6493, allocations: 0.9375 kB / 447.7 MB, free: 8.941 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0007177/0.65, allocations: 184.2 kB / 447.9 MB, free: 8.754 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.375e-05/0.6501, allocations: 55.34 kB / 448 MB, free: 8.688 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001869/0.652, allocations: 0.7654 MB / 448.7 MB, free: 7.918 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.675e-05/0.652, allocations: 29.7 kB / 448.8 MB, free: 7.883 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002184/0.6522, allocations: 238.4 kB / 449 MB, free: 7.648 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.078e-05/0.6523, allocations: 11.81 kB / 449 MB, free: 7.637 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.683e-06/0.6523, allocations: 0 / 449 MB, free: 7.637 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001362/0.6524, allocations: 322.8 kB / 449.3 MB, free: 7.312 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.38e-05/0.6525, allocations: 16 kB / 449.3 MB, free: 7.297 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.353e-05/0.6526, allocations: 8.938 kB / 449.4 MB, free: 7.289 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.679e-05/0.6527, allocations: 41.7 kB / 449.4 MB, free: 7.242 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.6527, allocations: 0 / 449.4 MB, free: 7.242 MB / 378.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002225/0.6529, allocations: 91.39 kB / 449.5 MB, free: 7.141 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.543e-05/0.653, allocations: 33.7 kB / 449.5 MB, free: 7.102 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.843e-06/0.653, allocations: 0 / 449.5 MB, free: 7.102 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.66e-05/0.653, allocations: 0 / 449.5 MB, free: 7.102 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001627/0.6532, allocations: 17.17 kB / 449.5 MB, free: 7.086 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.516e-06/0.6532, allocations: 3.938 kB / 449.5 MB, free: 7.082 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001799/0.6534, allocations: 8 kB / 449.5 MB, free: 7.074 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.135e-05/0.6534, allocations: 8.5 kB / 449.6 MB, free: 7.066 MB / 378.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 (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 1 * 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.0001018/0.6535, allocations: 116.9 kB / 449.7 MB, free: 6.945 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001213/0.6537, allocations: 39.44 kB / 449.7 MB, free: 6.906 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000395/0.6541, allocations: 113 kB / 449.8 MB, free: 6.785 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.143e-06/0.6541, allocations: 4 kB / 449.8 MB, free: 6.781 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.5e-06/0.6541, allocations: 0 / 449.8 MB, free: 6.781 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.6541, allocations: 2.469 kB / 449.8 MB, free: 6.781 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001112/0.6553, allocations: 0.5608 MB / 450.4 MB, free: 6.164 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.926e-06/0.6553, allocations: 0 / 450.4 MB, free: 6.164 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001242/0.6554, allocations: 14.56 kB / 450.4 MB, free: 6.152 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.39e-06/0.6554, allocations: 144 / 450.4 MB, free: 6.152 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.918e-06/0.6554, allocations: 0 / 450.4 MB, free: 6.152 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.6555, allocations: 0 / 450.4 MB, free: 6.152 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.199e-06/0.6555, allocations: 3.984 kB / 450.4 MB, free: 6.148 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002984/0.6558, allocations: 199 kB / 450.6 MB, free: 5.938 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002881/0.6561, allocations: 160.5 kB / 450.8 MB, free: 5.762 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.767e-05/0.6561, allocations: 3.938 kB / 450.8 MB, free: 5.758 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001572/0.6563, allocations: 11.98 kB / 450.8 MB, free: 5.746 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.518e-05/0.6564, allocations: 0 / 450.8 MB, free: 5.746 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.232e-05/0.6564, allocations: 8 kB / 450.8 MB, free: 5.738 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001202/0.6576, allocations: 0.6186 MB / 451.4 MB, free: 5.121 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.91e-07/0.6576, allocations: 4 kB / 451.4 MB, free: 5.117 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004545/0.6581, allocations: 55.94 kB / 451.5 MB, free: 5.062 MB / 378.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 (5): * Single equations (assignments): 5 * 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.001297/0.6594, allocations: 0.899 MB / 452.4 MB, free: 4.207 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002073/0.6596, allocations: 91.34 kB / 452.4 MB, free: 4.105 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.6596, allocations: 160 / 452.4 MB, free: 4.105 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 5.168e-05/0.6597, allocations: 15.94 kB / 452.5 MB, free: 4.09 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003462/0.6601, allocations: 29.95 kB / 452.5 MB, free: 4.062 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002008/0.6621, allocations: 0.8444 MB / 453.3 MB, free: 3.176 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005633/0.6627, allocations: 0.8223 MB / 454.2 MB, free: 2.324 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002438/0.6629, allocations: 103.6 kB / 454.3 MB, free: 2.223 MB / 378.7 MB Notification: Performance of SimCode: time 3.386e-06/0.663, allocations: 0 / 454.3 MB, free: 2.223 MB / 378.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_2_cpp_ModelicaTest_Tables_CombiTable2D_Test5CalcHelperMain.o OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test5CalcHelperMain.cpp In file included from OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test5CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test5FMU.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_2_cpp_ModelicaTest_Tables_CombiTable2D_Test5.so OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test5CalcHelperMain.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.2/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.2/Resources/Library/x86_64-linux" -Wl,-rpath="/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Resources/Library/x86_64-linux" "-L/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Resources/Library/linux64" -Wl,-rpath="/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Resources/Library/linux64" "-L/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Resources/Library" -Wl,-rpath="/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/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_2_cpp_ModelicaTest_Tables_CombiTable2D_Test5_FMU.makefile:93: recipe for target 'ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test5.fmu' failed make: *** [ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test5.fmu] Error 1