Running command: translateModel(ModelicaTest.Math.TestNonlinear,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="//possible continuous states|//possible discrete states",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Math.TestNonlinear") Notification: Performance of loadModel(ModelicaTest): time 2.608/2.608, allocations: 234.9 MB / 250.1 MB, free: 10.02 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.913e-05/3.907e-05, allocations: 7.984 kB / 308 MB, free: 4 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4239/0.424, allocations: 54.85 MB / 362.8 MB, free: 12.09 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestNonlinear): time 0.0007677/0.4248, allocations: 216.7 kB / 363.1 MB, free: 11.91 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.005644/0.4305, allocations: 1.984 MB / 365 MB, free: 10.32 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.424e-06/0.4305, allocations: 0 / 365 MB, free: 10.32 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 1.5e-05/0.4306, allocations: 0 / 365 MB, free: 10.32 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 1.813e-06/0.4306, allocations: 3.938 kB / 365 MB, free: 10.32 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003903/0.4345, allocations: 443.1 kB / 365.5 MB, free: 10.02 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 4.599e-05/0.4346, allocations: 12.8 kB / 365.5 MB, free: 10.02 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.44e-05/0.4346, allocations: 0 / 365.5 MB, free: 10.02 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001232/0.4348, allocations: 3.812 kB / 365.5 MB, free: 10.02 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001466/0.4362, allocations: 394 kB / 365.9 MB, free: 9.824 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00187/0.4381, allocations: 0.5004 MB / 366.4 MB, free: 9.598 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002297/0.4384, allocations: 30.28 kB / 366.4 MB, free: 9.598 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 7.834e-06/0.4384, allocations: 5.344 kB / 366.4 MB, free: 9.594 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.75e-05/0.4385, allocations: 0 / 366.4 MB, free: 9.594 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001017/0.4395, allocations: 295.4 kB / 366.7 MB, free: 9.445 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.4395, allocations: 5.062 kB / 366.7 MB, free: 9.441 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.705e-06/0.4395, allocations: 0 / 366.7 MB, free: 9.441 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.18e-05/0.4396, allocations: 0 / 366.7 MB, free: 9.441 MB / 298.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.0006534/0.4402, allocations: 415.1 kB / 367.1 MB, free: 9.012 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.796e-05/0.4403, allocations: 9.094 kB / 367.1 MB, free: 9.012 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.712e-05/0.4404, allocations: 76.28 kB / 367.2 MB, free: 8.938 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001626/0.4406, allocations: 239.4 kB / 367.4 MB, free: 8.664 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.87e-05/0.4407, allocations: 158.6 kB / 367.6 MB, free: 8.508 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.336e-05/0.4408, allocations: 151.4 kB / 367.7 MB, free: 8.359 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.531e-05/0.4409, allocations: 106 kB / 367.8 MB, free: 8.25 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.682e-05/0.4409, allocations: 83.23 kB / 367.9 MB, free: 8.168 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.222e-05/0.441, allocations: 151.6 kB / 368.1 MB, free: 8.02 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.589e-05/0.4411, allocations: 154.6 kB / 368.2 MB, free: 7.867 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.571e-05/0.4412, allocations: 151.7 kB / 368.4 MB, free: 7.719 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004184/0.4417, allocations: 443.1 kB / 368.8 MB, free: 7.238 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001232/0.4418, allocations: 170.1 kB / 369 MB, free: 7.062 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.056e-05/0.4419, allocations: 76.59 kB / 369 MB, free: 6.988 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.968e-05/0.442, allocations: 139.5 kB / 369.2 MB, free: 6.836 MB / 298.7 MB Notification: Performance of pre-optimization done (n=0): time 2.385e-06/0.442, allocations: 1.031 kB / 369.2 MB, free: 6.836 MB / 298.7 MB Notification: Performance of matching and sorting (n=0): time 0.0001326/0.4421, allocations: 30.75 kB / 369.2 MB, free: 6.801 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001093/0.4423, allocations: 153.5 kB / 369.3 MB, free: 6.633 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.026e-05/0.4423, allocations: 92.94 kB / 369.4 MB, free: 6.535 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.485e-05/0.4424, allocations: 26.77 kB / 369.5 MB, free: 6.504 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.755e-05/0.4425, allocations: 151.7 kB / 369.6 MB, free: 6.355 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.545e-06/0.4425, allocations: 7.938 kB / 369.6 MB, free: 6.348 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.51e-07/0.4425, allocations: 0 / 369.6 MB, free: 6.348 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001563/0.4427, allocations: 312 kB / 369.9 MB, free: 6.035 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.549e-06/0.4427, allocations: 0 / 369.9 MB, free: 6.035 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.061e-05/0.4427, allocations: 1.125 kB / 369.9 MB, free: 6.035 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.825e-05/0.4428, allocations: 76.62 kB / 370 MB, free: 5.961 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.858e-05/0.4428, allocations: 75.28 kB / 370.1 MB, free: 5.887 MB / 298.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 0.0001011/0.4429, allocations: 32.16 kB / 370.1 MB, free: 5.852 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.228e-05/0.443, allocations: 85.03 kB / 370.2 MB, free: 5.773 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.387e-05/0.4431, allocations: 80.31 kB / 370.3 MB, free: 5.695 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001115/0.4432, allocations: 151.5 kB / 370.4 MB, free: 5.547 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.64e-05/0.4433, allocations: 81.12 kB / 370.5 MB, free: 5.469 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001058/0.4434, allocations: 158.5 kB / 370.7 MB, free: 5.312 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001514/0.4436, allocations: 80.64 kB / 370.7 MB, free: 5.234 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.205e-05/0.4436, allocations: 84.44 kB / 370.8 MB, free: 5.152 MB / 298.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.0002188/0.4439, allocations: 266.5 kB / 371.1 MB, free: 4.883 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001208/0.444, allocations: 103.3 kB / 371.2 MB, free: 4.777 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.159e-05/0.4441, allocations: 111.8 kB / 371.3 MB, free: 4.664 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001212/0.4443, allocations: 181.3 kB / 371.5 MB, free: 4.48 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001139/0.4444, allocations: 181.3 kB / 371.6 MB, free: 4.297 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001266/0.4445, allocations: 189.2 kB / 371.8 MB, free: 4.105 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003879/0.4449, allocations: 399.6 kB / 372.2 MB, free: 3.66 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.402e-05/0.445, allocations: 106 kB / 372.3 MB, free: 3.551 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.283e-05/0.4451, allocations: 105.3 kB / 372.4 MB, free: 3.441 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001066/0.4452, allocations: 181.3 kB / 372.6 MB, free: 3.258 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.973e-05/0.4453, allocations: 185.4 kB / 372.8 MB, free: 3.07 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001031/0.4454, allocations: 181.4 kB / 373 MB, free: 2.887 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.744e-05/0.4455, allocations: 181.4 kB / 373.1 MB, free: 2.703 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002231/0.4458, allocations: 311.9 kB / 373.4 MB, free: 2.379 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001118/0.4459, allocations: 187 kB / 373.6 MB, free: 2.172 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000142/0.4461, allocations: 177.6 kB / 373.8 MB, free: 1.992 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001542/0.4462, allocations: 107.1 kB / 373.9 MB, free: 1.883 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001175/0.4464, allocations: 181.3 kB / 374.1 MB, free: 1.699 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.655e-05/0.4465, allocations: 109.9 kB / 374.2 MB, free: 1.586 MB / 298.7 MB Notification: Performance of sorting global known variables: time 6.118e-05/0.4465, allocations: 75.28 kB / 374.3 MB, free: 1.512 MB / 298.7 MB Notification: Performance of sort global known variables: time 3.096e-06/0.4466, allocations: 4 kB / 374.3 MB, free: 1.508 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.001185/0.4478, allocations: 130.8 kB / 374.4 MB, free: 1.477 MB / 298.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.001552/0.4493, allocations: 414.1 kB / 374.8 MB, free: 1.227 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 6.961e-05/0.4494, allocations: 5.234 kB / 374.8 MB, free: 1.223 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.508e-06/0.4495, allocations: 4 kB / 374.8 MB, free: 1.219 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.078e-06/0.4495, allocations: 0 / 374.8 MB, free: 1.219 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004657/0.45, allocations: 0.5258 MB / 375.3 MB, free: 0.6914 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002202/0.4502, allocations: 165.7 kB / 375.5 MB, free: 0.5 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003939/0.4506, allocations: 0.6767 MB / 376.2 MB, free: 15.8 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.006e-05/0.4506, allocations: 17.5 kB / 376.2 MB, free: 15.79 MB / 314.7 MB Notification: Performance of SimCode: time 3.256e-06/0.4507, allocations: 0 / 376.2 MB, free: 15.79 MB / 314.7 MB Notification: Performance of Templates: time 0.01147/0.4621, allocations: 2.976 MB / 379.2 MB, free: 13.02 MB / 314.7 MB make -j1 -f ModelicaTest_3.2.2_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"." -I"." -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelicaTest_3.2.2_cpp_ModelicaTest.Math.TestNonlinearCalcHelperMain.o OMCppModelicaTest_3.2.2_cpp_ModelicaTest.Math.TestNonlinearCalcHelperMain.cpp In file included from OMCppModelicaTest_3.2.2_cpp_ModelicaTest.Math.TestNonlinearCalcHelperMain.cpp:29: ./OMCppModelicaTest_3.2.2_cpp_ModelicaTest.Math.TestNonlinearFunctions.cpp:219:56: error: use of undeclared identifier 'f_' Modelica_Math_Nonlinear_quadratureLobatto_quadStep(f_, a_, b_, fa_, fb_, is_,tmp9); ^ ./OMCppModelicaTest_3.2.2_cpp_ModelicaTest.Math.TestNonlinearFunctions.cpp:566:19: error: use of undeclared identifier 'D_24i1_' switch (D_24i1_) { /* ASUB */ ^ ./OMCppModelicaTest_3.2.2_cpp_ModelicaTest.Math.TestNonlinearFunctions.cpp:846:19: error: use of undeclared identifier 'D_24i1_' switch (D_24i1_) { /* ASUB */ ^ ./OMCppModelicaTest_3.2.2_cpp_ModelicaTest.Math.TestNonlinearFunctions.cpp:1305:58: error: use of undeclared identifier 'f_' Modelica_Math_Nonlinear_quadratureLobatto_quadStep(f_, a_, mll_, fa_, fmll_, is_,tmp81); ^ ./OMCppModelicaTest_3.2.2_cpp_ModelicaTest.Math.TestNonlinearFunctions.cpp:1306:58: error: use of undeclared identifier 'f_' Modelica_Math_Nonlinear_quadratureLobatto_quadStep(f_, mll_, ml_, fmll_, fml_, is_,tmp82); ^ ./OMCppModelicaTest_3.2.2_cpp_ModelicaTest.Math.TestNonlinearFunctions.cpp:1307:58: error: use of undeclared identifier 'f_' Modelica_Math_Nonlinear_quadratureLobatto_quadStep(f_, ml_, m_, fml_, fm_, is_,tmp83); ^ ./OMCppModelicaTest_3.2.2_cpp_ModelicaTest.Math.TestNonlinearFunctions.cpp:1308:58: error: use of undeclared identifier 'f_' Modelica_Math_Nonlinear_quadratureLobatto_quadStep(f_, m_, mr_, fm_, fmr_, is_,tmp84); ^ ./OMCppModelicaTest_3.2.2_cpp_ModelicaTest.Math.TestNonlinearFunctions.cpp:1309:58: error: use of undeclared identifier 'f_' Modelica_Math_Nonlinear_quadratureLobatto_quadStep(f_, mr_, mrr_, fmr_, fmrr_, is_,tmp85); ^ ./OMCppModelicaTest_3.2.2_cpp_ModelicaTest.Math.TestNonlinearFunctions.cpp:1310: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_3.2.2_cpp_ModelicaTest.Math.TestNonlinearCalcHelperMain.o' failed make: *** [OMCppModelicaTest_3.2.2_cpp_ModelicaTest.Math.TestNonlinearCalcHelperMain.o] Error 1