Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1D.Test18,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable1D_Test18",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.894/1.894, allocations: 209.3 MB / 221.9 MB, free: 1.941 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.74e-05/3.75e-05, allocations: 4 kB / 273.2 MB, free: 0.6406 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09664/0.09671, allocations: 48.71 MB / 321.9 MB, free: 15.84 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3891/0.4859, allocations: 74.78 MB / 396.6 MB, free: 15.05 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002549/0.4862, allocations: 67.97 kB / 396.7 MB, free: 14.99 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01583/0.502, allocations: 3.821 MB / 400.5 MB, free: 11.18 MB / 330.7 MB Notification: Performance of FrontEnd: time 4.157e-06/0.5021, allocations: 0 / 400.5 MB, free: 11.18 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.335e-05/0.5021, allocations: 7.938 kB / 400.5 MB, free: 11.18 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004873/0.5026, allocations: 400 kB / 400.9 MB, free: 10.73 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.694e-05/0.5027, allocations: 12.03 kB / 400.9 MB, free: 10.72 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.044e-05/0.5027, allocations: 34.56 kB / 401 MB, free: 10.68 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.735e-05/0.5028, allocations: 4 kB / 401 MB, free: 10.68 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002484/0.503, allocations: 190.8 kB / 401.2 MB, free: 10.45 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.082e-05/0.503, allocations: 8 kB / 401.2 MB, free: 10.44 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.546e-05/0.5031, allocations: 12 kB / 401.2 MB, free: 10.43 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001882/0.5033, allocations: 76.19 kB / 401.3 MB, free: 10.34 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.304e-05/0.5033, allocations: 0 / 401.3 MB, free: 10.34 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.856e-05/0.5033, allocations: 8 kB / 401.3 MB, free: 10.33 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-06/0.5034, allocations: 0 / 401.3 MB, free: 10.33 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001008/0.5035, allocations: 23.94 kB / 401.3 MB, free: 10.31 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005703/0.504, allocations: 393 kB / 401.7 MB, free: 9.871 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003302/0.5044, allocations: 93.05 kB / 401.8 MB, free: 9.762 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.866e-05/0.5045, allocations: 25.72 kB / 401.8 MB, free: 9.73 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.325e-05/0.5045, allocations: 4 kB / 401.8 MB, free: 9.727 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.64e-05/0.5046, allocations: 34.64 kB / 401.8 MB, free: 9.684 MB / 330.7 MB Notification: Performance of pre-optimization done (n=6): time 1.974e-06/0.5046, allocations: 0 / 401.8 MB, free: 9.684 MB / 330.7 MB Notification: Performance of matching and sorting (n=10): time 0.0007409/0.5053, allocations: 185.2 kB / 402 MB, free: 9.496 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.717e-05/0.5054, allocations: 110.8 kB / 402.1 MB, free: 9.363 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001398/0.5056, allocations: 121.4 kB / 402.2 MB, free: 9.238 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.416e-05/0.5056, allocations: 29.7 kB / 402.3 MB, free: 9.203 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001042/0.5057, allocations: 154.6 kB / 402.4 MB, free: 9.051 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.735e-05/0.5058, allocations: 31.55 kB / 402.4 MB, free: 9.02 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.043e-05/0.5058, allocations: 4 kB / 402.4 MB, free: 9.016 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001154/0.5059, allocations: 310.8 kB / 402.7 MB, free: 8.703 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.743e-05/0.506, allocations: 27.98 kB / 402.8 MB, free: 8.676 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001029/0.5061, allocations: 46.16 kB / 402.8 MB, free: 8.625 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000118/0.5063, allocations: 61.83 kB / 402.9 MB, free: 8.559 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.462e-06/0.5063, allocations: 0 / 402.9 MB, free: 8.559 MB / 330.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000296/0.5066, allocations: 135.2 kB / 403 MB, free: 8.414 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.142e-05/0.5066, allocations: 37.7 kB / 403.1 MB, free: 8.371 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/0.5066, allocations: 0 / 403.1 MB, free: 8.371 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.505e-05/0.5067, allocations: 0 / 403.1 MB, free: 8.371 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001806/0.5069, allocations: 27.92 kB / 403.1 MB, free: 8.344 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.002e-05/0.5069, allocations: 3.953 kB / 403.1 MB, free: 8.34 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.425e-05/0.507, allocations: 8.312 kB / 403.1 MB, free: 8.332 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.661e-05/0.507, allocations: 4 kB / 403.1 MB, free: 8.328 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 (11): * Single equations (assignments): 10 * 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.789e-05/0.5071, allocations: 109 kB / 403.2 MB, free: 8.215 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.318e-05/0.5072, allocations: 11.89 kB / 403.2 MB, free: 8.203 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003574/0.5075, allocations: 133.6 kB / 403.3 MB, free: 8.07 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.338e-06/0.5076, allocations: 0 / 403.3 MB, free: 8.07 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.95e-06/0.5076, allocations: 4 kB / 403.3 MB, free: 8.066 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.482e-06/0.5076, allocations: 3.953 kB / 403.4 MB, free: 8.062 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007835/0.5084, allocations: 490.5 kB / 403.8 MB, free: 7.523 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/0.5084, allocations: 320 / 403.8 MB, free: 7.523 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001606/0.5086, allocations: 27.92 kB / 403.9 MB, free: 7.496 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.388e-06/0.5086, allocations: 0 / 403.9 MB, free: 7.496 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.15e-05/0.5086, allocations: 15.95 kB / 403.9 MB, free: 7.48 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.755e-06/0.5086, allocations: 7.969 kB / 403.9 MB, free: 7.473 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.5086, allocations: 0 / 403.9 MB, free: 7.473 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003268/0.509, allocations: 298.9 kB / 404.2 MB, free: 7.148 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.623e-05/0.5091, allocations: 89.02 kB / 404.3 MB, free: 7.043 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.897e-05/0.5091, allocations: 11.98 kB / 404.3 MB, free: 7.031 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001585/0.5093, allocations: 4 kB / 404.3 MB, free: 7.027 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.137e-05/0.5093, allocations: 11.98 kB / 404.3 MB, free: 7.016 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.245e-05/0.5094, allocations: 4 kB / 404.3 MB, free: 7.012 MB / 330.7 MB Notification: Performance of sorting global known variables: time 9.697e-05/0.5095, allocations: 103.3 kB / 404.4 MB, free: 6.91 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.5095, allocations: 0 / 404.4 MB, free: 6.91 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004712/0.51, allocations: 28 kB / 404.4 MB, free: 6.883 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 10 * 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.001428/0.5114, allocations: 1.186 MB / 405.6 MB, free: 5.711 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002891/0.5117, allocations: 123.4 kB / 405.7 MB, free: 5.578 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.487e-06/0.5117, allocations: 0 / 405.7 MB, free: 5.578 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001109/0.5118, allocations: 35.94 kB / 405.8 MB, free: 5.543 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003114/0.5122, allocations: 11.98 kB / 405.8 MB, free: 5.531 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.00249/0.5147, allocations: 0.7832 MB / 406.6 MB, free: 4.699 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003008/0.515, allocations: 0.7004 MB / 407.3 MB, free: 3.973 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001073/0.5151, allocations: 31.42 kB / 407.3 MB, free: 3.941 MB / 330.7 MB Notification: Performance of SimCode: time 9.62e-07/0.5151, allocations: 0 / 407.3 MB, free: 3.941 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_Test18CalcHelperMain.o OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable1D_Test18CalcHelperMain.cpp In file included from OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable1D_Test18CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable1D_Test18FMU.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_Test18.so OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable1D_Test18CalcHelperMain.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_Test18_FMU.makefile:93: recipe for target 'ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable1D_Test18.fmu' failed make: *** [ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable1D_Test18.fmu] Error 1