Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test28,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test28",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.391/2.391, allocations: 235 MB / 247.6 MB, free: 14.32 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.891e-05/3.896e-05, allocations: 7.984 kB / 305 MB, free: 5.547 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3915/0.3916, allocations: 54.85 MB / 359.9 MB, free: 2.699 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1495/0.5411, allocations: 80.89 MB / 440.8 MB, free: 88 kB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002709/0.5415, allocations: 71.95 kB / 440.8 MB, free: 16 kB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0126/0.5541, allocations: 2.955 MB / 443.8 MB, free: 13.08 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.883e-06/0.5541, allocations: 4 kB / 443.8 MB, free: 13.08 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.307e-05/0.5542, allocations: 0 / 443.8 MB, free: 13.08 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005475/0.5547, allocations: 420 kB / 444.2 MB, free: 12.62 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.56e-05/0.5548, allocations: 8.031 kB / 444.2 MB, free: 12.61 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.136e-05/0.5548, allocations: 30.56 kB / 444.2 MB, free: 12.57 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.119e-05/0.5549, allocations: 7.906 kB / 444.2 MB, free: 12.56 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002659/0.5552, allocations: 200.5 kB / 444.4 MB, free: 12.33 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.501e-05/0.5552, allocations: 8 kB / 444.4 MB, free: 12.32 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.28e-05/0.5552, allocations: 4 kB / 444.4 MB, free: 12.32 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001359/0.5554, allocations: 45.66 kB / 444.5 MB, free: 12.27 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.145e-05/0.5554, allocations: 0 / 444.5 MB, free: 12.27 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.584e-05/0.5554, allocations: 4 kB / 444.5 MB, free: 12.26 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.757e-06/0.5554, allocations: 3.281 kB / 444.5 MB, free: 12.26 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.036e-05/0.5555, allocations: 19.98 kB / 444.5 MB, free: 12.24 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004354/0.556, allocations: 288.9 kB / 444.8 MB, free: 11.91 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001057/0.5561, allocations: 42.5 kB / 444.8 MB, free: 11.86 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.38e-05/0.5562, allocations: 8.859 kB / 444.8 MB, free: 11.85 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.046e-05/0.5562, allocations: 0 / 444.8 MB, free: 11.85 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.906e-05/0.5562, allocations: 41.38 kB / 444.9 MB, free: 11.8 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 1.493e-06/0.5562, allocations: 0 / 444.9 MB, free: 11.8 MB / 378.7 MB Notification: Performance of matching and sorting (n=7): time 0.0006807/0.5569, allocations: 145.4 kB / 445 MB, free: 11.65 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.924e-05/0.557, allocations: 51.41 kB / 445.1 MB, free: 11.59 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002171/0.5572, allocations: 160.1 kB / 445.2 MB, free: 11.43 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.161e-05/0.5573, allocations: 25.7 kB / 445.3 MB, free: 11.4 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.246e-05/0.5573, allocations: 166.5 kB / 445.4 MB, free: 11.23 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.407e-05/0.5574, allocations: 23.66 kB / 445.4 MB, free: 11.21 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.063e-06/0.5574, allocations: 1.031 kB / 445.5 MB, free: 11.21 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001239/0.5575, allocations: 322.8 kB / 445.8 MB, free: 10.89 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.196e-05/0.5576, allocations: 20 kB / 445.8 MB, free: 10.87 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.406e-05/0.5577, allocations: 12 kB / 445.8 MB, free: 10.86 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.416e-05/0.5578, allocations: 47.73 kB / 445.8 MB, free: 10.8 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.5578, allocations: 0 / 445.8 MB, free: 10.8 MB / 378.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000219/0.558, allocations: 103.3 kB / 445.9 MB, free: 10.69 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.944e-05/0.5581, allocations: 39.42 kB / 446 MB, free: 10.65 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.023e-06/0.5581, allocations: 144 / 446 MB, free: 10.65 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.446e-05/0.5581, allocations: 0 / 446 MB, free: 10.65 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002193/0.5584, allocations: 35.95 kB / 446 MB, free: 10.61 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.655e-06/0.5584, allocations: 0.9375 kB / 446 MB, free: 10.61 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001166/0.5585, allocations: 8 kB / 446 MB, free: 10.61 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.791e-05/0.5585, allocations: 4 kB / 446 MB, free: 10.6 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 (8): * Single equations (assignments): 7 * 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 9.163e-05/0.5586, allocations: 116.9 kB / 446.1 MB, free: 10.48 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.96e-05/0.5587, allocations: 11.81 kB / 446.2 MB, free: 10.47 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000253/0.559, allocations: 96.27 kB / 446.3 MB, free: 10.37 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.178e-06/0.559, allocations: 0 / 446.3 MB, free: 10.37 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.492e-06/0.559, allocations: 4 kB / 446.3 MB, free: 10.36 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.46e-06/0.559, allocations: 0 / 446.3 MB, free: 10.36 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000557/0.5596, allocations: 362.5 kB / 446.6 MB, free: 9.953 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.5596, allocations: 0.75 kB / 446.6 MB, free: 9.953 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001747/0.5598, allocations: 23.98 kB / 446.6 MB, free: 9.93 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.975e-06/0.5598, allocations: 4 kB / 446.6 MB, free: 9.926 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.103e-05/0.5598, allocations: 0 / 446.6 MB, free: 9.926 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.215e-06/0.5598, allocations: 7.922 kB / 446.6 MB, free: 9.918 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.315e-06/0.5599, allocations: 0 / 446.6 MB, free: 9.918 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002317/0.5601, allocations: 175.4 kB / 446.8 MB, free: 9.73 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.565e-05/0.5602, allocations: 85.02 kB / 446.9 MB, free: 9.629 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.356e-05/0.5602, allocations: 2.344 kB / 446.9 MB, free: 9.629 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001566/0.5604, allocations: 20.86 kB / 446.9 MB, free: 9.609 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.431e-05/0.5604, allocations: 11.98 kB / 446.9 MB, free: 9.598 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.425e-06/0.5605, allocations: 0 / 446.9 MB, free: 9.598 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001518/0.5606, allocations: 127.2 kB / 447.1 MB, free: 9.473 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.5606, allocations: 0 / 447.1 MB, free: 9.473 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003598/0.561, allocations: 31.92 kB / 447.1 MB, free: 9.441 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 (7): * Single equations (assignments): 7 * 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.001221/0.5622, allocations: 0.8822 MB / 448 MB, free: 8.605 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002297/0.5625, allocations: 99.39 kB / 448.1 MB, free: 8.496 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.5625, allocations: 0 / 448.1 MB, free: 8.496 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.463e-05/0.5626, allocations: 27.94 kB / 448.1 MB, free: 8.469 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002712/0.5629, allocations: 11.8 kB / 448.1 MB, free: 8.457 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006972/0.5636, allocations: 225.8 kB / 448.3 MB, free: 8.195 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002985/0.5639, allocations: 0.7043 MB / 449 MB, free: 7.465 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.382e-05/0.564, allocations: 31.42 kB / 449.1 MB, free: 7.434 MB / 378.7 MB Notification: Performance of SimCode: time 8.62e-07/0.564, allocations: 0 / 449.1 MB, free: 7.434 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_CombiTable2D_Test28CalcHelperMain.o OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test28CalcHelperMain.cpp In file included from OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test28CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test28FMU.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_CombiTable2D_Test28.so OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test28CalcHelperMain.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_CombiTable2D_Test28_FMU.makefile:93: recipe for target 'ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test28.fmu' failed make: *** [ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test28.fmu] Error 1