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 2.006/2.006, allocations: 209.3 MB / 221.9 MB, free: 1.93 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.825e-05/4.839e-05, allocations: 4 kB / 273.2 MB, free: 0.6328 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.102/0.1021, allocations: 48.7 MB / 321.9 MB, free: 15.84 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3959/0.498, allocations: 74.33 MB / 396.2 MB, free: 15.49 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002186/0.4983, allocations: 71.08 kB / 396.3 MB, free: 15.42 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01778/0.5161, allocations: 5.051 MB / 401.3 MB, free: 10.37 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.5162, allocations: 0 / 401.3 MB, free: 10.37 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.204e-05/0.5162, allocations: 4 kB / 401.3 MB, free: 10.37 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.0007597/0.517, allocations: 0.5693 MB / 401.9 MB, free: 9.746 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.903e-05/0.517, allocations: 8.031 kB / 401.9 MB, free: 9.738 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.897e-05/0.5171, allocations: 38.5 kB / 401.9 MB, free: 9.691 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001055/0.5172, allocations: 39.53 kB / 402 MB, free: 9.652 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006097/0.5178, allocations: 323.2 kB / 402.3 MB, free: 9.297 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.384e-05/0.5179, allocations: 4 kB / 402.3 MB, free: 9.293 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.462e-05/0.5179, allocations: 0 / 402.3 MB, free: 9.293 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001237/0.518, allocations: 37.7 kB / 402.3 MB, free: 9.25 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.166e-06/0.518, allocations: 0 / 402.3 MB, free: 9.25 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.274e-05/0.5181, allocations: 0 / 402.3 MB, free: 9.25 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.173e-06/0.5181, allocations: 7.938 kB / 402.3 MB, free: 9.242 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.428e-05/0.5182, allocations: 8 kB / 402.3 MB, free: 9.234 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007521/0.5189, allocations: 420.8 kB / 402.7 MB, free: 8.773 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.339e-05/0.519, allocations: 30.56 kB / 402.8 MB, free: 8.734 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.558e-05/0.5191, allocations: 12.92 kB / 402.8 MB, free: 8.719 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.512e-05/0.5191, allocations: 0 / 402.8 MB, free: 8.719 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.817e-05/0.5191, allocations: 38.5 kB / 402.8 MB, free: 8.672 MB / 330.7 MB Notification: Performance of pre-optimization done (n=2): time 1.923e-06/0.5192, allocations: 0 / 402.8 MB, free: 8.672 MB / 330.7 MB Notification: Performance of matching and sorting (n=2): time 0.0002389/0.5194, allocations: 81.09 kB / 402.9 MB, free: 8.586 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.218e-05/0.5195, allocations: 55.41 kB / 403 MB, free: 8.52 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001808/0.5213, allocations: 0.7615 MB / 403.7 MB, free: 7.746 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.432e-05/0.5214, allocations: 25.7 kB / 403.7 MB, free: 7.715 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001996/0.5216, allocations: 234.6 kB / 404 MB, free: 7.484 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.885e-05/0.5216, allocations: 3.906 kB / 404 MB, free: 7.48 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.652e-06/0.5216, allocations: 8.031 kB / 404 MB, free: 7.473 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001195/0.5218, allocations: 312.2 kB / 404.3 MB, free: 7.16 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.977e-05/0.5218, allocations: 8 kB / 404.3 MB, free: 7.152 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.449e-05/0.5218, allocations: 4 kB / 404.3 MB, free: 7.148 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.59e-05/0.5219, allocations: 33.7 kB / 404.3 MB, free: 7.109 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.3e-06/0.5219, allocations: 3.984 kB / 404.3 MB, free: 7.105 MB / 330.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000153/0.5221, allocations: 71.34 kB / 404.4 MB, free: 7.023 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.277e-05/0.5221, allocations: 29.7 kB / 404.4 MB, free: 6.988 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.516e-06/0.5222, allocations: 3.984 kB / 404.4 MB, free: 6.984 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.793e-05/0.5222, allocations: 0 / 404.4 MB, free: 6.984 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001064/0.5223, allocations: 15.94 kB / 404.5 MB, free: 6.969 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.36e-05/0.5223, allocations: 3.953 kB / 404.5 MB, free: 6.965 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001205/0.5225, allocations: 4 kB / 404.5 MB, free: 6.961 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.288e-06/0.5225, allocations: 0 / 404.5 MB, free: 6.961 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 7.944e-05/0.5226, allocations: 108.9 kB / 404.6 MB, free: 6.848 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001116/0.5227, allocations: 43.44 kB / 404.6 MB, free: 6.805 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002467/0.5229, allocations: 92.52 kB / 404.7 MB, free: 6.707 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.037e-06/0.523, allocations: 7.969 kB / 404.7 MB, free: 6.699 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/0.523, allocations: 0 / 404.7 MB, free: 6.699 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.212e-06/0.523, allocations: 7.953 kB / 404.7 MB, free: 6.691 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004496/0.5235, allocations: 313.4 kB / 405 MB, free: 6.336 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.5235, allocations: 0 / 405 MB, free: 6.336 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.109e-05/0.5236, allocations: 11.98 kB / 405 MB, free: 6.324 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.925e-06/0.5236, allocations: 4 kB / 405 MB, free: 6.32 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.504e-06/0.5236, allocations: 0 / 405 MB, free: 6.32 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.276e-06/0.5236, allocations: 0 / 405 MB, free: 6.32 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/0.5236, allocations: 0 / 405 MB, free: 6.32 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002271/0.5239, allocations: 179 kB / 405.2 MB, free: 6.129 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002683/0.5241, allocations: 156.5 kB / 405.4 MB, free: 5.957 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.757e-05/0.5242, allocations: 0 / 405.4 MB, free: 5.957 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001352/0.5244, allocations: 7.984 kB / 405.4 MB, free: 5.949 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.648e-05/0.5244, allocations: 4 kB / 405.4 MB, free: 5.945 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.464e-06/0.5244, allocations: 4 kB / 405.4 MB, free: 5.941 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.001151/0.5256, allocations: 0.6225 MB / 406 MB, free: 5.324 MB / 330.7 MB Notification: Performance of sort global known variables: time 5.01e-07/0.5256, allocations: 4.031 kB / 406 MB, free: 5.32 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004334/0.526, allocations: 44 kB / 406.1 MB, free: 5.277 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.001006/0.5271, allocations: 0.8083 MB / 406.9 MB, free: 4.48 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001673/0.5273, allocations: 71.41 kB / 406.9 MB, free: 4.398 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.5273, allocations: 0 / 406.9 MB, free: 4.398 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 3.682e-05/0.5273, allocations: 7.938 kB / 406.9 MB, free: 4.391 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003401/0.5277, allocations: 20.42 kB / 407 MB, free: 4.375 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001953/0.5296, allocations: 0.823 MB / 407.8 MB, free: 3.508 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000516/0.5302, allocations: 0.8184 MB / 408.6 MB, free: 2.664 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002571/0.5305, allocations: 115.6 kB / 408.7 MB, free: 2.551 MB / 330.7 MB Notification: Performance of SimCode: time 8.51e-07/0.5305, allocations: 0 / 408.7 MB, free: 2.551 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