Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1D.Test8,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1D_Test8",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.381/2.381, allocations: 235 MB / 247.6 MB, free: 14.35 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.93e-05/4.947e-05, allocations: 7.984 kB / 305 MB, free: 5.559 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4736/0.4737, allocations: 54.86 MB / 359.9 MB, free: 2.715 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1546/0.6284, allocations: 80.86 MB / 440.7 MB, free: 120 kB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002818/0.6287, allocations: 67.97 kB / 440.8 MB, free: 52 kB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01178/0.6405, allocations: 2.759 MB / 443.6 MB, free: 13.32 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.833e-06/0.6406, allocations: 0 / 443.6 MB, free: 13.32 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.024e-05/0.6406, 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.0004725/0.6411, allocations: 404.5 kB / 443.9 MB, free: 12.87 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.645e-05/0.6411, allocations: 16.03 kB / 444 MB, free: 12.86 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.751e-05/0.6412, allocations: 30.56 kB / 444 MB, free: 12.82 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.188e-05/0.6412, allocations: 11.94 kB / 444 MB, free: 12.8 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002457/0.6415, allocations: 179 kB / 444.2 MB, free: 12.59 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.457e-05/0.6415, allocations: 6.062 kB / 444.2 MB, free: 12.59 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.121e-05/0.6415, allocations: 0 / 444.2 MB, free: 12.59 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001259/0.6417, allocations: 45.69 kB / 444.2 MB, free: 12.54 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.095e-05/0.6417, allocations: 0.8438 kB / 444.2 MB, free: 12.54 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.014e-05/0.6417, allocations: 0 / 444.2 MB, free: 12.54 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.79e-05/0.6417, allocations: 7.953 kB / 444.2 MB, free: 12.53 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.399e-05/0.6418, allocations: 16 kB / 444.3 MB, free: 12.51 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004851/0.6423, allocations: 284.8 kB / 444.5 MB, free: 12.18 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002148/0.6426, allocations: 38.56 kB / 444.6 MB, free: 12.14 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.004e-05/0.6426, allocations: 16.86 kB / 444.6 MB, free: 12.12 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.733e-05/0.6426, allocations: 0 / 444.6 MB, free: 12.12 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.067e-05/0.6427, allocations: 38.61 kB / 444.6 MB, free: 12.07 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 1.774e-06/0.6427, allocations: 1.031 kB / 444.6 MB, free: 12.07 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005055/0.6432, allocations: 121.3 kB / 444.7 MB, free: 11.95 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.653e-05/0.6433, allocations: 55.39 kB / 444.8 MB, free: 11.88 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001857/0.6435, allocations: 126 kB / 444.9 MB, free: 11.75 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.347e-05/0.6435, allocations: 29.7 kB / 445 MB, free: 11.71 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.861e-05/0.6436, allocations: 158.6 kB / 445.1 MB, free: 11.56 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.081e-05/0.6436, allocations: 19.66 kB / 445.1 MB, free: 11.54 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.116e-06/0.6436, allocations: 4 kB / 445.1 MB, free: 11.54 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001382/0.6438, allocations: 314.8 kB / 445.4 MB, free: 11.22 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.062e-05/0.6439, allocations: 12 kB / 445.4 MB, free: 11.21 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.699e-05/0.6439, allocations: 12 kB / 445.5 MB, free: 11.2 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.212e-05/0.644, allocations: 61.56 kB / 445.5 MB, free: 11.13 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.644, allocations: 0 / 445.5 MB, free: 11.13 MB / 378.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001813/0.6442, allocations: 87.39 kB / 445.6 MB, free: 11.04 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.602e-05/0.6443, allocations: 45.66 kB / 445.6 MB, free: 10.98 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/0.6443, allocations: 0 / 445.6 MB, free: 10.98 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.211e-05/0.6443, allocations: 0 / 445.6 MB, free: 10.98 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001191/0.6444, allocations: 15.98 kB / 445.7 MB, free: 10.97 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.023e-06/0.6445, allocations: 0 / 445.7 MB, free: 10.97 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.102e-05/0.6445, allocations: 4 kB / 445.7 MB, free: 10.96 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.649e-05/0.6446, allocations: 7.984 kB / 445.7 MB, free: 10.96 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.885e-05/0.6447, allocations: 101 kB / 445.8 MB, free: 10.85 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.963e-05/0.6447, allocations: 11.91 kB / 445.8 MB, free: 10.84 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002355/0.645, allocations: 88.7 kB / 445.9 MB, free: 10.74 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.446e-06/0.645, allocations: 4 kB / 445.9 MB, free: 10.74 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.728e-06/0.645, allocations: 0 / 445.9 MB, free: 10.74 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.447e-06/0.645, allocations: 0 / 445.9 MB, free: 10.74 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004736/0.6455, allocations: 332.4 kB / 446.2 MB, free: 10.36 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.619e-06/0.6455, allocations: 3.953 kB / 446.2 MB, free: 10.36 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000114/0.6456, allocations: 23.92 kB / 446.2 MB, free: 10.33 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.906e-06/0.6456, allocations: 0 / 446.2 MB, free: 10.33 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.836e-06/0.6457, allocations: 0 / 446.2 MB, free: 10.33 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.105e-06/0.6457, allocations: 6.75 kB / 446.2 MB, free: 10.33 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.6457, allocations: 0 / 446.2 MB, free: 10.33 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002078/0.6459, allocations: 159.5 kB / 446.4 MB, free: 10.16 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.807e-05/0.646, allocations: 92.95 kB / 446.5 MB, free: 10.05 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.236e-05/0.646, allocations: 4 kB / 446.5 MB, free: 10.04 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001108/0.6461, allocations: 9.406 kB / 446.5 MB, free: 10.04 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.227e-05/0.6462, allocations: 7.984 kB / 446.5 MB, free: 10.03 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.712e-06/0.6462, allocations: 0 / 446.5 MB, free: 10.03 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001165/0.6463, allocations: 109.1 kB / 446.6 MB, free: 9.922 MB / 378.7 MB Notification: Performance of sort global known variables: time 5.61e-07/0.6464, allocations: 4 kB / 446.6 MB, free: 9.918 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003377/0.6467, allocations: 20 kB / 446.6 MB, free: 9.898 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.001199/0.6479, allocations: 0.8882 MB / 447.5 MB, free: 9.055 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001953/0.6481, allocations: 91.39 kB / 447.6 MB, free: 8.953 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.6481, allocations: 0 / 447.6 MB, free: 8.953 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.244e-05/0.6482, allocations: 19.94 kB / 447.6 MB, free: 8.934 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002334/0.6485, allocations: 8 kB / 447.6 MB, free: 8.926 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005931/0.6491, 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.0003375/0.6494, 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.281e-05/0.6495, allocations: 23.42 kB / 448.5 MB, free: 7.953 MB / 378.7 MB Notification: Performance of SimCode: time 7.31e-07/0.6495, allocations: 0 / 448.5 MB, free: 7.953 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_Test8CalcHelperMain.o OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1D_Test8CalcHelperMain.cpp In file included from OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1D_Test8CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1D_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_2_cpp_ModelicaTest_Tables_CombiTable1D_Test8.so OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1D_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.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_Test8_FMU.makefile:93: recipe for target 'ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1D_Test8.fmu' failed make: *** [ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1D_Test8.fmu] Error 1