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.031/2.031, allocations: 209.3 MB / 221.9 MB, free: 1.934 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.99e-05/3.993e-05, allocations: 4 kB / 273.2 MB, free: 0.6289 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1054/0.1055, allocations: 48.7 MB / 321.9 MB, free: 15.83 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4045/0.5101, allocations: 74.39 MB / 396.3 MB, free: 15.53 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002678/0.5104, allocations: 67.95 kB / 396.3 MB, free: 15.46 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01179/0.5222, allocations: 2.594 MB / 398.9 MB, free: 12.88 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.294e-06/0.5223, allocations: 0 / 398.9 MB, free: 12.88 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.458e-05/0.5223, allocations: 0 / 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.0005223/0.5228, allocations: 392 kB / 399.3 MB, free: 12.45 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.759e-05/0.5229, allocations: 12.03 kB / 399.3 MB, free: 12.43 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.67e-05/0.5229, allocations: 42.48 kB / 399.3 MB, free: 12.38 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.918e-05/0.523, allocations: 8 kB / 399.4 MB, free: 12.38 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002567/0.5233, allocations: 186.9 kB / 399.5 MB, free: 12.15 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.399e-05/0.5233, allocations: 4 kB / 399.5 MB, free: 12.15 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.572e-05/0.5233, allocations: 4 kB / 399.5 MB, free: 12.14 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00013/0.5235, allocations: 41.69 kB / 399.6 MB, free: 12.1 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.346e-05/0.5235, allocations: 3.984 kB / 399.6 MB, free: 12.09 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.025e-05/0.5235, allocations: 0 / 399.6 MB, free: 12.09 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.879e-06/0.5235, allocations: 4 kB / 399.6 MB, free: 12.09 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.359e-05/0.5236, allocations: 12 kB / 399.6 MB, free: 12.08 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004118/0.524, allocations: 280.8 kB / 399.9 MB, free: 11.75 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002118/0.5243, allocations: 34.58 kB / 399.9 MB, free: 11.71 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.855e-05/0.5243, allocations: 12.86 kB / 399.9 MB, free: 11.7 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.394e-05/0.5244, allocations: 4 kB / 399.9 MB, free: 11.69 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.413e-05/0.5244, allocations: 34.64 kB / 400 MB, free: 11.65 MB / 330.7 MB Notification: Performance of pre-optimization done (n=3): time 1.744e-06/0.5244, allocations: 4 kB / 400 MB, free: 11.64 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005026/0.5249, allocations: 106.7 kB / 400.1 MB, free: 11.54 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.175e-05/0.525, allocations: 55.36 kB / 400.1 MB, free: 11.47 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001652/0.5251, allocations: 129 kB / 400.3 MB, free: 11.34 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.14e-05/0.5252, allocations: 29.7 kB / 400.3 MB, free: 11.3 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.684e-05/0.5253, allocations: 162.5 kB / 400.4 MB, free: 11.14 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.939e-05/0.5253, allocations: 15.66 kB / 400.5 MB, free: 11.12 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.496e-06/0.5253, allocations: 4 kB / 400.5 MB, free: 11.12 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001327/0.5255, allocations: 318.8 kB / 400.8 MB, free: 10.8 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.416e-05/0.5255, allocations: 8 kB / 400.8 MB, free: 10.79 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.46e-05/0.5256, allocations: 12 kB / 400.8 MB, free: 10.78 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.616e-05/0.5257, allocations: 45.62 kB / 400.8 MB, free: 10.73 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.353e-06/0.5257, allocations: 0 / 400.8 MB, free: 10.73 MB / 330.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001739/0.5259, allocations: 95.33 kB / 400.9 MB, free: 10.62 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.856e-05/0.5259, allocations: 29.7 kB / 401 MB, free: 10.59 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.98e-06/0.5259, allocations: 0 / 401 MB, free: 10.59 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.283e-05/0.526, allocations: 7.938 kB / 401 MB, free: 10.58 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001221/0.5261, allocations: 19.98 kB / 401 MB, free: 10.56 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.244e-06/0.5261, allocations: 0 / 401 MB, free: 10.56 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.556e-05/0.5262, allocations: 7.953 kB / 401 MB, free: 10.55 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.26e-05/0.5262, allocations: 4 kB / 401 MB, free: 10.55 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 7.995e-05/0.5263, allocations: 105 kB / 401.1 MB, free: 10.44 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.005e-05/0.5264, allocations: 7.906 kB / 401.1 MB, free: 10.43 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002109/0.5266, allocations: 73.7 kB / 401.2 MB, free: 10.36 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.811e-06/0.5266, allocations: 8 kB / 401.2 MB, free: 10.35 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.09e-06/0.5266, allocations: 0 / 401.2 MB, free: 10.35 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/0.5266, allocations: 320 / 401.2 MB, free: 10.35 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004587/0.5271, allocations: 330.5 kB / 401.5 MB, free: 9.973 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.305e-06/0.5271, allocations: 0 / 401.5 MB, free: 9.973 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001083/0.5272, allocations: 12 kB / 401.5 MB, free: 9.961 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.122e-06/0.5273, allocations: 0 / 401.5 MB, free: 9.961 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.233e-05/0.5273, allocations: 3.938 kB / 401.5 MB, free: 9.957 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.44e-06/0.5273, allocations: 7.984 kB / 401.5 MB, free: 9.949 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.408e-06/0.5273, allocations: 3.953 kB / 401.5 MB, free: 9.945 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001949/0.5275, allocations: 159.5 kB / 401.7 MB, free: 9.773 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.036e-05/0.5276, allocations: 85.02 kB / 401.8 MB, free: 9.672 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.073e-05/0.5276, allocations: 0 / 401.8 MB, free: 9.672 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001099/0.5277, allocations: 8 kB / 401.8 MB, free: 9.664 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.822e-05/0.5278, allocations: 7.984 kB / 401.8 MB, free: 9.656 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.428e-06/0.5278, allocations: 7.953 kB / 401.8 MB, free: 9.648 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001151/0.5279, allocations: 112.5 kB / 401.9 MB, free: 9.539 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.2e-07/0.528, allocations: 0 / 401.9 MB, free: 9.539 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003183/0.5283, allocations: 16 kB / 401.9 MB, free: 9.523 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.001038/0.5293, allocations: 0.8332 MB / 402.8 MB, free: 8.707 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002093/0.5296, allocations: 79.41 kB / 402.8 MB, free: 8.617 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.5296, allocations: 0 / 402.8 MB, free: 8.617 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 5.66e-05/0.5296, allocations: 20.06 kB / 402.9 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.0002549/0.5299, allocations: 15.89 kB / 402.9 MB, free: 8.582 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005821/0.5305, allocations: 184.2 kB / 403.1 MB, free: 8.359 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003098/0.5308, allocations: 0.7003 MB / 403.8 MB, free: 7.633 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.956e-05/0.5309, allocations: 23.44 kB / 403.8 MB, free: 7.609 MB / 330.7 MB Notification: Performance of SimCode: time 1.202e-06/0.5309, allocations: 0 / 403.8 MB, free: 7.609 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