Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test9,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Ds_Test9",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.451/2.451, allocations: 270 MB / 282.6 MB, free: 1.82 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.591e-05/3.602e-05, allocations: 4 kB / 347.1 MB, free: 3.125 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4322/0.4323, allocations: 61.86 MB / 408.9 MB, free: 10.65 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1635/0.5959, allocations: 88.28 MB / 497.2 MB, free: 2.25 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000261/0.5962, allocations: 71.97 kB / 497.3 MB, free: 2.18 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03093/0.6271, allocations: 7.982 MB / 0.4934 GB, free: 10.18 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.643e-06/0.6272, allocations: 0 / 0.4934 GB, free: 10.18 MB / 426.7 MB Notification: Performance of Transformations before backend: time 3.251e-05/0.6272, allocations: 7.984 kB / 0.4934 GB, free: 10.17 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0007708/0.628, allocations: 0.5481 MB / 0.494 GB, free: 9.574 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.125e-05/0.6281, allocations: 8.031 kB / 0.494 GB, free: 9.566 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.582e-05/0.6281, allocations: 42.5 kB / 0.494 GB, free: 9.516 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001035/0.6282, allocations: 39.44 kB / 0.494 GB, free: 9.477 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006698/0.6289, allocations: 331.3 kB / 0.4944 GB, free: 9.113 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.28e-05/0.629, allocations: 0 / 0.4944 GB, free: 9.113 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.606e-05/0.629, allocations: 8 kB / 0.4944 GB, free: 9.105 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001285/0.6291, allocations: 41.69 kB / 0.4944 GB, free: 9.059 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.097e-06/0.6291, allocations: 4 kB / 0.4944 GB, free: 9.055 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.087e-05/0.6292, allocations: 3.938 kB / 0.4944 GB, free: 9.051 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.249e-06/0.6292, allocations: 0 / 0.4944 GB, free: 9.051 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.862e-05/0.6293, allocations: 12 kB / 0.4944 GB, free: 9.039 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008109/0.6301, allocations: 432.7 kB / 0.4948 GB, free: 8.566 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.973e-05/0.6302, allocations: 26.58 kB / 0.4949 GB, free: 8.531 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.696e-05/0.6303, allocations: 16.86 kB / 0.4949 GB, free: 8.512 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.962e-05/0.6303, allocations: 96 / 0.4949 GB, free: 8.512 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.267e-05/0.6303, allocations: 35.83 kB / 0.4949 GB, free: 8.469 MB / 426.7 MB Notification: Performance of pre-optimization done (n=3): time 2.435e-06/0.6304, allocations: 4 kB / 0.4949 GB, free: 8.465 MB / 426.7 MB Notification: Performance of matching and sorting (n=3): time 0.0002627/0.6306, allocations: 77.23 kB / 0.495 GB, free: 8.383 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.351e-05/0.6307, allocations: 51.41 kB / 0.495 GB, free: 8.32 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001935/0.6326, allocations: 0.7849 MB / 0.4958 GB, free: 7.523 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.553e-05/0.6327, allocations: 25.7 kB / 0.4958 GB, free: 7.492 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002327/0.6329, allocations: 234.5 kB / 0.496 GB, free: 7.262 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.945e-05/0.633, allocations: 7.844 kB / 0.4961 GB, free: 7.254 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.09e-06/0.633, allocations: 0 / 0.4961 GB, free: 7.254 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001241/0.6331, allocations: 322.8 kB / 0.4964 GB, free: 6.93 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.658e-05/0.6332, allocations: 4 kB / 0.4964 GB, free: 6.926 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.77e-05/0.6332, allocations: 8 kB / 0.4964 GB, free: 6.918 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.851e-05/0.6333, allocations: 7.984 kB / 0.4964 GB, free: 6.91 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.6333, allocations: 4 kB / 0.4964 GB, free: 6.906 MB / 426.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001366/0.6334, allocations: 41.7 kB / 0.4964 GB, free: 6.859 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.43e-05/0.6335, allocations: 7.984 kB / 0.4964 GB, free: 6.852 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.962e-06/0.6335, allocations: 0 / 0.4964 GB, free: 6.852 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.379e-05/0.6335, allocations: 0 / 0.4964 GB, free: 6.852 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001461/0.6337, allocations: 8 kB / 0.4964 GB, free: 6.844 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.995e-06/0.6337, allocations: 4 kB / 0.4964 GB, free: 6.84 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001622/0.6339, allocations: 15.98 kB / 0.4965 GB, free: 6.824 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.162e-05/0.6339, allocations: 0 / 0.4965 GB, free: 6.824 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 (3): * Single equations (assignments): 3 * 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 7.792e-05/0.634, allocations: 112.8 kB / 0.4966 GB, free: 6.707 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001181/0.6341, allocations: 43.44 kB / 0.4966 GB, free: 6.664 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002818/0.6344, allocations: 105.2 kB / 0.4967 GB, free: 6.543 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.907e-06/0.6344, allocations: 0 / 0.4967 GB, free: 6.543 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/0.6344, allocations: 4 kB / 0.4967 GB, free: 6.539 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.6344, allocations: 0 / 0.4967 GB, free: 6.539 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004727/0.6349, allocations: 325.4 kB / 0.497 GB, free: 6.172 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.955e-06/0.6349, allocations: 0 / 0.497 GB, free: 6.172 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001154/0.6351, allocations: 15.98 kB / 0.497 GB, free: 6.156 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.831e-06/0.6351, allocations: 0 / 0.497 GB, free: 6.156 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.457e-06/0.6351, allocations: 4 kB / 0.497 GB, free: 6.152 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.875e-06/0.6351, allocations: 0 / 0.497 GB, free: 6.152 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.6351, allocations: 0 / 0.497 GB, free: 6.152 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002688/0.6354, allocations: 194.8 kB / 0.4972 GB, free: 5.945 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002815/0.6357, allocations: 160.6 kB / 0.4974 GB, free: 5.77 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.872e-05/0.6358, allocations: 0 / 0.4974 GB, free: 5.77 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001659/0.6359, allocations: 4 kB / 0.4974 GB, free: 5.766 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.124e-05/0.636, allocations: 7.984 kB / 0.4974 GB, free: 5.758 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.666e-06/0.636, allocations: 4 kB / 0.4974 GB, free: 5.754 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001196/0.6372, allocations: 0.6303 MB / 0.498 GB, free: 5.125 MB / 426.7 MB Notification: Performance of sort global known variables: time 5.41e-07/0.6373, allocations: 0 / 0.498 GB, free: 5.125 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0004378/0.6377, allocations: 52 kB / 0.4981 GB, free: 5.074 MB / 426.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 (3): * Single equations (assignments): 3 * 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.001473/0.6392, allocations: 0.9637 MB / 0.499 GB, free: 4.199 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001496/0.6394, allocations: 16 kB / 0.499 GB, free: 4.184 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/0.6394, allocations: 0 / 0.499 GB, free: 4.184 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 4.616e-05/0.6395, allocations: 12 kB / 0.499 GB, free: 4.172 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004202/0.6399, allocations: 30.2 kB / 0.4991 GB, free: 4.141 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002124/0.642, allocations: 0.8392 MB / 0.4999 GB, free: 3.258 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005443/0.6426, allocations: 0.8262 MB / 0.5007 GB, free: 2.406 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002822/0.6429, allocations: 119.6 kB / 0.5008 GB, free: 2.289 MB / 426.7 MB Notification: Performance of SimCode: time 1.112e-06/0.6429, allocations: 0 / 0.5008 GB, free: 2.289 MB / 426.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_CombiTable2Ds_Test9CalcHelperMain.o OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Ds_Test9CalcHelperMain.cpp In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Ds_Test9CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Ds_Test9FMU.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_CombiTable2Ds_Test9.so OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Ds_Test9CalcHelperMain.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_CombiTable2Ds_Test9_FMU.makefile:93: recipe for target 'ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Ds_Test9.fmu' failed make: *** [ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Ds_Test9.fmu] Error 1