Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test23,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable1Ds_Test23",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.896/1.896, allocations: 209.3 MB / 221.9 MB, free: 1.934 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.158e-05/4.168e-05, allocations: 4 kB / 273.1 MB, free: 0.6445 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09817/0.09826, allocations: 48.71 MB / 321.9 MB, free: 15.84 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3991/0.4975, allocations: 74.65 MB / 396.5 MB, free: 15.17 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002641/0.4978, allocations: 75.23 kB / 396.6 MB, free: 15.1 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01522/0.513, allocations: 3.512 MB / 400.1 MB, free: 11.61 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.683e-06/0.5131, allocations: 0 / 400.1 MB, free: 11.61 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.43e-05/0.5131, allocations: 4 kB / 400.1 MB, free: 11.6 MB / 330.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.000508/0.5136, allocations: 392 kB / 400.5 MB, free: 11.17 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.045e-05/0.5137, allocations: 8.031 kB / 400.5 MB, free: 11.16 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.922e-05/0.5137, allocations: 34.55 kB / 400.5 MB, free: 11.12 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.35e-05/0.5138, allocations: 11.91 kB / 400.5 MB, free: 11.11 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002581/0.5141, allocations: 186.9 kB / 400.7 MB, free: 10.88 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.446e-05/0.5141, allocations: 4 kB / 400.7 MB, free: 10.88 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.615e-05/0.5141, allocations: 4 kB / 400.7 MB, free: 10.88 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001572/0.5143, allocations: 56.97 kB / 400.8 MB, free: 10.81 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.217e-05/0.5143, allocations: 0 / 400.8 MB, free: 10.81 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.435e-05/0.5143, allocations: 4 kB / 400.8 MB, free: 10.8 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.484e-06/0.5144, allocations: 4 kB / 400.8 MB, free: 10.8 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.865e-05/0.5144, allocations: 19.98 kB / 400.8 MB, free: 10.78 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004282/0.5149, allocations: 260.9 kB / 401.1 MB, free: 10.48 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002229/0.5151, allocations: 46.55 kB / 401.1 MB, free: 10.42 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.128e-05/0.5152, allocations: 12.8 kB / 401.1 MB, free: 10.41 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.969e-05/0.5152, allocations: 0 / 401.1 MB, free: 10.41 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.692e-05/0.5152, allocations: 34.56 kB / 401.2 MB, free: 10.36 MB / 330.7 MB Notification: Performance of pre-optimization done (n=3): time 1.483e-06/0.5153, allocations: 0 / 401.2 MB, free: 10.36 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005071/0.5158, allocations: 105.5 kB / 401.3 MB, free: 10.25 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.988e-05/0.5159, allocations: 85.06 kB / 401.3 MB, free: 10.15 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001811/0.5161, allocations: 116.9 kB / 401.5 MB, free: 10.03 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.173e-05/0.5161, allocations: 25.7 kB / 401.5 MB, free: 10 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.87e-05/0.5162, allocations: 158.5 kB / 401.6 MB, free: 9.844 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.418e-05/0.5162, allocations: 23.66 kB / 401.7 MB, free: 9.82 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.025e-06/0.5162, allocations: 7.938 kB / 401.7 MB, free: 9.812 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001375/0.5164, allocations: 310.8 kB / 402 MB, free: 9.5 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.709e-05/0.5165, allocations: 12 kB / 402 MB, free: 9.488 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.472e-05/0.5166, allocations: 29.77 kB / 402 MB, free: 9.453 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.297e-05/0.5166, allocations: 41.7 kB / 402.1 MB, free: 9.406 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.5167, allocations: 4 kB / 402.1 MB, free: 9.402 MB / 330.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002042/0.5169, allocations: 87.39 kB / 402.1 MB, free: 9.305 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.086e-05/0.5169, allocations: 37.73 kB / 402.2 MB, free: 9.262 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.434e-06/0.517, allocations: 0 / 402.2 MB, free: 9.262 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.447e-05/0.517, allocations: 0 / 402.2 MB, free: 9.262 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001444/0.5171, allocations: 19.92 kB / 402.2 MB, free: 9.242 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.175e-06/0.5172, allocations: 0 / 402.2 MB, free: 9.242 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.985e-05/0.5173, allocations: 11.95 kB / 402.2 MB, free: 9.23 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.308e-05/0.5173, allocations: 3.984 kB / 402.2 MB, free: 9.227 MB / 330.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 9.809e-05/0.5174, allocations: 109 kB / 402.3 MB, free: 9.113 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.781e-05/0.5175, allocations: 4 kB / 402.3 MB, free: 9.109 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000215/0.5177, allocations: 73.69 kB / 402.4 MB, free: 9.035 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.777e-06/0.5177, allocations: 0 / 402.4 MB, free: 9.035 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.5177, allocations: 3.938 kB / 402.4 MB, free: 9.031 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.5177, allocations: 0 / 402.4 MB, free: 9.031 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004666/0.5182, allocations: 326.5 kB / 402.7 MB, free: 8.656 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.5182, allocations: 0 / 402.7 MB, free: 8.656 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001099/0.5184, allocations: 19.98 kB / 402.7 MB, free: 8.637 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.717e-06/0.5184, allocations: 0 / 402.7 MB, free: 8.637 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.588e-06/0.5184, allocations: 4 kB / 402.7 MB, free: 8.633 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.575e-06/0.5184, allocations: 320 / 402.7 MB, free: 8.633 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.619e-06/0.5184, allocations: 3.953 kB / 402.7 MB, free: 8.629 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001897/0.5186, allocations: 155.5 kB / 402.9 MB, free: 8.461 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.808e-05/0.5187, allocations: 88.95 kB / 403 MB, free: 8.355 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.454e-05/0.5187, allocations: 3.984 kB / 403 MB, free: 8.352 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001109/0.5189, allocations: 12 kB / 403 MB, free: 8.34 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.977e-05/0.5189, allocations: 0 / 403 MB, free: 8.34 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.462e-05/0.5189, allocations: 15.94 kB / 403 MB, free: 8.324 MB / 330.7 MB Notification: Performance of sorting global known variables: time 9.05e-05/0.519, allocations: 91.77 kB / 403.1 MB, free: 8.234 MB / 330.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.5191, allocations: 0 / 403.1 MB, free: 8.234 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003826/0.5194, allocations: 35.98 kB / 403.1 MB, free: 8.199 MB / 330.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.001264/0.5207, allocations: 0.9017 MB / 404 MB, free: 7.32 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001883/0.5209, allocations: 87.41 kB / 404.1 MB, free: 7.223 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.5209, allocations: 0 / 404.1 MB, free: 7.223 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 5.281e-05/0.521, allocations: 12 kB / 404.1 MB, free: 7.211 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002393/0.5213, allocations: 11.92 kB / 404.2 MB, free: 7.199 MB / 330.7 MB Warning: Could not resolve URI (uri) at compile-time; copying all loaded packages into the FMU Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002295/0.5236, allocations: 0.7185 MB / 404.9 MB, free: 6.434 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004343/0.524, allocations: 0.6887 MB / 405.6 MB, free: 5.719 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.638e-05/0.5241, allocations: 19.42 kB / 405.6 MB, free: 5.699 MB / 330.7 MB Notification: Performance of SimCode: time 8.82e-07/0.5241, allocations: 0 / 405.6 MB, free: 5.699 MB / 330.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_1_cpp_ModelicaTest_Tables_CombiTable1Ds_Test23CalcHelperMain.o OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable1Ds_Test23CalcHelperMain.cpp In file included from OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable1Ds_Test23CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable1Ds_Test23FMU.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_1_cpp_ModelicaTest_Tables_CombiTable1Ds_Test23.so OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable1Ds_Test23CalcHelperMain.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.1/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.1/Resources/Library/x86_64-linux" -Wl,-rpath="/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/Resources/Library/x86_64-linux" "-L/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/Resources/Library/linux64" -Wl,-rpath="/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/Resources/Library/linux64" "-L/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/Resources/Library" -Wl,-rpath="/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/Resources/Library" -lModelicaExternalC -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_1_cpp_ModelicaTest_Tables_CombiTable1Ds_Test23_FMU.makefile:93: recipe for target 'ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable1Ds_Test23.fmu' failed make: *** [ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable1Ds_Test23.fmu] Error 1