Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test4,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable1Ds_Test4",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.914/1.914, allocations: 209.3 MB / 221.9 MB, free: 1.938 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.644e-05/3.651e-05, allocations: 4 kB / 273.2 MB, free: 0.6445 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09815/0.09822, allocations: 48.7 MB / 321.9 MB, free: 15.84 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3947/0.493, allocations: 74.48 MB / 396.3 MB, free: 15.46 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002544/0.4933, allocations: 63.97 kB / 396.4 MB, free: 15.4 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01365/0.507, allocations: 3.258 MB / 399.7 MB, free: 12.15 MB / 330.7 MB Notification: Performance of FrontEnd: time 4.919e-06/0.5071, allocations: 0 / 399.7 MB, free: 12.15 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.444e-05/0.5071, allocations: 3.938 kB / 399.7 MB, free: 12.15 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005365/0.5076, allocations: 416 kB / 400.1 MB, free: 11.69 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.164e-05/0.5077, allocations: 12.03 kB / 400.1 MB, free: 11.68 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.513e-05/0.5077, allocations: 30.56 kB / 400.1 MB, free: 11.64 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.66e-05/0.5078, allocations: 11.81 kB / 400.1 MB, free: 11.63 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003053/0.5081, allocations: 218.7 kB / 400.3 MB, free: 11.38 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.255e-05/0.5081, allocations: 0 / 400.3 MB, free: 11.38 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.442e-05/0.5082, allocations: 4 kB / 400.3 MB, free: 11.37 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001556/0.5083, allocations: 49.69 kB / 400.4 MB, free: 11.32 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.216e-05/0.5084, allocations: 4 kB / 400.4 MB, free: 11.31 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.119e-05/0.5084, allocations: 0 / 400.4 MB, free: 11.31 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.644e-06/0.5084, allocations: 4 kB / 400.4 MB, free: 11.31 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.796e-05/0.5085, allocations: 23.98 kB / 400.4 MB, free: 11.29 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005026/0.509, allocations: 308.8 kB / 400.7 MB, free: 10.93 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001232/0.5092, allocations: 43.95 kB / 400.8 MB, free: 10.88 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.402e-05/0.5092, allocations: 16.98 kB / 400.8 MB, free: 10.86 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.891e-05/0.5093, allocations: 4 kB / 400.8 MB, free: 10.86 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.926e-05/0.5093, allocations: 38.44 kB / 400.8 MB, free: 10.81 MB / 330.7 MB Notification: Performance of pre-optimization done (n=5): time 2.204e-06/0.5093, allocations: 0 / 400.8 MB, free: 10.81 MB / 330.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006363/0.51, allocations: 157.1 kB / 401 MB, free: 10.65 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.891e-05/0.51, allocations: 51.41 kB / 401 MB, free: 10.59 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003108/0.5103, allocations: 202.4 kB / 401.2 MB, free: 10.38 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.918e-05/0.5104, allocations: 29.7 kB / 401.2 MB, free: 10.34 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.49e-05/0.5105, allocations: 166.8 kB / 401.4 MB, free: 10.18 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.376e-05/0.5105, allocations: 23.56 kB / 401.4 MB, free: 10.15 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.166e-05/0.5105, allocations: 4 kB / 401.4 MB, free: 10.15 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.000114/0.5107, allocations: 314.8 kB / 401.7 MB, free: 9.832 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.311e-05/0.5108, allocations: 20 kB / 401.8 MB, free: 9.812 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.046e-05/0.5108, allocations: 19.94 kB / 401.8 MB, free: 9.793 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.888e-05/0.5109, allocations: 49.69 kB / 401.8 MB, free: 9.738 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.382e-06/0.5109, allocations: 4 kB / 401.8 MB, free: 9.734 MB / 330.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000233/0.5112, allocations: 111.3 kB / 401.9 MB, free: 9.613 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.852e-05/0.5112, allocations: 29.7 kB / 402 MB, free: 9.578 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.192e-06/0.5113, allocations: 0 / 402 MB, free: 9.578 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.419e-05/0.5113, allocations: 4 kB / 402 MB, free: 9.574 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001835/0.5115, allocations: 20.17 kB / 402 MB, free: 9.555 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.102e-05/0.5115, allocations: 3.953 kB / 402 MB, free: 9.551 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.512e-05/0.5116, allocations: 12 kB / 402 MB, free: 9.539 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.56e-05/0.5116, allocations: 4 kB / 402 MB, free: 9.535 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 (9): * Single equations (assignments): 8 * 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.693e-05/0.5117, allocations: 109 kB / 402.1 MB, free: 9.422 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.457e-05/0.5118, allocations: 19.8 kB / 402.1 MB, free: 9.402 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002991/0.5121, allocations: 107.5 kB / 402.2 MB, free: 9.285 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.958e-06/0.5121, allocations: 0 / 402.2 MB, free: 9.285 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.99e-06/0.5121, allocations: 0 / 402.2 MB, free: 9.285 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.801e-06/0.5121, allocations: 7.891 kB / 402.3 MB, free: 9.277 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006355/0.5128, allocations: 394.5 kB / 402.6 MB, free: 8.836 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.865e-06/0.5128, allocations: 0 / 402.6 MB, free: 8.836 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001481/0.513, allocations: 23.94 kB / 402.7 MB, free: 8.812 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.389e-06/0.513, allocations: 3.938 kB / 402.7 MB, free: 8.809 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.321e-05/0.513, allocations: 3.984 kB / 402.7 MB, free: 8.805 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.539e-06/0.513, allocations: 7.953 kB / 402.7 MB, free: 8.797 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.513, allocations: 0 / 402.7 MB, free: 8.797 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002548/0.5133, allocations: 187.3 kB / 402.9 MB, free: 8.598 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.11e-05/0.5134, allocations: 89.02 kB / 403 MB, free: 8.492 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.888e-05/0.5134, allocations: 3.984 kB / 403 MB, free: 8.488 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001172/0.5135, allocations: 8 kB / 403 MB, free: 8.48 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.241e-05/0.5136, allocations: 11.94 kB / 403 MB, free: 8.469 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.173e-05/0.5136, allocations: 4 kB / 403 MB, free: 8.465 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002162/0.5139, allocations: 160.9 kB / 403.1 MB, free: 8.309 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.5139, allocations: 0 / 403.1 MB, free: 8.309 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003692/0.5142, allocations: 28 kB / 403.2 MB, free: 8.281 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 (8): * Single equations (assignments): 8 * 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.001086/0.5153, allocations: 0.8402 MB / 404 MB, free: 7.461 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002473/0.5156, allocations: 107.3 kB / 404.1 MB, free: 7.344 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.5156, allocations: 0 / 404.1 MB, free: 7.344 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 7.869e-05/0.5157, allocations: 28.19 kB / 404.1 MB, free: 7.316 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00028/0.516, allocations: 15.8 kB / 404.2 MB, free: 7.301 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008207/0.5168, allocations: 276.7 kB / 404.4 MB, free: 6.988 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003189/0.5172, allocations: 0.7121 MB / 405.1 MB, free: 6.25 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001046/0.5173, allocations: 39.42 kB / 405.2 MB, free: 6.211 MB / 330.7 MB Notification: Performance of SimCode: time 8.81e-07/0.5173, allocations: 0 / 405.2 MB, free: 6.211 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_CombiTable1Ds_Test4CalcHelperMain.o OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable1Ds_Test4CalcHelperMain.cpp In file included from OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable1Ds_Test4CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable1Ds_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_CombiTable1Ds_Test4.so OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable1Ds_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_CombiTable1Ds_Test4_FMU.makefile:93: recipe for target 'ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable1Ds_Test4.fmu' failed make: *** [ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable1Ds_Test4.fmu] Error 1