Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1D.Test19,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable1D_Test19",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.852/1.852, allocations: 209.3 MB / 221.9 MB, free: 1.926 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.219e-05/3.228e-05, allocations: 4 kB / 273.2 MB, free: 0.6289 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09687/0.09694, allocations: 48.7 MB / 321.9 MB, free: 15.83 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3903/0.4873, allocations: 74.66 MB / 396.5 MB, free: 15.16 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002657/0.4876, allocations: 78.91 kB / 396.6 MB, free: 15.09 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01582/0.5034, allocations: 3.524 MB / 400.1 MB, free: 11.58 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.214e-06/0.5035, allocations: 3.938 kB / 400.1 MB, free: 11.57 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.288e-05/0.5035, allocations: 0 / 400.1 MB, free: 11.57 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.0005095/0.504, allocations: 392.1 kB / 400.5 MB, free: 11.14 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.484e-05/0.5041, allocations: 12.03 kB / 400.5 MB, free: 11.13 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.055e-05/0.5041, allocations: 38.5 kB / 400.6 MB, free: 11.08 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.395e-05/0.5042, allocations: 11.91 kB / 400.6 MB, free: 11.07 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002635/0.5045, allocations: 186.9 kB / 400.7 MB, free: 10.85 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.446e-06/0.5045, allocations: 4 kB / 400.8 MB, free: 10.84 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.827e-05/0.5045, allocations: 3.938 kB / 400.8 MB, free: 10.84 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001593/0.5047, allocations: 61.03 kB / 400.8 MB, free: 10.77 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.171e-05/0.5047, allocations: 0 / 400.8 MB, free: 10.77 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.234e-05/0.5048, allocations: 0 / 400.8 MB, free: 10.77 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.29e-06/0.5048, allocations: 4 kB / 400.8 MB, free: 10.77 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.086e-05/0.5049, allocations: 16 kB / 400.8 MB, free: 10.75 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004777/0.5053, allocations: 280.9 kB / 401.1 MB, free: 10.43 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002283/0.5056, allocations: 38.52 kB / 401.1 MB, free: 10.38 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.042e-05/0.5057, allocations: 12.86 kB / 401.2 MB, free: 10.36 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.279e-05/0.5057, allocations: 8.078 kB / 401.2 MB, free: 10.36 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.157e-05/0.5057, allocations: 34.56 kB / 401.2 MB, free: 10.31 MB / 330.7 MB Notification: Performance of pre-optimization done (n=3): time 1.833e-06/0.5057, allocations: 0 / 401.2 MB, free: 10.31 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005374/0.5063, allocations: 113.3 kB / 401.3 MB, free: 10.2 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.269e-05/0.5064, allocations: 81.06 kB / 401.4 MB, free: 10.1 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001387/0.5065, allocations: 113 kB / 401.5 MB, free: 9.98 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.16e-05/0.5065, allocations: 29.7 kB / 401.5 MB, free: 9.945 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.332e-05/0.5066, allocations: 158.6 kB / 401.7 MB, free: 9.789 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.715e-05/0.5067, allocations: 15.66 kB / 401.7 MB, free: 9.773 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.406e-06/0.5067, allocations: 7.938 kB / 401.7 MB, free: 9.766 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001185/0.5068, allocations: 310.8 kB / 402 MB, free: 9.453 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.569e-05/0.5069, allocations: 19.98 kB / 402 MB, free: 9.434 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.674e-05/0.507, allocations: 25.72 kB / 402.1 MB, free: 9.402 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.029e-05/0.5071, allocations: 45.69 kB / 402.1 MB, free: 9.352 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.5071, allocations: 4.031 kB / 402.1 MB, free: 9.348 MB / 330.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002248/0.5073, allocations: 99.33 kB / 402.2 MB, free: 9.238 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.973e-05/0.5074, allocations: 29.7 kB / 402.2 MB, free: 9.203 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.883e-06/0.5074, allocations: 144 / 402.2 MB, free: 9.203 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.704e-05/0.5074, allocations: 0 / 402.2 MB, free: 9.203 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001359/0.5075, allocations: 19.97 kB / 402.2 MB, free: 9.184 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.049e-05/0.5076, allocations: 4 kB / 402.3 MB, free: 9.18 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.161e-05/0.5077, allocations: 11.95 kB / 402.3 MB, free: 9.168 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.121e-05/0.5077, allocations: 4 kB / 402.3 MB, free: 9.164 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.117e-05/0.5078, allocations: 109 kB / 402.4 MB, free: 9.051 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.902e-05/0.5078, allocations: 4 kB / 402.4 MB, free: 9.047 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002272/0.5081, allocations: 89.8 kB / 402.5 MB, free: 8.957 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.048e-06/0.5081, allocations: 0 / 402.5 MB, free: 8.957 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.165e-06/0.5081, allocations: 4.062 kB / 402.5 MB, free: 8.953 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/0.5081, allocations: 0 / 402.5 MB, free: 8.953 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004733/0.5086, allocations: 338.5 kB / 402.8 MB, free: 8.566 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.5086, allocations: 0 / 402.8 MB, free: 8.566 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001121/0.5087, allocations: 15.98 kB / 402.8 MB, free: 8.551 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.446e-06/0.5088, allocations: 0 / 402.8 MB, free: 8.551 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.266e-05/0.5088, allocations: 4 kB / 402.8 MB, free: 8.547 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.5088, allocations: 0 / 402.8 MB, free: 8.547 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.797e-06/0.5088, allocations: 3.953 kB / 402.8 MB, free: 8.543 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001989/0.509, allocations: 159.5 kB / 403 MB, free: 8.371 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.971e-05/0.5091, allocations: 93 kB / 403.1 MB, free: 8.262 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.243e-05/0.5091, allocations: 0 / 403.1 MB, free: 8.262 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001104/0.5092, allocations: 4 kB / 403.1 MB, free: 8.258 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.461e-05/0.5093, allocations: 11.98 kB / 403.1 MB, free: 8.246 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.729e-06/0.5093, allocations: 3.953 kB / 403.1 MB, free: 8.242 MB / 330.7 MB Notification: Performance of sorting global known variables: time 8.683e-05/0.5094, allocations: 96.2 kB / 403.2 MB, free: 8.148 MB / 330.7 MB Notification: Performance of sort global known variables: time 5.01e-07/0.5094, allocations: 0 / 403.2 MB, free: 8.148 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003881/0.5098, allocations: 35.98 kB / 403.2 MB, free: 8.113 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.001232/0.5111, allocations: 0.9154 MB / 404.1 MB, free: 7.223 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002324/0.5113, allocations: 91.39 kB / 404.2 MB, free: 7.121 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/0.5113, allocations: 0 / 404.2 MB, free: 7.121 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 6.37e-05/0.5114, allocations: 23.94 kB / 404.2 MB, free: 7.098 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002459/0.5117, allocations: 11.98 kB / 404.3 MB, free: 7.086 MB / 330.7 MB Warning: Could not resolve URI (uri) at compile-time; copying all loaded packages into the FMU Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002389/0.5141, allocations: 0.7108 MB / 405 MB, free: 6.328 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002884/0.5144, allocations: 0.6926 MB / 405.7 MB, free: 5.609 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.351e-05/0.5145, allocations: 23.42 kB / 405.7 MB, free: 5.586 MB / 330.7 MB Notification: Performance of SimCode: time 1.193e-06/0.5145, allocations: 0 / 405.7 MB, free: 5.586 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_CombiTable1D_Test19CalcHelperMain.o OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable1D_Test19CalcHelperMain.cpp In file included from OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable1D_Test19CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable1D_Test19FMU.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_CombiTable1D_Test19.so OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable1D_Test19CalcHelperMain.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" -lModelicaExternalC -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_CombiTable1D_Test19_FMU.makefile:93: recipe for target 'ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable1D_Test19.fmu' failed make: *** [ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable1D_Test19.fmu] Error 1