Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test29,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Ds_Test29",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.842/2.842, allocations: 270 MB / 282.6 MB, free: 1.844 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.606e-05/3.613e-05, allocations: 4 kB / 347.1 MB, free: 3.121 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4573/0.4573, allocations: 61.87 MB / 408.9 MB, free: 10.74 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1691/0.6265, allocations: 88.55 MB / 497.5 MB, free: 2.078 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002717/0.6268, allocations: 71.95 kB / 497.5 MB, free: 2.008 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02034/0.6472, allocations: 4.691 MB / 0.4905 GB, free: 13.3 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.824e-06/0.6472, allocations: 0 / 0.4905 GB, free: 13.3 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.978e-05/0.6473, allocations: 7.938 kB / 0.4905 GB, free: 13.3 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.0005885/0.6479, allocations: 418 kB / 0.4909 GB, free: 12.84 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.124e-05/0.6479, allocations: 12.03 kB / 0.4909 GB, free: 12.83 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.064e-05/0.648, allocations: 30.56 kB / 0.4909 GB, free: 12.79 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.417e-05/0.648, allocations: 7.906 kB / 0.4909 GB, free: 12.79 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003362/0.6484, allocations: 213.5 kB / 0.4911 GB, free: 12.54 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.166e-05/0.6484, allocations: 4 kB / 0.4911 GB, free: 12.53 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.726e-05/0.6485, allocations: 8 kB / 0.4911 GB, free: 12.52 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001553/0.6486, allocations: 53.62 kB / 0.4912 GB, free: 12.46 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.375e-05/0.6487, allocations: 4 kB / 0.4912 GB, free: 12.46 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.237e-05/0.6487, allocations: 0 / 0.4912 GB, free: 12.46 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.741e-06/0.6487, allocations: 0 / 0.4912 GB, free: 12.46 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.019e-05/0.6488, allocations: 20 kB / 0.4912 GB, free: 12.44 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005423/0.6493, allocations: 316.7 kB / 0.4915 GB, free: 12.08 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002491/0.6496, allocations: 46.56 kB / 0.4915 GB, free: 12.03 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.164e-05/0.6497, allocations: 20.98 kB / 0.4916 GB, free: 12 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.313e-05/0.6497, allocations: 0 / 0.4916 GB, free: 12 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.559e-05/0.6498, allocations: 30.56 kB / 0.4916 GB, free: 11.96 MB / 426.7 MB Notification: Performance of pre-optimization done (n=5): time 1.644e-06/0.6498, allocations: 0 / 0.4916 GB, free: 11.96 MB / 426.7 MB Notification: Performance of matching and sorting (n=11): time 0.0009442/0.6507, allocations: 217.1 kB / 0.4918 GB, free: 11.75 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.538e-05/0.6508, allocations: 55.34 kB / 0.4919 GB, free: 11.68 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003215/0.6511, allocations: 190 kB / 0.492 GB, free: 11.48 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.159e-05/0.6512, allocations: 25.7 kB / 0.4921 GB, free: 11.45 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001034/0.6513, allocations: 178.4 kB / 0.4922 GB, free: 11.28 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.801e-05/0.6513, allocations: 31.47 kB / 0.4923 GB, free: 11.25 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.985e-06/0.6514, allocations: 0 / 0.4923 GB, free: 11.25 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001574/0.6515, allocations: 318.8 kB / 0.4926 GB, free: 10.93 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.499e-05/0.6516, allocations: 31.94 kB / 0.4926 GB, free: 10.89 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.402e-05/0.6517, allocations: 24 kB / 0.4926 GB, free: 10.87 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.604e-05/0.6518, allocations: 27.98 kB / 0.4926 GB, free: 10.84 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.6518, allocations: 0 / 0.4926 GB, free: 10.84 MB / 426.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002625/0.6521, allocations: 97.62 kB / 0.4927 GB, free: 10.74 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.002e-05/0.6521, allocations: 4 kB / 0.4927 GB, free: 10.74 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.673e-06/0.6522, allocations: 384 / 0.4927 GB, free: 10.74 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.773e-05/0.6522, allocations: 4 kB / 0.4927 GB, free: 10.73 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002396/0.6524, allocations: 27.98 kB / 0.4928 GB, free: 10.71 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.126e-05/0.6525, allocations: 7.953 kB / 0.4928 GB, free: 10.7 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001364/0.6526, allocations: 15.98 kB / 0.4928 GB, free: 10.68 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.694e-05/0.6526, allocations: 11.94 kB / 0.4928 GB, free: 10.67 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 (11): * Single equations (assignments): 11 * 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 9.352e-05/0.6527, allocations: 104.9 kB / 0.4929 GB, free: 10.56 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.724e-05/0.6528, allocations: 19.8 kB / 0.4929 GB, free: 10.54 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000357/0.6532, allocations: 123.2 kB / 0.493 GB, free: 10.41 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.539e-06/0.6532, allocations: 4 kB / 0.493 GB, free: 10.41 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.249e-06/0.6532, allocations: 0 / 0.493 GB, free: 10.41 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.428e-06/0.6532, allocations: 3.953 kB / 0.4931 GB, free: 10.41 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008251/0.6541, allocations: 463.9 kB / 0.4935 GB, free: 9.891 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.647e-06/0.6541, allocations: 0 / 0.4935 GB, free: 9.891 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002209/0.6543, allocations: 32.05 kB / 0.4935 GB, free: 9.859 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.478e-06/0.6543, allocations: 3.953 kB / 0.4935 GB, free: 9.855 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.648e-05/0.6544, allocations: 4 kB / 0.4935 GB, free: 9.852 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.406e-06/0.6544, allocations: 0 / 0.4935 GB, free: 9.852 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.36e-06/0.6544, allocations: 3.938 kB / 0.4935 GB, free: 9.848 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003899/0.6548, allocations: 241.1 kB / 0.4938 GB, free: 9.578 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001031/0.6549, allocations: 96.91 kB / 0.4939 GB, free: 9.465 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.168e-05/0.655, allocations: 4 kB / 0.4939 GB, free: 9.461 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001767/0.6551, allocations: 15.98 kB / 0.4939 GB, free: 9.445 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.537e-05/0.6552, allocations: 7.984 kB / 0.4939 GB, free: 9.438 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.422e-05/0.6553, allocations: 4 kB / 0.4939 GB, free: 9.434 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002354/0.6555, allocations: 163.5 kB / 0.494 GB, free: 9.277 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.91e-07/0.6555, allocations: 3.938 kB / 0.494 GB, free: 9.273 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0004031/0.6559, allocations: 35.94 kB / 0.4941 GB, free: 9.238 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * 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.002009/0.6579, allocations: 1.263 MB / 0.4953 GB, free: 8.09 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002559/0.6582, allocations: 71.94 kB / 0.4954 GB, free: 8.02 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.6582, allocations: 0 / 0.4954 GB, free: 8.02 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001215/0.6584, allocations: 43.92 kB / 0.4954 GB, free: 7.977 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003475/0.6587, allocations: 20.92 kB / 0.4954 GB, free: 7.957 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009592/0.6597, allocations: 318.5 kB / 0.4957 GB, free: 7.602 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004107/0.6601, allocations: 0.7199 MB / 0.4965 GB, free: 6.855 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001305/0.6603, allocations: 39.42 kB / 0.4965 GB, free: 6.816 MB / 426.7 MB Notification: Performance of SimCode: time 1.092e-06/0.6603, allocations: 0 / 0.4965 GB, free: 6.816 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_Test29CalcHelperMain.o OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Ds_Test29CalcHelperMain.cpp In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Ds_Test29CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Ds_Test29FMU.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_Test29.so OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Ds_Test29CalcHelperMain.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_Test29_FMU.makefile:93: recipe for target 'ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Ds_Test29.fmu' failed make: *** [ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Ds_Test29.fmu] Error 1