Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test7,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable1Ds_Test7",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.953/1.953, allocations: 209.3 MB / 221.9 MB, free: 1.934 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.379e-05/4.424e-05, allocations: 4 kB / 273.2 MB, free: 0.6289 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1032/0.1033, allocations: 48.71 MB / 321.9 MB, free: 15.82 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4322/0.5356, allocations: 74.39 MB / 396.3 MB, free: 15.52 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003248/0.536, allocations: 70.78 kB / 396.3 MB, free: 15.46 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01393/0.5499, allocations: 2.606 MB / 398.9 MB, free: 12.86 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.462e-06/0.55, allocations: 0 / 398.9 MB, free: 12.86 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.202e-05/0.55, allocations: 4 kB / 398.9 MB, free: 12.86 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.000461/0.5505, allocations: 395.9 kB / 399.3 MB, free: 12.42 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.041e-05/0.5505, allocations: 12.03 kB / 399.3 MB, free: 12.41 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.024e-05/0.5506, allocations: 38.55 kB / 399.4 MB, free: 12.36 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.758e-05/0.5506, allocations: 4 kB / 399.4 MB, free: 12.36 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002498/0.5509, allocations: 182.9 kB / 399.5 MB, free: 12.14 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.412e-05/0.5509, allocations: 4 kB / 399.6 MB, free: 12.13 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.29e-05/0.5509, allocations: 0 / 399.6 MB, free: 12.13 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001301/0.5511, allocations: 45.69 kB / 399.6 MB, free: 12.08 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.132e-05/0.5511, allocations: 0 / 399.6 MB, free: 12.08 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.233e-05/0.5511, allocations: 4 kB / 399.6 MB, free: 12.08 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.845e-06/0.5512, allocations: 4 kB / 399.6 MB, free: 12.07 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.42e-05/0.5512, allocations: 15.94 kB / 399.6 MB, free: 12.06 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004042/0.5516, allocations: 272.8 kB / 399.9 MB, free: 11.74 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002208/0.5519, allocations: 42.58 kB / 399.9 MB, free: 11.69 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.499e-05/0.5519, allocations: 8.859 kB / 399.9 MB, free: 11.68 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.514e-05/0.552, allocations: 8.078 kB / 399.9 MB, free: 11.67 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.326e-05/0.552, allocations: 30.56 kB / 400 MB, free: 11.63 MB / 330.7 MB Notification: Performance of pre-optimization done (n=3): time 1.884e-06/0.552, allocations: 0 / 400 MB, free: 11.63 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005003/0.5525, allocations: 106.7 kB / 400.1 MB, free: 11.52 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.651e-05/0.5526, allocations: 59.36 kB / 400.1 MB, free: 11.45 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001663/0.5527, allocations: 133 kB / 400.3 MB, free: 11.32 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.115e-05/0.5528, allocations: 29.7 kB / 400.3 MB, free: 11.28 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.356e-05/0.5529, allocations: 158.6 kB / 400.5 MB, free: 11.12 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.468e-05/0.5529, allocations: 15.66 kB / 400.5 MB, free: 11.11 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.935e-06/0.5529, allocations: 7.938 kB / 400.5 MB, free: 11.1 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001121/0.553, allocations: 314.8 kB / 400.8 MB, free: 10.79 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.587e-05/0.5531, allocations: 8 kB / 400.8 MB, free: 10.78 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.275e-05/0.5532, allocations: 19.88 kB / 400.8 MB, free: 10.76 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.776e-05/0.5533, allocations: 45.88 kB / 400.9 MB, free: 10.71 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.313e-06/0.5533, allocations: 0 / 400.9 MB, free: 10.71 MB / 330.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001784/0.5535, allocations: 95.39 kB / 400.9 MB, free: 10.6 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.882e-05/0.5535, allocations: 29.7 kB / 401 MB, free: 10.57 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.5535, allocations: 0 / 401 MB, free: 10.57 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.466e-05/0.5536, allocations: 4 kB / 401 MB, free: 10.56 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001342/0.5537, allocations: 15.98 kB / 401 MB, free: 10.55 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.625e-06/0.5537, allocations: 0 / 401 MB, free: 10.55 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.989e-05/0.5538, allocations: 11.95 kB / 401 MB, free: 10.54 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.442e-05/0.5538, allocations: 4 kB / 401 MB, free: 10.53 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.308e-05/0.5539, allocations: 105 kB / 401.1 MB, free: 10.42 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.022e-05/0.554, allocations: 7.906 kB / 401.1 MB, free: 10.41 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002101/0.5542, allocations: 73.84 kB / 401.2 MB, free: 10.34 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.865e-06/0.5542, allocations: 7.984 kB / 401.2 MB, free: 10.33 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.5542, allocations: 0 / 401.2 MB, free: 10.33 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.5542, allocations: 0 / 401.2 MB, free: 10.33 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004621/0.5547, allocations: 330.5 kB / 401.5 MB, free: 9.953 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.5547, allocations: 0 / 401.5 MB, free: 9.953 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001096/0.5549, allocations: 15.94 kB / 401.5 MB, free: 9.938 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.912e-06/0.5549, allocations: 3.984 kB / 401.5 MB, free: 9.934 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.638e-06/0.5549, allocations: 0 / 401.5 MB, free: 9.934 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.245e-06/0.5549, allocations: 0 / 401.5 MB, free: 9.934 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.6e-06/0.5549, allocations: 3.953 kB / 401.5 MB, free: 9.93 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001997/0.5551, allocations: 163.5 kB / 401.7 MB, free: 9.754 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.585e-05/0.5552, allocations: 85.27 kB / 401.8 MB, free: 9.652 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.176e-05/0.5552, allocations: 0 / 401.8 MB, free: 9.652 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001117/0.5554, allocations: 12 kB / 401.8 MB, free: 9.641 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.827e-05/0.5554, allocations: 7.984 kB / 401.8 MB, free: 9.633 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.147e-06/0.5554, allocations: 3.953 kB / 401.8 MB, free: 9.629 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.00017/0.5556, allocations: 108.5 kB / 401.9 MB, free: 9.523 MB / 330.7 MB Notification: Performance of sort global known variables: time 5.92e-07/0.5556, allocations: 0 / 401.9 MB, free: 9.523 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003414/0.556, allocations: 20 kB / 401.9 MB, free: 9.504 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.001144/0.5572, allocations: 0.8326 MB / 402.8 MB, free: 8.688 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002068/0.5574, allocations: 79.41 kB / 402.8 MB, free: 8.598 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.5574, allocations: 0 / 402.8 MB, free: 8.598 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 5.637e-05/0.5575, allocations: 19.94 kB / 402.9 MB, free: 8.578 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002771/0.5578, allocations: 15.89 kB / 402.9 MB, free: 8.562 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006431/0.5584, allocations: 180.1 kB / 403.1 MB, free: 8.344 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003319/0.5588, allocations: 0.7003 MB / 403.8 MB, free: 7.617 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.17e-05/0.5589, allocations: 27.44 kB / 403.8 MB, free: 7.59 MB / 330.7 MB Notification: Performance of SimCode: time 9.62e-07/0.5589, allocations: 0 / 403.8 MB, free: 7.59 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_Test7CalcHelperMain.o OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable1Ds_Test7CalcHelperMain.cpp In file included from OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable1Ds_Test7CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable1Ds_Test7FMU.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_Test7.so OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable1Ds_Test7CalcHelperMain.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_Test7_FMU.makefile:93: recipe for target 'ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable1Ds_Test7.fmu' failed make: *** [ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable1Ds_Test7.fmu] Error 1