Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test4,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable2D_Test4",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.028/2.028, allocations: 209.3 MB / 221.9 MB, free: 1.945 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.641e-05/3.652e-05, allocations: 8 kB / 273.1 MB, free: 0.6445 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1008/0.1009, allocations: 48.7 MB / 321.8 MB, free: 15.85 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4239/0.5248, allocations: 74.45 MB / 396.3 MB, free: 15.49 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003249/0.5252, allocations: 67.97 kB / 396.4 MB, free: 15.43 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01927/0.5445, allocations: 5.176 MB / 401.5 MB, free: 10.25 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.423e-06/0.5446, allocations: 4 kB / 401.5 MB, free: 10.25 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.125e-05/0.5446, allocations: 12 kB / 401.5 MB, free: 10.23 MB / 330.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.0007827/0.5454, allocations: 0.5654 MB / 402.1 MB, free: 9.617 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.459e-05/0.5455, allocations: 8.031 kB / 402.1 MB, free: 9.609 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.108e-05/0.5456, allocations: 30.56 kB / 402.1 MB, free: 9.57 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001052/0.5457, allocations: 47.39 kB / 402.2 MB, free: 9.523 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006296/0.5463, allocations: 323.3 kB / 402.5 MB, free: 9.168 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.425e-05/0.5464, allocations: 0 / 402.5 MB, free: 9.168 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.411e-05/0.5464, allocations: 4 kB / 402.5 MB, free: 9.164 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001428/0.5465, allocations: 49.69 kB / 402.6 MB, free: 9.109 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.374e-05/0.5466, allocations: 4 kB / 402.6 MB, free: 9.105 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.085e-05/0.5466, allocations: 0 / 402.6 MB, free: 9.105 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.49e-06/0.5466, allocations: 0 / 402.6 MB, free: 9.105 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.758e-05/0.5467, allocations: 16 kB / 402.6 MB, free: 9.09 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008125/0.5475, allocations: 432.6 kB / 403 MB, free: 8.617 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002429/0.5478, allocations: 42.56 kB / 403 MB, free: 8.566 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.136e-05/0.5478, allocations: 14.23 kB / 403.1 MB, free: 8.551 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.839e-05/0.5479, allocations: 4 kB / 403.1 MB, free: 8.547 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.329e-05/0.5479, allocations: 30.56 kB / 403.1 MB, free: 8.508 MB / 330.7 MB Notification: Performance of pre-optimization done (n=3): time 2.805e-06/0.5479, allocations: 0 / 403.1 MB, free: 8.508 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.0006938/0.5486, allocations: 196.1 kB / 403.3 MB, free: 8.309 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.957e-05/0.5487, allocations: 55.41 kB / 403.3 MB, free: 8.242 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001863/0.5506, allocations: 0.7615 MB / 404.1 MB, free: 7.469 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.522e-05/0.5506, allocations: 25.7 kB / 404.1 MB, free: 7.438 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002143/0.5508, allocations: 246.4 kB / 404.4 MB, free: 7.195 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.598e-05/0.5509, allocations: 11.81 kB / 404.4 MB, free: 7.184 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.292e-06/0.5509, allocations: 0 / 404.4 MB, free: 7.184 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001222/0.551, allocations: 314.8 kB / 404.7 MB, free: 6.867 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.436e-05/0.5511, allocations: 12 kB / 404.7 MB, free: 6.855 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.549e-05/0.5512, allocations: 15.94 kB / 404.7 MB, free: 6.84 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.37e-05/0.5512, allocations: 45.62 kB / 404.8 MB, free: 6.789 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.5513, allocations: 4 kB / 404.8 MB, free: 6.785 MB / 330.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002094/0.5515, allocations: 91.39 kB / 404.8 MB, free: 6.684 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.222e-05/0.5515, allocations: 29.7 kB / 404.9 MB, free: 6.648 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.023e-05/0.5516, allocations: 3.953 kB / 404.9 MB, free: 6.645 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.463e-05/0.5516, allocations: 3.938 kB / 404.9 MB, free: 6.641 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001455/0.5517, allocations: 12 kB / 404.9 MB, free: 6.629 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.192e-05/0.5518, allocations: 3.984 kB / 404.9 MB, free: 6.625 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001338/0.5519, allocations: 16 kB / 404.9 MB, free: 6.609 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.146e-05/0.5519, allocations: 0 / 404.9 MB, free: 6.609 MB / 330.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 (6): * Single equations (assignments): 5 * 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 7.985e-05/0.552, allocations: 108.9 kB / 405 MB, free: 6.496 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000126/0.5522, allocations: 39.44 kB / 405.1 MB, free: 6.457 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003197/0.5525, allocations: 117 kB / 405.2 MB, free: 6.336 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.196e-06/0.5525, allocations: 7.953 kB / 405.2 MB, free: 6.328 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.528e-06/0.5525, allocations: 0 / 405.2 MB, free: 6.328 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.487e-06/0.5525, allocations: 4 kB / 405.2 MB, free: 6.324 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001068/0.5536, allocations: 0.553 MB / 405.7 MB, free: 5.715 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.487e-06/0.5536, allocations: 0 / 405.7 MB, free: 5.715 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001306/0.5538, allocations: 15.98 kB / 405.8 MB, free: 5.699 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.327e-06/0.5538, allocations: 4.328 kB / 405.8 MB, free: 5.695 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.121e-05/0.5538, allocations: 0 / 405.8 MB, free: 5.695 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.194e-06/0.5538, allocations: 8 kB / 405.8 MB, free: 5.688 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.787e-06/0.5538, allocations: 3.984 kB / 405.8 MB, free: 5.684 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002922/0.5541, allocations: 191.1 kB / 406 MB, free: 5.48 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002869/0.5545, allocations: 160.5 kB / 406.1 MB, free: 5.305 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.919e-05/0.5545, allocations: 3.953 kB / 406.1 MB, free: 5.301 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001576/0.5547, allocations: 8 kB / 406.1 MB, free: 5.293 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.51e-05/0.5547, allocations: 7.922 kB / 406.1 MB, free: 5.285 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.362e-05/0.5548, allocations: 4 kB / 406.1 MB, free: 5.281 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.001169/0.5559, allocations: 0.6186 MB / 406.8 MB, free: 4.668 MB / 330.7 MB Notification: Performance of sort global known variables: time 7.11e-07/0.556, allocations: 4 kB / 406.8 MB, free: 4.664 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004849/0.5565, allocations: 63.92 kB / 406.8 MB, free: 4.602 MB / 330.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 (5): * Single equations (assignments): 5 * 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.001166/0.5577, allocations: 0.8406 MB / 407.7 MB, free: 3.781 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002098/0.5579, allocations: 95.33 kB / 407.8 MB, free: 3.676 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.5579, allocations: 0 / 407.8 MB, free: 3.676 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 5.909e-05/0.558, allocations: 16 kB / 407.8 MB, free: 3.66 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000364/0.5584, allocations: 25.98 kB / 407.8 MB, free: 3.637 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002102/0.5605, allocations: 0.8393 MB / 408.6 MB, free: 2.754 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000535/0.5611, allocations: 0.834 MB / 409.5 MB, free: 1.895 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002677/0.5614, allocations: 103.6 kB / 409.6 MB, free: 1.793 MB / 330.7 MB Notification: Performance of SimCode: time 1.733e-06/0.5614, allocations: 0 / 409.6 MB, free: 1.793 MB / 330.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_1_cpp_ModelicaTest_Tables_CombiTable2D_Test4CalcHelperMain.o OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable2D_Test4CalcHelperMain.cpp In file included from OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable2D_Test4CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable2D_Test4FMU.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_1_cpp_ModelicaTest_Tables_CombiTable2D_Test4.so OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable2D_Test4CalcHelperMain.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.1/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.1/Resources/Library/x86_64-linux" -Wl,-rpath="/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/Resources/Library/x86_64-linux" "-L/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/Resources/Library/linux64" -Wl,-rpath="/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/Resources/Library/linux64" "-L/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/Resources/Library" -Wl,-rpath="/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/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_1_cpp_ModelicaTest_Tables_CombiTable2D_Test4_FMU.makefile:93: recipe for target 'ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable2D_Test4.fmu' failed make: *** [ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable2D_Test4.fmu] Error 1