Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test27,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test27",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.46/2.46, allocations: 235 MB / 247.6 MB, free: 14.33 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.516e-05/4.528e-05, allocations: 4 kB / 305 MB, free: 5.555 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4049/0.405, allocations: 54.86 MB / 359.9 MB, free: 2.711 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1574/0.5624, allocations: 80.9 MB / 440.8 MB, free: 80 kB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003508/0.5629, allocations: 69.06 kB / 440.8 MB, free: 12 kB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01975/0.5826, allocations: 3.33 MB / 444.2 MB, free: 12.71 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.695e-06/0.5827, allocations: 0 / 444.2 MB, free: 12.71 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.071e-05/0.5827, allocations: 0 / 444.2 MB, free: 12.71 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.0007371/0.5835, allocations: 435.9 kB / 444.6 MB, free: 12.23 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.119e-05/0.5836, allocations: 8.031 kB / 444.6 MB, free: 12.22 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.435e-05/0.5836, allocations: 30.56 kB / 444.6 MB, free: 12.18 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.415e-05/0.5837, allocations: 15.81 kB / 444.6 MB, free: 12.17 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000446/0.5842, allocations: 204.2 kB / 444.8 MB, free: 11.93 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.762e-05/0.5842, allocations: 0 / 444.8 MB, free: 11.93 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.405e-05/0.5843, allocations: 8 kB / 444.8 MB, free: 11.92 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001621/0.5845, allocations: 37.7 kB / 444.9 MB, free: 11.88 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.064e-05/0.5845, allocations: 3.953 kB / 444.9 MB, free: 11.88 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.352e-05/0.5845, allocations: 0 / 444.9 MB, free: 11.88 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.164e-06/0.5846, allocations: 4 kB / 444.9 MB, free: 11.87 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.364e-05/0.5847, allocations: 19.98 kB / 444.9 MB, free: 11.85 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006412/0.5853, allocations: 288.9 kB / 445.2 MB, free: 11.52 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003009/0.5857, allocations: 46.45 kB / 445.2 MB, free: 11.46 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.1e-05/0.5857, allocations: 12.86 kB / 445.3 MB, free: 11.45 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.485e-05/0.5858, allocations: 8 kB / 445.3 MB, free: 11.44 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.11e-05/0.5858, allocations: 34.25 kB / 445.3 MB, free: 11.4 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 3.387e-06/0.5858, allocations: 0 / 445.3 MB, free: 11.4 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0007241/0.5866, allocations: 121.2 kB / 445.4 MB, free: 11.28 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.283e-05/0.5867, allocations: 51.41 kB / 445.5 MB, free: 11.21 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00054/0.5872, allocations: 226.6 kB / 445.7 MB, free: 10.98 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.295e-05/0.5873, allocations: 33.7 kB / 445.7 MB, free: 10.94 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001185/0.5874, allocations: 170.5 kB / 445.9 MB, free: 10.77 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.924e-05/0.5875, allocations: 19.75 kB / 445.9 MB, free: 10.75 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.476e-06/0.5875, allocations: 0 / 445.9 MB, free: 10.75 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001569/0.5877, allocations: 314.8 kB / 446.2 MB, free: 10.43 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.125e-05/0.5877, allocations: 12 kB / 446.2 MB, free: 10.42 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.047e-05/0.5878, allocations: 12 kB / 446.2 MB, free: 10.41 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001249/0.588, allocations: 45.2 kB / 446.3 MB, free: 10.36 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.588, allocations: 0 / 446.3 MB, free: 10.36 MB / 378.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002799/0.5883, allocations: 95.28 kB / 446.4 MB, free: 10.26 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.494e-05/0.5884, allocations: 39.42 kB / 446.4 MB, free: 10.21 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.396e-06/0.5884, allocations: 0 / 446.4 MB, free: 10.21 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.957e-05/0.5884, allocations: 144 / 446.4 MB, free: 10.21 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002068/0.5886, allocations: 15.98 kB / 446.4 MB, free: 10.2 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.018e-05/0.5887, allocations: 0 / 446.4 MB, free: 10.2 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001375/0.5888, allocations: 8 kB / 446.4 MB, free: 10.19 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.663e-05/0.5888, allocations: 3.984 kB / 446.4 MB, free: 10.19 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.0001155/0.589, allocations: 113 kB / 446.5 MB, free: 10.07 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.315e-05/0.5891, allocations: 19.77 kB / 446.6 MB, free: 10.05 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003338/0.5894, allocations: 76.17 kB / 446.6 MB, free: 9.969 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.026e-06/0.5895, allocations: 4 kB / 446.6 MB, free: 9.965 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.12e-05/0.5895, allocations: 7.922 kB / 446.6 MB, free: 9.957 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/0.5895, allocations: 0 / 446.6 MB, free: 9.957 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008053/0.5903, allocations: 359.5 kB / 447 MB, free: 9.551 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.398e-06/0.5904, allocations: 0 / 447 MB, free: 9.551 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001751/0.5906, allocations: 20 kB / 447 MB, free: 9.531 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.125e-06/0.5906, allocations: 0 / 447 MB, free: 9.531 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.351e-05/0.5906, allocations: 0 / 447 MB, free: 9.531 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.155e-06/0.5906, allocations: 4 kB / 447 MB, free: 9.527 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.968e-06/0.5906, allocations: 0.75 kB / 447 MB, free: 9.527 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002912/0.5909, allocations: 171.2 kB / 447.2 MB, free: 9.344 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001237/0.5911, allocations: 93 kB / 447.3 MB, free: 9.234 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.527e-05/0.5912, allocations: 4.875 kB / 447.3 MB, free: 9.23 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001871/0.5914, allocations: 8 kB / 447.3 MB, free: 9.223 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.358e-05/0.5914, allocations: 8.641 kB / 447.3 MB, free: 9.215 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.446e-05/0.5915, allocations: 4 kB / 447.3 MB, free: 9.211 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0004118/0.5919, allocations: 193.1 kB / 447.5 MB, free: 9.023 MB / 378.7 MB Notification: Performance of sort global known variables: time 6.91e-07/0.5919, allocations: 0 / 447.5 MB, free: 9.023 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005997/0.5925, allocations: 20 kB / 447.5 MB, free: 9.004 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.001946/0.5945, allocations: 0.8831 MB / 448.4 MB, free: 8.164 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002975/0.5948, allocations: 87.41 kB / 448.5 MB, free: 8.066 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.531e-06/0.5949, allocations: 0 / 448.5 MB, free: 8.066 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.355e-05/0.595, allocations: 12 kB / 448.5 MB, free: 8.055 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000418/0.5954, allocations: 12.17 kB / 448.5 MB, free: 8.039 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001268/0.5967, allocations: 290.5 kB / 448.8 MB, free: 7.719 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004759/0.5972, allocations: 0.7199 MB / 449.5 MB, free: 6.973 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001459/0.5974, allocations: 35.42 kB / 449.5 MB, free: 6.938 MB / 378.7 MB Notification: Performance of SimCode: time 1.713e-06/0.5974, allocations: 0 / 449.5 MB, free: 6.938 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_Test27CalcHelperMain.o OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test27CalcHelperMain.cpp In file included from OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test27CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test27FMU.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_Test27.so OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test27CalcHelperMain.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_Test27_FMU.makefile:93: recipe for target 'ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test27.fmu' failed make: *** [ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test27.fmu] Error 1