Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test3,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.358/2.358, allocations: 235 MB / 247.6 MB, free: 14.38 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 5.171e-05/5.185e-05, allocations: 4 kB / 305 MB, free: 5.559 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4447/0.4448, allocations: 54.86 MB / 359.9 MB, free: 2.32 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1465/0.5913, allocations: 80.89 MB / 440.8 MB, free: 15.98 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002651/0.5916, allocations: 68.69 kB / 440.8 MB, free: 15.92 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0202/0.6118, allocations: 5.476 MB / 446.3 MB, free: 10.46 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.513e-06/0.6119, allocations: 0 / 446.3 MB, free: 10.46 MB / 378.7 MB Notification: Performance of Transformations before backend: time 7.299e-05/0.612, allocations: 8 kB / 446.3 MB, free: 10.46 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.0008263/0.6128, allocations: 0.5693 MB / 446.9 MB, free: 9.836 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.819e-05/0.6129, allocations: 12.03 kB / 446.9 MB, free: 9.824 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.335e-05/0.6129, allocations: 38.55 kB / 446.9 MB, free: 9.777 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001037/0.6131, allocations: 39.44 kB / 447 MB, free: 9.738 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006064/0.6137, allocations: 315.4 kB / 447.3 MB, free: 9.387 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.628e-05/0.6137, allocations: 3.984 kB / 447.3 MB, free: 9.383 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.967e-05/0.6137, allocations: 9.938 kB / 447.3 MB, free: 9.375 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001481/0.6139, allocations: 53.58 kB / 447.3 MB, free: 9.316 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.246e-05/0.6139, allocations: 3.281 kB / 447.3 MB, free: 9.316 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.417e-05/0.614, allocations: 4 kB / 447.3 MB, free: 9.312 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.02e-06/0.614, allocations: 0 / 447.3 MB, free: 9.312 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.078e-05/0.6141, allocations: 20 kB / 447.4 MB, free: 9.293 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007865/0.6149, allocations: 428.6 kB / 447.8 MB, free: 8.824 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001021/0.615, allocations: 34.58 kB / 447.8 MB, free: 8.781 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.752e-05/0.615, allocations: 12.86 kB / 447.8 MB, free: 8.766 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.875e-05/0.6151, allocations: 8 kB / 447.8 MB, free: 8.758 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.799e-05/0.6151, allocations: 41.19 kB / 447.9 MB, free: 8.711 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 1.773e-06/0.6151, allocations: 0 / 447.9 MB, free: 8.711 MB / 378.7 MB Notification: Performance of matching and sorting (n=7): time 0.0007943/0.6159, allocations: 212.2 kB / 448.1 MB, free: 8.496 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.151e-05/0.616, allocations: 55.34 kB / 448.1 MB, free: 8.43 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001828/0.6178, allocations: 0.7654 MB / 448.9 MB, free: 7.66 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.592e-05/0.6179, allocations: 29.7 kB / 448.9 MB, free: 7.625 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001998/0.6181, allocations: 234.5 kB / 449.2 MB, free: 7.395 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.539e-05/0.6182, allocations: 23.64 kB / 449.2 MB, free: 7.371 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.564e-06/0.6182, allocations: 4 kB / 449.2 MB, free: 7.367 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001176/0.6183, allocations: 318.8 kB / 449.5 MB, free: 7.047 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.585e-05/0.6184, allocations: 12 kB / 449.5 MB, free: 7.035 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.932e-05/0.6185, allocations: 22.19 kB / 449.5 MB, free: 7.016 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.859e-05/0.6186, allocations: 45.69 kB / 449.6 MB, free: 6.965 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.6186, allocations: 0 / 449.6 MB, free: 6.965 MB / 378.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002334/0.6188, allocations: 107.4 kB / 449.7 MB, free: 6.848 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.186e-05/0.6189, allocations: 35.42 kB / 449.7 MB, free: 6.809 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.172e-06/0.6189, allocations: 0 / 449.7 MB, free: 6.809 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.53e-05/0.6189, allocations: 0 / 449.7 MB, free: 6.809 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002312/0.6192, allocations: 27.92 kB / 449.7 MB, free: 6.781 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.225e-05/0.6192, allocations: 0 / 449.7 MB, free: 6.781 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001801/0.6194, allocations: 15.92 kB / 449.8 MB, free: 6.766 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.493e-05/0.6194, allocations: 8 kB / 449.8 MB, free: 6.758 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.228e-05/0.6195, allocations: 108.9 kB / 449.9 MB, free: 6.645 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001169/0.6196, allocations: 43.44 kB / 449.9 MB, free: 6.602 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000381/0.62, allocations: 126.4 kB / 450 MB, free: 6.469 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.388e-06/0.62, allocations: 0 / 450 MB, free: 6.469 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/0.62, allocations: 0.8125 kB / 450 MB, free: 6.469 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.873e-06/0.6201, allocations: 3.984 kB / 450 MB, free: 6.465 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001113/0.6212, allocations: 0.5871 MB / 450.6 MB, free: 5.824 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.367e-06/0.6212, allocations: 0 / 450.6 MB, free: 5.824 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001849/0.6214, allocations: 23.98 kB / 450.7 MB, free: 5.801 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.36e-06/0.6214, allocations: 0 / 450.7 MB, free: 5.801 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.538e-05/0.6214, allocations: 5.297 kB / 450.7 MB, free: 5.797 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.607e-06/0.6215, allocations: 0 / 450.7 MB, free: 5.797 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/0.6215, allocations: 0 / 450.7 MB, free: 5.797 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003146/0.6218, allocations: 218.9 kB / 450.9 MB, free: 5.566 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002573/0.6221, allocations: 148.6 kB / 451 MB, free: 5.402 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.232e-05/0.6221, allocations: 7.984 kB / 451 MB, free: 5.395 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001915/0.6223, allocations: 8 kB / 451 MB, free: 5.387 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.826e-05/0.6224, allocations: 12.64 kB / 451.1 MB, free: 5.375 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.171e-05/0.6224, allocations: 4 kB / 451.1 MB, free: 5.371 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001112/0.6236, allocations: 0.6186 MB / 451.7 MB, free: 4.754 MB / 378.7 MB Notification: Performance of sort global known variables: time 7.01e-07/0.6236, allocations: 4 kB / 451.7 MB, free: 4.75 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004868/0.6241, allocations: 56 kB / 451.7 MB, free: 4.695 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.001301/0.6254, allocations: 0.9258 MB / 452.7 MB, free: 3.816 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000234/0.6256, allocations: 99.41 kB / 452.8 MB, free: 3.707 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.47e-06/0.6257, allocations: 0 / 452.8 MB, free: 3.707 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.426e-05/0.6258, allocations: 31.94 kB / 452.8 MB, free: 3.676 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003475/0.6261, allocations: 18.08 kB / 452.8 MB, free: 3.656 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002106/0.6282, allocations: 0.8523 MB / 453.7 MB, free: 2.758 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005341/0.6288, allocations: 0.8301 MB / 454.5 MB, free: 1.898 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002699/0.6291, allocations: 107.6 kB / 454.6 MB, free: 1.793 MB / 378.7 MB Notification: Performance of SimCode: time 9.31e-07/0.6291, allocations: 0 / 454.6 MB, free: 1.793 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_Test3CalcHelperMain.o OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test3CalcHelperMain.cpp In file included from OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test3CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test3FMU.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_Test3.so OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test3CalcHelperMain.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_Test3_FMU.makefile:93: recipe for target 'ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test3.fmu' failed make: *** [ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test3.fmu] Error 1