Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test12,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test12",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.427/2.427, allocations: 235 MB / 247.6 MB, free: 14.38 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.714e-05/3.721e-05, allocations: 4.938 kB / 305 MB, free: 5.566 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4048/0.4049, allocations: 54.85 MB / 359.9 MB, free: 2.305 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.155/0.56, allocations: 80.86 MB / 440.7 MB, free: 28 kB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002893/0.5603, allocations: 71.95 kB / 440.8 MB, free: 15.96 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0123/0.5726, allocations: 2.784 MB / 443.6 MB, free: 13.2 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.362e-06/0.5727, allocations: 0 / 443.6 MB, free: 13.2 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.507e-05/0.5727, allocations: 4 kB / 443.6 MB, free: 13.2 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.0005119/0.5732, allocations: 396 kB / 444 MB, free: 12.76 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.208e-05/0.5733, allocations: 8.031 kB / 444 MB, free: 12.75 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.53e-05/0.5733, allocations: 38.5 kB / 444 MB, free: 12.7 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.482e-05/0.5734, allocations: 11.86 kB / 444 MB, free: 12.69 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002637/0.5737, allocations: 187 kB / 444.2 MB, free: 12.47 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.587e-05/0.5737, allocations: 7.984 kB / 444.2 MB, free: 12.46 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.852e-05/0.5737, allocations: 0 / 444.2 MB, free: 12.46 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001298/0.5739, allocations: 47.38 kB / 444.3 MB, free: 12.41 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.169e-05/0.5739, allocations: 0 / 444.3 MB, free: 12.41 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.908e-06/0.5739, allocations: 0 / 444.3 MB, free: 12.41 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.26e-05/0.5739, allocations: 7.953 kB / 444.3 MB, free: 12.4 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.69e-05/0.574, allocations: 15.94 kB / 444.3 MB, free: 12.39 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004279/0.5745, allocations: 280.9 kB / 444.6 MB, free: 12.06 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002131/0.5747, allocations: 34.58 kB / 444.6 MB, free: 12.02 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.535e-05/0.5747, allocations: 12.86 kB / 444.6 MB, free: 12 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.861e-05/0.5748, allocations: 0 / 444.6 MB, free: 12 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.245e-05/0.5748, allocations: 38.59 kB / 444.6 MB, free: 11.96 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 1.673e-06/0.5748, allocations: 4.875 kB / 444.6 MB, free: 11.95 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004978/0.5753, allocations: 101.5 kB / 444.7 MB, free: 11.85 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.513e-05/0.5754, allocations: 51.41 kB / 444.8 MB, free: 11.79 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003009/0.5757, allocations: 146.8 kB / 444.9 MB, free: 11.63 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.156e-05/0.5758, allocations: 29.7 kB / 445 MB, free: 11.6 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001077/0.5759, allocations: 158.5 kB / 445.1 MB, free: 11.44 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.797e-05/0.576, allocations: 11.81 kB / 445.1 MB, free: 11.43 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.446e-06/0.576, allocations: 4 kB / 445.1 MB, free: 11.43 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001971/0.5762, allocations: 318.8 kB / 445.4 MB, free: 11.11 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.296e-05/0.5763, allocations: 15.94 kB / 445.5 MB, free: 11.09 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.779e-05/0.5764, allocations: 8.938 kB / 445.5 MB, free: 11.08 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001158/0.5766, allocations: 40.33 kB / 445.5 MB, free: 11.04 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.5766, allocations: 0 / 445.5 MB, free: 11.04 MB / 378.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002817/0.5769, allocations: 91.39 kB / 445.6 MB, free: 10.94 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.405e-05/0.577, allocations: 37.66 kB / 445.6 MB, free: 10.89 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.064e-05/0.577, allocations: 0 / 445.6 MB, free: 10.89 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.725e-05/0.577, allocations: 3.938 kB / 445.6 MB, free: 10.89 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001851/0.5772, allocations: 15.98 kB / 445.7 MB, free: 10.88 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.347e-06/0.5773, allocations: 4 kB / 445.7 MB, free: 10.87 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001267/0.5774, allocations: 4 kB / 445.7 MB, free: 10.87 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.189e-05/0.5774, allocations: 8.562 kB / 445.7 MB, free: 10.86 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 0.0001075/0.5776, allocations: 101 kB / 445.8 MB, free: 10.75 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.804e-05/0.5777, allocations: 15.83 kB / 445.8 MB, free: 10.74 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002843/0.578, allocations: 77.64 kB / 445.9 MB, free: 10.65 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.378e-06/0.578, allocations: 0 / 445.9 MB, free: 10.65 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.371e-06/0.578, allocations: 4 kB / 445.9 MB, free: 10.64 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.578, allocations: 1.594 kB / 445.9 MB, free: 10.64 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000513/0.5785, allocations: 331.5 kB / 446.2 MB, free: 10.27 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.621e-06/0.5786, allocations: 7.891 kB / 446.2 MB, free: 10.26 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001241/0.5787, allocations: 15.98 kB / 446.2 MB, free: 10.24 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.649e-06/0.5787, allocations: 0 / 446.2 MB, free: 10.24 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.026e-05/0.5787, allocations: 0 / 446.2 MB, free: 10.24 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.817e-06/0.5787, allocations: 2.688 kB / 446.2 MB, free: 10.24 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.5787, allocations: 4 kB / 446.2 MB, free: 10.24 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001949/0.579, allocations: 159.5 kB / 446.4 MB, free: 10.07 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.617e-05/0.579, allocations: 88.97 kB / 446.5 MB, free: 9.961 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.476e-05/0.5791, allocations: 3.984 kB / 446.5 MB, free: 9.957 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001107/0.5792, allocations: 8 kB / 446.5 MB, free: 9.949 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.934e-05/0.5792, allocations: 0 / 446.5 MB, free: 9.949 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.424e-06/0.5793, allocations: 0 / 446.5 MB, free: 9.949 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001398/0.5794, allocations: 128.7 kB / 446.6 MB, free: 9.824 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.6e-07/0.5794, allocations: 0 / 446.6 MB, free: 9.824 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000339/0.5798, allocations: 23.94 kB / 446.6 MB, free: 9.801 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.001192/0.581, allocations: 0.8766 MB / 447.5 MB, free: 8.969 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002012/0.5812, allocations: 83.41 kB / 447.6 MB, free: 8.875 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.5812, allocations: 4 kB / 447.6 MB, free: 8.871 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.413e-05/0.5813, allocations: 27.88 kB / 447.6 MB, free: 8.844 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002662/0.5816, allocations: 7.938 kB / 447.6 MB, free: 8.836 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006468/0.5822, allocations: 193.4 kB / 447.8 MB, free: 8.605 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003397/0.5826, allocations: 0.6965 MB / 448.5 MB, free: 7.883 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.783e-05/0.5827, allocations: 23.42 kB / 448.5 MB, free: 7.863 MB / 378.7 MB Notification: Performance of SimCode: time 8.92e-07/0.5827, allocations: 0 / 448.5 MB, free: 7.863 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_CombiTable1Ds_Test12CalcHelperMain.o OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test12CalcHelperMain.cpp In file included from OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test12CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test12FMU.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_CombiTable1Ds_Test12.so OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test12CalcHelperMain.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_CombiTable1Ds_Test12_FMU.makefile:93: recipe for target 'ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test12.fmu' failed make: *** [ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test12.fmu] Error 1