Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Math.Random.TestSpecial.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Running command: translateModel(ModelicaTest.Math.Random.TestSpecial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Math.Random.TestSpecial") Notification: Performance of loadModel(ModelicaTest): time 2.632/2.632, allocations: 234.9 MB / 251.1 MB, free: 9.473 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005974/0.0005976, allocations: 12 kB / 314.9 MB, free: 9.527 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3405/0.3411, allocations: 54.87 MB / 369.8 MB, free: 10.71 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1502/0.4914, allocations: 81.68 MB / 451.5 MB, free: 8.922 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002868/0.4917, allocations: 71.97 kB / 451.5 MB, free: 8.852 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.537/2.029, allocations: 48.63 MB / 0.4885 GB, free: 83.27 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.425e-06/2.029, allocations: 0 / 0.4885 GB, free: 83.27 MB / 394.7 MB Notification: Performance of Transformations before backend: time 5.731e-06/2.029, allocations: 0 / 0.4885 GB, free: 83.27 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.002916/2.032, allocations: 441.5 kB / 0.4889 GB, free: 82.83 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.092e-05/2.032, allocations: 11.97 kB / 0.4889 GB, free: 82.82 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.77e-05/2.032, allocations: 3.953 kB / 0.4889 GB, free: 82.81 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.311e-05/2.032, allocations: 163.1 kB / 0.489 GB, free: 82.61 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.612e-05/2.032, allocations: 3.438 kB / 0.4891 GB, free: 82.61 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.286e-05/2.032, allocations: 4 kB / 0.4891 GB, free: 82.61 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.446e-05/2.032, allocations: 29.64 kB / 0.4891 GB, free: 82.57 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.916e-06/2.032, allocations: 1.078 kB / 0.4891 GB, free: 82.57 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.746e-06/2.032, allocations: 0 / 0.4891 GB, free: 82.57 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.949e-06/2.032, allocations: 0 / 0.4891 GB, free: 82.57 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.015e-05/2.032, allocations: 11.95 kB / 0.4891 GB, free: 82.56 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001026/2.032, allocations: 149.7 kB / 0.4892 GB, free: 82.37 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.786e-05/2.032, allocations: 22.3 kB / 0.4893 GB, free: 82.34 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.506e-06/2.032, allocations: 0 / 0.4893 GB, free: 82.34 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.175e-05/2.032, allocations: 60.2 kB / 0.4893 GB, free: 82.27 MB / 394.7 MB Notification: Performance of pre-optimization done (n=1): time 1.333e-06/2.032, allocations: 0 / 0.4893 GB, free: 82.27 MB / 394.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001667/2.032, allocations: 70.2 kB / 0.4894 GB, free: 82.19 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.776e-05/2.033, allocations: 88.38 kB / 0.4895 GB, free: 82.09 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.497e-05/2.033, allocations: 89.86 kB / 0.4896 GB, free: 81.99 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 9.207e-06/2.033, allocations: 25.7 kB / 0.4896 GB, free: 81.96 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.514e-05/2.033, allocations: 154.6 kB / 0.4897 GB, free: 81.8 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.586e-05/2.033, allocations: 0 / 0.4897 GB, free: 81.8 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.495e-06/2.033, allocations: 0 / 0.4897 GB, free: 81.8 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 5.403e-05/2.033, allocations: 314.8 kB / 0.49 GB, free: 81.49 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.128e-05/2.033, allocations: 0 / 0.49 GB, free: 81.49 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.396e-06/2.033, allocations: 4 kB / 0.49 GB, free: 81.48 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.57e-05/2.033, allocations: 37.64 kB / 0.4901 GB, free: 81.44 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/2.033, allocations: 0 / 0.4901 GB, free: 81.44 MB / 394.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.601e-05/2.033, allocations: 63.39 kB / 0.4901 GB, free: 81.37 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.915e-05/2.033, allocations: 29.7 kB / 0.4902 GB, free: 81.33 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.371e-06/2.033, allocations: 0 / 0.4902 GB, free: 81.33 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.393e-05/2.033, allocations: 0 / 0.4902 GB, free: 81.33 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.323e-06/2.033, allocations: 0 / 0.4902 GB, free: 81.33 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.961e-06/2.033, allocations: 4 kB / 0.4902 GB, free: 81.33 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.733e-05/2.033, allocations: 4.094 kB / 0.4902 GB, free: 81.32 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.464e-06/2.033, allocations: 0 / 0.4902 GB, free: 81.32 MB / 394.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: 1 (result) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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 6.59e-05/2.033, allocations: 139.5 kB / 0.4903 GB, free: 81.17 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.108e-05/2.033, allocations: 3.984 kB / 0.4903 GB, free: 81.17 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.3e-05/2.033, allocations: 7.125 kB / 0.4903 GB, free: 81.16 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.096e-06/2.033, allocations: 0 / 0.4903 GB, free: 81.16 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.137e-06/2.033, allocations: 0 / 0.4903 GB, free: 81.16 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.696e-06/2.033, allocations: 0 / 0.4903 GB, free: 81.16 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.587e-05/2.033, allocations: 149.6 kB / 0.4904 GB, free: 80.97 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/2.033, allocations: 3.938 kB / 0.4905 GB, free: 80.96 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.212e-06/2.033, allocations: 4 kB / 0.4905 GB, free: 80.96 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.146e-06/2.033, allocations: 3.984 kB / 0.4905 GB, free: 80.96 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.015e-05/2.033, allocations: 0 / 0.4905 GB, free: 80.96 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/2.033, allocations: 7.766 kB / 0.4905 GB, free: 80.95 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/2.033, allocations: 0 / 0.4905 GB, free: 80.95 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001011/2.033, allocations: 90.8 kB / 0.4906 GB, free: 80.84 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.916e-05/2.033, allocations: 81.09 kB / 0.4906 GB, free: 80.74 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.597e-05/2.033, allocations: 7.656 kB / 0.4906 GB, free: 80.74 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.166e-05/2.034, allocations: 4 kB / 0.4906 GB, free: 80.73 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.836e-05/2.034, allocations: 0 / 0.4906 GB, free: 80.73 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.509e-06/2.034, allocations: 0 / 0.4906 GB, free: 80.73 MB / 394.7 MB Notification: Performance of sorting global known variables: time 1.663e-05/2.034, allocations: 75.28 kB / 0.4907 GB, free: 80.66 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.21e-07/2.034, allocations: 0 / 0.4907 GB, free: 80.66 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.006569/2.04, allocations: 1.312 MB / 0.492 GB, free: 79.36 MB / 394.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: 1 (result) * Number of discrete states: 1 (result) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.01091/2.051, allocations: 1.201 MB / 0.4932 GB, free: 78.2 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001308/2.051, allocations: 63.33 kB / 0.4932 GB, free: 78.12 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.544e-06/2.051, allocations: 0 / 0.4932 GB, free: 78.12 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 2.778e-05/2.051, allocations: 63.47 kB / 0.4933 GB, free: 78.05 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001033/2.051, allocations: 8.516 kB / 0.4933 GB, free: 78.04 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001733/2.052, allocations: 100.3 kB / 0.4934 GB, free: 77.91 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001128/2.052, allocations: 0.677 MB / 0.4941 GB, free: 77.21 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.403e-05/2.052, allocations: 7.438 kB / 0.4941 GB, free: 77.2 MB / 394.7 MB Notification: Performance of SimCode: time 7.51e-07/2.052, allocations: 0 / 0.4941 GB, free: 77.2 MB / 394.7 MB Notification: Performance of Templates: time 0.1411/2.193, allocations: 67.55 MB / 0.56 GB, free: 9.582 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.2_cpp_ModelicaTest.Math.Random.TestSpecial.makefile b'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=5 -DSUNDIALS_MINOR_VERSION=4 -DPMC_USE_SUNDIALS -I"." -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -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.Random.TestSpecialCalcHelperMain.o OMCppModelicaTest_3.2.2_cpp_ModelicaTest.Math.Random.TestSpecialCalcHelperMain.cpp\nIn file included from OMCppModelicaTest_3.2.2_cpp_ModelicaTest.Math.Random.TestSpecialCalcHelperMain.cpp:28:\n./OMCppModelicaTest_3.2.2_cpp_ModelicaTest.Math.Random.TestSpecialFunctions.cpp:8911:39: error: use of undeclared identifier \'_omcQ_24tmpVar2_\'; did you mean \'_omcQ_24tmpVar3_\'?\n _omcQ_24tmpVar3_ = std::abs(_omcQ_24tmpVar2_);\n ^~~~~~~~~~~~~~~~\n _omcQ_24tmpVar3_\n./OMCppModelicaTest_3.2.2_cpp_ModelicaTest.Math.Random.TestSpecialFunctions.cpp:8886:14: note: \'_omcQ_24tmpVar3_\' declared here\n double _omcQ_24tmpVar3_;\n ^\n./OMCppModelicaTest_3.2.2_cpp_ModelicaTest.Math.Random.TestSpecialFunctions.cpp:8964:40: error: use of undeclared identifier \'_omcQ_24tmpVar5_\'; did you mean \'_omcQ_24tmpVar6_\'?\n Modelica_Math_Special_erfInv(_omcQ_24tmpVar5_,tmp2059);\n ^~~~~~~~~~~~~~~~\n _omcQ_24tmpVar6_\n./OMCppModelicaTest_3.2.2_cpp_ModelicaTest.Math.Random.TestSpecialFunctions.cpp:8941:14: note: \'_omcQ_24tmpVar6_\' declared here\n double _omcQ_24tmpVar6_;\n ^\n./OMCppModelicaTest_3.2.2_cpp_ModelicaTest.Math.Random.TestSpecialFunctions.cpp:9004:58: error: use of undeclared identifier \'_omcQ_24tmpVar8_\'; did you mean \'_omcQ_24tmpVar9_\'?\n ModelicaTest_Math_Random_Internal_erfInvSimple(_omcQ_24tmpVar8_,tmp2065);\n ^~~~~~~~~~~~~~~~\n _omcQ_24tmpVar9_\n./OMCppModelicaTest_3.2.2_cpp_ModelicaTest.Math.Random.TestSpecialFunctions.cpp:8981:14: note: \'_omcQ_24tmpVar9_\' declared here\n double _omcQ_24tmpVar9_;\n ^\n./OMCppModelicaTest_3.2.2_cpp_ModelicaTest.Math.Random.TestSpecialFunctions.cpp:9046:40: error: use of undeclared identifier \'_omcQ_24tmpVar11_\'; did you mean \'_omcQ_24tmpVar12_\'?\n _omcQ_24tmpVar12_ = std::abs(_omcQ_24tmpVar11_);\n ^~~~~~~~~~~~~~~~~\n _omcQ_24tmpVar12_\n./OMCppModelicaTest_3.2.2_cpp_ModelicaTest.Math.Random.TestSpecialFunctions.cpp:9021:14: note: \'_omcQ_24tmpVar12_\' declared here\n double _omcQ_24tmpVar12_;\n ^\n./OMCppModelicaTest_3.2.2_cpp_ModelicaTest.Math.Random.TestSpecialFunctions.cpp:10103:40: error: use of undeclared identifier \'_omcQ_24tmpVar14_\'; did you mean \'_omcQ_24tmpVar15_\'?\n Modelica_Math_Special_erfInv(_omcQ_24tmpVar14_,tmp3080);\n ^~~~~~~~~~~~~~~~~\n _omcQ_24tmpVar15_\n./OMCppModelicaTest_3.2.2_cpp_ModelicaTest.Math.Random.TestSpecialFunctions.cpp:10080:14: note: \'_omcQ_24tmpVar15_\' declared here\n double _omcQ_24tmpVar15_;\n ^\n./OMCppModelicaTest_3.2.2_cpp_ModelicaTest.Math.Random.TestSpecialFunctions.cpp:12175:40: error: use of undeclared identifier \'_omcQ_24tmpVar17_\'; did you mean \'_omcQ_24tmpVar18_\'?\n _omcQ_24tmpVar18_ = std::abs(_omcQ_24tmpVar17_);\n ^~~~~~~~~~~~~~~~~\n _omcQ_24tmpVar18_\n./OMCppModelicaTest_3.2.2_cpp_ModelicaTest.Math.Random.TestSpecialFunctions.cpp:12150:14: note: \'_omcQ_24tmpVar18_\' declared here\n double _omcQ_24tmpVar18_;\n ^\n./OMCppModelicaTest_3.2.2_cpp_ModelicaTest.Math.Random.TestSpecialFunctions.cpp:13232:41: error: use of undeclared identifier \'_omcQ_24tmpVar20_\'; did you mean \'_omcQ_24tmpVar21_\'?\n Modelica_Math_Special_erfcInv(_omcQ_24tmpVar20_,tmp6102);\n ^~~~~~~~~~~~~~~~~\n _omcQ_24tmpVar21_\n./OMCppModelicaTest_3.2.2_cpp_ModelicaTest.Math.Random.TestSpecialFunctions.cpp:13209:14: note: \'_omcQ_24tmpVar21_\' declared here\n double _omcQ_24tmpVar21_;\n ^\n7 errors generated.\n: recipe for target \'OMCppModelicaTest_3.2.2_cpp_ModelicaTest.Math.Random.TestSpecialCalcHelperMain.o\' failed\nmake: *** [OMCppModelicaTest_3.2.2_cpp_ModelicaTest.Math.Random.TestSpecialCalcHelperMain.o] Error 1\n'