Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1D.Test30,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1D_Test30",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.666/2.666, allocations: 235 MB / 247.6 MB, free: 14.38 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.995e-05/4.005e-05, allocations: 7.984 kB / 305 MB, free: 5.562 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.441/0.4411, allocations: 54.86 MB / 359.9 MB, free: 2.703 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1503/0.5914, allocations: 80.9 MB / 440.8 MB, free: 72 kB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002759/0.5918, allocations: 71.97 kB / 440.8 MB, free: 0 / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01307/0.6049, allocations: 3.116 MB / 443.9 MB, free: 12.9 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.493e-06/0.6049, allocations: 0 / 443.9 MB, free: 12.9 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.505e-05/0.6049, allocations: 4 kB / 444 MB, free: 12.9 MB / 378.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.0004972/0.6054, allocations: 416.5 kB / 444.4 MB, free: 12.44 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.599e-05/0.6055, allocations: 8.031 kB / 444.4 MB, free: 12.43 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.995e-05/0.6056, allocations: 30.56 kB / 444.4 MB, free: 12.39 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.851e-05/0.6056, allocations: 15.86 kB / 444.4 MB, free: 12.38 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002643/0.6059, allocations: 191.5 kB / 444.6 MB, free: 12.15 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.446e-05/0.6059, allocations: 4 kB / 444.6 MB, free: 12.14 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.835e-05/0.6059, allocations: 0.5625 kB / 444.6 MB, free: 12.14 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001317/0.6061, allocations: 45.69 kB / 444.6 MB, free: 12.09 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.241e-05/0.6061, allocations: 4 kB / 444.7 MB, free: 12.09 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.028e-05/0.6061, allocations: 0 / 444.7 MB, free: 12.09 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.144e-06/0.6062, allocations: 7.953 kB / 444.7 MB, free: 12.08 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.094e-05/0.6062, allocations: 12 kB / 444.7 MB, free: 12.07 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000495/0.6067, allocations: 299.3 kB / 445 MB, free: 11.73 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002287/0.607, allocations: 46.59 kB / 445 MB, free: 11.68 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.253e-05/0.607, allocations: 14.84 kB / 445 MB, free: 11.66 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.344e-05/0.6071, allocations: 0 / 445 MB, free: 11.66 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.194e-05/0.6071, allocations: 42.52 kB / 445.1 MB, free: 11.61 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 1.664e-06/0.6071, allocations: 0 / 445.1 MB, free: 11.61 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005655/0.6077, allocations: 113.3 kB / 445.2 MB, free: 11.49 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.71e-05/0.6078, allocations: 55.41 kB / 445.2 MB, free: 11.43 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002545/0.608, allocations: 173.3 kB / 445.4 MB, free: 11.25 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.859e-05/0.6081, allocations: 25.7 kB / 445.4 MB, free: 11.22 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.876e-05/0.6082, allocations: 166.5 kB / 445.6 MB, free: 11.05 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.001e-05/0.6082, allocations: 23.73 kB / 445.6 MB, free: 11.03 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.222e-06/0.6082, allocations: 0 / 445.6 MB, free: 11.03 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001212/0.6084, allocations: 310.8 kB / 445.9 MB, free: 10.72 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.788e-05/0.6084, allocations: 12 kB / 445.9 MB, free: 10.71 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.143e-05/0.6085, allocations: 19.98 kB / 445.9 MB, free: 10.69 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.859e-05/0.6086, allocations: 45.7 kB / 446 MB, free: 10.64 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.496e-06/0.6086, allocations: 0 / 446 MB, free: 10.64 MB / 378.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001977/0.6088, allocations: 107.2 kB / 446.1 MB, free: 10.52 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.415e-05/0.6089, allocations: 35.38 kB / 446.1 MB, free: 10.48 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.6089, allocations: 4 kB / 446.1 MB, free: 10.48 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.435e-05/0.6089, allocations: 0 / 446.1 MB, free: 10.48 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001262/0.609, allocations: 16.61 kB / 446.2 MB, free: 10.46 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.605e-06/0.6091, allocations: 0 / 446.2 MB, free: 10.46 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.577e-05/0.6092, allocations: 4 kB / 446.2 MB, free: 10.46 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.259e-05/0.6092, allocations: 8 kB / 446.2 MB, free: 10.45 MB / 378.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.996e-05/0.6093, allocations: 105 kB / 446.3 MB, free: 10.34 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.57e-05/0.6093, allocations: 9.688 kB / 446.3 MB, free: 10.33 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002428/0.6096, allocations: 91.34 kB / 446.4 MB, free: 10.24 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.037e-06/0.6096, allocations: 0 / 446.4 MB, free: 10.24 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/0.6096, allocations: 0 / 446.4 MB, free: 10.24 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.432e-06/0.6096, allocations: 3.984 kB / 446.4 MB, free: 10.24 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005315/0.6102, allocations: 350.6 kB / 446.7 MB, free: 9.84 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.579e-06/0.6102, allocations: 3.953 kB / 446.7 MB, free: 9.836 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001085/0.6103, allocations: 12 kB / 446.7 MB, free: 9.824 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.427e-06/0.6103, allocations: 0 / 446.7 MB, free: 9.824 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.328e-05/0.6104, allocations: 6.609 kB / 446.7 MB, free: 9.82 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.245e-06/0.6104, allocations: 0 / 446.7 MB, free: 9.82 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.6104, allocations: 4 kB / 446.7 MB, free: 9.816 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002182/0.6106, allocations: 171.4 kB / 446.9 MB, free: 9.633 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.817e-05/0.6107, allocations: 92.97 kB / 447 MB, free: 9.523 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.413e-05/0.6107, allocations: 0 / 447 MB, free: 9.523 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001118/0.6109, allocations: 7.984 kB / 447 MB, free: 9.516 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.495e-05/0.6109, allocations: 4 kB / 447 MB, free: 9.512 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.157e-06/0.6109, allocations: 4 kB / 447 MB, free: 9.508 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001864/0.6111, allocations: 149.5 kB / 447.2 MB, free: 9.363 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.81e-07/0.6111, allocations: 1.406 kB / 447.2 MB, free: 9.363 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003593/0.6115, allocations: 27.89 kB / 447.2 MB, free: 9.336 MB / 378.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.001209/0.6127, allocations: 0.8843 MB / 448.1 MB, free: 8.5 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002037/0.613, allocations: 87.41 kB / 448.2 MB, free: 8.402 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.613, allocations: 0 / 448.2 MB, free: 8.402 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.117e-05/0.613, allocations: 23.98 kB / 448.2 MB, free: 8.379 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000263/0.6133, allocations: 4 kB / 448.2 MB, free: 8.375 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007198/0.6141, allocations: 249.6 kB / 448.4 MB, free: 8.086 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003346/0.6144, allocations: 0.7043 MB / 449.1 MB, free: 7.355 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.794e-05/0.6145, allocations: 27.42 kB / 449.2 MB, free: 7.332 MB / 378.7 MB Notification: Performance of SimCode: time 7.71e-07/0.6145, allocations: 0 / 449.2 MB, free: 7.332 MB / 378.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_2_cpp_ModelicaTest_Tables_CombiTable1D_Test30CalcHelperMain.o OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1D_Test30CalcHelperMain.cpp In file included from OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1D_Test30CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1D_Test30FMU.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_2_cpp_ModelicaTest_Tables_CombiTable1D_Test30.so OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1D_Test30CalcHelperMain.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.2/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.2/Resources/Library/x86_64-linux" -Wl,-rpath="/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Resources/Library/x86_64-linux" "-L/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Resources/Library/linux64" -Wl,-rpath="/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Resources/Library/linux64" "-L/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Resources/Library" -Wl,-rpath="/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/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_2_cpp_ModelicaTest_Tables_CombiTable1D_Test30_FMU.makefile:93: recipe for target 'ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1D_Test30.fmu' failed make: *** [ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1D_Test30.fmu] Error 1