Running command: translateModel(ModelicaTest.Math.TestNonlinear,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="//possible continuous states|//possible discrete states",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Math.TestNonlinear") Notification: Performance of loadModel(ModelicaTest): time 2.538/2.538, allocations: 269 MB / 284.1 MB, free: 3.629 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.166e-05/3.169e-05, allocations: 4 kB / 349 MB, free: 10.76 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1333/0.1334, allocations: 61.89 MB / 410.9 MB, free: 12.87 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestNonlinear): time 0.0005783/0.134, allocations: 200.7 kB / 411.1 MB, free: 12.67 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.00392/0.138, allocations: 1.956 MB / 413.1 MB, free: 10.7 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.693e-06/0.138, allocations: 4 kB / 413.1 MB, free: 10.7 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 1.241e-05/0.1381, allocations: 4 kB / 413.1 MB, free: 10.69 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 1.583e-06/0.1381, allocations: 3.938 kB / 413.1 MB, free: 10.69 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002908/0.141, allocations: 454.7 kB / 413.5 MB, free: 10.24 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 3.651e-05/0.1411, allocations: 4 kB / 413.5 MB, free: 10.24 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.131e-05/0.1411, allocations: 4 kB / 413.5 MB, free: 10.23 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001017/0.1412, allocations: 4 kB / 413.5 MB, free: 10.23 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001101/0.1423, allocations: 387.7 kB / 413.9 MB, free: 9.852 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001391/0.1437, allocations: 0.5072 MB / 414.4 MB, free: 9.344 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001548/0.1439, allocations: 32 kB / 414.4 MB, free: 9.312 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 6.432e-06/0.1439, allocations: 0 / 414.4 MB, free: 9.312 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.139e-05/0.144, allocations: 4 kB / 414.5 MB, free: 9.309 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007094/0.1447, allocations: 299.5 kB / 414.7 MB, free: 9.016 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.965e-06/0.1447, allocations: 0 / 414.7 MB, free: 9.016 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.554e-06/0.1447, allocations: 0 / 414.7 MB, free: 9.016 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.11e-05/0.1447, allocations: 0 / 414.7 MB, free: 9.016 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.000501/0.1453, allocations: 413.1 kB / 415.1 MB, free: 8.559 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.274e-05/0.1453, allocations: 12.03 kB / 415.2 MB, free: 8.547 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.378e-05/0.1454, allocations: 75.28 kB / 415.2 MB, free: 8.473 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001389/0.1455, allocations: 234.4 kB / 415.5 MB, free: 8.203 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.814e-05/0.1456, allocations: 158.5 kB / 415.6 MB, free: 8.047 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.186e-05/0.1457, allocations: 150.6 kB / 415.8 MB, free: 7.898 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.004e-05/0.1458, allocations: 112.9 kB / 415.9 MB, free: 7.781 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.265e-05/0.1458, allocations: 75.28 kB / 415.9 MB, free: 7.707 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.627e-05/0.1459, allocations: 154.6 kB / 416.1 MB, free: 7.555 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.814e-05/0.146, allocations: 154.6 kB / 416.3 MB, free: 7.402 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.406e-05/0.146, allocations: 150.6 kB / 416.4 MB, free: 7.254 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002922/0.1463, allocations: 442 kB / 416.8 MB, free: 6.773 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.64e-05/0.1464, allocations: 173.1 kB / 417 MB, free: 6.594 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.43e-05/0.1465, allocations: 79.22 kB / 417.1 MB, free: 6.516 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.371e-05/0.1466, allocations: 139.5 kB / 417.2 MB, free: 6.363 MB / 346.7 MB Notification: Performance of pre-optimization done (n=0): time 1.924e-06/0.1466, allocations: 0 / 417.2 MB, free: 6.363 MB / 346.7 MB Notification: Performance of matching and sorting (n=0): time 9.478e-05/0.1467, allocations: 33.64 kB / 417.2 MB, free: 6.324 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.941e-05/0.1468, allocations: 156.4 kB / 417.4 MB, free: 6.152 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.134e-05/0.1468, allocations: 85 kB / 417.5 MB, free: 6.062 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.663e-05/0.1468, allocations: 25.7 kB / 417.5 MB, free: 6.031 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.85e-05/0.1469, allocations: 150.6 kB / 417.7 MB, free: 5.883 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.696e-06/0.1469, allocations: 4 kB / 417.7 MB, free: 5.879 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.885e-06/0.1469, allocations: 0 / 417.7 MB, free: 5.879 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001283/0.1471, allocations: 314.8 kB / 418 MB, free: 5.562 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.288e-06/0.1471, allocations: 4 kB / 418 MB, free: 5.559 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.84e-05/0.1471, allocations: 0 / 418 MB, free: 5.559 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.107e-05/0.1472, allocations: 75.28 kB / 418 MB, free: 5.484 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.189e-05/0.1472, allocations: 75.28 kB / 418.1 MB, free: 5.41 MB / 346.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 6.944e-05/0.1473, allocations: 29.7 kB / 418.1 MB, free: 5.375 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.552e-05/0.1474, allocations: 86.12 kB / 418.2 MB, free: 5.293 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.167e-05/0.1474, allocations: 87.2 kB / 418.3 MB, free: 5.207 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.051e-05/0.1475, allocations: 154.6 kB / 418.5 MB, free: 5.055 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.685e-05/0.1475, allocations: 83.28 kB / 418.5 MB, free: 4.973 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.767e-05/0.1476, allocations: 154.5 kB / 418.7 MB, free: 4.82 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.921e-05/0.1477, allocations: 79.28 kB / 418.8 MB, free: 4.742 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.344e-05/0.1477, allocations: 87.22 kB / 418.9 MB, free: 4.656 MB / 346.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 (0): * Single equations (assignments): 0 * 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 prepare postOptimizeDAE: time 0.000143/0.1479, allocations: 260.4 kB / 419.1 MB, free: 4.391 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.406e-05/0.148, allocations: 109 kB / 419.2 MB, free: 4.277 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.934e-05/0.1481, allocations: 111.9 kB / 419.3 MB, free: 4.16 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.346e-05/0.1481, allocations: 180.2 kB / 419.5 MB, free: 3.977 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.884e-05/0.1482, allocations: 192.2 kB / 419.7 MB, free: 3.781 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.995e-05/0.1483, allocations: 180.4 kB / 419.9 MB, free: 3.598 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002572/0.1486, allocations: 401.2 kB / 420.3 MB, free: 3.148 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.648e-05/0.1486, allocations: 105 kB / 420.4 MB, free: 3.039 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.333e-05/0.1487, allocations: 108.9 kB / 420.5 MB, free: 2.926 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.3e-05/0.1488, allocations: 176.3 kB / 420.6 MB, free: 2.746 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.303e-05/0.1489, allocations: 188.2 kB / 420.8 MB, free: 2.555 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.136e-05/0.149, allocations: 176.3 kB / 421 MB, free: 2.375 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.003e-05/0.149, allocations: 188.2 kB / 421.2 MB, free: 2.184 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001634/0.1492, allocations: 303.8 kB / 421.5 MB, free: 1.863 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.289e-05/0.1493, allocations: 190 kB / 421.7 MB, free: 1.652 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.456e-05/0.1494, allocations: 180.3 kB / 421.8 MB, free: 1.469 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001022/0.1495, allocations: 108.9 kB / 421.9 MB, free: 1.355 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.208e-05/0.1496, allocations: 176.3 kB / 422.1 MB, free: 1.176 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.396e-05/0.1497, allocations: 101 kB / 422.2 MB, free: 1.07 MB / 346.7 MB Notification: Performance of sorting global known variables: time 3.441e-05/0.1497, allocations: 83.2 kB / 422.3 MB, free: 0.9883 MB / 346.7 MB Notification: Performance of sort global known variables: time 3.5e-07/0.1497, allocations: 4 kB / 422.3 MB, free: 0.9844 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0007139/0.1504, allocations: 131.9 kB / 422.4 MB, free: 0.8555 MB / 346.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 (0): * Single equations (assignments): 0 * 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.001195/0.1517, allocations: 417.5 kB / 422.8 MB, free: 456 kB / 346.7 MB Notification: Performance of simCode: created initialization part: time 5.722e-05/0.1517, allocations: 4 kB / 422.8 MB, free: 452 kB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 5.63e-06/0.1518, allocations: 0 / 422.8 MB, free: 452 kB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 2.665e-06/0.1518, allocations: 3.938 kB / 422.8 MB, free: 448 kB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.3388/0.4905, allocations: 0.5224 MB / 423.4 MB, free: 13.87 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001498/0.4907, allocations: 165.1 kB / 423.5 MB, free: 13.68 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001229/0.4909, allocations: 0.6709 MB / 424.2 MB, free: 12.98 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.646e-05/0.4909, allocations: 10.62 kB / 424.2 MB, free: 12.97 MB / 346.7 MB Notification: Performance of SimCode: time 1.353e-06/0.4909, allocations: 0 / 424.2 MB, free: 12.97 MB / 346.7 MB Notification: Performance of Templates: time 0.01018/0.5011, allocations: 2.975 MB / 427.2 MB, free: 12.63 MB / 346.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Math.TestNonlinear.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/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica trunk/Resources/C-Sources" -I"." -I"." -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" "-I/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica trunk/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelicaTest_trunk_cpp_ModelicaTest.Math.TestNonlinearCalcHelperMain.o OMCppModelicaTest_trunk_cpp_ModelicaTest.Math.TestNonlinearCalcHelperMain.cpp In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest.Math.TestNonlinearCalcHelperMain.cpp:29: ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Math.TestNonlinearFunctions.cpp:237:56: error: use of undeclared identifier 'f_' Modelica_Math_Nonlinear_quadratureLobatto_quadStep(f_, a_, b_, fa_, fb_, is_,tmp9); ^ ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Math.TestNonlinearFunctions.cpp:584:19: error: use of undeclared identifier 'D_24i1_' switch (D_24i1_) { /* ASUB */ ^ ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Math.TestNonlinearFunctions.cpp:864:19: error: use of undeclared identifier 'D_24i1_' switch (D_24i1_) { /* ASUB */ ^ ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Math.TestNonlinearFunctions.cpp:1323:58: error: use of undeclared identifier 'f_' Modelica_Math_Nonlinear_quadratureLobatto_quadStep(f_, a_, mll_, fa_, fmll_, is_,tmp81); ^ ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Math.TestNonlinearFunctions.cpp:1324:58: error: use of undeclared identifier 'f_' Modelica_Math_Nonlinear_quadratureLobatto_quadStep(f_, mll_, ml_, fmll_, fml_, is_,tmp82); ^ ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Math.TestNonlinearFunctions.cpp:1325:58: error: use of undeclared identifier 'f_' Modelica_Math_Nonlinear_quadratureLobatto_quadStep(f_, ml_, m_, fml_, fm_, is_,tmp83); ^ ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Math.TestNonlinearFunctions.cpp:1326:58: error: use of undeclared identifier 'f_' Modelica_Math_Nonlinear_quadratureLobatto_quadStep(f_, m_, mr_, fm_, fmr_, is_,tmp84); ^ ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Math.TestNonlinearFunctions.cpp:1327:58: error: use of undeclared identifier 'f_' Modelica_Math_Nonlinear_quadratureLobatto_quadStep(f_, mr_, mrr_, fmr_, fmrr_, is_,tmp85); ^ ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Math.TestNonlinearFunctions.cpp:1328:58: error: use of undeclared identifier 'f_' Modelica_Math_Nonlinear_quadratureLobatto_quadStep(f_, mrr_, b_, fmrr_, fb_, is_,tmp86); ^ 9 errors generated. : recipe for target 'OMCppModelicaTest_trunk_cpp_ModelicaTest.Math.TestNonlinearCalcHelperMain.o' failed make: *** [OMCppModelicaTest_trunk_cpp_ModelicaTest.Math.TestNonlinearCalcHelperMain.o] Error 1