Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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.457/2.457, allocations: 234.9 MB / 250.5 MB, free: 9.531 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007247/0.0007249, allocations: 19.98 kB / 314.4 MB, free: 9.547 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3637/0.3645, allocations: 54.86 MB / 369.3 MB, free: 10.71 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1225/0.4871, allocations: 81.69 MB / 451 MB, free: 8.898 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001907/0.4873, allocations: 67.97 kB / 451 MB, free: 8.832 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.274/1.761, allocations: 48.63 MB / 499.7 MB, free: 83.2 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.963e-06/1.761, allocations: 0 / 499.7 MB, free: 83.2 MB / 394.7 MB Notification: Performance of Transformations before backend: time 6.522e-06/1.761, allocations: 0 / 499.7 MB, free: 83.2 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.002094/1.763, allocations: 432.9 kB / 0.4884 GB, free: 82.77 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.9e-05/1.763, allocations: 12.03 kB / 0.4884 GB, free: 82.76 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.453e-05/1.763, allocations: 7.953 kB / 0.4884 GB, free: 82.75 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.156e-05/1.763, allocations: 159.1 kB / 0.4885 GB, free: 82.55 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.784e-06/1.763, allocations: 0 / 0.4885 GB, free: 82.55 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.212e-05/1.763, allocations: 3.984 kB / 0.4885 GB, free: 82.55 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.402e-05/1.763, allocations: 37.69 kB / 0.4886 GB, free: 82.51 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.69e-06/1.764, allocations: 0 / 0.4886 GB, free: 82.51 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.016e-05/1.764, allocations: 0 / 0.4886 GB, free: 82.51 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.26e-06/1.764, allocations: 7.875 kB / 0.4886 GB, free: 82.5 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.864e-05/1.764, allocations: 3.953 kB / 0.4886 GB, free: 82.5 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.563e-05/1.764, allocations: 153.5 kB / 0.4887 GB, free: 82.3 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.381e-05/1.764, allocations: 22.25 kB / 0.4887 GB, free: 82.27 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.391e-06/1.764, allocations: 0 / 0.4887 GB, free: 82.27 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.387e-05/1.764, allocations: 61.23 kB / 0.4888 GB, free: 82.2 MB / 394.7 MB Notification: Performance of pre-optimization done (n=1): time 1.611e-06/1.764, allocations: 0 / 0.4888 GB, free: 82.2 MB / 394.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001524/1.764, allocations: 67.34 kB / 0.4889 GB, free: 82.12 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.613e-05/1.764, allocations: 77.23 kB / 0.4889 GB, free: 82.03 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.071e-05/1.764, allocations: 92.98 kB / 0.489 GB, free: 81.93 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 7.377e-06/1.764, allocations: 25.7 kB / 0.4891 GB, free: 81.9 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.177e-05/1.764, allocations: 150.6 kB / 0.4892 GB, free: 81.75 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.445e-05/1.764, allocations: 0 / 0.4892 GB, free: 81.75 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.402e-06/1.764, allocations: 0 / 0.4892 GB, free: 81.75 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 4.82e-05/1.764, allocations: 314.8 kB / 0.4895 GB, free: 81.43 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.052e-05/1.764, allocations: 8 kB / 0.4895 GB, free: 81.43 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.012e-06/1.764, allocations: 0 / 0.4895 GB, free: 81.43 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.563e-05/1.764, allocations: 29.77 kB / 0.4895 GB, free: 81.39 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.495e-06/1.764, allocations: 4 kB / 0.4895 GB, free: 81.39 MB / 394.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.958e-05/1.764, allocations: 59.34 kB / 0.4896 GB, free: 81.32 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.764e-05/1.764, allocations: 37.69 kB / 0.4896 GB, free: 81.27 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.642e-06/1.764, allocations: 0 / 0.4896 GB, free: 81.27 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.448e-05/1.764, allocations: 0 / 0.4896 GB, free: 81.27 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.524e-06/1.764, allocations: 0 / 0.4896 GB, free: 81.27 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.407e-06/1.764, allocations: 0 / 0.4896 GB, free: 81.27 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.65e-05/1.764, allocations: 0 / 0.4896 GB, free: 81.27 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.4e-06/1.764, allocations: 1.062 kB / 0.4896 GB, free: 81.27 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 5.962e-05/1.765, allocations: 147.5 kB / 0.4898 GB, free: 81.11 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.091e-05/1.765, allocations: 1.031 kB / 0.4898 GB, free: 81.11 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.146e-05/1.765, allocations: 3.125 kB / 0.4898 GB, free: 81.11 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.552e-06/1.765, allocations: 3.984 kB / 0.4898 GB, free: 81.11 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.549e-06/1.765, allocations: 4 kB / 0.4898 GB, free: 81.11 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/1.765, allocations: 0 / 0.4898 GB, free: 81.11 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.675e-05/1.765, allocations: 145.6 kB / 0.4899 GB, free: 80.91 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.615e-06/1.765, allocations: 0 / 0.4899 GB, free: 80.91 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.244e-06/1.765, allocations: 0 / 0.4899 GB, free: 80.91 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.259e-06/1.765, allocations: 7.938 kB / 0.4899 GB, free: 80.91 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.025e-06/1.765, allocations: 7.172 kB / 0.4899 GB, free: 80.91 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-06/1.765, allocations: 0 / 0.4899 GB, free: 80.91 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.355e-06/1.765, allocations: 3.984 kB / 0.4899 GB, free: 80.9 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.913e-05/1.765, allocations: 98.62 kB / 0.49 GB, free: 80.79 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.576e-05/1.765, allocations: 77.11 kB / 0.4901 GB, free: 80.69 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.556e-05/1.765, allocations: 7.922 kB / 0.4901 GB, free: 80.68 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.334e-05/1.765, allocations: 4.031 kB / 0.4901 GB, free: 80.68 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.176e-05/1.765, allocations: 0 / 0.4901 GB, free: 80.68 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.407e-06/1.765, allocations: 4 kB / 0.4901 GB, free: 80.68 MB / 394.7 MB Notification: Performance of sorting global known variables: time 1.336e-05/1.765, allocations: 75.28 kB / 0.4902 GB, free: 80.6 MB / 394.7 MB Notification: Performance of sort global known variables: time 6.37e-07/1.765, allocations: 0 / 0.4902 GB, free: 80.6 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.004739/1.77, allocations: 1.307 MB / 0.4915 GB, free: 79.31 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.007615/1.777, allocations: 1.213 MB / 0.4927 GB, free: 78.14 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001076/1.778, allocations: 55.41 kB / 0.4927 GB, free: 78.07 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.962e-06/1.778, allocations: 0 / 0.4927 GB, free: 78.07 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 2.943e-05/1.778, allocations: 67.33 kB / 0.4928 GB, free: 77.99 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000102/1.778, allocations: 9.328 kB / 0.4928 GB, free: 77.98 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001601/1.778, allocations: 104.5 kB / 0.4929 GB, free: 77.85 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001005/1.778, allocations: 0.6731 MB / 0.4935 GB, free: 77.15 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.072e-05/1.778, allocations: 11.44 kB / 0.4936 GB, free: 77.14 MB / 394.7 MB Notification: Performance of SimCode: time 1.366e-06/1.778, allocations: 0 / 0.4936 GB, free: 77.14 MB / 394.7 MB Notification: Performance of Templates: time 0.1017/1.88, allocations: 67.54 MB / 0.5595 GB, free: 9.523 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=2 -DSUNDIALS_MINOR_VERSION=6 -DPMC_USE_SUNDIALS -I"." -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. -I"." -I"." -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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'