Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test71,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTimeTable_Test71",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.338/2.338, allocations: 209.3 MB / 221.9 MB, free: 1.938 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.077e-05/4.088e-05, allocations: 4 kB / 273.1 MB, free: 0.6523 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1134/0.1134, allocations: 48.7 MB / 321.8 MB, free: 15.85 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4298/0.5433, allocations: 75.63 MB / 397.5 MB, free: 14.31 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003027/0.5436, allocations: 75.11 kB / 397.5 MB, free: 14.24 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0239/0.5676, allocations: 5.47 MB / 403 MB, free: 8.777 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.124e-06/0.5676, allocations: 0 / 403 MB, free: 8.777 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.072e-05/0.5677, allocations: 8 kB / 403 MB, free: 8.77 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.001085/0.5688, allocations: 0.6489 MB / 403.7 MB, free: 8.062 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.722e-05/0.5688, allocations: 8.031 kB / 403.7 MB, free: 8.055 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.24e-05/0.5689, allocations: 34.56 kB / 403.7 MB, free: 8.012 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001494/0.5691, allocations: 51.39 kB / 403.8 MB, free: 7.961 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00117/0.5703, allocations: 455.3 kB / 404.2 MB, free: 7.477 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.186e-05/0.5703, allocations: 0 / 404.2 MB, free: 7.477 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.422e-05/0.5704, allocations: 11.94 kB / 404.2 MB, free: 7.465 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001981/0.5706, allocations: 71.78 kB / 404.3 MB, free: 7.383 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.049e-05/0.5706, allocations: 0 / 404.3 MB, free: 7.383 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.59e-05/0.5706, allocations: 0 / 404.3 MB, free: 7.383 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.251e-06/0.5706, allocations: 0 / 404.3 MB, free: 7.383 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001114/0.5707, allocations: 19.98 kB / 404.3 MB, free: 7.363 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006909/0.5715, allocations: 394.1 kB / 404.7 MB, free: 6.926 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001613/0.5716, allocations: 57.2 kB / 404.7 MB, free: 6.852 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.09e-05/0.5717, allocations: 21.78 kB / 404.8 MB, free: 6.824 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.307e-05/0.5718, allocations: 4 kB / 404.8 MB, free: 6.82 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002489/0.572, allocations: 97.03 kB / 404.9 MB, free: 6.707 MB / 330.7 MB Notification: Performance of pre-optimization done (n=6): time 2.114e-06/0.572, allocations: 0 / 404.9 MB, free: 6.707 MB / 330.7 MB Notification: Performance of matching and sorting (n=6): time 0.0005008/0.5725, allocations: 129 kB / 405 MB, free: 6.574 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.804e-05/0.5726, allocations: 81.09 kB / 405.1 MB, free: 6.477 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002197/0.5748, allocations: 0.9145 MB / 406 MB, free: 5.555 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 6.594e-05/0.575, allocations: 29.7 kB / 406 MB, free: 5.52 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002544/0.5752, allocations: 254.5 kB / 406.3 MB, free: 5.27 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.718e-05/0.5753, allocations: 23.8 kB / 406.3 MB, free: 5.246 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.103e-05/0.5753, allocations: 0 / 406.3 MB, free: 5.246 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001732/0.5755, allocations: 318.8 kB / 406.6 MB, free: 4.926 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001332/0.5757, allocations: 39.98 kB / 406.6 MB, free: 4.887 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001422/0.5758, allocations: 45.72 kB / 406.7 MB, free: 4.836 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001942/0.576, allocations: 99.36 kB / 406.8 MB, free: 4.727 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.735e-06/0.576, allocations: 4 kB / 406.8 MB, free: 4.723 MB / 330.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004909/0.5765, allocations: 189 kB / 407 MB, free: 4.52 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.424e-05/0.5766, allocations: 67.39 kB / 407 MB, free: 4.441 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.954e-06/0.5767, allocations: 0 / 407 MB, free: 4.441 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.91e-05/0.5767, allocations: 0 / 407 MB, free: 4.441 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001431/0.5768, allocations: 12 kB / 407 MB, free: 4.43 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.244e-05/0.5769, allocations: 0 / 407 MB, free: 4.43 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002791/0.5772, allocations: 23.78 kB / 407.1 MB, free: 4.406 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.82e-05/0.5772, allocations: 7.984 kB / 407.1 MB, free: 4.398 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$PRE.startTime.nextTimeEvent,startTime.nextTimeEvent,$whenCondition1,$PRE.startTime_0.nextTimeEvent,startTime_0.nextTimeEvent) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 2 * 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.0001342/0.5773, allocations: 116.9 kB / 407.2 MB, free: 4.277 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001335/0.5775, allocations: 43.44 kB / 407.2 MB, free: 4.234 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000544/0.578, allocations: 157.2 kB / 407.4 MB, free: 4.07 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.428e-06/0.5781, allocations: 4 kB / 407.4 MB, free: 4.066 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.724e-06/0.5781, allocations: 0 / 407.4 MB, free: 4.066 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.019e-06/0.5781, allocations: 3.938 kB / 407.4 MB, free: 4.062 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005504/0.5787, allocations: 373.2 kB / 407.8 MB, free: 3.648 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.895e-06/0.5787, allocations: 0 / 407.8 MB, free: 3.648 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.536e-05/0.5788, allocations: 11.98 kB / 407.8 MB, free: 3.637 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.903e-06/0.5788, allocations: 192 / 407.8 MB, free: 3.637 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.871e-05/0.5788, allocations: 4.125 kB / 407.8 MB, free: 3.633 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.761e-06/0.5788, allocations: 8 kB / 407.8 MB, free: 3.625 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.073e-06/0.5788, allocations: 0 / 407.8 MB, free: 3.625 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004273/0.5793, allocations: 183 kB / 408 MB, free: 3.418 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004368/0.5797, allocations: 188.5 kB / 408.1 MB, free: 3.215 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.504e-05/0.5798, allocations: 8 kB / 408.2 MB, free: 3.207 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001511/0.58, allocations: 4 kB / 408.2 MB, free: 3.203 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.175e-05/0.5801, allocations: 11.98 kB / 408.2 MB, free: 3.191 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.718e-05/0.5801, allocations: 4.094 kB / 408.2 MB, free: 3.188 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.001523/0.5817, allocations: 0.724 MB / 408.9 MB, free: 2.469 MB / 330.7 MB Notification: Performance of sort global known variables: time 6.61e-07/0.5817, allocations: 0 / 408.9 MB, free: 2.469 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0006422/0.5823, allocations: 103.9 kB / 409 MB, free: 2.367 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,startTime.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEvent) * Number of discrete states: 2 (startTime_0.nextTimeEvent,startTime.nextTimeEvent) * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.00221/0.5846, allocations: 1.121 MB / 410.1 MB, free: 1.285 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0004789/0.5851, allocations: 202.7 kB / 410.3 MB, free: 1.062 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 5.01e-06/0.5851, allocations: 4 kB / 410.3 MB, free: 1.059 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 9.436e-05/0.5852, allocations: 20 kB / 410.3 MB, free: 1.039 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006012/0.5858, allocations: 49.72 kB / 410.4 MB, free: 0.9961 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002437/0.5883, allocations: 0.9229 MB / 411.3 MB, free: 24 kB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006606/0.589, allocations: 0.8427 MB / 412.2 MB, free: 15.16 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003825/0.5894, allocations: 143.4 kB / 412.3 MB, free: 15.02 MB / 346.7 MB Notification: Performance of SimCode: time 1.152e-06/0.5894, allocations: 0 / 412.3 MB, free: 15.02 MB / 346.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_CombiTimeTable_Test71CalcHelperMain.o OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTimeTable_Test71CalcHelperMain.cpp In file included from OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTimeTable_Test71CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTimeTable_Test71FMU.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_CombiTimeTable_Test71.so OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTimeTable_Test71CalcHelperMain.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" -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_CombiTimeTable_Test71_FMU.makefile:93: recipe for target 'ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTimeTable_Test71.fmu' failed make: *** [ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTimeTable_Test71.fmu] Error 1