Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test23,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Dv_Test23",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.795/2.795, allocations: 270 MB / 282.6 MB, free: 1.832 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.979e-05/3.995e-05, allocations: 4 kB / 347.1 MB, free: 3.125 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3931/0.3932, allocations: 61.87 MB / 408.9 MB, free: 10.74 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1835/0.5767, allocations: 89.95 MB / 498.9 MB, free: 0.668 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002662/0.5771, allocations: 75.95 kB / 498.9 MB, free: 0.5938 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04159/0.6187, allocations: 9.496 MB / 0.4965 GB, free: 7.066 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.763e-06/0.6187, allocations: 0 / 0.4965 GB, free: 7.066 MB / 426.7 MB Notification: Performance of Transformations before backend: time 4.756e-05/0.6188, allocations: 12 kB / 0.4965 GB, free: 7.055 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.001102/0.6199, allocations: 0.6532 MB / 0.4972 GB, free: 6.355 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.944e-05/0.62, allocations: 8.031 kB / 0.4972 GB, free: 6.348 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.718e-05/0.62, allocations: 50.48 kB / 0.4972 GB, free: 6.289 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001356/0.6202, allocations: 59.25 kB / 0.4973 GB, free: 6.23 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001112/0.6213, allocations: 487 kB / 0.4978 GB, free: 5.715 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.729e-05/0.6213, allocations: 11.94 kB / 0.4978 GB, free: 5.703 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.351e-05/0.6214, allocations: 8 kB / 0.4978 GB, free: 5.695 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003598/0.6218, allocations: 147.1 kB / 0.4979 GB, free: 5.539 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.844e-05/0.6218, allocations: 3.906 kB / 0.4979 GB, free: 5.535 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.387e-05/0.6218, allocations: 4 kB / 0.4979 GB, free: 5.531 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.378e-06/0.6219, allocations: 4 kB / 0.4979 GB, free: 5.527 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002767/0.6221, allocations: 83.95 kB / 0.498 GB, free: 5.445 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001709/0.6239, allocations: 0.7542 MB / 0.4987 GB, free: 4.637 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003168/0.6242, allocations: 121.1 kB / 0.4989 GB, free: 4.5 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001393/0.6244, allocations: 45.84 kB / 0.4989 GB, free: 4.449 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.544e-05/0.6244, allocations: 11.98 kB / 0.4989 GB, free: 4.438 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.527e-05/0.6245, allocations: 30.56 kB / 0.4989 GB, free: 4.398 MB / 426.7 MB Notification: Performance of pre-optimization done (n=12): time 3.035e-06/0.6245, allocations: 224 / 0.4989 GB, free: 4.398 MB / 426.7 MB Notification: Performance of matching and sorting (n=20): time 0.002447/0.6269, allocations: 0.5955 MB / 0.4995 GB, free: 3.793 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.383e-05/0.627, allocations: 85.05 kB / 0.4996 GB, free: 3.691 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001661/0.6287, allocations: 0.8 MB / 0.5004 GB, free: 2.883 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.949e-05/0.6287, allocations: 29.7 kB / 0.5004 GB, free: 2.848 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000222/0.629, allocations: 266.8 kB / 0.5007 GB, free: 2.586 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.322e-05/0.6291, allocations: 67 kB / 0.5007 GB, free: 2.52 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.087e-05/0.6291, allocations: 4 kB / 0.5007 GB, free: 2.516 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001378/0.6293, allocations: 322.8 kB / 0.501 GB, free: 2.191 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002346/0.6295, allocations: 71.97 kB / 0.5011 GB, free: 2.121 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002562/0.6298, allocations: 100.8 kB / 0.5012 GB, free: 2.02 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002672/0.6301, allocations: 84.08 kB / 0.5013 GB, free: 1.938 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.82e-06/0.6301, allocations: 0 / 0.5013 GB, free: 1.938 MB / 426.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0006501/0.6307, allocations: 225.4 kB / 0.5015 GB, free: 1.711 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.332e-05/0.6308, allocations: 4 kB / 0.5015 GB, free: 1.707 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.804e-06/0.6308, allocations: 0 / 0.5015 GB, free: 1.707 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.293e-05/0.6308, allocations: 4 kB / 0.5015 GB, free: 1.703 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000572/0.6314, allocations: 63.89 kB / 0.5016 GB, free: 1.641 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.277e-06/0.6314, allocations: 0 / 0.5016 GB, free: 1.641 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005048/0.632, allocations: 39.92 kB / 0.5016 GB, free: 1.602 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.192e-05/0.632, allocations: 4 kB / 0.5016 GB, free: 1.598 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (20): * Single equations (assignments): 20 * 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 0.0001209/0.6321, allocations: 117 kB / 0.5017 GB, free: 1.477 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001712/0.6323, allocations: 59.25 kB / 0.5018 GB, free: 1.418 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001058/0.6334, allocations: 330.3 kB / 0.5021 GB, free: 1.086 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.235e-06/0.6334, allocations: 4 kB / 0.5021 GB, free: 1.082 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/0.6334, allocations: 384 / 0.5021 GB, free: 1.082 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.761e-06/0.6334, allocations: 384 / 0.5021 GB, free: 1.082 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002118/0.6356, allocations: 0.9619 MB / 0.503 GB, free: 64 kB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.242e-06/0.6356, allocations: 4 kB / 0.503 GB, free: 60 kB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005337/0.6362, allocations: 59.89 kB / 0.5031 GB, free: 0 / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.787e-06/0.6362, allocations: 0 / 0.5031 GB, free: 0 / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.865e-05/0.6362, allocations: 7.984 kB / 0.5031 GB, free: 15.99 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.554e-06/0.6363, allocations: 7.891 kB / 0.5031 GB, free: 15.98 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.63e-06/0.6363, allocations: 8 kB / 0.5031 GB, free: 15.98 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008731/0.6372, allocations: 451.7 kB / 0.5036 GB, free: 15.51 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003362/0.6375, allocations: 180.4 kB / 0.5037 GB, free: 15.32 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001016/0.6376, allocations: 7.984 kB / 0.5037 GB, free: 15.31 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004732/0.6381, allocations: 31.98 kB / 0.5038 GB, free: 15.28 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001054/0.6382, allocations: 27.86 kB / 0.5038 GB, free: 15.25 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.373e-05/0.6383, allocations: 7.984 kB / 0.5038 GB, free: 15.24 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001277/0.6396, allocations: 0.6319 MB / 0.5044 GB, free: 14.61 MB / 442.7 MB Notification: Performance of sort global known variables: time 5.21e-07/0.6396, allocations: 0 / 0.5044 GB, free: 14.61 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0006497/0.6402, allocations: 87.94 kB / 0.5045 GB, free: 14.53 MB / 442.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 (20): * Single equations (assignments): 20 * 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.002283/0.6425, allocations: 1.364 MB / 0.5058 GB, free: 13.27 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0006396/0.6432, allocations: 192 kB / 0.506 GB, free: 13.08 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.898e-06/0.6432, allocations: 4 kB / 0.506 GB, free: 13.08 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003069/0.6436, allocations: 112 kB / 0.5061 GB, free: 12.97 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007752/0.6443, allocations: 70.47 kB / 0.5062 GB, free: 12.9 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002754/0.6471, allocations: 0.9698 MB / 0.5071 GB, free: 11.88 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006076/0.6478, allocations: 0.885 MB / 0.508 GB, free: 10.96 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005115/0.6483, allocations: 179.4 kB / 0.5082 GB, free: 10.79 MB / 442.7 MB Notification: Performance of SimCode: time 1.303e-06/0.6483, allocations: 4 kB / 0.5082 GB, free: 10.79 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_Test23CalcHelperMain.o OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Dv_Test23CalcHelperMain.cpp In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Dv_Test23CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Dv_Test23FMU.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_Test23.so OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Dv_Test23CalcHelperMain.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_Test23_FMU.makefile:93: recipe for target 'ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Dv_Test23.fmu' failed make: *** [ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Dv_Test23.fmu] Error 1