Running command: "" <> buildModelFMU(ModelicaTest.Blocks.PadeDelay2,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Blocks_PadeDelay2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.591/2.591, allocations: 270 MB / 282.7 MB, free: 1.922 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.742e-05/3.75e-05, allocations: 7.984 kB / 347.1 MB, free: 3.211 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3844/0.3845, allocations: 61.87 MB / 408.9 MB, free: 10.71 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1574/0.542, allocations: 87.71 MB / 496.6 MB, free: 2.879 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002374/0.5422, allocations: 63.97 kB / 496.7 MB, free: 2.816 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05173/0.594, allocations: 9.521 MB / 0.4943 GB, free: 9.27 MB / 426.7 MB Notification: Performance of FrontEnd: time 4.148e-06/0.594, allocations: 4 kB / 0.4944 GB, free: 9.266 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.951e-05/0.5941, allocations: 8 kB / 0.4944 GB, free: 9.258 MB / 426.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.001831/0.5959, allocations: 0.6566 MB / 0.495 GB, free: 8.559 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.534e-05/0.596, allocations: 8.031 kB / 0.495 GB, free: 8.551 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.191e-05/0.5961, allocations: 46.55 kB / 0.4951 GB, free: 8.496 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.538e-05/0.5962, allocations: 27.62 kB / 0.4951 GB, free: 8.469 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006019/0.5968, allocations: 291.9 kB / 0.4954 GB, free: 8.145 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.566e-05/0.5968, allocations: 19.95 kB / 0.4954 GB, free: 8.125 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001011/0.597, allocations: 31.89 kB / 0.4954 GB, free: 8.094 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006768/0.5976, allocations: 251.2 kB / 0.4956 GB, free: 7.836 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.381e-05/0.5977, allocations: 0 / 0.4956 GB, free: 7.836 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.794e-05/0.5977, allocations: 8 kB / 0.4957 GB, free: 7.828 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.003e-05/0.5977, allocations: 4 kB / 0.4957 GB, free: 7.824 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005805/0.5983, allocations: 207.8 kB / 0.4959 GB, free: 7.621 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002071/0.6004, allocations: 0.7617 MB / 0.4966 GB, free: 6.805 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006484/0.6011, allocations: 269 kB / 0.4969 GB, free: 6.523 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004322/0.6015, allocations: 177.6 kB / 0.497 GB, free: 6.344 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.145e-05/0.6016, allocations: 8 kB / 0.497 GB, free: 6.336 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.21e-05/0.6016, allocations: 38.56 kB / 0.4971 GB, free: 6.289 MB / 426.7 MB Notification: Performance of pre-optimization done (n=24): time 3.146e-06/0.6017, allocations: 448 / 0.4971 GB, free: 6.289 MB / 426.7 MB Notification: Performance of matching and sorting (n=24): time 0.001104/0.6028, allocations: 377.7 kB / 0.4974 GB, free: 5.91 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.781e-05/0.6028, allocations: 85.06 kB / 0.4975 GB, free: 5.809 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004993/0.6034, allocations: 310.7 kB / 0.4978 GB, free: 5.5 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 5.782e-05/0.6034, allocations: 29.7 kB / 0.4978 GB, free: 5.465 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001331/0.6036, allocations: 207.2 kB / 0.498 GB, free: 5.258 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001251/0.6037, allocations: 98.55 kB / 0.4981 GB, free: 5.16 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.713e-05/0.6038, allocations: 8 kB / 0.4981 GB, free: 5.152 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001548/0.6039, allocations: 342.8 kB / 0.4985 GB, free: 4.809 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006361/0.6046, allocations: 272.7 kB / 0.4987 GB, free: 4.539 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006826/0.6053, allocations: 322.2 kB / 0.499 GB, free: 4.223 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007479/0.606, allocations: 309.8 kB / 0.4993 GB, free: 3.918 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.128e-06/0.606, allocations: 4 kB / 0.4993 GB, free: 3.914 MB / 426.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001695/0.6077, allocations: 0.7191 MB / 0.5 GB, free: 3.191 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.299e-05/0.6078, allocations: 4 kB / 0.5 GB, free: 3.188 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.723e-05/0.6078, allocations: 4 kB / 0.5 GB, free: 3.184 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.696e-05/0.6079, allocations: 11.89 kB / 0.5001 GB, free: 3.172 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000949/0.6088, allocations: 95.88 kB / 0.5001 GB, free: 3.078 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.155e-05/0.6089, allocations: 4 kB / 0.5001 GB, free: 3.074 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003672/0.6092, allocations: 67.11 kB / 0.5002 GB, free: 3.008 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.378e-05/0.6093, allocations: 16 kB / 0.5002 GB, free: 2.992 MB / 426.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.0002315/0.6096, allocations: 145.2 kB / 0.5004 GB, free: 2.852 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001066/0.6097, allocations: 27.62 kB / 0.5004 GB, free: 2.824 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001279/0.6098, allocations: 38.83 kB / 0.5004 GB, free: 2.777 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.348e-05/0.6098, allocations: 7.953 kB / 0.5004 GB, free: 2.77 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.515e-06/0.6098, allocations: 0 / 0.5004 GB, free: 2.77 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.98e-06/0.6099, allocations: 0 / 0.5004 GB, free: 2.77 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006515/0.6105, allocations: 341.3 kB / 0.5008 GB, free: 2.387 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.477e-06/0.6105, allocations: 4 kB / 0.5008 GB, free: 2.383 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007692/0.6113, allocations: 43.98 kB / 0.5008 GB, free: 2.34 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.01e-05/0.6114, allocations: 4 kB / 0.5008 GB, free: 2.336 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.07e-05/0.6114, allocations: 11.98 kB / 0.5008 GB, free: 2.324 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.181e-05/0.6114, allocations: 11.92 kB / 0.5008 GB, free: 2.312 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.963e-06/0.6115, allocations: 7.891 kB / 0.5008 GB, free: 2.305 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001473/0.6129, allocations: 0.723 MB / 0.5015 GB, free: 1.555 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.1e-05/0.6131, allocations: 108.8 kB / 0.5017 GB, free: 1.43 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.104e-05/0.6131, allocations: 8 kB / 0.5017 GB, free: 1.422 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004041/0.6136, allocations: 19.94 kB / 0.5017 GB, free: 1.402 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.859e-05/0.6137, allocations: 15.97 kB / 0.5017 GB, free: 1.387 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.63e-05/0.6137, allocations: 8 kB / 0.5017 GB, free: 1.379 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0003485/0.6141, allocations: 218.2 kB / 0.5019 GB, free: 1.164 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.91e-07/0.6141, allocations: 0 / 0.5019 GB, free: 1.164 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001263/0.6154, allocations: 283.6 kB / 0.5022 GB, free: 0.8867 MB / 426.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.00272/0.6181, allocations: 1.516 MB / 0.5037 GB, free: 15.34 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001564/0.6197, allocations: 0.7149 MB / 0.5044 GB, free: 14.61 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 5.951e-06/0.6197, allocations: 0 / 0.5044 GB, free: 14.61 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004641/0.6202, allocations: 179.9 kB / 0.5045 GB, free: 14.43 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005696/0.6208, allocations: 41.06 kB / 0.5046 GB, free: 14.39 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00269/0.6235, allocations: 1.042 MB / 0.5056 GB, free: 13.3 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004863/0.624, allocations: 0.8107 MB / 0.5064 GB, free: 12.47 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003419/0.6244, allocations: 107.4 kB / 0.5065 GB, free: 12.36 MB / 442.7 MB Notification: Performance of SimCode: time 1.112e-06/0.6244, allocations: 0 / 0.5065 GB, free: 12.36 MB / 442.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_trunk_cpp_ModelicaTest_Blocks_PadeDelay2CalcHelperMain.o OMCppModelicaTest_trunk_cpp_ModelicaTest_Blocks_PadeDelay2CalcHelperMain.cpp In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest_Blocks_PadeDelay2CalcHelperMain.cpp:28: ./OMCppModelicaTest_trunk_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_trunk_cpp_ModelicaTest_Blocks_PadeDelay2Functions.cpp:1257:20: note: '_omcQuot_24746D7056617231_' declared here double _omcQuot_24746D7056617231_; ^ ./OMCppModelicaTest_trunk_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_trunk_cpp_ModelicaTest_Blocks_PadeDelay2Functions.cpp:1299:20: note: '_omcQuot_24746D7056617234_' declared here double _omcQuot_24746D7056617234_; ^ ./OMCppModelicaTest_trunk_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_trunk_cpp_ModelicaTest_Blocks_PadeDelay2Functions.cpp:1345:20: note: '_omcQuot_24746D7056617237_' declared here double _omcQuot_24746D7056617237_; ^ ./OMCppModelicaTest_trunk_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_trunk_cpp_ModelicaTest_Blocks_PadeDelay2Functions.cpp:1387:20: note: '_omcQuot_24746D705661723130_' declared here double _omcQuot_24746D705661723130_; ^ In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest_Blocks_PadeDelay2CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_trunk_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_trunk_cpp_ModelicaTest_Blocks_PadeDelay2CalcHelperMain.o' failed make: *** [OMCppModelicaTest_trunk_cpp_ModelicaTest_Blocks_PadeDelay2CalcHelperMain.o] Error 1