Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1D.Test7,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1D_Test7",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.467/2.467, allocations: 235 MB / 247.6 MB, free: 14.38 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.754e-05/3.799e-05, allocations: 4 kB / 305 MB, free: 5.562 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4741/0.4742, allocations: 54.85 MB / 359.9 MB, free: 2.711 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1771/0.6514, allocations: 80.86 MB / 440.7 MB, free: 144 kB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002563/0.6517, allocations: 69.19 kB / 440.8 MB, free: 76 kB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01154/0.6633, allocations: 2.779 MB / 443.6 MB, free: 13.32 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.6633, allocations: 0 / 443.6 MB, free: 13.32 MB / 378.7 MB Notification: Performance of Transformations before backend: time 9.908e-06/0.6633, allocations: 0 / 443.6 MB, free: 13.32 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.0004496/0.6638, allocations: 400 kB / 444 MB, free: 12.88 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.595e-05/0.6638, allocations: 8.031 kB / 444 MB, free: 12.88 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.355e-05/0.6639, allocations: 38.5 kB / 444 MB, free: 12.83 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.946e-05/0.664, allocations: 7.953 kB / 444 MB, free: 12.82 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002403/0.6642, allocations: 190.9 kB / 444.2 MB, free: 12.59 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.142e-05/0.6642, allocations: 1.562 kB / 444.2 MB, free: 12.59 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.05e-05/0.6643, allocations: 4 kB / 444.2 MB, free: 12.59 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001234/0.6644, allocations: 45.69 kB / 444.2 MB, free: 12.54 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.083e-05/0.6644, allocations: 0 / 444.2 MB, free: 12.54 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.047e-05/0.6644, allocations: 0 / 444.2 MB, free: 12.54 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.244e-06/0.6645, allocations: 3.953 kB / 444.3 MB, free: 12.54 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.005e-05/0.6645, allocations: 12 kB / 444.3 MB, free: 12.52 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004671/0.665, allocations: 288.8 kB / 444.5 MB, free: 12.19 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002171/0.6652, allocations: 38.56 kB / 444.6 MB, free: 12.14 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4e-05/0.6653, allocations: 12.86 kB / 444.6 MB, free: 12.13 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.025e-05/0.6653, allocations: 0 / 444.6 MB, free: 12.13 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.987e-05/0.6654, allocations: 42.52 kB / 444.6 MB, free: 12.08 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 1.573e-06/0.6654, allocations: 0.9375 kB / 444.6 MB, free: 12.08 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005032/0.6659, allocations: 113.4 kB / 444.7 MB, free: 11.96 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.012e-05/0.666, allocations: 51.41 kB / 444.8 MB, free: 11.9 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001703/0.6661, allocations: 134.2 kB / 444.9 MB, free: 11.76 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.815e-05/0.6662, allocations: 25.7 kB / 445 MB, free: 11.73 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.657e-05/0.6663, allocations: 158.6 kB / 445.1 MB, free: 11.57 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.287e-05/0.6663, allocations: 23.66 kB / 445.1 MB, free: 11.55 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.382e-06/0.6663, allocations: 0 / 445.1 MB, free: 11.55 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001281/0.6665, allocations: 314.8 kB / 445.4 MB, free: 11.23 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.507e-05/0.6665, allocations: 20 kB / 445.5 MB, free: 11.21 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.195e-05/0.6666, allocations: 15.69 kB / 445.5 MB, free: 11.2 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.439e-05/0.6667, allocations: 41.69 kB / 445.5 MB, free: 11.16 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/0.6667, allocations: 0 / 445.5 MB, free: 11.16 MB / 378.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002033/0.6669, allocations: 99.33 kB / 445.6 MB, free: 11.05 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.983e-05/0.667, allocations: 37.59 kB / 445.6 MB, free: 11 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.039e-06/0.667, allocations: 4 kB / 445.7 MB, free: 11 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.141e-05/0.667, allocations: 0 / 445.7 MB, free: 11 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001204/0.6671, allocations: 15.98 kB / 445.7 MB, free: 10.98 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.272e-06/0.6671, allocations: 0 / 445.7 MB, free: 10.98 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.762e-05/0.6672, allocations: 8 kB / 445.7 MB, free: 10.98 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.949e-06/0.6673, allocations: 0.5625 kB / 445.7 MB, free: 10.98 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 8.552e-05/0.6673, allocations: 113 kB / 445.8 MB, free: 10.86 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.747e-05/0.6674, allocations: 3.906 kB / 445.8 MB, free: 10.86 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002324/0.6676, allocations: 93.66 kB / 445.9 MB, free: 10.75 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.577e-06/0.6677, allocations: 0 / 445.9 MB, free: 10.75 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.538e-06/0.6677, allocations: 0 / 445.9 MB, free: 10.75 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.616e-06/0.6677, allocations: 1.734 kB / 445.9 MB, free: 10.75 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004858/0.6682, allocations: 339.4 kB / 446.2 MB, free: 10.36 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.258e-06/0.6682, allocations: 3.953 kB / 446.2 MB, free: 10.36 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001099/0.6683, allocations: 11.98 kB / 446.2 MB, free: 10.35 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.016e-06/0.6683, allocations: 11.94 kB / 446.2 MB, free: 10.34 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.026e-05/0.6684, allocations: 2.562 kB / 446.2 MB, free: 10.34 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/0.6684, allocations: 0 / 446.2 MB, free: 10.34 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/0.6684, allocations: 1.172 kB / 446.2 MB, free: 10.34 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002103/0.6686, allocations: 163.5 kB / 446.4 MB, free: 10.16 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.147e-05/0.6687, allocations: 88.97 kB / 446.5 MB, free: 10.05 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.899e-05/0.6687, allocations: 7.984 kB / 446.5 MB, free: 10.05 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001103/0.6688, allocations: 8 kB / 446.5 MB, free: 10.04 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.883e-05/0.6689, allocations: 0 / 446.5 MB, free: 10.04 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.181e-05/0.6689, allocations: 7.984 kB / 446.5 MB, free: 10.03 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001172/0.669, allocations: 113.5 kB / 446.6 MB, free: 9.922 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.61e-07/0.669, allocations: 0 / 446.6 MB, free: 9.922 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003187/0.6694, allocations: 16 kB / 446.6 MB, free: 9.906 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.001191/0.6706, allocations: 0.8822 MB / 447.5 MB, free: 9.062 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002215/0.6708, allocations: 87.41 kB / 447.6 MB, free: 8.965 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.6708, allocations: 0 / 447.6 MB, free: 8.965 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.7e-05/0.6709, allocations: 27.86 kB / 447.6 MB, free: 8.938 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002484/0.6712, allocations: 14.98 kB / 447.7 MB, free: 8.926 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006169/0.6718, allocations: 190 kB / 447.8 MB, free: 8.699 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003622/0.6722, allocations: 0.7004 MB / 448.5 MB, free: 7.973 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.278e-05/0.6723, allocations: 19.44 kB / 448.6 MB, free: 7.957 MB / 378.7 MB Notification: Performance of SimCode: time 1.022e-06/0.6723, allocations: 0 / 448.6 MB, free: 7.957 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_Test7CalcHelperMain.o OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1D_Test7CalcHelperMain.cpp In file included from OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1D_Test7CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1D_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_2_cpp_ModelicaTest_Tables_CombiTable1D_Test7.so OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1D_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.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_Test7_FMU.makefile:93: recipe for target 'ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1D_Test7.fmu' failed make: *** [ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1D_Test7.fmu] Error 1