Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test27,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test27",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.36 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.537e-05/4.55e-05, allocations: 0 / 305 MB, free: 5.559 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4337/0.4338, allocations: 54.86 MB / 359.9 MB, free: 2.332 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1473/0.5812, allocations: 80.89 MB / 440.8 MB, free: 15.99 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000253/0.5815, allocations: 68.84 kB / 440.8 MB, free: 15.92 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01229/0.5938, allocations: 2.954 MB / 443.8 MB, free: 13 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.513e-06/0.5938, allocations: 0 / 443.8 MB, free: 13 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.216e-05/0.5939, allocations: 0 / 443.8 MB, free: 13 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.0005517/0.5944, allocations: 412 kB / 444.2 MB, free: 12.54 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.019e-05/0.5945, allocations: 16.02 kB / 444.2 MB, free: 12.53 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.282e-05/0.5945, allocations: 30.56 kB / 444.2 MB, free: 12.49 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.55e-05/0.5946, allocations: 15.91 kB / 444.2 MB, free: 12.47 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002417/0.5948, allocations: 186.9 kB / 444.4 MB, free: 12.25 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.413e-05/0.5949, allocations: 4 kB / 444.4 MB, free: 12.25 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.574e-05/0.5949, allocations: 4 kB / 444.4 MB, free: 12.24 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001376/0.5951, allocations: 53.62 kB / 444.5 MB, free: 12.18 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.121e-05/0.5951, allocations: 0 / 444.5 MB, free: 12.18 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.353e-05/0.5951, allocations: 3.953 kB / 444.5 MB, free: 12.18 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.452e-06/0.5951, allocations: 0 / 444.5 MB, free: 12.18 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.712e-05/0.5952, allocations: 19.28 kB / 444.5 MB, free: 12.16 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004263/0.5956, allocations: 284.9 kB / 444.8 MB, free: 11.84 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001097/0.5958, allocations: 42.47 kB / 444.8 MB, free: 11.79 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.76e-05/0.5958, allocations: 16.86 kB / 444.8 MB, free: 11.77 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.477e-05/0.5959, allocations: 0 / 444.8 MB, free: 11.77 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.536e-05/0.5959, allocations: 30.66 kB / 444.9 MB, free: 11.73 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 1.633e-06/0.5959, allocations: 4.938 kB / 444.9 MB, free: 11.72 MB / 378.7 MB Notification: Performance of matching and sorting (n=7): time 0.0006443/0.5966, allocations: 149.3 kB / 445 MB, free: 11.57 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.894e-05/0.5966, allocations: 51.41 kB / 445.1 MB, free: 11.51 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002129/0.5968, allocations: 151.4 kB / 445.2 MB, free: 11.35 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.959e-05/0.5969, allocations: 25.7 kB / 445.2 MB, free: 11.32 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.815e-05/0.597, allocations: 166.5 kB / 445.4 MB, free: 11.16 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.959e-05/0.597, allocations: 23.64 kB / 445.4 MB, free: 11.13 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.077e-05/0.597, allocations: 4 kB / 445.4 MB, free: 11.13 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001134/0.5972, allocations: 318.8 kB / 445.7 MB, free: 10.81 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.238e-05/0.5972, allocations: 16 kB / 445.8 MB, free: 10.79 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.823e-05/0.5973, allocations: 16.94 kB / 445.8 MB, free: 10.78 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.353e-05/0.5974, allocations: 45.69 kB / 445.8 MB, free: 10.73 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.322e-06/0.5974, allocations: 0 / 445.8 MB, free: 10.73 MB / 378.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002189/0.5976, allocations: 99.39 kB / 445.9 MB, free: 10.62 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.583e-05/0.5977, allocations: 31.11 kB / 445.9 MB, free: 10.58 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.5977, allocations: 8 kB / 446 MB, free: 10.57 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.355e-05/0.5977, allocations: 0 / 446 MB, free: 10.57 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002152/0.598, allocations: 23.92 kB / 446 MB, free: 10.55 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.137e-05/0.598, allocations: 4 kB / 446 MB, free: 10.55 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001337/0.5981, allocations: 15.98 kB / 446 MB, free: 10.53 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.611e-05/0.5982, allocations: 4.562 kB / 446 MB, free: 10.53 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 (8): * Single equations (assignments): 7 * 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.591e-05/0.5982, allocations: 108.9 kB / 446.1 MB, free: 10.41 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.285e-05/0.5983, allocations: 11.84 kB / 446.1 MB, free: 10.4 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002727/0.5986, allocations: 99.36 kB / 446.2 MB, free: 10.3 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.281e-06/0.5986, allocations: 0 / 446.2 MB, free: 10.3 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.5986, allocations: 3.938 kB / 446.2 MB, free: 10.29 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.968e-06/0.5986, allocations: 1.594 kB / 446.2 MB, free: 10.29 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000539/0.5992, allocations: 366 kB / 446.6 MB, free: 9.883 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.5992, allocations: 0 / 446.6 MB, free: 9.883 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000178/0.5994, allocations: 27.98 kB / 446.6 MB, free: 9.855 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.859e-06/0.5994, allocations: 144 / 446.6 MB, free: 9.855 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.314e-05/0.5994, allocations: 4 kB / 446.6 MB, free: 9.852 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.725e-06/0.5994, allocations: 0 / 446.6 MB, free: 9.852 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.5994, allocations: 0 / 446.6 MB, free: 9.852 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002363/0.5997, allocations: 179.3 kB / 446.8 MB, free: 9.66 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.622e-05/0.5998, allocations: 93.02 kB / 446.9 MB, free: 9.551 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.829e-05/0.5998, allocations: 7.984 kB / 446.9 MB, free: 9.543 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001489/0.6, allocations: 8.875 kB / 446.9 MB, free: 9.535 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.695e-05/0.6, allocations: 7.984 kB / 446.9 MB, free: 9.527 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.836e-06/0.6001, allocations: 0 / 446.9 MB, free: 9.527 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001468/0.6002, allocations: 134.2 kB / 447 MB, free: 9.398 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.6002, allocations: 0 / 447 MB, free: 9.398 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003525/0.6006, allocations: 20 kB / 447.1 MB, free: 9.379 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 (7): * Single equations (assignments): 7 * 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.001168/0.6018, allocations: 0.8781 MB / 447.9 MB, free: 8.543 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002335/0.602, allocations: 103.4 kB / 448 MB, free: 8.43 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/0.602, allocations: 0 / 448 MB, free: 8.43 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001052/0.6022, allocations: 31.88 kB / 448.1 MB, free: 8.398 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000267/0.6024, allocations: 11.94 kB / 448.1 MB, free: 8.387 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006917/0.6032, allocations: 225.7 kB / 448.3 MB, free: 8.125 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002975/0.6035, allocations: 0.6965 MB / 449 MB, free: 7.402 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.365e-05/0.6036, allocations: 27.42 kB / 449 MB, free: 7.375 MB / 378.7 MB Notification: Performance of SimCode: time 8.72e-07/0.6036, allocations: 0 / 449 MB, free: 7.375 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_Test27CalcHelperMain.o OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test27CalcHelperMain.cpp In file included from OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test27CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test27FMU.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_Test27.so OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test27CalcHelperMain.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_Test27_FMU.makefile:93: recipe for target 'ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test27.fmu' failed make: *** [ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test27.fmu] Error 1