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.94/1.94, allocations: 209.3 MB / 221.9 MB, free: 1.93 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.554e-05/3.557e-05, allocations: 4 kB / 273.1 MB, free: 0.6445 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1031/0.1032, allocations: 48.7 MB / 321.8 MB, free: 15.85 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4024/0.5056, allocations: 74.47 MB / 396.3 MB, free: 15.38 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00025/0.5059, allocations: 75.95 kB / 396.4 MB, free: 15.3 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01401/0.52, allocations: 3.246 MB / 399.6 MB, free: 12.06 MB / 330.7 MB Notification: Performance of FrontEnd: time 6.001e-06/0.52, allocations: 3.938 kB / 399.6 MB, free: 12.06 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.792e-05/0.52, allocations: 7.938 kB / 399.6 MB, free: 12.05 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.0005762/0.5206, allocations: 416 kB / 400 MB, free: 11.59 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.345e-05/0.5207, allocations: 8.031 kB / 400 MB, free: 11.59 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.454e-05/0.5208, allocations: 38.56 kB / 400.1 MB, free: 11.54 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.259e-05/0.5208, allocations: 11.81 kB / 400.1 MB, free: 11.53 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003281/0.5212, allocations: 206.8 kB / 400.3 MB, free: 11.29 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.653e-05/0.5212, allocations: 4 kB / 400.3 MB, free: 11.28 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.978e-05/0.5212, allocations: 8 kB / 400.3 MB, free: 11.27 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001782/0.5214, allocations: 53.62 kB / 400.4 MB, free: 11.21 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.367e-05/0.5214, allocations: 4 kB / 400.4 MB, free: 11.21 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.11e-05/0.5215, allocations: 0 / 400.4 MB, free: 11.21 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.362e-06/0.5215, allocations: 0 / 400.4 MB, free: 11.21 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.587e-05/0.5216, allocations: 23.98 kB / 400.4 MB, free: 11.19 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005302/0.5221, allocations: 304.8 kB / 400.7 MB, free: 10.84 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000136/0.5223, allocations: 51.89 kB / 400.7 MB, free: 10.78 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.635e-05/0.5223, allocations: 16.98 kB / 400.8 MB, free: 10.76 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.447e-05/0.5224, allocations: 4 kB / 400.8 MB, free: 10.76 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.512e-05/0.5224, allocations: 34.5 kB / 400.8 MB, free: 10.71 MB / 330.7 MB Notification: Performance of pre-optimization done (n=5): time 1.903e-06/0.5224, allocations: 0 / 400.8 MB, free: 10.71 MB / 330.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007198/0.5232, allocations: 161.1 kB / 400.9 MB, free: 10.55 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.98e-05/0.5232, allocations: 51.41 kB / 401 MB, free: 10.49 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003329/0.5236, allocations: 198.4 kB / 401.2 MB, free: 10.28 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.372e-05/0.5236, allocations: 29.7 kB / 401.2 MB, free: 10.25 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.962e-05/0.5237, allocations: 162.8 kB / 401.4 MB, free: 10.08 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.171e-05/0.5238, allocations: 31.55 kB / 401.4 MB, free: 10.05 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.484e-06/0.5238, allocations: 3.938 kB / 401.4 MB, free: 10.05 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001407/0.5239, allocations: 314.8 kB / 401.7 MB, free: 9.73 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.541e-05/0.524, allocations: 16 kB / 401.7 MB, free: 9.715 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.57e-05/0.5241, allocations: 23.94 kB / 401.8 MB, free: 9.691 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.26e-05/0.5242, allocations: 49.69 kB / 401.8 MB, free: 9.637 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.5242, allocations: 4 kB / 401.8 MB, free: 9.633 MB / 330.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002443/0.5245, allocations: 111.3 kB / 401.9 MB, free: 9.512 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.875e-05/0.5245, allocations: 29.7 kB / 401.9 MB, free: 9.477 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.644e-06/0.5246, allocations: 4.188 kB / 402 MB, free: 9.473 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.803e-05/0.5246, allocations: 0 / 402 MB, free: 9.473 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002029/0.5248, allocations: 23.98 kB / 402 MB, free: 9.449 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.228e-05/0.5248, allocations: 8.016 kB / 402 MB, free: 9.441 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.178e-05/0.5249, allocations: 7.984 kB / 402 MB, free: 9.434 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.573e-05/0.525, allocations: 8 kB / 402 MB, free: 9.426 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 8.837e-05/0.5251, allocations: 105 kB / 402.1 MB, free: 9.316 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.239e-05/0.5251, allocations: 15.81 kB / 402.1 MB, free: 9.301 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003251/0.5255, allocations: 103.1 kB / 402.2 MB, free: 9.188 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.648e-06/0.5255, allocations: 0 / 402.2 MB, free: 9.188 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.661e-06/0.5255, allocations: 0 / 402.2 MB, free: 9.188 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.903e-06/0.5255, allocations: 3.953 kB / 402.2 MB, free: 9.184 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006521/0.5262, allocations: 394.5 kB / 402.6 MB, free: 8.742 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.921e-06/0.5262, allocations: 0 / 402.6 MB, free: 8.742 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001464/0.5263, allocations: 19.94 kB / 402.6 MB, free: 8.723 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.364e-06/0.5264, allocations: 8.203 kB / 402.6 MB, free: 8.715 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.631e-05/0.5264, allocations: 8 kB / 402.6 MB, free: 8.707 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.412e-06/0.5264, allocations: 3.953 kB / 402.6 MB, free: 8.703 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.5264, allocations: 3.938 kB / 402.7 MB, free: 8.699 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002836/0.5267, allocations: 187.3 kB / 402.8 MB, free: 8.5 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.879e-05/0.5268, allocations: 93 kB / 402.9 MB, free: 8.391 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.967e-05/0.5269, allocations: 3.984 kB / 402.9 MB, free: 8.387 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001183/0.527, allocations: 12 kB / 402.9 MB, free: 8.375 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.325e-05/0.5271, allocations: 7.938 kB / 402.9 MB, free: 8.367 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.318e-05/0.5271, allocations: 4 kB / 403 MB, free: 8.363 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002444/0.5273, allocations: 164.8 kB / 403.1 MB, free: 8.203 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.61e-07/0.5274, allocations: 0 / 403.1 MB, free: 8.203 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003481/0.5277, allocations: 28 kB / 403.1 MB, free: 8.176 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.001193/0.5289, allocations: 0.8431 MB / 404 MB, free: 7.355 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002733/0.5292, allocations: 107.3 kB / 404.1 MB, free: 7.238 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.5293, allocations: 0 / 404.1 MB, free: 7.238 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 7.927e-05/0.5293, allocations: 24 kB / 404.1 MB, free: 7.215 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000278/0.5296, allocations: 11.86 kB / 404.1 MB, free: 7.203 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008376/0.5305, allocations: 280.6 kB / 404.4 MB, free: 6.887 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003858/0.5309, allocations: 0.7162 MB / 405.1 MB, free: 6.145 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001159/0.531, allocations: 43.34 kB / 405.2 MB, free: 6.102 MB / 330.7 MB Notification: Performance of SimCode: time 1.052e-06/0.531, allocations: 0 / 405.2 MB, free: 6.102 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