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.419/2.419, allocations: 235 MB / 248.1 MB, free: 14.33 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.017e-05/3.041e-05, allocations: 4 kB / 309.7 MB, free: 1.32 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3283/0.3283, allocations: 54.85 MB / 364.5 MB, free: 5.363 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1247/0.4531, allocations: 81.6 MB / 446.1 MB, free: 14.75 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002273/0.4534, allocations: 67.95 kB / 446.2 MB, free: 14.68 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.052/1.505, allocations: 48.6 MB / 494.8 MB, free: 14.04 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.015e-06/1.505, allocations: 4 kB / 494.8 MB, free: 14.04 MB / 426.7 MB Notification: Performance of Transformations before backend: time 5.752e-06/1.505, allocations: 0 / 494.8 MB, free: 14.04 MB / 426.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.002166/1.507, allocations: 435.9 kB / 495.2 MB, free: 13.56 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.425e-05/1.507, allocations: 12.03 kB / 495.2 MB, free: 13.55 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.498e-05/1.507, allocations: 3.953 kB / 495.3 MB, free: 13.54 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001153/1.508, allocations: 159.1 kB / 495.4 MB, free: 13.35 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.235e-05/1.508, allocations: 0 / 495.4 MB, free: 13.35 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.92e-06/1.508, allocations: 0 / 495.4 MB, free: 13.35 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.991e-05/1.508, allocations: 41.69 kB / 495.4 MB, free: 13.3 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.973e-06/1.508, allocations: 0 / 495.4 MB, free: 13.3 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.864e-06/1.508, allocations: 0 / 495.4 MB, free: 13.3 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.31e-06/1.508, allocations: 3.953 kB / 495.5 MB, free: 13.3 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.294e-05/1.508, allocations: 9.438 kB / 495.5 MB, free: 13.29 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001625/1.508, allocations: 141.7 kB / 495.6 MB, free: 13.1 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.12e-05/1.508, allocations: 15.14 kB / 495.6 MB, free: 13.08 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.582e-05/1.508, allocations: 8.953 kB / 495.6 MB, free: 13.07 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.994e-06/1.508, allocations: 4 kB / 495.6 MB, free: 13.06 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.84e-05/1.508, allocations: 64.25 kB / 495.7 MB, free: 12.98 MB / 426.7 MB Notification: Performance of pre-optimization done (n=1): time 1.967e-06/1.508, allocations: 0 / 495.7 MB, free: 12.98 MB / 426.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001606/1.508, allocations: 67.33 kB / 495.8 MB, free: 12.91 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.316e-05/1.508, allocations: 77.11 kB / 495.8 MB, free: 12.81 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.017e-05/1.508, allocations: 85 kB / 495.9 MB, free: 12.72 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.972e-05/1.509, allocations: 25.7 kB / 495.9 MB, free: 12.69 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.038e-05/1.509, allocations: 150.6 kB / 496.1 MB, free: 12.54 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.772e-05/1.509, allocations: 8.031 kB / 496.1 MB, free: 12.54 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.689e-06/1.509, allocations: 0 / 496.1 MB, free: 12.54 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001636/1.509, allocations: 318.8 kB / 496.4 MB, free: 12.21 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.343e-05/1.509, allocations: 4 kB / 496.4 MB, free: 12.21 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.898e-06/1.509, allocations: 0.75 kB / 496.4 MB, free: 12.21 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.198e-05/1.509, allocations: 29.7 kB / 496.4 MB, free: 12.18 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.999e-06/1.509, allocations: 0 / 496.4 MB, free: 12.18 MB / 426.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001032/1.509, allocations: 63.34 kB / 496.5 MB, free: 12.1 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.165e-05/1.509, allocations: 33.8 kB / 496.5 MB, free: 12.06 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.177e-06/1.509, allocations: 3.984 kB / 496.5 MB, free: 12.06 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.135e-05/1.509, allocations: 0 / 496.5 MB, free: 12.06 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.274e-06/1.509, allocations: 0 / 496.5 MB, free: 12.06 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.93e-06/1.509, allocations: 8.781 kB / 496.5 MB, free: 12.05 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.785e-05/1.509, allocations: 0 / 496.5 MB, free: 12.05 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.988e-06/1.509, allocations: 0 / 496.5 MB, free: 12.05 MB / 426.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 () * 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 0.0001037/1.509, allocations: 130.6 kB / 496.7 MB, free: 11.91 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.075e-05/1.509, allocations: 4 kB / 496.7 MB, free: 11.91 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.484e-05/1.509, allocations: 11.08 kB / 496.7 MB, free: 11.89 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.673e-06/1.509, allocations: 0 / 496.7 MB, free: 11.89 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.642e-06/1.509, allocations: 0 / 496.7 MB, free: 11.89 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.723e-06/1.509, allocations: 0 / 496.7 MB, free: 11.89 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001301/1.51, allocations: 155 kB / 496.8 MB, free: 11.7 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.879e-06/1.51, allocations: 4 kB / 496.8 MB, free: 11.69 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.191e-06/1.51, allocations: 0 / 496.8 MB, free: 11.69 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.672e-06/1.51, allocations: 0 / 496.8 MB, free: 11.69 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.325e-06/1.51, allocations: 0 / 496.8 MB, free: 11.69 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.856e-06/1.51, allocations: 0 / 496.8 MB, free: 11.69 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.689e-06/1.51, allocations: 0 / 496.8 MB, free: 11.69 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001359/1.51, allocations: 106.7 kB / 496.9 MB, free: 11.56 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.595e-05/1.51, allocations: 77.11 kB / 497 MB, free: 11.47 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.572e-05/1.51, allocations: 4 kB / 497 MB, free: 11.46 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.283e-05/1.51, allocations: 4 kB / 497 MB, free: 11.46 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.531e-05/1.51, allocations: 0 / 497 MB, free: 11.46 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.663e-06/1.51, allocations: 0 / 497 MB, free: 11.46 MB / 426.7 MB Notification: Performance of sorting global known variables: time 3.976e-05/1.51, allocations: 75.28 kB / 497.1 MB, free: 11.39 MB / 426.7 MB Notification: Performance of sort global known variables: time 7.05e-07/1.51, allocations: 4.031 kB / 497.1 MB, free: 11.38 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.00563/1.516, allocations: 1.31 MB / 498.4 MB, free: 10.07 MB / 426.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) * 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.008311/1.524, allocations: 1.206 MB / 499.6 MB, free: 8.867 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001324/1.524, allocations: 63.34 kB / 499.7 MB, free: 8.793 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.303e-06/1.524, allocations: 0 / 499.7 MB, free: 8.793 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 4.873e-05/1.524, allocations: 55.41 kB / 499.7 MB, free: 8.727 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001039/1.524, allocations: 4.719 kB / 499.7 MB, free: 8.723 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001767/1.525, allocations: 86.56 kB / 499.8 MB, free: 8.609 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003394/1.525, allocations: 0.6731 MB / 0.4888 GB, free: 7.91 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.342e-05/1.525, allocations: 11.56 kB / 0.4888 GB, free: 7.898 MB / 426.7 MB Notification: Performance of SimCode: time 1.565e-06/1.525, allocations: 0 / 0.4888 GB, free: 7.898 MB / 426.7 MB Notification: Performance of Templates: time 0.6173/2.142, allocations: 66.92 MB / 0.5541 GB, free: 112.9 MB / 458.8 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:35: error: use of undeclared identifier \'D_24tmpVar2_\'; did you mean \'D_24tmpVar3_\'?\n D_24tmpVar3_ = std::abs(D_24tmpVar2_);\n ^~~~~~~~~~~~\n D_24tmpVar3_\n./OMCppModelicaTest_3.2.2_cpp_ModelicaTest.Math.Random.TestSpecialFunctions.cpp:8886:14: note: \'D_24tmpVar3_\' declared here\n double D_24tmpVar3_;\n ^\n./OMCppModelicaTest_3.2.2_cpp_ModelicaTest.Math.Random.TestSpecialFunctions.cpp:8964:40: error: use of undeclared identifier \'D_24tmpVar5_\'; did you mean \'D_24tmpVar6_\'?\n Modelica_Math_Special_erfInv(D_24tmpVar5_,tmp2059);\n ^~~~~~~~~~~~\n D_24tmpVar6_\n./OMCppModelicaTest_3.2.2_cpp_ModelicaTest.Math.Random.TestSpecialFunctions.cpp:8941:14: note: \'D_24tmpVar6_\' declared here\n double D_24tmpVar6_;\n ^\n./OMCppModelicaTest_3.2.2_cpp_ModelicaTest.Math.Random.TestSpecialFunctions.cpp:9004:58: error: use of undeclared identifier \'D_24tmpVar8_\'; did you mean \'D_24tmpVar9_\'?\n ModelicaTest_Math_Random_Internal_erfInvSimple(D_24tmpVar8_,tmp2065);\n ^~~~~~~~~~~~\n D_24tmpVar9_\n./OMCppModelicaTest_3.2.2_cpp_ModelicaTest.Math.Random.TestSpecialFunctions.cpp:8981:14: note: \'D_24tmpVar9_\' declared here\n double D_24tmpVar9_;\n ^\n./OMCppModelicaTest_3.2.2_cpp_ModelicaTest.Math.Random.TestSpecialFunctions.cpp:9046:36: error: use of undeclared identifier \'D_24tmpVar11_\'; did you mean \'D_24tmpVar12_\'?\n D_24tmpVar12_ = std::abs(D_24tmpVar11_);\n ^~~~~~~~~~~~~\n D_24tmpVar12_\n./OMCppModelicaTest_3.2.2_cpp_ModelicaTest.Math.Random.TestSpecialFunctions.cpp:9021:14: note: \'D_24tmpVar12_\' declared here\n double D_24tmpVar12_;\n ^\n./OMCppModelicaTest_3.2.2_cpp_ModelicaTest.Math.Random.TestSpecialFunctions.cpp:10103:40: error: use of undeclared identifier \'D_24tmpVar14_\'; did you mean \'D_24tmpVar15_\'?\n Modelica_Math_Special_erfInv(D_24tmpVar14_,tmp3080);\n ^~~~~~~~~~~~~\n D_24tmpVar15_\n./OMCppModelicaTest_3.2.2_cpp_ModelicaTest.Math.Random.TestSpecialFunctions.cpp:10080:14: note: \'D_24tmpVar15_\' declared here\n double D_24tmpVar15_;\n ^\n./OMCppModelicaTest_3.2.2_cpp_ModelicaTest.Math.Random.TestSpecialFunctions.cpp:12175:36: error: use of undeclared identifier \'D_24tmpVar17_\'; did you mean \'D_24tmpVar18_\'?\n D_24tmpVar18_ = std::abs(D_24tmpVar17_);\n ^~~~~~~~~~~~~\n D_24tmpVar18_\n./OMCppModelicaTest_3.2.2_cpp_ModelicaTest.Math.Random.TestSpecialFunctions.cpp:12150:14: note: \'D_24tmpVar18_\' declared here\n double D_24tmpVar18_;\n ^\n./OMCppModelicaTest_3.2.2_cpp_ModelicaTest.Math.Random.TestSpecialFunctions.cpp:13232:41: error: use of undeclared identifier \'D_24tmpVar20_\'; did you mean \'D_24tmpVar21_\'?\n Modelica_Math_Special_erfcInv(D_24tmpVar20_,tmp6102);\n ^~~~~~~~~~~~~\n D_24tmpVar21_\n./OMCppModelicaTest_3.2.2_cpp_ModelicaTest.Math.Random.TestSpecialFunctions.cpp:13209:14: note: \'D_24tmpVar21_\' declared here\n double D_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'