Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1D.Test15,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1D_Test15",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.603/2.603, allocations: 235 MB / 247.6 MB, free: 14.38 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.218e-05/4.23e-05, allocations: 4 kB / 305 MB, free: 5.566 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4144/0.4145, allocations: 54.85 MB / 359.9 MB, free: 2.664 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2021/0.6166, allocations: 80.9 MB / 440.8 MB, free: 92 kB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002776/0.617, allocations: 71.95 kB / 440.8 MB, free: 20 kB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01329/0.6303, allocations: 3.126 MB / 443.9 MB, free: 12.91 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.763e-06/0.6304, allocations: 0 / 443.9 MB, free: 12.91 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.441e-05/0.6304, allocations: 4 kB / 444 MB, free: 12.91 MB / 378.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.0005337/0.6309, allocations: 407.9 kB / 444.4 MB, free: 12.46 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.96e-05/0.631, allocations: 12.03 kB / 444.4 MB, free: 12.45 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.897e-05/0.631, allocations: 30.56 kB / 444.4 MB, free: 12.41 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.862e-05/0.6311, allocations: 17.36 kB / 444.4 MB, free: 12.39 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002823/0.6314, allocations: 192.3 kB / 444.6 MB, free: 12.16 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.438e-05/0.6314, allocations: 4 kB / 444.6 MB, free: 12.16 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.776e-05/0.6315, allocations: 4 kB / 444.6 MB, free: 12.16 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000132/0.6316, allocations: 45.69 kB / 444.7 MB, free: 12.11 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.247e-05/0.6316, allocations: 0 / 444.7 MB, free: 12.11 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.042e-05/0.6317, allocations: 0 / 444.7 MB, free: 12.11 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.828e-06/0.6317, allocations: 7.938 kB / 444.7 MB, free: 12.1 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.914e-05/0.6318, allocations: 16 kB / 444.7 MB, free: 12.08 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004966/0.6323, allocations: 296.7 kB / 445 MB, free: 11.74 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002252/0.6325, allocations: 43.23 kB / 445 MB, free: 11.69 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.269e-05/0.6326, allocations: 16.94 kB / 445 MB, free: 11.67 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.3e-05/0.6326, allocations: 3.984 kB / 445 MB, free: 11.67 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.69e-05/0.6326, allocations: 34.52 kB / 445.1 MB, free: 11.62 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 1.753e-06/0.6327, allocations: 0 / 445.1 MB, free: 11.62 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005369/0.6332, allocations: 120.1 kB / 445.2 MB, free: 11.5 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.565e-05/0.6333, allocations: 55.41 kB / 445.2 MB, free: 11.44 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002581/0.6335, allocations: 174.8 kB / 445.4 MB, free: 11.26 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.032e-05/0.6336, allocations: 29.7 kB / 445.4 MB, free: 11.23 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.281e-05/0.6337, allocations: 166.5 kB / 445.6 MB, free: 11.06 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.419e-05/0.6337, allocations: 11.75 kB / 445.6 MB, free: 11.05 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.001e-06/0.6337, allocations: 0 / 445.6 MB, free: 11.05 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001174/0.6338, allocations: 318.8 kB / 445.9 MB, free: 10.73 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.487e-05/0.6339, allocations: 12 kB / 445.9 MB, free: 10.72 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.686e-05/0.634, allocations: 19.98 kB / 445.9 MB, free: 10.7 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.166e-05/0.634, allocations: 37.7 kB / 446 MB, free: 10.66 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.328e-06/0.6341, allocations: 0 / 446 MB, free: 10.66 MB / 378.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000197/0.6343, allocations: 111.2 kB / 446.1 MB, free: 10.54 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.846e-05/0.6343, allocations: 33.66 kB / 446.1 MB, free: 10.5 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.53e-06/0.6343, allocations: 0 / 446.1 MB, free: 10.5 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.473e-05/0.6344, allocations: 0 / 446.1 MB, free: 10.5 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001309/0.6345, allocations: 16 kB / 446.1 MB, free: 10.48 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.03e-05/0.6345, allocations: 3.984 kB / 446.1 MB, free: 10.48 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.781e-05/0.6346, allocations: 12.94 kB / 446.2 MB, free: 10.46 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.074e-05/0.6346, allocations: 0 / 446.2 MB, free: 10.46 MB / 378.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.798e-05/0.6347, allocations: 105 kB / 446.3 MB, free: 10.36 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.674e-05/0.6348, allocations: 7.906 kB / 446.3 MB, free: 10.35 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002329/0.635, allocations: 89.66 kB / 446.4 MB, free: 10.26 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.328e-06/0.6351, allocations: 0 / 446.4 MB, free: 10.26 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.6351, allocations: 0 / 446.4 MB, free: 10.26 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.6351, allocations: 0 / 446.4 MB, free: 10.26 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005229/0.6356, allocations: 359.4 kB / 446.7 MB, free: 9.852 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.94e-06/0.6357, allocations: 3.953 kB / 446.7 MB, free: 9.848 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001097/0.6358, allocations: 16.41 kB / 446.7 MB, free: 9.836 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.306e-06/0.6358, allocations: 0 / 446.7 MB, free: 9.836 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.889e-06/0.6358, allocations: 0 / 446.7 MB, free: 9.836 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.2e-06/0.6358, allocations: 3.984 kB / 446.7 MB, free: 9.832 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/0.6358, allocations: 3.938 kB / 446.7 MB, free: 9.828 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002106/0.6361, allocations: 167.5 kB / 446.9 MB, free: 9.648 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.334e-05/0.6361, allocations: 88.97 kB / 447 MB, free: 9.543 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.735e-05/0.6362, allocations: 8 kB / 447 MB, free: 9.535 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001101/0.6363, allocations: 7.984 kB / 447 MB, free: 9.527 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.448e-05/0.6364, allocations: 4 kB / 447 MB, free: 9.523 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.783e-06/0.6364, allocations: 0 / 447 MB, free: 9.523 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001837/0.6366, allocations: 149.5 kB / 447.2 MB, free: 9.379 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.6366, allocations: 0 / 447.2 MB, free: 9.379 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003522/0.6369, allocations: 27.91 kB / 447.2 MB, free: 9.352 MB / 378.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.001252/0.6382, allocations: 0.89 MB / 448.1 MB, free: 8.504 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002311/0.6385, allocations: 87.41 kB / 448.2 MB, free: 8.406 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.527e-06/0.6385, allocations: 0 / 448.2 MB, free: 8.406 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.898e-05/0.6386, allocations: 23.94 kB / 448.2 MB, free: 8.383 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002951/0.6389, allocations: 11.98 kB / 448.2 MB, free: 8.371 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007488/0.6397, allocations: 237.7 kB / 448.4 MB, free: 8.094 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003173/0.64, allocations: 0.7004 MB / 449.1 MB, free: 7.367 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.969e-05/0.6401, allocations: 31.42 kB / 449.2 MB, free: 7.34 MB / 378.7 MB Notification: Performance of SimCode: time 1.032e-06/0.6401, allocations: 0 / 449.2 MB, free: 7.34 MB / 378.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_2_cpp_ModelicaTest_Tables_CombiTable1D_Test15CalcHelperMain.o OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1D_Test15CalcHelperMain.cpp In file included from OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1D_Test15CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1D_Test15FMU.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_2_cpp_ModelicaTest_Tables_CombiTable1D_Test15.so OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1D_Test15CalcHelperMain.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.2/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.2/Resources/Library/x86_64-linux" -Wl,-rpath="/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Resources/Library/x86_64-linux" "-L/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Resources/Library/linux64" -Wl,-rpath="/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Resources/Library/linux64" "-L/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Resources/Library" -Wl,-rpath="/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/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_2_cpp_ModelicaTest_Tables_CombiTable1D_Test15_FMU.makefile:93: recipe for target 'ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1D_Test15.fmu' failed make: *** [ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1D_Test15.fmu] Error 1