Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test1,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable2D_Test1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.015/2.015, allocations: 209.3 MB / 221.9 MB, free: 1.941 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.554e-05/3.563e-05, allocations: 4 kB / 273.1 MB, free: 0.6523 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1031/0.1031, allocations: 48.71 MB / 321.9 MB, free: 15.85 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4058/0.509, allocations: 74.5 MB / 396.3 MB, free: 15.34 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002834/0.5094, allocations: 68.83 kB / 396.4 MB, free: 15.27 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01889/0.5283, allocations: 5.273 MB / 401.7 MB, free: 10 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.563e-06/0.5284, allocations: 0 / 401.7 MB, free: 10 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.633e-05/0.5284, allocations: 8 kB / 401.7 MB, free: 9.992 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0007323/0.5291, allocations: 0.5693 MB / 402.3 MB, free: 9.371 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.595e-05/0.5292, allocations: 15.97 kB / 402.3 MB, free: 9.355 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.141e-05/0.5293, allocations: 30.56 kB / 402.3 MB, free: 9.316 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001006/0.5294, allocations: 47.39 kB / 402.4 MB, free: 9.27 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005913/0.53, allocations: 319.4 kB / 402.7 MB, free: 8.918 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.227e-05/0.53, allocations: 0 / 402.7 MB, free: 8.918 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.589e-05/0.53, allocations: 4 kB / 402.7 MB, free: 8.914 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001312/0.5302, allocations: 49.69 kB / 402.7 MB, free: 8.859 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.166e-05/0.5302, allocations: 0 / 402.7 MB, free: 8.859 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.258e-05/0.5302, allocations: 0 / 402.7 MB, free: 8.859 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.544e-06/0.5302, allocations: 7.938 kB / 402.7 MB, free: 8.852 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.079e-05/0.5303, allocations: 16 kB / 402.7 MB, free: 8.836 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000736/0.5311, allocations: 428.6 kB / 403.2 MB, free: 8.367 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002253/0.5313, allocations: 42.56 kB / 403.2 MB, free: 8.316 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.508e-05/0.5314, allocations: 18.17 kB / 403.2 MB, free: 8.297 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.378e-05/0.5314, allocations: 3.984 kB / 403.2 MB, free: 8.293 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.248e-05/0.5315, allocations: 30.56 kB / 403.3 MB, free: 8.254 MB / 330.7 MB Notification: Performance of pre-optimization done (n=3): time 1.894e-06/0.5315, allocations: 0 / 403.3 MB, free: 8.254 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.000612/0.5321, allocations: 184.2 kB / 403.4 MB, free: 8.066 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.608e-05/0.5322, allocations: 59.34 kB / 403.5 MB, free: 7.996 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001849/0.534, allocations: 0.7615 MB / 404.3 MB, free: 7.223 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.952e-05/0.5341, allocations: 25.7 kB / 404.3 MB, free: 7.191 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002093/0.5343, allocations: 246.4 kB / 404.5 MB, free: 6.949 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.587e-05/0.5343, allocations: 15.81 kB / 404.5 MB, free: 6.934 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.011e-06/0.5343, allocations: 0 / 404.5 MB, free: 6.934 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001243/0.5345, allocations: 310.8 kB / 404.8 MB, free: 6.621 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.834e-05/0.5345, allocations: 12 kB / 404.9 MB, free: 6.609 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.216e-05/0.5346, allocations: 12 kB / 404.9 MB, free: 6.598 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.291e-05/0.5347, allocations: 49.69 kB / 404.9 MB, free: 6.543 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.381e-06/0.5347, allocations: 0 / 404.9 MB, free: 6.543 MB / 330.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001806/0.5349, allocations: 91.33 kB / 405 MB, free: 6.441 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.746e-05/0.5349, allocations: 29.7 kB / 405 MB, free: 6.406 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.05e-05/0.5349, allocations: 3.953 kB / 405 MB, free: 6.402 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.281e-05/0.535, allocations: 0 / 405 MB, free: 6.402 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001214/0.5351, allocations: 15.98 kB / 405.1 MB, free: 6.387 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.391e-05/0.5351, allocations: 4 kB / 405.1 MB, free: 6.383 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001204/0.5353, allocations: 15.94 kB / 405.1 MB, free: 6.367 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.114e-05/0.5353, allocations: 0 / 405.1 MB, free: 6.367 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 (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 8.54e-05/0.5354, allocations: 105 kB / 405.2 MB, free: 6.258 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001163/0.5355, allocations: 43.69 kB / 405.2 MB, free: 6.215 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002893/0.5358, allocations: 120.9 kB / 405.3 MB, free: 6.09 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.192e-06/0.5358, allocations: 3.953 kB / 405.3 MB, free: 6.086 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.5358, allocations: 0 / 405.3 MB, free: 6.086 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-06/0.5359, allocations: 3.938 kB / 405.3 MB, free: 6.082 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001001/0.5369, allocations: 0.5569 MB / 405.9 MB, free: 5.469 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-06/0.5369, allocations: 0 / 405.9 MB, free: 5.469 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001147/0.537, allocations: 19.98 kB / 405.9 MB, free: 5.449 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.871e-06/0.537, allocations: 3.953 kB / 405.9 MB, free: 5.445 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.216e-05/0.537, allocations: 4 kB / 405.9 MB, free: 5.441 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.943e-06/0.5371, allocations: 0 / 405.9 MB, free: 5.441 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.5371, allocations: 0 / 405.9 MB, free: 5.441 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002638/0.5373, allocations: 191.1 kB / 406.1 MB, free: 5.238 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002763/0.5376, allocations: 160.5 kB / 406.3 MB, free: 5.062 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.336e-05/0.5377, allocations: 7.953 kB / 406.3 MB, free: 5.055 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001563/0.5379, allocations: 4 kB / 406.3 MB, free: 5.051 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.347e-05/0.5379, allocations: 11.92 kB / 406.3 MB, free: 5.039 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.803e-06/0.5379, allocations: 0 / 406.3 MB, free: 5.039 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.001092/0.539, allocations: 0.6225 MB / 406.9 MB, free: 4.422 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.91e-07/0.5391, allocations: 0 / 406.9 MB, free: 4.422 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004316/0.5395, allocations: 63.94 kB / 407 MB, free: 4.359 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 (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.001093/0.5406, allocations: 0.8436 MB / 407.8 MB, free: 3.539 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001893/0.5408, allocations: 95.33 kB / 407.9 MB, free: 3.434 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.5408, allocations: 0 / 407.9 MB, free: 3.434 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 5.67e-05/0.5409, allocations: 16 kB / 407.9 MB, free: 3.418 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003309/0.5412, allocations: 25.92 kB / 408 MB, free: 3.395 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001963/0.5432, allocations: 0.8432 MB / 408.8 MB, free: 2.508 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005553/0.5438, allocations: 0.8262 MB / 409.6 MB, free: 1.656 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002415/0.544, allocations: 107.6 kB / 409.7 MB, free: 1.551 MB / 330.7 MB Notification: Performance of SimCode: time 8.61e-07/0.5441, allocations: 0 / 409.7 MB, free: 1.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_Test1CalcHelperMain.o OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable2D_Test1CalcHelperMain.cpp In file included from OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable2D_Test1CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable2D_Test1FMU.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_Test1.so OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable2D_Test1CalcHelperMain.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_Test1_FMU.makefile:93: recipe for target 'ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable2D_Test1.fmu' failed make: *** [ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable2D_Test1.fmu] Error 1