Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test8,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable1Ds_Test8",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.034/2.034, allocations: 209.3 MB / 221.9 MB, free: 1.938 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.883e-05/4.901e-05, allocations: 4 kB / 273.1 MB, free: 0.6445 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.104/0.1041, allocations: 48.69 MB / 321.8 MB, free: 15.85 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3914/0.4956, allocations: 74.39 MB / 396.2 MB, free: 15.54 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002698/0.4959, allocations: 71.28 kB / 396.3 MB, free: 15.48 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01164/0.5075, allocations: 2.593 MB / 398.9 MB, free: 12.89 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.784e-06/0.5076, allocations: 0 / 398.9 MB, free: 12.89 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.671e-05/0.5076, allocations: 8 kB / 398.9 MB, free: 12.88 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.0004938/0.5081, allocations: 396 kB / 399.3 MB, free: 12.45 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.38e-05/0.5082, allocations: 12.02 kB / 399.3 MB, free: 12.43 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.084e-05/0.5082, allocations: 30.56 kB / 399.3 MB, free: 12.39 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.946e-05/0.5083, allocations: 8 kB / 399.3 MB, free: 12.39 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002664/0.5086, allocations: 186.9 kB / 399.5 MB, free: 12.16 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.393e-05/0.5086, allocations: 4 kB / 399.5 MB, free: 12.16 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.55e-05/0.5086, allocations: 4 kB / 399.5 MB, free: 12.16 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001288/0.5088, allocations: 45.69 kB / 399.6 MB, free: 12.11 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.355e-05/0.5088, allocations: 0 / 399.6 MB, free: 12.11 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.418e-06/0.5088, allocations: 0 / 399.6 MB, free: 12.11 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.911e-06/0.5088, allocations: 0 / 399.6 MB, free: 12.11 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.54e-05/0.5089, allocations: 12 kB / 399.6 MB, free: 12.09 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004313/0.5094, allocations: 280.8 kB / 399.8 MB, free: 11.77 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002232/0.5096, allocations: 42.52 kB / 399.9 MB, free: 11.72 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.323e-05/0.5097, allocations: 20.92 kB / 399.9 MB, free: 11.7 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.069e-05/0.5097, allocations: 0 / 399.9 MB, free: 11.7 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.419e-05/0.5097, allocations: 30.56 kB / 399.9 MB, free: 11.66 MB / 330.7 MB Notification: Performance of pre-optimization done (n=3): time 1.523e-06/0.5097, allocations: 4 kB / 399.9 MB, free: 11.65 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005079/0.5103, allocations: 106.7 kB / 400 MB, free: 11.54 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.194e-05/0.5103, allocations: 55.36 kB / 400.1 MB, free: 11.48 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001735/0.5105, allocations: 137 kB / 400.2 MB, free: 11.34 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.011e-05/0.5105, allocations: 29.7 kB / 400.3 MB, free: 11.3 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00012/0.5107, allocations: 154.6 kB / 400.4 MB, free: 11.15 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.957e-05/0.5107, allocations: 19.66 kB / 400.4 MB, free: 11.13 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.877e-06/0.5107, allocations: 4 kB / 400.4 MB, free: 11.12 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001229/0.5109, allocations: 310.8 kB / 400.7 MB, free: 10.81 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.162e-05/0.5109, allocations: 12 kB / 400.7 MB, free: 10.8 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.644e-05/0.511, allocations: 15.98 kB / 400.8 MB, free: 10.79 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7e-05/0.5111, allocations: 49.77 kB / 400.8 MB, free: 10.73 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.5111, allocations: 0 / 400.8 MB, free: 10.73 MB / 330.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001879/0.5113, allocations: 95.39 kB / 400.9 MB, free: 10.62 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.977e-05/0.5113, allocations: 29.7 kB / 400.9 MB, free: 10.59 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.671e-06/0.5114, allocations: 0 / 400.9 MB, free: 10.59 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.646e-05/0.5114, allocations: 0 / 400.9 MB, free: 10.59 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001233/0.5115, allocations: 15.98 kB / 401 MB, free: 10.57 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.452e-05/0.5115, allocations: 4 kB / 401 MB, free: 10.57 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.512e-05/0.5116, allocations: 7.953 kB / 401 MB, free: 10.56 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.141e-05/0.5117, allocations: 4 kB / 401 MB, free: 10.56 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.637e-05/0.5118, allocations: 109 kB / 401.1 MB, free: 10.45 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.238e-05/0.5118, allocations: 7.906 kB / 401.1 MB, free: 10.44 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002128/0.512, allocations: 73.7 kB / 401.2 MB, free: 10.36 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.077e-06/0.512, allocations: 0 / 401.2 MB, free: 10.36 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.5121, allocations: 0 / 401.2 MB, free: 10.36 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.5121, allocations: 4 kB / 401.2 MB, free: 10.36 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004809/0.5126, allocations: 338.5 kB / 401.5 MB, free: 9.973 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.215e-06/0.5126, allocations: 0 / 401.5 MB, free: 9.973 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001138/0.5127, allocations: 15.98 kB / 401.5 MB, free: 9.957 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.276e-06/0.5127, allocations: 0 / 401.5 MB, free: 9.957 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.598e-06/0.5127, allocations: 0 / 401.5 MB, free: 9.957 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.699e-06/0.5128, allocations: 3.984 kB / 401.5 MB, free: 9.953 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/0.5128, allocations: 3.953 kB / 401.5 MB, free: 9.949 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000203/0.513, allocations: 163.5 kB / 401.7 MB, free: 9.773 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.386e-05/0.5131, allocations: 85.02 kB / 401.8 MB, free: 9.672 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.308e-05/0.5131, allocations: 4.25 kB / 401.8 MB, free: 9.668 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001103/0.5132, allocations: 11.98 kB / 401.8 MB, free: 9.656 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.768e-05/0.5133, allocations: 7.938 kB / 401.8 MB, free: 9.648 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.356e-05/0.5133, allocations: 7.891 kB / 401.8 MB, free: 9.641 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001175/0.5134, allocations: 108 kB / 401.9 MB, free: 9.535 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.5134, allocations: 0 / 401.9 MB, free: 9.535 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.000313/0.5138, allocations: 20 kB / 401.9 MB, free: 9.516 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.001073/0.5148, allocations: 0.8244 MB / 402.7 MB, free: 8.711 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002018/0.5151, allocations: 87.34 kB / 402.8 MB, free: 8.613 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.5151, allocations: 0 / 402.8 MB, free: 8.613 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 5.464e-05/0.5151, allocations: 16 kB / 402.8 MB, free: 8.598 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002484/0.5154, allocations: 14.89 kB / 402.8 MB, free: 8.586 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006148/0.516, allocations: 184.1 kB / 403 MB, free: 8.363 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003462/0.5164, allocations: 0.7004 MB / 403.7 MB, free: 7.637 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.911e-05/0.5165, allocations: 23.44 kB / 403.8 MB, free: 7.613 MB / 330.7 MB Notification: Performance of SimCode: time 8.42e-07/0.5165, allocations: 0 / 403.8 MB, free: 7.613 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_CombiTable1Ds_Test8CalcHelperMain.o OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable1Ds_Test8CalcHelperMain.cpp In file included from OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable1Ds_Test8CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable1Ds_Test8FMU.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_CombiTable1Ds_Test8.so OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable1Ds_Test8CalcHelperMain.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_CombiTable1Ds_Test8_FMU.makefile:93: recipe for target 'ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable1Ds_Test8.fmu' failed make: *** [ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable1Ds_Test8.fmu] Error 1