Running command: "" <> buildModelFMU(ModelicaTest.Blocks.PadeDelay2,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Blocks_PadeDelay2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.521/2.521, allocations: 235 MB / 247.6 MB, free: 14.4 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.833e-05/4.843e-05, allocations: 8 kB / 305 MB, free: 5.566 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4085/0.4085, allocations: 54.85 MB / 359.9 MB, free: 2.719 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1592/0.5678, allocations: 81.77 MB / 441.6 MB, free: 15.21 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002622/0.5681, allocations: 63.97 kB / 441.7 MB, free: 15.15 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05371/0.6218, allocations: 9.36 MB / 451 MB, free: 5.809 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.924e-06/0.6219, allocations: 4 kB / 451 MB, free: 5.805 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.393e-05/0.6219, allocations: 4 kB / 451.1 MB, free: 5.801 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: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.001943/0.6239, allocations: 0.6535 MB / 451.7 MB, free: 5.102 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.453e-05/0.624, allocations: 8.031 kB / 451.7 MB, free: 5.094 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.718e-05/0.6241, allocations: 49.12 kB / 451.8 MB, free: 5.039 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001105/0.6242, allocations: 35.53 kB / 451.8 MB, free: 5.004 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006191/0.6248, allocations: 296 kB / 452.1 MB, free: 4.676 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.788e-05/0.6249, allocations: 16 kB / 452.1 MB, free: 4.66 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.794e-05/0.625, allocations: 16 kB / 452.1 MB, free: 4.645 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006807/0.6256, allocations: 264.5 kB / 452.4 MB, free: 4.375 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.53e-05/0.6257, allocations: 4 kB / 452.4 MB, free: 4.371 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.139e-05/0.6257, allocations: 7.953 kB / 452.4 MB, free: 4.363 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.808e-06/0.6258, allocations: 4 kB / 452.4 MB, free: 4.359 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005802/0.6263, allocations: 207.9 kB / 452.6 MB, free: 4.156 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002117/0.6285, allocations: 0.7656 MB / 453.4 MB, free: 3.336 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006712/0.6292, allocations: 273 kB / 453.6 MB, free: 3.051 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004423/0.6296, allocations: 182 kB / 453.8 MB, free: 2.867 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.208e-05/0.6297, allocations: 4 kB / 453.8 MB, free: 2.863 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.426e-05/0.6298, allocations: 38.56 kB / 453.8 MB, free: 2.816 MB / 378.7 MB Notification: Performance of pre-optimization done (n=24): time 3.116e-06/0.6298, allocations: 0 / 453.8 MB, free: 2.816 MB / 378.7 MB Notification: Performance of matching and sorting (n=24): time 0.001105/0.6309, allocations: 374.6 kB / 454.2 MB, free: 2.441 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.86e-05/0.631, allocations: 81.11 kB / 454.3 MB, free: 2.344 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005601/0.6315, allocations: 310.6 kB / 454.6 MB, free: 2.031 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 6.387e-05/0.6316, allocations: 29.7 kB / 454.6 MB, free: 1.996 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001512/0.6318, allocations: 207.2 kB / 454.8 MB, free: 1.789 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001324/0.6319, allocations: 102.5 kB / 454.9 MB, free: 1.688 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.583e-05/0.632, allocations: 8 kB / 454.9 MB, free: 1.68 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001849/0.6322, allocations: 342.8 kB / 455.3 MB, free: 1.336 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006453/0.6328, allocations: 272.7 kB / 455.5 MB, free: 1.07 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000702/0.6335, allocations: 326.2 kB / 455.9 MB, free: 0.7422 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007758/0.6343, allocations: 309.8 kB / 456.2 MB, free: 448 kB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.358e-06/0.6344, allocations: 0 / 456.2 MB, free: 448 kB / 378.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.0017/0.6361, allocations: 0.7163 MB / 456.9 MB, free: 15.72 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.574e-05/0.6361, allocations: 5.719 kB / 456.9 MB, free: 15.71 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.857e-05/0.6362, allocations: 7.984 kB / 456.9 MB, free: 15.71 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.68e-05/0.6362, allocations: 4 kB / 456.9 MB, free: 15.7 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009316/0.6371, allocations: 95.88 kB / 457 MB, free: 15.61 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.238e-05/0.6372, allocations: 4 kB / 457 MB, free: 15.61 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003832/0.6376, allocations: 75.09 kB / 457.1 MB, free: 15.53 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.074e-05/0.6376, allocations: 12 kB / 457.1 MB, free: 15.52 MB / 394.7 MB Warning: Assuming fixed start value for the following 6 variables: padeDelay2a.x[3]:VARIABLE(final = true ) "State of transfer function from controller canonical form (balance=false), or balanced controller canonical form (balance=true)" type: Real [4] padeDelay2a.x[2]:VARIABLE(final = true ) "State of transfer function from controller canonical form (balance=false), or balanced controller canonical form (balance=true)" type: Real [4] padeDelay2a.x[1]:VARIABLE(final = true ) "State of transfer function from controller canonical form (balance=false), or balanced controller canonical form (balance=true)" type: Real [4] padeDelay1a.x[3]:VARIABLE(final = true ) "State of transfer function from controller canonical form (balance=false), or balanced controller canonical form (balance=true)" type: Real [4] padeDelay1a.x[2]:VARIABLE(final = true ) "State of transfer function from controller canonical form (balance=false), or balanced controller canonical form (balance=true)" type: Real [4] padeDelay1a.x[1]:VARIABLE(final = true ) "State of transfer function from controller canonical form (balance=false), or balanced controller canonical form (balance=true)" type: Real [4] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (44): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.0002654/0.6379, allocations: 137.2 kB / 457.2 MB, free: 15.38 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001237/0.638, allocations: 27.62 kB / 457.2 MB, free: 15.36 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00013/0.6382, allocations: 42.77 kB / 457.3 MB, free: 15.31 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.065e-06/0.6382, allocations: 8.656 kB / 457.3 MB, free: 15.3 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.464e-06/0.6382, allocations: 0 / 457.3 MB, free: 15.3 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.541e-06/0.6382, allocations: 0 / 457.3 MB, free: 15.3 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006813/0.6389, allocations: 341.2 kB / 457.6 MB, free: 14.92 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.828e-06/0.639, allocations: 0 / 457.6 MB, free: 14.92 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007838/0.6397, allocations: 51.91 kB / 457.7 MB, free: 14.87 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.084e-05/0.6398, allocations: 4 kB / 457.7 MB, free: 14.87 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.067e-05/0.6398, allocations: 13.02 kB / 457.7 MB, free: 14.86 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.742e-06/0.6399, allocations: 4 kB / 457.7 MB, free: 14.85 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.415e-06/0.6399, allocations: 0 / 457.7 MB, free: 14.85 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001514/0.6414, allocations: 0.7343 MB / 458.4 MB, free: 14.09 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000102/0.6415, allocations: 108.8 kB / 458.5 MB, free: 13.96 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.417e-05/0.6416, allocations: 8 kB / 458.5 MB, free: 13.96 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004025/0.642, allocations: 15.98 kB / 458.5 MB, free: 13.94 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.38e-05/0.6421, allocations: 11.98 kB / 458.6 MB, free: 13.93 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.921e-05/0.6422, allocations: 15.98 kB / 458.6 MB, free: 13.91 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0003632/0.6426, allocations: 218.2 kB / 458.8 MB, free: 13.7 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.71e-07/0.6426, allocations: 0 / 458.8 MB, free: 13.7 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001324/0.6439, allocations: 277 kB / 459.1 MB, free: 13.43 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 16 (padeDelay2a.x[1],padeDelay2a.x[2],padeDelay2a.x[3],padeDelay2a.x[4],padeDelay2b.x[1],padeDelay2b.x[2],padeDelay2b.x[3],padeDelay2b.x[4],padeDelay1b.x[1],padeDelay1b.x[2],padeDelay1b.x[3],padeDelay1b.x[4],padeDelay1a.x[1],padeDelay1a.x[2],padeDelay1a.x[3],padeDelay1a.x[4]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 24 * 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.002712/0.6467, allocations: 1.525 MB / 460.6 MB, free: 11.88 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001526/0.6482, allocations: 0.7017 MB / 461.3 MB, free: 11.15 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.138e-06/0.6482, allocations: 0 / 461.3 MB, free: 11.15 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000451/0.6487, allocations: 179.9 kB / 461.5 MB, free: 10.97 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005636/0.6493, allocations: 37.12 kB / 461.5 MB, free: 10.94 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00264/0.6519, allocations: 1.044 MB / 462.5 MB, free: 9.848 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005062/0.6525, allocations: 0.8146 MB / 463.4 MB, free: 9.008 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003618/0.6528, allocations: 107.4 kB / 463.5 MB, free: 8.902 MB / 394.7 MB Notification: Performance of SimCode: time 1.402e-06/0.6529, allocations: 3.938 kB / 463.5 MB, free: 8.898 MB / 394.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_Blocks_PadeDelay2CalcHelperMain.o OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Blocks_PadeDelay2CalcHelperMain.cpp In file included from OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Blocks_PadeDelay2CalcHelperMain.cpp:28: ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Blocks_PadeDelay2Functions.cpp:1285:55: error: use of undeclared identifier '_omcQuot_24746D7056617230_'; did you mean '_omcQuot_24746D7056617231_'? _omcQuot_24746D7056617231_ = std::abs(_omcQuot_24746D7056617230_); ^~~~~~~~~~~~~~~~~~~~~~~~~~ _omcQuot_24746D7056617231_ ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Blocks_PadeDelay2Functions.cpp:1257:20: note: '_omcQuot_24746D7056617231_' declared here double _omcQuot_24746D7056617231_; ^ ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Blocks_PadeDelay2Functions.cpp:1327:55: error: use of undeclared identifier '_omcQuot_24746D7056617233_'; did you mean '_omcQuot_24746D7056617234_'? _omcQuot_24746D7056617234_ = std::abs(_omcQuot_24746D7056617233_); ^~~~~~~~~~~~~~~~~~~~~~~~~~ _omcQuot_24746D7056617234_ ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Blocks_PadeDelay2Functions.cpp:1299:20: note: '_omcQuot_24746D7056617234_' declared here double _omcQuot_24746D7056617234_; ^ ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Blocks_PadeDelay2Functions.cpp:1373:55: error: use of undeclared identifier '_omcQuot_24746D7056617236_'; did you mean '_omcQuot_24746D7056617237_'? _omcQuot_24746D7056617237_ = std::abs(_omcQuot_24746D7056617236_); ^~~~~~~~~~~~~~~~~~~~~~~~~~ _omcQuot_24746D7056617237_ ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Blocks_PadeDelay2Functions.cpp:1345:20: note: '_omcQuot_24746D7056617237_' declared here double _omcQuot_24746D7056617237_; ^ ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Blocks_PadeDelay2Functions.cpp:1415:57: error: use of undeclared identifier '_omcQuot_24746D7056617239_'; did you mean '_omcQuot_24746D705661723130_'? _omcQuot_24746D705661723130_ = std::abs(_omcQuot_24746D7056617239_); ^~~~~~~~~~~~~~~~~~~~~~~~~~ _omcQuot_24746D705661723130_ ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Blocks_PadeDelay2Functions.cpp:1387:20: note: '_omcQuot_24746D705661723130_' declared here double _omcQuot_24746D705661723130_; ^ In file included from OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Blocks_PadeDelay2CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Blocks_PadeDelay2FMU.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 and 4 errors generated. : recipe for target 'OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Blocks_PadeDelay2CalcHelperMain.o' failed make: *** [OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Blocks_PadeDelay2CalcHelperMain.o] Error 1