Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1D.Test20,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable1D_Test20",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.821/1.821, allocations: 209.3 MB / 221.9 MB, free: 1.938 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.181e-05/3.175e-05, allocations: 4 kB / 273.2 MB, free: 0.6328 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09893/0.09898, allocations: 48.69 MB / 321.8 MB, free: 15.84 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4025/0.5015, allocations: 74.67 MB / 396.5 MB, free: 15.27 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002556/0.5018, allocations: 71.97 kB / 396.6 MB, free: 15.2 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01428/0.5161, allocations: 3.527 MB / 400.1 MB, free: 11.68 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.563e-06/0.5162, allocations: 0 / 400.1 MB, free: 11.68 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.366e-05/0.5162, allocations: 4 kB / 400.1 MB, free: 11.68 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004877/0.5167, allocations: 404 kB / 400.5 MB, free: 11.23 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.829e-05/0.5167, allocations: 8.031 kB / 400.5 MB, free: 11.23 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.151e-05/0.5168, allocations: 30.56 kB / 400.6 MB, free: 11.19 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.675e-05/0.5168, allocations: 7.906 kB / 400.6 MB, free: 11.18 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002517/0.5171, allocations: 186.9 kB / 400.7 MB, free: 10.96 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.728e-06/0.5171, allocations: 4 kB / 400.7 MB, free: 10.95 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.412e-05/0.5172, allocations: 4 kB / 400.7 MB, free: 10.95 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001484/0.5173, allocations: 60.97 kB / 400.8 MB, free: 10.88 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.211e-05/0.5174, allocations: 4 kB / 400.8 MB, free: 10.88 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.197e-05/0.5174, allocations: 4 kB / 400.8 MB, free: 10.87 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.5174, allocations: 0 / 400.8 MB, free: 10.87 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.222e-05/0.5175, allocations: 12 kB / 400.8 MB, free: 10.86 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004558/0.5179, allocations: 280.9 kB / 401.1 MB, free: 10.54 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002191/0.5182, allocations: 42.58 kB / 401.1 MB, free: 10.48 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.731e-05/0.5182, allocations: 12.8 kB / 401.2 MB, free: 10.47 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.679e-05/0.5183, allocations: 4.094 kB / 401.2 MB, free: 10.46 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.675e-05/0.5183, allocations: 34.55 kB / 401.2 MB, free: 10.42 MB / 330.7 MB Notification: Performance of pre-optimization done (n=3): time 1.613e-06/0.5183, allocations: 0 / 401.2 MB, free: 10.42 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005005/0.5188, allocations: 109.4 kB / 401.3 MB, free: 10.31 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.727e-05/0.5189, allocations: 89 kB / 401.4 MB, free: 10.2 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001285/0.519, allocations: 109 kB / 401.5 MB, free: 10.09 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.365e-05/0.5191, allocations: 37.69 kB / 401.5 MB, free: 10.05 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.786e-05/0.5192, allocations: 154.5 kB / 401.7 MB, free: 9.895 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.847e-05/0.5192, allocations: 19.66 kB / 401.7 MB, free: 9.875 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.482e-06/0.5192, allocations: 4 kB / 401.7 MB, free: 9.871 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001312/0.5194, allocations: 310.8 kB / 402 MB, free: 9.559 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.717e-05/0.5194, allocations: 19.98 kB / 402 MB, free: 9.539 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.668e-05/0.5195, allocations: 33.66 kB / 402.1 MB, free: 9.5 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.988e-05/0.5196, allocations: 45.69 kB / 402.1 MB, free: 9.449 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.333e-06/0.5196, allocations: 0 / 402.1 MB, free: 9.449 MB / 330.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002008/0.5198, allocations: 95.39 kB / 402.2 MB, free: 9.344 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.09e-05/0.5199, allocations: 33.7 kB / 402.2 MB, free: 9.305 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.137e-06/0.5199, allocations: 0 / 402.2 MB, free: 9.305 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.643e-05/0.5199, allocations: 0 / 402.2 MB, free: 9.305 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001191/0.5201, allocations: 19.92 kB / 402.3 MB, free: 9.285 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.815e-06/0.5201, allocations: 0 / 402.3 MB, free: 9.285 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.759e-05/0.5202, allocations: 11.98 kB / 402.3 MB, free: 9.273 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.242e-05/0.5202, allocations: 4 kB / 402.3 MB, free: 9.27 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 0.0001049/0.5203, allocations: 109 kB / 402.4 MB, free: 9.156 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.906e-05/0.5204, allocations: 4 kB / 402.4 MB, free: 9.152 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002215/0.5206, allocations: 77.67 kB / 402.5 MB, free: 9.074 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.5206, allocations: 464 / 402.5 MB, free: 9.074 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.5206, allocations: 4 kB / 402.5 MB, free: 9.07 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.845e-06/0.5206, allocations: 3.984 kB / 402.5 MB, free: 9.066 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004889/0.5211, allocations: 346.5 kB / 402.8 MB, free: 8.672 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.5212, allocations: 0 / 402.8 MB, free: 8.672 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001123/0.5213, allocations: 15.98 kB / 402.8 MB, free: 8.656 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.236e-06/0.5213, allocations: 0 / 402.8 MB, free: 8.656 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.576e-06/0.5213, allocations: 0 / 402.8 MB, free: 8.656 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.5213, allocations: 0 / 402.8 MB, free: 8.656 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.52e-06/0.5213, allocations: 11.94 kB / 402.8 MB, free: 8.645 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002031/0.5216, allocations: 163.5 kB / 403 MB, free: 8.469 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.957e-05/0.5216, allocations: 89 kB / 403.1 MB, free: 8.363 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.374e-05/0.5217, allocations: 4 kB / 403.1 MB, free: 8.359 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001085/0.5218, allocations: 4 kB / 403.1 MB, free: 8.355 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.207e-05/0.5218, allocations: 3.984 kB / 403.1 MB, free: 8.352 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.657e-06/0.5219, allocations: 7.953 kB / 403.1 MB, free: 8.344 MB / 330.7 MB Notification: Performance of sorting global known variables: time 9.097e-05/0.522, allocations: 99.77 kB / 403.2 MB, free: 8.246 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.1e-07/0.522, allocations: 4 kB / 403.2 MB, free: 8.242 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003686/0.5224, allocations: 27.98 kB / 403.2 MB, free: 8.215 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.001303/0.5237, allocations: 0.9018 MB / 404.1 MB, free: 7.336 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.000209/0.5239, allocations: 95.39 kB / 404.2 MB, free: 7.23 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.5239, allocations: 4 kB / 404.2 MB, free: 7.227 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 6.331e-05/0.524, allocations: 16 kB / 404.2 MB, free: 7.211 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002298/0.5242, allocations: 15.92 kB / 404.3 MB, free: 7.195 MB / 330.7 MB Warning: Could not resolve URI (uri) at compile-time; copying all loaded packages into the FMU Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002266/0.5265, allocations: 0.7146 MB / 405 MB, free: 6.434 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003063/0.5268, allocations: 0.6887 MB / 405.7 MB, free: 5.719 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.437e-05/0.5269, allocations: 27.42 kB / 405.7 MB, free: 5.691 MB / 330.7 MB Notification: Performance of SimCode: time 7.61e-07/0.527, allocations: 0 / 405.7 MB, free: 5.691 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_CombiTable1D_Test20CalcHelperMain.o OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable1D_Test20CalcHelperMain.cpp In file included from OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable1D_Test20CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable1D_Test20FMU.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_CombiTable1D_Test20.so OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable1D_Test20CalcHelperMain.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" -lModelicaExternalC -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_CombiTable1D_Test20_FMU.makefile:93: recipe for target 'ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable1D_Test20.fmu' failed make: *** [ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable1D_Test20.fmu] Error 1