Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test8,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable2D_Test8",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.98/1.98, allocations: 209.3 MB / 221.9 MB, free: 1.941 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.142e-05/3.15e-05, allocations: 0 / 273.1 MB, free: 0.6484 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1045/0.1046, allocations: 48.7 MB / 321.8 MB, free: 15.85 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4195/0.5242, allocations: 74.32 MB / 396.1 MB, free: 15.53 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002739/0.5245, allocations: 75.94 kB / 396.2 MB, free: 15.46 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01859/0.5431, allocations: 5.04 MB / 401.3 MB, free: 10.42 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.184e-06/0.5432, allocations: 0 / 401.3 MB, free: 10.42 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.079e-05/0.5432, allocations: 8 kB / 401.3 MB, free: 10.41 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0007797/0.544, allocations: 0.5693 MB / 401.8 MB, free: 9.789 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.396e-05/0.5441, allocations: 12.03 kB / 401.9 MB, free: 9.777 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.784e-05/0.5441, allocations: 34.56 kB / 401.9 MB, free: 9.734 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001157/0.5443, allocations: 35.53 kB / 401.9 MB, free: 9.699 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006552/0.5449, allocations: 319.3 kB / 402.2 MB, free: 9.348 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.42e-05/0.545, allocations: 4 kB / 402.2 MB, free: 9.344 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.89e-05/0.545, allocations: 4 kB / 402.2 MB, free: 9.34 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001351/0.5451, allocations: 45.62 kB / 402.3 MB, free: 9.289 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.408e-06/0.5452, allocations: 4 kB / 402.3 MB, free: 9.285 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.828e-06/0.5452, allocations: 0 / 402.3 MB, free: 9.285 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.482e-06/0.5452, allocations: 0 / 402.3 MB, free: 9.285 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.233e-05/0.5453, allocations: 16 kB / 402.3 MB, free: 9.27 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007817/0.5461, allocations: 412.8 kB / 402.7 MB, free: 8.816 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.944e-05/0.5462, allocations: 30.5 kB / 402.7 MB, free: 8.777 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.442e-05/0.5462, allocations: 12.92 kB / 402.7 MB, free: 8.762 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.871e-05/0.5462, allocations: 7.984 kB / 402.8 MB, free: 8.754 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.309e-05/0.5463, allocations: 34.56 kB / 402.8 MB, free: 8.711 MB / 330.7 MB Notification: Performance of pre-optimization done (n=2): time 1.793e-06/0.5463, allocations: 0 / 402.8 MB, free: 8.711 MB / 330.7 MB Notification: Performance of matching and sorting (n=2): time 0.0002421/0.5466, allocations: 81.09 kB / 402.9 MB, free: 8.625 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.976e-05/0.5466, allocations: 51.41 kB / 402.9 MB, free: 8.562 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001896/0.5485, allocations: 0.7654 MB / 403.7 MB, free: 7.785 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.572e-05/0.5486, allocations: 29.73 kB / 403.7 MB, free: 7.75 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002407/0.5488, allocations: 238.5 kB / 403.9 MB, free: 7.516 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.931e-05/0.5489, allocations: 3.906 kB / 404 MB, free: 7.512 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.578e-06/0.5489, allocations: 0 / 404 MB, free: 7.512 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001661/0.549, allocations: 320.2 kB / 404.3 MB, free: 7.191 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.425e-05/0.5491, allocations: 4 kB / 404.3 MB, free: 7.188 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.727e-05/0.5491, allocations: 4 kB / 404.3 MB, free: 7.184 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.921e-05/0.5492, allocations: 33.7 kB / 404.3 MB, free: 7.145 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.5492, allocations: 0 / 404.3 MB, free: 7.145 MB / 330.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001588/0.5494, allocations: 79.39 kB / 404.4 MB, free: 7.055 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.557e-05/0.5494, allocations: 29.7 kB / 404.4 MB, free: 7.02 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.938e-06/0.5495, allocations: 0 / 404.4 MB, free: 7.02 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.269e-05/0.5495, allocations: 3.938 kB / 404.4 MB, free: 7.016 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001246/0.5496, allocations: 11.98 kB / 404.4 MB, free: 7.004 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.307e-05/0.5497, allocations: 3.953 kB / 404.4 MB, free: 7 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001029/0.5498, allocations: 7.938 kB / 404.4 MB, free: 6.992 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.054e-05/0.5498, allocations: 0 / 404.4 MB, free: 6.992 MB / 330.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 (3): * Single equations (assignments): 2 * 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 9.147e-05/0.5499, allocations: 112.9 kB / 404.5 MB, free: 6.875 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001363/0.55, allocations: 47.38 kB / 404.6 MB, free: 6.828 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002293/0.5503, allocations: 88.53 kB / 404.7 MB, free: 6.734 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.888e-06/0.5503, allocations: 0 / 404.7 MB, free: 6.734 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/0.5503, allocations: 0 / 404.7 MB, free: 6.734 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.807e-06/0.5503, allocations: 7.938 kB / 404.7 MB, free: 6.727 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004584/0.5508, allocations: 313.5 kB / 405 MB, free: 6.371 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.5508, allocations: 0 / 405 MB, free: 6.371 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.356e-05/0.5509, allocations: 8 kB / 405 MB, free: 6.363 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.46e-06/0.5509, allocations: 4.031 kB / 405 MB, free: 6.359 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.185e-06/0.5509, allocations: 0 / 405 MB, free: 6.359 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.709e-06/0.5509, allocations: 3.984 kB / 405 MB, free: 6.355 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.198e-06/0.5509, allocations: 3.938 kB / 405 MB, free: 6.352 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002545/0.5512, allocations: 171 kB / 405.2 MB, free: 6.168 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003041/0.5515, allocations: 160.5 kB / 405.3 MB, free: 5.992 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.49e-05/0.5516, allocations: 0 / 405.3 MB, free: 5.992 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001354/0.5517, allocations: 12.03 kB / 405.3 MB, free: 5.98 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.035e-05/0.5518, allocations: 3.984 kB / 405.4 MB, free: 5.977 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.065e-06/0.5518, allocations: 4 kB / 405.4 MB, free: 5.973 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.001156/0.553, allocations: 0.6186 MB / 406 MB, free: 5.359 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.4e-07/0.553, allocations: 0 / 406 MB, free: 5.359 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.000402/0.5534, allocations: 44 kB / 406 MB, free: 5.316 MB / 330.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.001063/0.5545, allocations: 0.8044 MB / 406.8 MB, free: 4.523 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001704/0.5547, allocations: 71.39 kB / 406.9 MB, free: 4.441 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.5547, allocations: 0 / 406.9 MB, free: 4.441 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 3.136e-05/0.5547, allocations: 4 kB / 406.9 MB, free: 4.438 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003328/0.5551, allocations: 24.53 kB / 406.9 MB, free: 4.418 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002039/0.5571, allocations: 0.8308 MB / 407.8 MB, free: 3.543 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006145/0.5578, allocations: 0.8223 MB / 408.6 MB, free: 2.695 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002614/0.5581, allocations: 107.6 kB / 408.7 MB, free: 2.59 MB / 330.7 MB Notification: Performance of SimCode: time 1.232e-06/0.5581, allocations: 0 / 408.7 MB, free: 2.59 MB / 330.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_Test8CalcHelperMain.o OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable2D_Test8CalcHelperMain.cpp In file included from OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable2D_Test8CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable2D_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_3_2_1_cpp_ModelicaTest_Tables_CombiTable2D_Test8.so OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable2D_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 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_Test8_FMU.makefile:93: recipe for target 'ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable2D_Test8.fmu' failed make: *** [ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable2D_Test8.fmu] Error 1