Running command: translateModel(Modelica.Math.Nonlinear.Examples.quadratureLobatto3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|q|qd",fileNamePrefix="Modelica_3.2.2_cpp_Modelica.Math.Nonlinear.Examples.quadratureLobatto3") Notification: Performance of loadModel(Modelica): time 2.075/2.075, allocations: 194.9 MB / 211.2 MB, free: 8.766 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.743e-05/2.738e-05, allocations: 4 kB / 258.8 MB, free: 9.133 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3204/0.3205, allocations: 44.5 MB / 303.3 MB, free: 12.71 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Math.Nonlinear.Examples.quadratureLobatto3): time 0.0007671/0.3213, allocations: 256.1 kB / 303.5 MB, free: 12.51 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002508/0.3238, allocations: 1.402 MB / 304.9 MB, free: 11.35 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.57e-05/0.3239, allocations: 0 / 304.9 MB, free: 11.35 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 1.092e-05/0.3239, allocations: 0 / 304.9 MB, free: 11.35 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005463/0.3245, allocations: 99.77 kB / 305 MB, free: 11.27 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 2.069e-05/0.3245, allocations: 5.25 kB / 305 MB, free: 11.27 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 4.676e-05/0.3246, allocations: 10.16 kB / 305 MB, free: 11.26 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.674e-05/0.3246, allocations: 0 / 305 MB, free: 11.26 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.16e-05/0.3247, allocations: 3.188 kB / 305.1 MB, free: 11.26 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.065e-05/0.3247, allocations: 7.172 kB / 305.1 MB, free: 11.26 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005323/0.3253, allocations: 217.5 kB / 305.3 MB, free: 11.14 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 6.039e-05/0.3254, allocations: 22.33 kB / 305.3 MB, free: 11.14 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 9.989e-06/0.3254, allocations: 0.7812 kB / 305.3 MB, free: 11.14 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 1.365e-05/0.3254, allocations: 2.031 kB / 305.3 MB, free: 11.14 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002924/0.3257, allocations: 110.1 kB / 305.4 MB, free: 11.09 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.3257, allocations: 0 / 305.4 MB, free: 11.09 MB / 250.7 MB Notification: Performance of FrontEnd: time 3.046e-06/0.3257, allocations: 0 / 305.4 MB, free: 11.09 MB / 250.7 MB Notification: Performance of Transformations before backend: time 9.408e-06/0.3258, allocations: 0 / 305.4 MB, free: 11.09 MB / 250.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.0004748/0.3262, allocations: 355.2 kB / 305.8 MB, free: 10.71 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.741e-05/0.3263, allocations: 9.875 kB / 305.8 MB, free: 10.71 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.82e-05/0.3264, allocations: 4.969 kB / 305.8 MB, free: 10.7 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001831/0.3265, allocations: 169.2 kB / 305.9 MB, free: 10.5 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.105e-05/0.3266, allocations: 5.219 kB / 305.9 MB, free: 10.5 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.568e-05/0.3266, allocations: 1.406 kB / 305.9 MB, free: 10.5 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.783e-05/0.3267, allocations: 37.03 kB / 306 MB, free: 10.46 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.731e-05/0.3267, allocations: 8.891 kB / 306 MB, free: 10.45 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.021e-05/0.3268, allocations: 0 / 306 MB, free: 10.45 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.201e-06/0.3268, allocations: 1.125 kB / 306 MB, free: 10.45 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.753e-05/0.3268, allocations: 8.297 kB / 306 MB, free: 10.45 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002121/0.3271, allocations: 162.8 kB / 306.2 MB, free: 10.24 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.696e-05/0.3272, allocations: 33.73 kB / 306.2 MB, free: 10.21 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.252e-05/0.3272, allocations: 1.031 kB / 306.2 MB, free: 10.21 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.576e-05/0.3272, allocations: 42.58 kB / 306.2 MB, free: 10.16 MB / 250.7 MB Notification: Performance of pre-optimization done (n=3): time 1.723e-06/0.3273, allocations: 1.031 kB / 306.2 MB, free: 10.16 MB / 250.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001753/0.3274, allocations: 46.06 kB / 306.3 MB, free: 10.12 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.841e-05/0.3275, allocations: 51.41 kB / 306.3 MB, free: 10.06 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.824e-05/0.3276, allocations: 94.31 kB / 306.4 MB, free: 9.965 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.791e-05/0.3276, allocations: 26.83 kB / 306.4 MB, free: 9.934 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.29e-05/0.3277, allocations: 162.5 kB / 306.6 MB, free: 9.773 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.762e-05/0.3278, allocations: 13.88 kB / 306.6 MB, free: 9.762 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.557e-06/0.3278, allocations: 0 / 306.6 MB, free: 9.762 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001414/0.3279, allocations: 319.9 kB / 306.9 MB, free: 9.441 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.506e-05/0.328, allocations: 3.469 kB / 306.9 MB, free: 9.441 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.54e-05/0.328, allocations: 23 kB / 307 MB, free: 9.418 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.482e-05/0.3281, allocations: 5.875 kB / 307 MB, free: 9.418 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.48e-06/0.3281, allocations: 3.953 kB / 307 MB, free: 9.414 MB / 250.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001354/0.3282, allocations: 57.44 kB / 307 MB, free: 9.367 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.892e-05/0.3283, allocations: 5.125 kB / 307 MB, free: 9.367 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.592e-06/0.3283, allocations: 1.312 kB / 307 MB, free: 9.367 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.838e-05/0.3283, allocations: 5.297 kB / 307 MB, free: 9.363 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001187/0.3284, allocations: 6.688 kB / 307 MB, free: 9.363 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.085e-06/0.3284, allocations: 1.156 kB / 307 MB, free: 9.363 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.456e-05/0.3285, allocations: 5.156 kB / 307 MB, free: 9.359 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.185e-06/0.3285, allocations: 1.469 kB / 307 MB, free: 9.359 MB / 250.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 9.699e-05/0.3286, allocations: 113.7 kB / 307.2 MB, free: 9.242 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.671e-05/0.3286, allocations: 4.984 kB / 307.2 MB, free: 9.238 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.764e-05/0.3287, allocations: 4.562 kB / 307.2 MB, free: 9.23 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.118e-06/0.3287, allocations: 4.844 kB / 307.2 MB, free: 9.227 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.566e-06/0.3287, allocations: 3.984 kB / 307.2 MB, free: 9.223 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.3287, allocations: 1.125 kB / 307.2 MB, free: 9.223 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001864/0.3289, allocations: 154 kB / 307.3 MB, free: 9.027 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.405e-06/0.3289, allocations: 5.219 kB / 307.3 MB, free: 9.023 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001178/0.3291, allocations: 9.484 kB / 307.3 MB, free: 9.02 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.378e-06/0.3291, allocations: 4.359 kB / 307.3 MB, free: 9.016 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.116e-05/0.3291, allocations: 1.031 kB / 307.3 MB, free: 9.016 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.737e-06/0.3291, allocations: 1.312 kB / 307.3 MB, free: 9.016 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.446e-06/0.3291, allocations: 4 kB / 307.3 MB, free: 9.012 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002084/0.3294, allocations: 80.92 kB / 307.4 MB, free: 8.93 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.305e-05/0.3294, allocations: 83.06 kB / 307.5 MB, free: 8.832 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.095e-05/0.3295, allocations: 9.234 kB / 307.5 MB, free: 8.824 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.862e-05/0.3295, allocations: 0 / 307.5 MB, free: 8.824 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.979e-05/0.3295, allocations: 5.031 kB / 307.5 MB, free: 8.82 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.841e-06/0.3296, allocations: 1 kB / 307.5 MB, free: 8.82 MB / 250.7 MB Notification: Performance of sorting global known variables: time 5.61e-05/0.3296, allocations: 79.16 kB / 307.6 MB, free: 8.746 MB / 250.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.3296, allocations: 3.938 kB / 307.6 MB, free: 8.742 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0004145/0.3301, allocations: 56.95 kB / 307.7 MB, free: 8.727 MB / 250.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.0003717/0.3305, allocations: 154.1 kB / 307.8 MB, free: 8.621 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001232/0.3306, allocations: 23.25 kB / 307.8 MB, free: 8.609 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.3306, allocations: 1 kB / 307.8 MB, free: 8.609 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 2.256e-05/0.3306, allocations: 5.844 kB / 307.8 MB, free: 8.609 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001249/0.3308, allocations: 3.984 kB / 307.8 MB, free: 8.605 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003361/0.3311, allocations: 161.2 kB / 308 MB, free: 8.434 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002766/0.3314, allocations: 0.6876 MB / 308.7 MB, free: 7.727 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.722e-05/0.3315, allocations: 13.66 kB / 308.7 MB, free: 7.719 MB / 250.7 MB Notification: Performance of SimCode: time 1.002e-06/0.3315, allocations: 0 / 308.7 MB, free: 7.719 MB / 250.7 MB Notification: Performance of Templates: time 0.00414/0.3356, allocations: 1.208 MB / 309.9 MB, free: 6.754 MB / 250.7 MB make -j1 -f Modelica_3.2.2_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_3.2.2_cpp_Modelica.Math.Nonlinear.Examples.quadratureLobatto3CalcHelperMain.o OMCppModelica_3.2.2_cpp_Modelica.Math.Nonlinear.Examples.quadratureLobatto3CalcHelperMain.cpp In file included from OMCppModelica_3.2.2_cpp_Modelica.Math.Nonlinear.Examples.quadratureLobatto3CalcHelperMain.cpp:29: ./OMCppModelica_3.2.2_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_3.2.2_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_3.2.2_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_3.2.2_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_3.2.2_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_3.2.2_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_3.2.2_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_3.2.2_cpp_Modelica.Math.Nonlinear.Examples.quadratureLobatto3CalcHelperMain.o' failed make: *** [OMCppModelica_3.2.2_cpp_Modelica.Math.Nonlinear.Examples.quadratureLobatto3CalcHelperMain.o] Error 1