Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test4,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test4",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.387/2.387, allocations: 235 MB / 247.6 MB, free: 14.57 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.533e-05/3.538e-05, allocations: 4 kB / 305 MB, free: 5.762 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3836/0.3837, allocations: 54.84 MB / 359.9 MB, free: 2.238 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1464/0.5301, allocations: 80.94 MB / 440.8 MB, free: 15.99 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002625/0.5305, allocations: 71.91 kB / 440.9 MB, free: 15.92 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01409/0.5446, allocations: 3.405 MB / 444.3 MB, free: 12.54 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.492e-06/0.5446, allocations: 0 / 444.3 MB, free: 12.54 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.652e-05/0.5447, allocations: 4 kB / 444.3 MB, free: 12.54 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005147/0.5452, allocations: 424.4 kB / 444.7 MB, free: 12.07 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.508e-05/0.5452, allocations: 8.031 kB / 444.7 MB, free: 12.06 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.414e-05/0.5453, allocations: 40.23 kB / 444.7 MB, free: 12.02 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.82e-05/0.5453, allocations: 15.86 kB / 444.8 MB, free: 12 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002899/0.5456, allocations: 206.8 kB / 445 MB, free: 11.76 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.401e-05/0.5457, allocations: 4 kB / 445 MB, free: 11.75 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.665e-05/0.5457, allocations: 0 / 445 MB, free: 11.75 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001551/0.5459, allocations: 53.69 kB / 445 MB, free: 11.7 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.246e-05/0.5459, allocations: 0 / 445 MB, free: 11.7 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.058e-05/0.546, allocations: 0 / 445 MB, free: 11.7 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.545e-06/0.546, allocations: 7.953 kB / 445 MB, free: 11.69 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.931e-05/0.5461, allocations: 24 kB / 445 MB, free: 11.66 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004781/0.5466, allocations: 300.8 kB / 445.3 MB, free: 11.32 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001205/0.5467, allocations: 46.56 kB / 445.4 MB, free: 11.27 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.851e-05/0.5468, allocations: 16.98 kB / 445.4 MB, free: 11.25 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.446e-05/0.5468, allocations: 4 kB / 445.4 MB, free: 11.24 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.412e-05/0.5468, allocations: 34.52 kB / 445.4 MB, free: 11.2 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 1.734e-06/0.5469, allocations: 0 / 445.4 MB, free: 11.2 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006261/0.5475, allocations: 161.5 kB / 445.6 MB, free: 11.04 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.053e-05/0.5475, allocations: 55.41 kB / 445.6 MB, free: 10.97 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003019/0.5479, allocations: 198.4 kB / 445.8 MB, free: 10.77 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.186e-05/0.5479, allocations: 29.7 kB / 445.9 MB, free: 10.73 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.634e-05/0.548, allocations: 166.8 kB / 446 MB, free: 10.56 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.665e-05/0.548, allocations: 31.55 kB / 446.1 MB, free: 10.53 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.053e-06/0.5481, allocations: 0 / 446.1 MB, free: 10.53 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001207/0.5482, allocations: 310.8 kB / 446.4 MB, free: 10.22 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.842e-05/0.5483, allocations: 23.94 kB / 446.4 MB, free: 10.2 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.861e-05/0.5483, allocations: 20.73 kB / 446.4 MB, free: 10.18 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.909e-05/0.5484, allocations: 46.73 kB / 446.5 MB, free: 10.12 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.5485, allocations: 0 / 446.5 MB, free: 10.12 MB / 378.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002333/0.5487, allocations: 115.5 kB / 446.6 MB, free: 10 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.287e-05/0.5488, allocations: 43.5 kB / 446.6 MB, free: 9.953 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.793e-06/0.5488, allocations: 7.922 kB / 446.6 MB, free: 9.945 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.827e-05/0.5488, allocations: 0 / 446.6 MB, free: 9.945 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001718/0.549, allocations: 16 kB / 446.6 MB, free: 9.93 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.267e-06/0.549, allocations: 3.984 kB / 446.6 MB, free: 9.926 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.307e-05/0.5491, allocations: 12 kB / 446.6 MB, free: 9.914 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.207e-05/0.5491, allocations: 0 / 446.6 MB, free: 9.914 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 (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.432e-05/0.5492, allocations: 109 kB / 446.8 MB, free: 9.801 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.035e-05/0.5493, allocations: 11.86 kB / 446.8 MB, free: 9.789 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003111/0.5496, allocations: 119.1 kB / 446.9 MB, free: 9.664 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.447e-06/0.5496, allocations: 0 / 446.9 MB, free: 9.664 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.08e-06/0.5496, allocations: 0.875 kB / 446.9 MB, free: 9.664 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.037e-06/0.5497, allocations: 0 / 446.9 MB, free: 9.664 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000641/0.5503, allocations: 390.5 kB / 447.3 MB, free: 9.227 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.905e-06/0.5503, allocations: 0 / 447.3 MB, free: 9.227 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001492/0.5505, allocations: 27.92 kB / 447.3 MB, free: 9.199 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.485e-06/0.5505, allocations: 4 kB / 447.3 MB, free: 9.195 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.31e-05/0.5505, allocations: 2.438 kB / 447.3 MB, free: 9.195 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.819e-06/0.5505, allocations: 0 / 447.3 MB, free: 9.195 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.195e-06/0.5506, allocations: 3.938 kB / 447.3 MB, free: 9.191 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002434/0.5508, allocations: 183.3 kB / 447.5 MB, free: 8.996 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.237e-05/0.5509, allocations: 96.95 kB / 447.6 MB, free: 8.883 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.56e-05/0.5509, allocations: 4 kB / 447.6 MB, free: 8.879 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001195/0.5511, allocations: 12 kB / 447.6 MB, free: 8.867 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.515e-05/0.5511, allocations: 7.984 kB / 447.6 MB, free: 8.859 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.736e-06/0.5512, allocations: 0 / 447.6 MB, free: 8.859 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002205/0.5514, allocations: 163.9 kB / 447.8 MB, free: 8.699 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.91e-07/0.5514, allocations: 0 / 447.8 MB, free: 8.699 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003665/0.5518, allocations: 24 kB / 447.8 MB, free: 8.676 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 (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.001267/0.5531, allocations: 0.8965 MB / 448.7 MB, free: 7.816 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002603/0.5534, allocations: 111.3 kB / 448.8 MB, free: 7.695 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.876e-06/0.5534, allocations: 0 / 448.8 MB, free: 7.695 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.27e-05/0.5535, allocations: 27.98 kB / 448.8 MB, free: 7.668 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003031/0.5538, allocations: 8 kB / 448.8 MB, free: 7.66 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008205/0.5546, allocations: 285.8 kB / 449.1 MB, free: 7.34 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003274/0.555, allocations: 0.716 MB / 449.8 MB, free: 6.598 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001246/0.5551, allocations: 35.42 kB / 449.9 MB, free: 6.562 MB / 378.7 MB Notification: Performance of SimCode: time 1.563e-06/0.5551, allocations: 3.938 kB / 449.9 MB, free: 6.559 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_Test4CalcHelperMain.o OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test4CalcHelperMain.cpp In file included from OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test4CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_3_2_2_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_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test4.so OMCppModelicaTest_3_2_2_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.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_Test4_FMU.makefile:93: recipe for target 'ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test4.fmu' failed make: *** [ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test4.fmu] Error 1