Running command: translateModel(ModelicaTest.Math.Random.TestDistributions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Math.Random.TestDistributions") Notification: Performance of loadModel(ModelicaTest): time 2.247/2.247, allocations: 235 MB / 247.6 MB, free: 14.37 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.283e-05/3.29e-05, allocations: 4.938 kB / 304.9 MB, free: 5.66 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3229/0.323, allocations: 54.85 MB / 359.8 MB, free: 2.664 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1255/0.4486, allocations: 82.06 MB / 441.8 MB, free: 14.94 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002154/0.4488, allocations: 65.16 kB / 441.9 MB, free: 14.88 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.52/1.969, allocations: 81.77 MB / 0.5114 GB, free: 13.02 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.518e-06/1.969, allocations: 0 / 0.5114 GB, free: 13.02 MB / 458.7 MB Notification: Performance of Transformations before backend: time 6.457e-06/1.969, allocations: 0 / 0.5114 GB, free: 13.02 MB / 458.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.003623/1.973, allocations: 451.8 kB / 0.5118 GB, free: 12.53 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.404e-05/1.973, allocations: 8.031 kB / 0.5118 GB, free: 12.52 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.932e-05/1.973, allocations: 0 / 0.5118 GB, free: 12.52 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001215/1.973, allocations: 159.1 kB / 0.512 GB, free: 12.32 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.697e-05/1.973, allocations: 4 kB / 0.512 GB, free: 12.32 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.404e-05/1.973, allocations: 4 kB / 0.512 GB, free: 12.32 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.109e-05/1.973, allocations: 25.7 kB / 0.512 GB, free: 12.29 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.058e-05/1.973, allocations: 3.953 kB / 0.512 GB, free: 12.28 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.358e-06/1.973, allocations: 4 kB / 0.512 GB, free: 12.28 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.261e-06/1.973, allocations: 0 / 0.512 GB, free: 12.28 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.017e-05/1.973, allocations: 4 kB / 0.512 GB, free: 12.27 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001621/1.973, allocations: 149.6 kB / 0.5122 GB, free: 12.08 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.015e-05/1.973, allocations: 23.23 kB / 0.5122 GB, free: 12.05 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.8e-05/1.973, allocations: 4.859 kB / 0.5122 GB, free: 12.04 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.271e-06/1.973, allocations: 0 / 0.5122 GB, free: 12.04 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.601e-05/1.973, allocations: 64.27 kB / 0.5122 GB, free: 11.96 MB / 458.7 MB Notification: Performance of pre-optimization done (n=1): time 2.037e-06/1.973, allocations: 0 / 0.5122 GB, free: 11.96 MB / 458.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001645/1.974, allocations: 67.41 kB / 0.5123 GB, free: 11.88 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.729e-05/1.974, allocations: 77.11 kB / 0.5124 GB, free: 11.79 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.453e-05/1.974, allocations: 85.94 kB / 0.5125 GB, free: 11.7 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 2.03e-05/1.974, allocations: 25.7 kB / 0.5125 GB, free: 11.67 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.625e-05/1.974, allocations: 154.5 kB / 0.5126 GB, free: 11.52 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.582e-05/1.974, allocations: 4 kB / 0.5126 GB, free: 11.51 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.596e-06/1.974, allocations: 0 / 0.5126 GB, free: 11.51 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001548/1.974, allocations: 318.9 kB / 0.5129 GB, free: 11.19 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.03e-05/1.974, allocations: 0 / 0.5129 GB, free: 11.19 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.424e-06/1.974, allocations: 0 / 0.5129 GB, free: 11.19 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.744e-05/1.974, allocations: 29.7 kB / 0.513 GB, free: 11.16 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.706e-06/1.974, allocations: 0 / 0.513 GB, free: 11.16 MB / 458.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001002/1.974, allocations: 64.33 kB / 0.513 GB, free: 11.08 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.066e-05/1.974, allocations: 29.7 kB / 0.5131 GB, free: 11.05 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.531e-06/1.974, allocations: 0 / 0.5131 GB, free: 11.05 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.559e-05/1.974, allocations: 4.094 kB / 0.5131 GB, free: 11.04 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.675e-06/1.974, allocations: 0 / 0.5131 GB, free: 11.04 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.004e-05/1.974, allocations: 7.953 kB / 0.5131 GB, free: 11.04 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.833e-05/1.974, allocations: 0.875 kB / 0.5131 GB, free: 11.04 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.991e-06/1.974, allocations: 0 / 0.5131 GB, free: 11.04 MB / 458.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.0001022/1.975, allocations: 130.7 kB / 0.5132 GB, free: 10.89 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.359e-05/1.975, allocations: 4 kB / 0.5132 GB, free: 10.89 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.746e-05/1.975, allocations: 7.641 kB / 0.5132 GB, free: 10.88 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.934e-06/1.975, allocations: 3.984 kB / 0.5132 GB, free: 10.88 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.32e-06/1.975, allocations: 4 kB / 0.5132 GB, free: 10.88 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.653e-06/1.975, allocations: 7.891 kB / 0.5132 GB, free: 10.87 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001242/1.975, allocations: 146.5 kB / 0.5134 GB, free: 10.68 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.709e-06/1.975, allocations: 7.984 kB / 0.5134 GB, free: 10.67 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.39e-06/1.975, allocations: 1.594 kB / 0.5134 GB, free: 10.67 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.372e-06/1.975, allocations: 0 / 0.5134 GB, free: 10.67 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.034e-05/1.975, allocations: 0 / 0.5134 GB, free: 10.67 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.798e-06/1.975, allocations: 5.438 kB / 0.5134 GB, free: 10.66 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.438e-06/1.975, allocations: 0 / 0.5134 GB, free: 10.66 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001308/1.975, allocations: 94.8 kB / 0.5135 GB, free: 10.55 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.329e-05/1.975, allocations: 81.09 kB / 0.5135 GB, free: 10.45 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.392e-05/1.975, allocations: 0 / 0.5135 GB, free: 10.45 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.777e-05/1.975, allocations: 4 kB / 0.5136 GB, free: 10.45 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.44e-05/1.975, allocations: 0 / 0.5136 GB, free: 10.45 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.642e-06/1.975, allocations: 0 / 0.5136 GB, free: 10.45 MB / 458.7 MB Notification: Performance of sorting global known variables: time 3.778e-05/1.975, allocations: 75.28 kB / 0.5136 GB, free: 10.37 MB / 458.7 MB Notification: Performance of sort global known variables: time 7.09e-07/1.975, allocations: 0 / 0.5136 GB, free: 10.37 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.009571/1.985, allocations: 2.156 MB / 0.5157 GB, free: 8.215 MB / 458.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.01495/2, allocations: 2.265 MB / 0.5179 GB, free: 5.953 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0001318/2, allocations: 64.33 kB / 0.518 GB, free: 5.879 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 3.235e-06/2, allocations: 0 / 0.518 GB, free: 5.879 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 4.519e-05/2, allocations: 59.47 kB / 0.5181 GB, free: 5.809 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00011/2, allocations: 11.95 kB / 0.5181 GB, free: 5.797 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001678/2, allocations: 66.77 kB / 0.5181 GB, free: 5.703 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003482/2.001, allocations: 0.677 MB / 0.5188 GB, free: 5 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.333e-05/2.001, allocations: 11.38 kB / 0.5188 GB, free: 4.988 MB / 458.7 MB Notification: Performance of SimCode: time 3.818e-06/2.001, allocations: 0.5625 kB / 0.5188 GB, free: 4.988 MB / 458.7 MB Notification: Performance of Templates: time 0.4414/2.442, allocations: 118.1 MB / 0.6342 GB, free: 51.57 MB / 458.7 MB make -j1 -f ModelicaTest_3.2.2_cpp_ModelicaTest.Math.Random.TestDistributions.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 -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.TestDistributionsCalcHelperMain.o OMCppModelicaTest_3.2.2_cpp_ModelicaTest.Math.Random.TestDistributionsCalcHelperMain.cpp In file included from OMCppModelicaTest_3.2.2_cpp_ModelicaTest.Math.Random.TestDistributionsCalcHelperMain.cpp:28: ./OMCppModelicaTest_3.2.2_cpp_ModelicaTest.Math.Random.TestDistributionsFunctions.cpp:11987:49: error: use of undeclared identifier '_omcQuot_24746D7056617232_'; did you mean '_omcQuot_24746D7056617233_'? _omcQuot_24746D7056617233_ = std::abs(_omcQuot_24746D7056617232_); ^~~~~~~~~~~~~~~~~~~~~~~~~~ _omcQuot_24746D7056617233_ ./OMCppModelicaTest_3.2.2_cpp_ModelicaTest.Math.Random.TestDistributionsFunctions.cpp:11962:14: note: '_omcQuot_24746D7056617233_' declared here double _omcQuot_24746D7056617233_; ^ ./OMCppModelicaTest_3.2.2_cpp_ModelicaTest.Math.Random.TestDistributionsFunctions.cpp:13044:58: error: use of undeclared identifier '_omcQuot_24746D7056617235_'; did you mean '_omcQuot_24746D7056617236_'? Modelica_Math_Distributions_Uniform_cumulative(_omcQuot_24746D7056617235_, -1.0, 2.0,tmp3068); ^~~~~~~~~~~~~~~~~~~~~~~~~~ _omcQuot_24746D7056617236_ ./OMCppModelicaTest_3.2.2_cpp_ModelicaTest.Math.Random.TestDistributionsFunctions.cpp:13021:14: note: '_omcQuot_24746D7056617236_' declared here double _omcQuot_24746D7056617236_; ^ ./OMCppModelicaTest_3.2.2_cpp_ModelicaTest.Math.Random.TestDistributionsFunctions.cpp:15118:49: error: use of undeclared identifier '_omcQuot_24746D7056617238_'; did you mean '_omcQuot_24746D7056617239_'? _omcQuot_24746D7056617239_ = std::abs(_omcQuot_24746D7056617238_); ^~~~~~~~~~~~~~~~~~~~~~~~~~ _omcQuot_24746D7056617239_ ./OMCppModelicaTest_3.2.2_cpp_ModelicaTest.Math.Random.TestDistributionsFunctions.cpp:15093:14: note: '_omcQuot_24746D7056617239_' declared here double _omcQuot_24746D7056617239_; ^ ./OMCppModelicaTest_3.2.2_cpp_ModelicaTest.Math.Random.TestDistributionsFunctions.cpp:16175:57: error: use of undeclared identifier '_omcQuot_24746D705661723131_'; did you mean '_omcQuot_24746D705661723132_'? Modelica_Math_Distributions_Normal_cumulative(_omcQuot_24746D705661723131_, 1.0, 0.5,tmp6090); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ _omcQuot_24746D705661723132_ ./OMCppModelicaTest_3.2.2_cpp_ModelicaTest.Math.Random.TestDistributionsFunctions.cpp:16152:14: note: '_omcQuot_24746D705661723132_' declared here double _omcQuot_24746D705661723132_; ^ ./OMCppModelicaTest_3.2.2_cpp_ModelicaTest.Math.Random.TestDistributionsFunctions.cpp:18249:51: error: use of undeclared identifier '_omcQuot_24746D705661723134_'; did you mean '_omcQuot_24746D705661723135_'? _omcQuot_24746D705661723135_ = std::abs(_omcQuot_24746D705661723134_); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ _omcQuot_24746D705661723135_ ./OMCppModelicaTest_3.2.2_cpp_ModelicaTest.Math.Random.TestDistributionsFunctions.cpp:18224:14: note: '_omcQuot_24746D705661723135_' declared here double _omcQuot_24746D705661723135_; ^ ./OMCppModelicaTest_3.2.2_cpp_ModelicaTest.Math.Random.TestDistributionsFunctions.cpp:19306:58: error: use of undeclared identifier '_omcQuot_24746D705661723137_'; did you mean '_omcQuot_24746D705661723138_'? Modelica_Math_Distributions_Weibull_cumulative(_omcQuot_24746D705661723137_, 0.5, 2.0,tmp9112); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ _omcQuot_24746D705661723138_ ./OMCppModelicaTest_3.2.2_cpp_ModelicaTest.Math.Random.TestDistributionsFunctions.cpp:19283:14: note: '_omcQuot_24746D705661723138_' declared here double _omcQuot_24746D705661723138_; ^ 6 errors generated. : recipe for target 'OMCppModelicaTest_3.2.2_cpp_ModelicaTest.Math.Random.TestDistributionsCalcHelperMain.o' failed make: *** [OMCppModelicaTest_3.2.2_cpp_ModelicaTest.Math.Random.TestDistributionsCalcHelperMain.o] Error 1