Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test5,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable2D_Test5",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.958/1.958, allocations: 209.3 MB / 221.9 MB, free: 1.93 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.564e-05/3.583e-05, allocations: 4 kB / 273.1 MB, free: 0.6445 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1016/0.1016, allocations: 48.7 MB / 321.8 MB, free: 15.85 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4023/0.504, allocations: 74.45 MB / 396.3 MB, free: 15.49 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002715/0.5044, allocations: 75.27 kB / 396.4 MB, free: 15.42 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01876/0.5231, allocations: 5.179 MB / 401.5 MB, free: 10.24 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.184e-06/0.5232, allocations: 4 kB / 401.5 MB, free: 10.24 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.028e-05/0.5233, allocations: 4 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.0007772/0.524, allocations: 0.5693 MB / 402.1 MB, free: 9.613 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.046e-05/0.5241, allocations: 8.031 kB / 402.1 MB, free: 9.605 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.588e-05/0.5242, allocations: 34.56 kB / 402.2 MB, free: 9.562 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001136/0.5243, allocations: 47.39 kB / 402.2 MB, free: 9.516 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006547/0.5249, allocations: 319.3 kB / 402.5 MB, free: 9.164 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.288e-05/0.525, allocations: 0 / 402.5 MB, free: 9.164 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.56e-05/0.525, allocations: 8 kB / 402.5 MB, free: 9.156 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001377/0.5252, allocations: 37.7 kB / 402.6 MB, free: 9.113 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.316e-05/0.5252, allocations: 4 kB / 402.6 MB, free: 9.109 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.316e-05/0.5252, allocations: 8 kB / 402.6 MB, free: 9.102 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.357e-05/0.5252, allocations: 3.984 kB / 402.6 MB, free: 9.098 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.509e-05/0.5253, allocations: 16 kB / 402.6 MB, free: 9.082 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008324/0.5262, allocations: 424.6 kB / 403 MB, free: 8.617 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002265/0.5264, allocations: 38.58 kB / 403 MB, free: 8.57 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.689e-05/0.5265, allocations: 14.23 kB / 403.1 MB, free: 8.555 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.631e-05/0.5265, allocations: 7.938 kB / 403.1 MB, free: 8.547 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.126e-05/0.5265, allocations: 34.64 kB / 403.1 MB, free: 8.504 MB / 330.7 MB Notification: Performance of pre-optimization done (n=3): time 4.248e-06/0.5266, allocations: 3.984 kB / 403.1 MB, free: 8.5 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.0006209/0.5272, allocations: 188.1 kB / 403.3 MB, free: 8.309 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.494e-05/0.5273, allocations: 51.41 kB / 403.3 MB, free: 8.246 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002928/0.5302, allocations: 0.7693 MB / 404.1 MB, free: 7.465 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.498e-05/0.5303, allocations: 25.7 kB / 404.1 MB, free: 7.434 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000233/0.5305, allocations: 242.4 kB / 404.4 MB, free: 7.195 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.858e-05/0.5306, allocations: 11.8 kB / 404.4 MB, free: 7.184 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.683e-06/0.5306, allocations: 0 / 404.4 MB, free: 7.184 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001435/0.5307, allocations: 318.8 kB / 404.7 MB, free: 6.863 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.596e-05/0.5308, allocations: 12 kB / 404.7 MB, free: 6.852 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.272e-05/0.5309, allocations: 11.94 kB / 404.7 MB, free: 6.84 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.15e-05/0.531, allocations: 41.69 kB / 404.7 MB, free: 6.793 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.45e-06/0.531, allocations: 8 kB / 404.8 MB, free: 6.785 MB / 330.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002187/0.5312, allocations: 87.41 kB / 404.8 MB, free: 6.688 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.669e-05/0.5313, allocations: 33.69 kB / 404.9 MB, free: 6.648 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.167e-06/0.5313, allocations: 3.953 kB / 404.9 MB, free: 6.645 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.91e-05/0.5313, allocations: 0 / 404.9 MB, free: 6.645 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001453/0.5315, allocations: 15.94 kB / 404.9 MB, free: 6.629 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.765e-06/0.5315, allocations: 0 / 404.9 MB, free: 6.629 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001481/0.5317, allocations: 12.23 kB / 404.9 MB, free: 6.617 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.077e-05/0.5317, allocations: 0 / 404.9 MB, free: 6.617 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 8.868e-05/0.5318, allocations: 116.9 kB / 405 MB, free: 6.496 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001191/0.5319, allocations: 39.44 kB / 405.1 MB, free: 6.457 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003254/0.5322, allocations: 120.9 kB / 405.2 MB, free: 6.332 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.225e-06/0.5323, allocations: 7.953 kB / 405.2 MB, free: 6.324 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.5323, allocations: 0 / 405.2 MB, free: 6.324 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.5323, allocations: 0 / 405.2 MB, free: 6.324 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001151/0.5335, allocations: 0.557 MB / 405.7 MB, free: 5.711 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.056e-06/0.5335, allocations: 4 kB / 405.7 MB, free: 5.707 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001231/0.5336, allocations: 15.98 kB / 405.8 MB, free: 5.691 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.548e-06/0.5336, allocations: 3.953 kB / 405.8 MB, free: 5.688 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.036e-05/0.5337, allocations: 0 / 405.8 MB, free: 5.688 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.074e-06/0.5337, allocations: 4 kB / 405.8 MB, free: 5.684 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.953e-06/0.5337, allocations: 0 / 405.8 MB, free: 5.684 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002895/0.534, allocations: 187.1 kB / 406 MB, free: 5.484 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002973/0.5343, allocations: 164.5 kB / 406.1 MB, free: 5.305 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.827e-05/0.5344, allocations: 7.891 kB / 406.1 MB, free: 5.297 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001599/0.5345, allocations: 12 kB / 406.1 MB, free: 5.285 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.478e-05/0.5346, allocations: 3.984 kB / 406.1 MB, free: 5.281 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.15e-05/0.5346, allocations: 4 kB / 406.1 MB, free: 5.277 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.001254/0.5359, allocations: 0.6224 MB / 406.8 MB, free: 4.66 MB / 330.7 MB Notification: Performance of sort global known variables: time 7.01e-07/0.5359, allocations: 0 / 406.8 MB, free: 4.66 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004558/0.5364, allocations: 55.94 kB / 406.8 MB, free: 4.605 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.00129/0.5377, allocations: 0.8479 MB / 407.7 MB, free: 3.777 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002198/0.538, allocations: 95.34 kB / 407.8 MB, free: 3.672 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.538, allocations: 0 / 407.8 MB, free: 3.672 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 6.078e-05/0.538, allocations: 19.98 kB / 407.8 MB, free: 3.652 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003575/0.5384, allocations: 21.98 kB / 407.8 MB, free: 3.633 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002056/0.5405, allocations: 0.8432 MB / 408.6 MB, free: 2.746 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005891/0.5411, allocations: 0.8223 MB / 409.5 MB, free: 1.898 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002601/0.5414, allocations: 103.7 kB / 409.6 MB, free: 1.797 MB / 330.7 MB Notification: Performance of SimCode: time 9.31e-07/0.5414, allocations: 0 / 409.6 MB, free: 1.797 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_Test5CalcHelperMain.o OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable2D_Test5CalcHelperMain.cpp In file included from OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable2D_Test5CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable2D_Test5FMU.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_Test5.so OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable2D_Test5CalcHelperMain.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_Test5_FMU.makefile:93: recipe for target 'ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable2D_Test5.fmu' failed make: *** [ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable2D_Test5.fmu] Error 1