Running command: translateModel(Modelica.Math.Nonlinear.Examples.QuadratureLobatto3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_trunk_cpp_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3") Notification: Performance of loadModel(Modelica): time 2.193/2.193, allocations: 224.8 MB / 241.1 MB, free: 1.648 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.769e-05/2.77e-05, allocations: 4 kB / 294.6 MB, free: 11.39 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1065/0.1065, allocations: 50.41 MB / 345 MB, free: 8.918 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Math.Nonlinear.Examples.QuadratureLobatto3): time 0.0006632/0.1072, allocations: 240.6 kB / 345.2 MB, free: 8.684 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002443/0.1097, allocations: 1.392 MB / 346.6 MB, free: 7.277 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.656e-05/0.1098, allocations: 4 kB / 346.6 MB, free: 7.273 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 1.221e-05/0.1098, allocations: 0 / 346.6 MB, free: 7.273 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005026/0.1103, allocations: 91.67 kB / 346.7 MB, free: 7.184 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 1.857e-05/0.1103, allocations: 0 / 346.7 MB, free: 7.184 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 4.604e-05/0.1104, allocations: 11.97 kB / 346.7 MB, free: 7.172 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.757e-05/0.1104, allocations: 3.938 kB / 346.7 MB, free: 7.168 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.025e-05/0.1105, allocations: 8 kB / 346.7 MB, free: 7.16 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.955e-05/0.1106, allocations: 4 kB / 346.7 MB, free: 7.156 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004902/0.1111, allocations: 219.7 kB / 346.9 MB, free: 6.941 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 5.453e-05/0.1111, allocations: 12 kB / 346.9 MB, free: 6.93 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 1.159e-05/0.1112, allocations: 4 kB / 347 MB, free: 6.926 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 1.434e-05/0.1112, allocations: 0 / 347 MB, free: 6.926 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002809/0.1115, allocations: 123.8 kB / 347.1 MB, free: 6.805 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.1115, allocations: 0 / 347.1 MB, free: 6.805 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.384e-06/0.1115, allocations: 4 kB / 347.1 MB, free: 6.801 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.243e-05/0.1115, allocations: 0 / 347.1 MB, free: 6.801 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004394/0.112, allocations: 343.4 kB / 347.4 MB, free: 6.418 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.597e-05/0.112, allocations: 12.02 kB / 347.4 MB, free: 6.406 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.846e-05/0.1121, allocations: 11.86 kB / 347.4 MB, free: 6.395 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001647/0.1123, allocations: 167.3 kB / 347.6 MB, free: 6.191 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.576e-05/0.1123, allocations: 4 kB / 347.6 MB, free: 6.188 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.974e-05/0.1123, allocations: 0 / 347.6 MB, free: 6.188 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001101/0.1124, allocations: 41.61 kB / 347.6 MB, free: 6.141 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.237e-05/0.1125, allocations: 0 / 347.6 MB, free: 6.141 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.141e-05/0.1125, allocations: 4 kB / 347.6 MB, free: 6.137 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.528e-06/0.1125, allocations: 4 kB / 347.6 MB, free: 6.133 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.495e-05/0.1125, allocations: 7.953 kB / 347.7 MB, free: 6.125 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001924/0.1127, allocations: 157.7 kB / 347.8 MB, free: 5.922 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.727e-05/0.1128, allocations: 34.61 kB / 347.8 MB, free: 5.879 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.199e-05/0.1129, allocations: 3.938 kB / 347.8 MB, free: 5.875 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.352e-05/0.1129, allocations: 30.56 kB / 347.9 MB, free: 5.836 MB / 282.7 MB Notification: Performance of pre-optimization done (n=3): time 1.804e-06/0.1129, allocations: 4 kB / 347.9 MB, free: 5.832 MB / 282.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001565/0.1131, allocations: 45.78 kB / 347.9 MB, free: 5.781 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.414e-05/0.1131, allocations: 51.41 kB / 348 MB, free: 5.719 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.041e-05/0.1132, allocations: 104.9 kB / 348.1 MB, free: 5.609 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.812e-05/0.1133, allocations: 25.7 kB / 348.1 MB, free: 5.578 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.127e-05/0.1133, allocations: 150.6 kB / 348.3 MB, free: 5.43 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.219e-05/0.1134, allocations: 11.81 kB / 348.3 MB, free: 5.418 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.857e-06/0.1134, allocations: 0 / 348.3 MB, free: 5.418 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001199/0.1135, allocations: 318.8 kB / 348.6 MB, free: 5.098 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.831e-05/0.1136, allocations: 15.92 kB / 348.6 MB, free: 5.082 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.708e-05/0.1136, allocations: 17.72 kB / 348.6 MB, free: 5.059 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.476e-05/0.1137, allocations: 11.94 kB / 348.6 MB, free: 5.047 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.1137, allocations: 0 / 348.6 MB, free: 5.047 MB / 282.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001154/0.1138, allocations: 53.69 kB / 348.7 MB, free: 4.988 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.853e-05/0.1138, allocations: 11.94 kB / 348.7 MB, free: 4.977 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.512e-06/0.1138, allocations: 3.984 kB / 348.7 MB, free: 4.973 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.651e-05/0.1139, allocations: 0 / 348.7 MB, free: 4.973 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001151/0.114, allocations: 20.14 kB / 348.7 MB, free: 4.953 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.971e-06/0.114, allocations: 0 / 348.7 MB, free: 4.953 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.041e-05/0.114, allocations: 0 / 348.7 MB, free: 4.953 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.085e-06/0.1141, allocations: 4 kB / 348.7 MB, free: 4.949 MB / 282.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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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 8.031e-05/0.1142, allocations: 113.8 kB / 348.8 MB, free: 4.828 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.34e-05/0.1142, allocations: 3.906 kB / 348.8 MB, free: 4.824 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.351e-05/0.1142, allocations: 7.5 kB / 348.8 MB, free: 4.809 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.514e-06/0.1142, allocations: 0 / 348.8 MB, free: 4.809 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.528e-06/0.1142, allocations: 0 / 348.8 MB, free: 4.809 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.496e-06/0.1143, allocations: 4.422 kB / 348.8 MB, free: 4.805 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001374/0.1144, allocations: 157.6 kB / 349 MB, free: 4.602 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.1144, allocations: 0 / 349 MB, free: 4.602 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001095/0.1145, allocations: 11.98 kB / 349 MB, free: 4.59 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.485e-06/0.1145, allocations: 0 / 349 MB, free: 4.59 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.037e-06/0.1146, allocations: 0 / 349 MB, free: 4.59 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.843e-06/0.1146, allocations: 0 / 349 MB, free: 4.59 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/0.1146, allocations: 0 / 349 MB, free: 4.59 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001556/0.1147, allocations: 89 kB / 349.1 MB, free: 4.484 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.841e-05/0.1148, allocations: 85.08 kB / 349.2 MB, free: 4.383 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.725e-05/0.1148, allocations: 0 / 349.2 MB, free: 4.383 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.532e-05/0.1149, allocations: 0 / 349.2 MB, free: 4.383 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.015e-05/0.1149, allocations: 3.984 kB / 349.2 MB, free: 4.379 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.098e-06/0.1149, allocations: 4 kB / 349.2 MB, free: 4.375 MB / 282.7 MB Notification: Performance of sorting global known variables: time 5.212e-05/0.115, allocations: 83.28 kB / 349.3 MB, free: 4.293 MB / 282.7 MB Notification: Performance of sort global known variables: time 3.5e-07/0.115, allocations: 0 / 349.3 MB, free: 4.293 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003459/0.1153, allocations: 51.98 kB / 349.3 MB, free: 4.242 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (q,qd) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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.0003624/0.1157, allocations: 159.3 kB / 349.5 MB, free: 4.078 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001024/0.1158, allocations: 27.86 kB / 349.5 MB, free: 4.051 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.1158, allocations: 3.938 kB / 349.5 MB, free: 4.047 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.126e-05/0.1159, allocations: 4 kB / 349.5 MB, free: 4.043 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001253/0.116, allocations: 6.875 kB / 349.5 MB, free: 4.039 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003215/0.1163, allocations: 160.5 kB / 349.7 MB, free: 3.844 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002864/0.1167, allocations: 0.6849 MB / 350.4 MB, free: 3.133 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.611e-05/0.1167, allocations: 11.44 kB / 350.4 MB, free: 3.121 MB / 282.7 MB Notification: Performance of SimCode: time 1.283e-06/0.1167, allocations: 0 / 350.4 MB, free: 3.121 MB / 282.7 MB Notification: Performance of Templates: time 0.003845/0.1206, allocations: 1.21 MB / 351.6 MB, free: 1.91 MB / 282.7 MB make -j1 -f Modelica_trunk_cpp_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3.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 OMCppModelica_trunk_cpp_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3CalcHelperMain.o OMCppModelica_trunk_cpp_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3CalcHelperMain.cpp In file included from OMCppModelica_trunk_cpp_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3CalcHelperMain.cpp:29: ./OMCppModelica_trunk_cpp_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3Functions.cpp:175:56: error: use of undeclared identifier 'f_' Modelica_Math_Nonlinear_quadratureLobatto_quadStep(f_, a_, b_, fa_, fb_, is_,tmp8); ^ ./OMCppModelica_trunk_cpp_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3Functions.cpp:314:58: error: use of undeclared identifier 'f_' Modelica_Math_Nonlinear_quadratureLobatto_quadStep(f_, a_, mll_, fa_, fmll_, is_,tmp15); ^ ./OMCppModelica_trunk_cpp_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3Functions.cpp:315:58: error: use of undeclared identifier 'f_' Modelica_Math_Nonlinear_quadratureLobatto_quadStep(f_, mll_, ml_, fmll_, fml_, is_,tmp16); ^ ./OMCppModelica_trunk_cpp_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3Functions.cpp:316:58: error: use of undeclared identifier 'f_' Modelica_Math_Nonlinear_quadratureLobatto_quadStep(f_, ml_, m_, fml_, fm_, is_,tmp17); ^ ./OMCppModelica_trunk_cpp_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3Functions.cpp:317:58: error: use of undeclared identifier 'f_' Modelica_Math_Nonlinear_quadratureLobatto_quadStep(f_, m_, mr_, fm_, fmr_, is_,tmp18); ^ ./OMCppModelica_trunk_cpp_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3Functions.cpp:318:58: error: use of undeclared identifier 'f_' Modelica_Math_Nonlinear_quadratureLobatto_quadStep(f_, mr_, mrr_, fmr_, fmrr_, is_,tmp19); ^ ./OMCppModelica_trunk_cpp_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3Functions.cpp:319:58: error: use of undeclared identifier 'f_' Modelica_Math_Nonlinear_quadratureLobatto_quadStep(f_, mrr_, b_, fmrr_, fb_, is_,tmp20); ^ 7 errors generated. : recipe for target 'OMCppModelica_trunk_cpp_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3CalcHelperMain.o' failed make: *** [OMCppModelica_trunk_cpp_Modelica.Math.Nonlinear.Examples.QuadratureLobatto3CalcHelperMain.o] Error 1