Running command: translateModel(ModelicaTest.Blocks.PadeDelay2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|padeDelay1a.y|padeDelay1b.y|padeDelay2a.y|padeDelay2b.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Blocks.PadeDelay2") Notification: Performance of loadModel(ModelicaTest): time 2.357/2.357, allocations: 269 MB / 284.1 MB, free: 3.645 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.78e-05/2.79e-05, allocations: 0 / 349 MB, free: 10.78 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1287/0.1288, allocations: 61.89 MB / 410.9 MB, free: 12.89 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.PadeDelay2): time 0.002646/0.1315, allocations: 1.492 MB / 412.4 MB, free: 11.38 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002527/0.134, allocations: 1.186 MB / 413.6 MB, free: 10.18 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001102/0.1342, allocations: 4 kB / 413.6 MB, free: 10.18 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001606/0.1343, allocations: 35.77 kB / 413.6 MB, free: 10.14 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 8.988e-05/0.1344, allocations: 19.89 kB / 413.7 MB, free: 10.12 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001496/0.1359, allocations: 383.1 kB / 414 MB, free: 9.75 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.000241/0.1362, allocations: 107.7 kB / 414.1 MB, free: 9.645 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001168/0.1363, allocations: 19.98 kB / 414.2 MB, free: 9.625 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002014/0.1366, allocations: 87.8 kB / 414.2 MB, free: 9.539 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002804/0.1369, allocations: 147.6 kB / 414.4 MB, free: 9.395 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001422/0.1383, allocations: 0.5967 MB / 415 MB, free: 8.797 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001782/0.1385, allocations: 36 kB / 415 MB, free: 8.762 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001767/0.1387, allocations: 111.7 kB / 415.1 MB, free: 8.652 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 8.312e-05/0.1388, allocations: 16 kB / 415.1 MB, free: 8.637 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001396/0.1402, allocations: 0.815 MB / 416 MB, free: 7.82 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.1402, allocations: 0 / 416 MB, free: 7.82 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.354e-06/0.1402, allocations: 0 / 416 MB, free: 7.82 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.3e-05/0.1402, allocations: 0 / 416 MB, free: 7.82 MB / 346.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.001591/0.1418, allocations: 0.6469 MB / 416.6 MB, free: 7.125 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.628e-05/0.1419, allocations: 8.031 kB / 416.6 MB, free: 7.117 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.831e-05/0.142, allocations: 27.62 kB / 416.6 MB, free: 7.09 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004797/0.1425, allocations: 279.2 kB / 416.9 MB, free: 6.781 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.491e-05/0.1425, allocations: 12 kB / 416.9 MB, free: 6.77 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001031/0.1427, allocations: 35.84 kB / 417 MB, free: 6.734 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007488/0.1434, allocations: 279 kB / 417.2 MB, free: 6.449 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.222e-05/0.1434, allocations: 0 / 417.2 MB, free: 6.449 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.948e-05/0.1435, allocations: 11.94 kB / 417.2 MB, free: 6.438 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.134e-05/0.1435, allocations: 4 kB / 417.2 MB, free: 6.434 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000721/0.1442, allocations: 231.8 kB / 417.5 MB, free: 6.207 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001906/0.1462, allocations: 0.7616 MB / 418.2 MB, free: 5.391 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007495/0.1469, allocations: 292.9 kB / 418.5 MB, free: 5.086 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.035e-05/0.147, allocations: 4 kB / 418.5 MB, free: 5.082 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.424e-05/0.1471, allocations: 38.55 kB / 418.6 MB, free: 5.035 MB / 346.7 MB Notification: Performance of pre-optimization done (n=24): time 3.807e-06/0.1471, allocations: 0 / 418.6 MB, free: 5.035 MB / 346.7 MB Notification: Performance of matching and sorting (n=24): time 0.001704/0.1488, allocations: 0.545 MB / 419.1 MB, free: 4.484 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.518e-05/0.1489, allocations: 81.11 kB / 419.2 MB, free: 4.387 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000486/0.1494, allocations: 311.7 kB / 419.5 MB, free: 4.07 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 5.526e-05/0.1494, allocations: 29.7 kB / 419.5 MB, free: 4.035 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001536/0.1496, allocations: 207.2 kB / 419.7 MB, free: 3.832 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001322/0.1497, allocations: 98.61 kB / 419.8 MB, free: 3.734 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.331e-05/0.1498, allocations: 4 kB / 419.8 MB, free: 3.73 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001591/0.15, allocations: 350.8 kB / 420.2 MB, free: 3.379 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007588/0.1507, allocations: 292.8 kB / 420.4 MB, free: 3.094 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007853/0.1515, allocations: 343.5 kB / 420.8 MB, free: 2.75 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009027/0.1524, allocations: 337.8 kB / 421.1 MB, free: 2.418 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.67e-06/0.1525, allocations: 0 / 421.1 MB, free: 2.418 MB / 346.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001938/0.1544, allocations: 0.7491 MB / 421.9 MB, free: 1.664 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.921e-05/0.1545, allocations: 4 kB / 421.9 MB, free: 1.66 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.901e-05/0.1545, allocations: 7.938 kB / 421.9 MB, free: 1.652 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.385e-05/0.1545, allocations: 4 kB / 421.9 MB, free: 1.648 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009007/0.1555, allocations: 99.88 kB / 422 MB, free: 1.551 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.848e-05/0.1555, allocations: 11.94 kB / 422 MB, free: 1.539 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003429/0.1558, allocations: 63.12 kB / 422 MB, free: 1.477 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.059e-05/0.1559, allocations: 12 kB / 422.1 MB, free: 1.465 MB / 346.7 MB Warning: Assuming fixed start value for the following 6 variables: padeDelay2a.x[3]:VARIABLE(fixed = true 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(fixed = true 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(fixed = true 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(fixed = true 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(fixed = true 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(fixed = true 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.0003737/0.1563, allocations: 192.1 kB / 422.2 MB, free: 1.27 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001106/0.1564, allocations: 27.62 kB / 422.3 MB, free: 1.242 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001223/0.1565, allocations: 34.72 kB / 422.3 MB, free: 1.207 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.723e-06/0.1566, allocations: 4 kB / 422.3 MB, free: 1.203 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.354e-06/0.1566, allocations: 0 / 422.3 MB, free: 1.203 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.15e-05/0.1566, allocations: 11.94 kB / 422.3 MB, free: 1.191 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006176/0.1572, allocations: 333.3 kB / 422.6 MB, free: 0.8164 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.1572, allocations: 0 / 422.6 MB, free: 0.8164 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007395/0.158, allocations: 51.91 kB / 422.7 MB, free: 0.7656 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.767e-06/0.158, allocations: 4 kB / 422.7 MB, free: 0.7617 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.479e-05/0.1581, allocations: 15.98 kB / 422.7 MB, free: 0.7461 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.177e-06/0.1581, allocations: 4 kB / 422.7 MB, free: 0.7422 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.1581, allocations: 0 / 422.7 MB, free: 0.7422 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3445/0.5026, allocations: 0.7651 MB / 423.5 MB, free: 12.67 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001423/0.5028, allocations: 106.8 kB / 423.6 MB, free: 12.57 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001797/0.503, allocations: 14.97 kB / 423.6 MB, free: 12.57 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000648/0.5037, allocations: 12.47 kB / 423.6 MB, free: 12.57 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001465/0.5039, allocations: 21.94 kB / 423.6 MB, free: 12.57 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.104e-05/0.504, allocations: 9.469 kB / 423.6 MB, free: 12.57 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0005092/0.5045, allocations: 220.5 kB / 423.9 MB, free: 12.5 MB / 346.7 MB Notification: Performance of sort global known variables: time 8.01e-07/0.5045, allocations: 0 / 423.9 MB, free: 12.5 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.002006/0.5065, allocations: 250.7 kB / 424.1 MB, free: 12.5 MB / 346.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.001225/0.5078, allocations: 251.8 kB / 424.4 MB, free: 12.41 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.002752/0.5106, allocations: 0.7449 MB / 425.1 MB, free: 12.28 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 8.516e-06/0.5107, allocations: 0 / 425.1 MB, free: 12.28 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009147/0.5116, allocations: 197.6 kB / 425.3 MB, free: 12.28 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005943/0.5122, allocations: 33.89 kB / 425.3 MB, free: 12.28 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003148/0.5154, allocations: 1.072 MB / 426.4 MB, free: 11.81 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005552/0.516, allocations: 0.8214 MB / 427.2 MB, free: 11.11 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003409/0.5164, allocations: 25.66 kB / 427.2 MB, free: 11.1 MB / 346.7 MB Notification: Performance of SimCode: time 1.262e-06/0.5164, allocations: 0 / 427.2 MB, free: 11.1 MB / 346.7 MB Notification: Performance of Templates: time 0.02533/0.5417, allocations: 6.552 MB / 433.8 MB, free: 10.61 MB / 346.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Blocks.PadeDelay2.makefile clang++ -fopenmp=libomp -Winvalid-pch -O0 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DUSE_THREAD -DSUNDIALS_MAJOR_VERSION=2 -DSUNDIALS_MINOR_VERSION=6 -DPMC_USE_SUNDIALS -DENABLE_OMSI -I"." -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/omsi/" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/omsi/base" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/omsi/solver" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/omsicpp/" -I. -I"." -I"." -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" -DMEASURETIME_PROFILEBLOCKS -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:29: ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Blocks.PadeDelay2Functions.cpp:156:45: error: use of undeclared identifier 'D_24i1_' D_24tmpVar0_ = std::abs(As_(D_24i1_,i_)); ^ ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Blocks.PadeDelay2Functions.cpp:200:45: error: use of undeclared identifier 'D_24i1_' D_24tmpVar2_ = std::abs(Cs_(D_24i1_,i_)); ^ ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Blocks.PadeDelay2Functions.cpp:248:48: error: use of undeclared identifier 'D_24i1_' D_24tmpVar4_ = std::abs(As_(i_,D_24i1_)); ^ ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Blocks.PadeDelay2Functions.cpp:292:48: error: use of undeclared identifier 'D_24i1_' D_24tmpVar6_ = std::abs(Bs_(i_,D_24i1_)); ^ 4 errors generated. : recipe for target 'OMCppModelicaTest_trunk_cpp_ModelicaTest.Blocks.PadeDelay2CalcHelperMain.o' failed make: *** [OMCppModelicaTest_trunk_cpp_ModelicaTest.Blocks.PadeDelay2CalcHelperMain.o] Error 1