Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test1,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Dv_Test1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.668/2.668, allocations: 270 MB / 282.6 MB, free: 1.918 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.994e-05/4.011e-05, allocations: 7.938 kB / 347.1 MB, free: 3.164 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4271/0.4272, allocations: 61.86 MB / 408.9 MB, free: 10.67 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1718/0.599, allocations: 89.06 MB / 498 MB, free: 1.496 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002744/0.5993, allocations: 71.95 kB / 498 MB, free: 1.426 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03299/0.6324, allocations: 8.459 MB / 0.4946 GB, free: 8.945 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.783e-06/0.6324, allocations: 0 / 0.4946 GB, free: 8.945 MB / 426.7 MB Notification: Performance of Transformations before backend: time 4.242e-05/0.6325, allocations: 8 kB / 0.4946 GB, free: 8.938 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0008015/0.6333, allocations: 0.5634 MB / 0.4952 GB, free: 8.332 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.243e-05/0.6333, allocations: 8.031 kB / 0.4952 GB, free: 8.324 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.7e-05/0.6334, allocations: 38.44 kB / 0.4952 GB, free: 8.277 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001053/0.6335, allocations: 47.38 kB / 0.4953 GB, free: 8.23 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006869/0.6342, allocations: 335.3 kB / 0.4956 GB, free: 7.863 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.867e-05/0.6343, allocations: 8 kB / 0.4956 GB, free: 7.855 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.78e-05/0.6343, allocations: 3.984 kB / 0.4956 GB, free: 7.852 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001705/0.6345, allocations: 53.69 kB / 0.4957 GB, free: 7.793 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.404e-05/0.6345, allocations: 0 / 0.4957 GB, free: 7.793 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.545e-05/0.6345, allocations: 4 kB / 0.4957 GB, free: 7.789 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.057e-06/0.6345, allocations: 0 / 0.4957 GB, free: 7.789 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.5e-05/0.6347, allocations: 27.92 kB / 0.4957 GB, free: 7.762 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001017/0.6357, allocations: 460.6 kB / 0.4961 GB, free: 7.262 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001308/0.6358, allocations: 42.61 kB / 0.4962 GB, free: 7.211 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.017e-05/0.6359, allocations: 20.94 kB / 0.4962 GB, free: 7.188 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.903e-05/0.6359, allocations: 0 / 0.4962 GB, free: 7.188 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.087e-05/0.636, allocations: 30.56 kB / 0.4962 GB, free: 7.148 MB / 426.7 MB Notification: Performance of pre-optimization done (n=4): time 2.004e-06/0.636, allocations: 0 / 0.4962 GB, free: 7.148 MB / 426.7 MB Notification: Performance of matching and sorting (n=8): time 0.0008954/0.6369, allocations: 247.9 kB / 0.4965 GB, free: 6.898 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.857e-05/0.637, allocations: 51.41 kB / 0.4965 GB, free: 6.836 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00198/0.639, allocations: 0.7927 MB / 0.4973 GB, free: 6.031 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.961e-05/0.639, allocations: 25.7 kB / 0.4973 GB, free: 6 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002097/0.6392, allocations: 242.6 kB / 0.4975 GB, free: 5.762 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.876e-05/0.6393, allocations: 23.64 kB / 0.4976 GB, free: 5.738 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.004e-05/0.6393, allocations: 4 kB / 0.4976 GB, free: 5.734 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001312/0.6395, allocations: 318.8 kB / 0.4979 GB, free: 5.414 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.695e-05/0.6396, allocations: 20 kB / 0.4979 GB, free: 5.395 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.857e-05/0.6396, allocations: 23.98 kB / 0.4979 GB, free: 5.371 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.295e-05/0.6397, allocations: 23.98 kB / 0.4979 GB, free: 5.348 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.6397, allocations: 0 / 0.4979 GB, free: 5.348 MB / 426.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000242/0.64, allocations: 93.77 kB / 0.498 GB, free: 5.25 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.984e-05/0.64, allocations: 4 kB / 0.498 GB, free: 5.246 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.314e-06/0.64, allocations: 0 / 0.498 GB, free: 5.246 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.907e-05/0.6401, allocations: 3.953 kB / 0.498 GB, free: 5.242 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001964/0.6403, allocations: 23.98 kB / 0.4981 GB, free: 5.219 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.649e-05/0.6403, allocations: 8.062 kB / 0.4981 GB, free: 5.211 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001663/0.6405, allocations: 7.984 kB / 0.4981 GB, free: 5.203 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.494e-05/0.6405, allocations: 7.938 kB / 0.4981 GB, free: 5.195 MB / 426.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 (8): * Single equations (assignments): 8 * 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 prepare postOptimizeDAE: time 8.209e-05/0.6406, allocations: 105 kB / 0.4982 GB, free: 5.086 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001209/0.6407, allocations: 43.44 kB / 0.4982 GB, free: 5.043 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004292/0.6412, allocations: 165.5 kB / 0.4984 GB, free: 4.871 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.418e-06/0.6412, allocations: 3.953 kB / 0.4984 GB, free: 4.867 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.06e-06/0.6412, allocations: 0 / 0.4984 GB, free: 4.867 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.145e-06/0.6412, allocations: 3.984 kB / 0.4984 GB, free: 4.863 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001277/0.6425, allocations: 0.6241 MB / 0.499 GB, free: 4.18 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.537e-06/0.6426, allocations: 0 / 0.499 GB, free: 4.18 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000162/0.6427, allocations: 27.97 kB / 0.499 GB, free: 4.152 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.951e-06/0.6427, allocations: 0 / 0.499 GB, free: 4.152 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.501e-05/0.6428, allocations: 4 kB / 0.499 GB, free: 4.148 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.018e-06/0.6428, allocations: 0 / 0.499 GB, free: 4.148 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.265e-06/0.6428, allocations: 0 / 0.499 GB, free: 4.148 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003741/0.6432, allocations: 245.4 kB / 0.4993 GB, free: 3.883 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002788/0.6435, allocations: 164.5 kB / 0.4994 GB, free: 3.703 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.547e-05/0.6436, allocations: 4.266 kB / 0.4994 GB, free: 3.699 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001784/0.6438, allocations: 12 kB / 0.4994 GB, free: 3.688 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.44e-05/0.6438, allocations: 7.984 kB / 0.4994 GB, free: 3.68 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.949e-06/0.6438, allocations: 0 / 0.4994 GB, free: 3.68 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001217/0.6451, allocations: 0.6342 MB / 0.5001 GB, free: 3.047 MB / 426.7 MB Notification: Performance of sort global known variables: time 6.21e-07/0.6451, allocations: 4 kB / 0.5001 GB, free: 3.043 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0005109/0.6456, allocations: 67.94 kB / 0.5001 GB, free: 2.977 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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.002016/0.6476, allocations: 1.201 MB / 0.5013 GB, free: 1.895 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002483/0.6479, allocations: 59.97 kB / 0.5014 GB, free: 1.836 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.487e-06/0.648, allocations: 0 / 0.5014 GB, free: 1.836 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 9.245e-05/0.6481, allocations: 31.94 kB / 0.5014 GB, free: 1.805 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004409/0.6485, allocations: 29.12 kB / 0.5014 GB, free: 1.777 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002285/0.6508, allocations: 0.907 MB / 0.5023 GB, free: 0.8242 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000601/0.6515, allocations: 0.838 MB / 0.5031 GB, free: 15.96 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003181/0.6518, allocations: 131.6 kB / 0.5032 GB, free: 15.83 MB / 442.7 MB Notification: Performance of SimCode: time 1.172e-06/0.6518, allocations: 0 / 0.5032 GB, free: 15.83 MB / 442.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"." "-I/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica trunk/Resources/C-Sources" -DUSE_LOGGER -c -o OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Dv_Test1CalcHelperMain.o OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Dv_Test1CalcHelperMain.cpp In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Dv_Test1CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Dv_Test1FMU.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_trunk_cpp_ModelicaTest_Tables_CombiTable2Dv_Test1.so OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Dv_Test1CalcHelperMain.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 trunk/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 trunk/Resources/Library/x86_64-linux" -Wl,-rpath="/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica trunk/Resources/Library/x86_64-linux" "-L/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica trunk/Resources/Library/linux64" -Wl,-rpath="/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica trunk/Resources/Library/linux64" "-L/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica trunk/Resources/Library" -Wl,-rpath="/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica trunk/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_trunk_cpp_ModelicaTest_Tables_CombiTable2Dv_Test1_FMU.makefile:93: recipe for target 'ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Dv_Test1.fmu' failed make: *** [ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Dv_Test1.fmu] Error 1