Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test30,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test30",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.272/2.272, allocations: 235 MB / 247.6 MB, free: 14.37 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.953e-05/3.957e-05, allocations: 0.9375 kB / 305 MB, free: 5.566 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3876/0.3877, allocations: 54.86 MB / 359.9 MB, free: 2.328 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1558/0.5436, allocations: 80.89 MB / 440.8 MB, free: 15.99 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002933/0.544, allocations: 68.55 kB / 440.8 MB, free: 15.92 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01287/0.5569, allocations: 3.041 MB / 443.9 MB, free: 12.92 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.024e-06/0.5569, allocations: 0 / 443.9 MB, free: 12.92 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.311e-05/0.5569, allocations: 0 / 443.9 MB, free: 12.92 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006001/0.5575, allocations: 416 kB / 444.3 MB, free: 12.46 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.014e-05/0.5576, allocations: 8.031 kB / 444.3 MB, free: 12.45 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.269e-05/0.5577, allocations: 34.56 kB / 444.3 MB, free: 12.41 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.902e-05/0.5577, allocations: 15.89 kB / 444.3 MB, free: 12.39 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002864/0.558, allocations: 194.4 kB / 444.5 MB, free: 12.16 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.524e-05/0.5581, allocations: 4 kB / 444.5 MB, free: 12.16 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.593e-05/0.5581, allocations: 4 kB / 444.5 MB, free: 12.16 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001454/0.5582, allocations: 53.67 kB / 444.6 MB, free: 12.1 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.187e-05/0.5583, allocations: 0 / 444.6 MB, free: 12.1 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.405e-05/0.5583, allocations: 3.953 kB / 444.6 MB, free: 12.09 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.322e-06/0.5583, allocations: 0 / 444.6 MB, free: 12.09 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.76e-05/0.5584, allocations: 19.17 kB / 444.6 MB, free: 12.08 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004718/0.5589, allocations: 296.7 kB / 444.9 MB, free: 11.74 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001145/0.559, allocations: 38.53 kB / 444.9 MB, free: 11.69 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.422e-05/0.5591, allocations: 12.86 kB / 444.9 MB, free: 11.68 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.144e-05/0.5591, allocations: 4 kB / 444.9 MB, free: 11.67 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.874e-05/0.5592, allocations: 38.64 kB / 445 MB, free: 11.62 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 1.844e-06/0.5592, allocations: 0.9375 kB / 445 MB, free: 11.62 MB / 378.7 MB Notification: Performance of matching and sorting (n=7): time 0.0006912/0.5599, allocations: 141.2 kB / 445.1 MB, free: 11.48 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.11e-05/0.5599, allocations: 51.41 kB / 445.2 MB, free: 11.42 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002827/0.5602, allocations: 173.5 kB / 445.3 MB, free: 11.24 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.25e-05/0.5603, allocations: 29.7 kB / 445.4 MB, free: 11.2 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.406e-05/0.5604, allocations: 170.5 kB / 445.5 MB, free: 11.04 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.015e-05/0.5604, allocations: 19.72 kB / 445.6 MB, free: 11.02 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.318e-06/0.5605, allocations: 8 kB / 445.6 MB, free: 11.01 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001403/0.5606, allocations: 314.8 kB / 445.9 MB, free: 10.69 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.381e-05/0.5607, allocations: 16 kB / 445.9 MB, free: 10.68 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.865e-05/0.5608, allocations: 16.94 kB / 445.9 MB, free: 10.66 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.615e-05/0.5609, allocations: 45.7 kB / 445.9 MB, free: 10.61 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.268e-06/0.5609, allocations: 3.953 kB / 445.9 MB, free: 10.61 MB / 378.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002432/0.5611, allocations: 103 kB / 446 MB, free: 10.5 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.208e-05/0.5612, allocations: 37.7 kB / 446.1 MB, free: 10.45 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.857e-06/0.5612, allocations: 3.984 kB / 446.1 MB, free: 10.45 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.538e-05/0.5612, allocations: 0 / 446.1 MB, free: 10.45 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002531/0.5615, allocations: 23.98 kB / 446.1 MB, free: 10.43 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.486e-06/0.5615, allocations: 0 / 446.1 MB, free: 10.43 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001307/0.5617, allocations: 15.98 kB / 446.1 MB, free: 10.41 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.649e-05/0.5617, allocations: 4.562 kB / 446.1 MB, free: 10.41 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 (8): * Single equations (assignments): 7 * 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.511e-05/0.5618, allocations: 108.9 kB / 446.2 MB, free: 10.29 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.04e-05/0.5618, allocations: 11.86 kB / 446.2 MB, free: 10.28 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002892/0.5621, allocations: 106.4 kB / 446.4 MB, free: 10.17 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.282e-06/0.5622, allocations: 4 kB / 446.4 MB, free: 10.16 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.618e-06/0.5622, allocations: 0 / 446.4 MB, free: 10.16 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.626e-06/0.5622, allocations: 1.594 kB / 446.4 MB, free: 10.16 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000583/0.5628, allocations: 366.5 kB / 446.7 MB, free: 9.75 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.5628, allocations: 4 kB / 446.7 MB, free: 9.746 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001735/0.563, allocations: 23.92 kB / 446.7 MB, free: 9.723 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.895e-06/0.563, allocations: 4.141 kB / 446.7 MB, free: 9.719 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.16e-05/0.563, allocations: 0 / 446.7 MB, free: 9.719 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.424e-06/0.563, allocations: 0 / 446.7 MB, free: 9.719 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.18e-06/0.5631, allocations: 3.984 kB / 446.8 MB, free: 9.715 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002534/0.5633, allocations: 183.4 kB / 446.9 MB, free: 9.52 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.482e-05/0.5634, allocations: 89 kB / 447 MB, free: 9.414 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.833e-05/0.5635, allocations: 8 kB / 447 MB, free: 9.406 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001634/0.5636, allocations: 12.86 kB / 447 MB, free: 9.395 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.548e-05/0.5637, allocations: 4 kB / 447 MB, free: 9.391 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.466e-06/0.5637, allocations: 0 / 447 MB, free: 9.391 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000222/0.5639, allocations: 145.7 kB / 447.2 MB, free: 9.25 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.91e-07/0.564, allocations: 0 / 447.2 MB, free: 9.25 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003642/0.5643, allocations: 28 kB / 447.2 MB, free: 9.223 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 (7): * Single equations (assignments): 7 * 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.001285/0.5656, allocations: 0.8766 MB / 448.1 MB, free: 8.387 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002648/0.5659, allocations: 107.4 kB / 448.2 MB, free: 8.27 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.611e-06/0.5659, allocations: 0 / 448.2 MB, free: 8.27 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.432e-05/0.566, allocations: 31.88 kB / 448.2 MB, free: 8.238 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002891/0.5663, allocations: 15.94 kB / 448.2 MB, free: 8.223 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008085/0.5672, allocations: 245.7 kB / 448.5 MB, free: 7.938 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003949/0.5676, allocations: 0.7043 MB / 449.2 MB, free: 7.207 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001101/0.5677, allocations: 31.42 kB / 449.2 MB, free: 7.176 MB / 378.7 MB Notification: Performance of SimCode: time 9.52e-07/0.5677, allocations: 0 / 449.2 MB, free: 7.176 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_CombiTable2D_Test30CalcHelperMain.o OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test30CalcHelperMain.cpp In file included from OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test30CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_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_CombiTable2D_Test30.so OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_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_CombiTable2D_Test30_FMU.makefile:93: recipe for target 'ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test30.fmu' failed make: *** [ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test30.fmu] Error 1