Running command: translateModel(ModelicaTest.Math.Random.TestDistributions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Math.Random.TestDistributions") Notification: Performance of loadModel(ModelicaTest): time 2.336/2.336, allocations: 270 MB / 282.7 MB, free: 1.883 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.161e-05/3.167e-05, allocations: 4 kB / 347 MB, free: 3.277 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3199/0.32, allocations: 61.88 MB / 408.8 MB, free: 10.79 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1346/0.4546, allocations: 88 MB / 496.8 MB, free: 2.676 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002141/0.4549, allocations: 63.97 kB / 496.9 MB, free: 2.613 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.972/2.427, allocations: 97.15 MB / 0.5801 GB, free: 56.88 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.278e-06/2.427, allocations: 4 kB / 0.5801 GB, free: 56.88 MB / 442.7 MB Notification: Performance of Transformations before backend: time 7.488e-06/2.427, allocations: 0 / 0.5801 GB, free: 56.88 MB / 442.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.003552/2.43, allocations: 432.4 kB / 0.5806 GB, free: 56.44 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.045e-05/2.43, allocations: 8.031 kB / 0.5806 GB, free: 56.43 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.219e-05/2.43, allocations: 4 kB / 0.5806 GB, free: 56.43 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.379e-05/2.43, allocations: 167 kB / 0.5807 GB, free: 56.23 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.359e-05/2.43, allocations: 0.9375 kB / 0.5807 GB, free: 56.23 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.467e-06/2.43, allocations: 0 / 0.5807 GB, free: 56.23 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.823e-05/2.431, allocations: 37.64 kB / 0.5808 GB, free: 56.18 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.371e-06/2.431, allocations: 0 / 0.5808 GB, free: 56.18 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.363e-06/2.431, allocations: 0 / 0.5808 GB, free: 56.18 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.829e-06/2.431, allocations: 3.938 kB / 0.5808 GB, free: 56.18 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.635e-05/2.431, allocations: 0 / 0.5808 GB, free: 56.18 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.637e-05/2.431, allocations: 154.7 kB / 0.5809 GB, free: 55.98 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.404e-05/2.431, allocations: 18.58 kB / 0.5809 GB, free: 55.95 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.411e-05/2.431, allocations: 4.859 kB / 0.5809 GB, free: 55.95 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.788e-06/2.431, allocations: 4 kB / 0.5809 GB, free: 55.94 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.931e-05/2.431, allocations: 60.36 kB / 0.581 GB, free: 55.87 MB / 442.7 MB Notification: Performance of pre-optimization done (n=1): time 3.213e-06/2.431, allocations: 0 / 0.581 GB, free: 55.87 MB / 442.7 MB Notification: Performance of matching and sorting (n=1): time 0.000133/2.431, allocations: 59.34 kB / 0.5811 GB, free: 55.8 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.009e-05/2.431, allocations: 81.11 kB / 0.5811 GB, free: 55.7 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.052e-05/2.431, allocations: 89.53 kB / 0.5812 GB, free: 55.61 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 7.73e-06/2.431, allocations: 25.7 kB / 0.5812 GB, free: 55.57 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.292e-05/2.431, allocations: 154.6 kB / 0.5814 GB, free: 55.42 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.516e-05/2.431, allocations: 7.938 kB / 0.5814 GB, free: 55.41 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.301e-06/2.431, allocations: 0 / 0.5814 GB, free: 55.41 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 4.89e-05/2.431, allocations: 311.7 kB / 0.5817 GB, free: 55.1 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.126e-05/2.431, allocations: 4 kB / 0.5817 GB, free: 55.1 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.288e-06/2.431, allocations: 0 / 0.5817 GB, free: 55.1 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.546e-05/2.431, allocations: 25.7 kB / 0.5817 GB, free: 55.07 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.107e-06/2.431, allocations: 0 / 0.5817 GB, free: 55.07 MB / 442.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.473e-05/2.431, allocations: 70.86 kB / 0.5818 GB, free: 54.99 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.81e-05/2.431, allocations: 37.78 kB / 0.5818 GB, free: 54.95 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.813e-06/2.431, allocations: 4 kB / 0.5818 GB, free: 54.94 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.516e-05/2.431, allocations: 2.734 kB / 0.5818 GB, free: 54.94 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.63e-06/2.431, allocations: 0 / 0.5818 GB, free: 54.94 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.002e-06/2.432, allocations: 0 / 0.5818 GB, free: 54.94 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.726e-05/2.432, allocations: 0 / 0.5818 GB, free: 54.94 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.754e-06/2.432, allocations: 0 / 0.5818 GB, free: 54.94 MB / 442.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 5.588e-05/2.432, allocations: 134.7 kB / 0.582 GB, free: 54.8 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.201e-05/2.432, allocations: 7.75 kB / 0.582 GB, free: 54.79 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.381e-05/2.432, allocations: 7.125 kB / 0.582 GB, free: 54.78 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.563e-06/2.432, allocations: 0 / 0.582 GB, free: 54.78 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.096e-06/2.432, allocations: 3.984 kB / 0.582 GB, free: 54.78 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.164e-06/2.432, allocations: 0 / 0.582 GB, free: 54.78 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.916e-05/2.432, allocations: 145.7 kB / 0.5821 GB, free: 54.59 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.807e-06/2.432, allocations: 0 / 0.5821 GB, free: 54.59 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.239e-06/2.432, allocations: 0 / 0.5821 GB, free: 54.59 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.395e-06/2.432, allocations: 0 / 0.5821 GB, free: 54.59 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.857e-06/2.432, allocations: 3.953 kB / 0.5821 GB, free: 54.58 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.012e-06/2.432, allocations: 0 / 0.5821 GB, free: 54.58 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.619e-06/2.432, allocations: 4 kB / 0.5821 GB, free: 54.58 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.854e-05/2.432, allocations: 94.77 kB / 0.5822 GB, free: 54.46 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.707e-05/2.432, allocations: 81.05 kB / 0.5823 GB, free: 54.36 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.526e-05/2.432, allocations: 4 kB / 0.5823 GB, free: 54.36 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.321e-05/2.432, allocations: 3.953 kB / 0.5823 GB, free: 54.36 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.604e-05/2.432, allocations: 3.984 kB / 0.5823 GB, free: 54.35 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.24e-06/2.432, allocations: 0 / 0.5823 GB, free: 54.35 MB / 442.7 MB Notification: Performance of sorting global known variables: time 1.627e-05/2.432, allocations: 75.28 kB / 0.5824 GB, free: 54.28 MB / 442.7 MB Notification: Performance of sort global known variables: time 6.95e-07/2.432, allocations: 7.531 kB / 0.5824 GB, free: 54.27 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.008644/2.441, allocations: 2.159 MB / 0.5845 GB, free: 52.13 MB / 442.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.01407/2.455, allocations: 2.267 MB / 0.5867 GB, free: 49.91 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0001001/2.455, allocations: 63.34 kB / 0.5868 GB, free: 49.83 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/2.455, allocations: 0 / 0.5868 GB, free: 49.83 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 2.618e-05/2.455, allocations: 59.39 kB / 0.5868 GB, free: 49.76 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.909e-05/2.455, allocations: 1.094 kB / 0.5868 GB, free: 49.76 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001355/2.455, allocations: 75.02 kB / 0.5869 GB, free: 49.66 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001/2.455, allocations: 0.6731 MB / 0.5876 GB, free: 48.96 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.078e-05/2.455, allocations: 11.44 kB / 0.5876 GB, free: 48.95 MB / 442.7 MB Notification: Performance of SimCode: time 1.456e-06/2.455, allocations: 0 / 0.5876 GB, free: 48.95 MB / 442.7 MB Notification: Performance of Templates: time 0.2198/2.675, allocations: 118.3 MB / 0.7031 GB, free: 10.43 MB / 0.5105 GB make -j1 -f ModelicaTest_trunk_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/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica trunk/Resources/C-Sources" -I"." -I"." -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" "-I/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica trunk/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelicaTest_trunk_cpp_ModelicaTest.Math.Random.TestDistributionsCalcHelperMain.o OMCppModelicaTest_trunk_cpp_ModelicaTest.Math.Random.TestDistributionsCalcHelperMain.cpp In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest.Math.Random.TestDistributionsCalcHelperMain.cpp:28: ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Math.Random.TestDistributionsFunctions.cpp:12050:49: error: use of undeclared identifier '_omcQuot_24746D7056617232_'; did you mean '_omcQuot_24746D7056617233_'? _omcQuot_24746D7056617233_ = std::abs(_omcQuot_24746D7056617232_); ^~~~~~~~~~~~~~~~~~~~~~~~~~ _omcQuot_24746D7056617233_ ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Math.Random.TestDistributionsFunctions.cpp:12025:14: note: '_omcQuot_24746D7056617233_' declared here double _omcQuot_24746D7056617233_; ^ ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Math.Random.TestDistributionsFunctions.cpp:13107:58: error: use of undeclared identifier '_omcQuot_24746D7056617235_'; did you mean '_omcQuot_24746D7056617236_'? Modelica_Math_Distributions_Uniform_cumulative(_omcQuot_24746D7056617235_, -1.0, 2.0,tmp3074); ^~~~~~~~~~~~~~~~~~~~~~~~~~ _omcQuot_24746D7056617236_ ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Math.Random.TestDistributionsFunctions.cpp:13084:14: note: '_omcQuot_24746D7056617236_' declared here double _omcQuot_24746D7056617236_; ^ ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Math.Random.TestDistributionsFunctions.cpp:15181:49: error: use of undeclared identifier '_omcQuot_24746D7056617238_'; did you mean '_omcQuot_24746D7056617239_'? _omcQuot_24746D7056617239_ = std::abs(_omcQuot_24746D7056617238_); ^~~~~~~~~~~~~~~~~~~~~~~~~~ _omcQuot_24746D7056617239_ ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Math.Random.TestDistributionsFunctions.cpp:15156:14: note: '_omcQuot_24746D7056617239_' declared here double _omcQuot_24746D7056617239_; ^ ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Math.Random.TestDistributionsFunctions.cpp:16238:57: error: use of undeclared identifier '_omcQuot_24746D705661723131_'; did you mean '_omcQuot_24746D705661723132_'? Modelica_Math_Distributions_Normal_cumulative(_omcQuot_24746D705661723131_, 1.0, 0.5,tmp6096); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ _omcQuot_24746D705661723132_ ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Math.Random.TestDistributionsFunctions.cpp:16215:14: note: '_omcQuot_24746D705661723132_' declared here double _omcQuot_24746D705661723132_; ^ ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Math.Random.TestDistributionsFunctions.cpp:18312:51: error: use of undeclared identifier '_omcQuot_24746D705661723134_'; did you mean '_omcQuot_24746D705661723135_'? _omcQuot_24746D705661723135_ = std::abs(_omcQuot_24746D705661723134_); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ _omcQuot_24746D705661723135_ ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Math.Random.TestDistributionsFunctions.cpp:18287:14: note: '_omcQuot_24746D705661723135_' declared here double _omcQuot_24746D705661723135_; ^ ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Math.Random.TestDistributionsFunctions.cpp:19369:58: error: use of undeclared identifier '_omcQuot_24746D705661723137_'; did you mean '_omcQuot_24746D705661723138_'? Modelica_Math_Distributions_Weibull_cumulative(_omcQuot_24746D705661723137_, 0.5, 2.0,tmp9118); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ _omcQuot_24746D705661723138_ ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Math.Random.TestDistributionsFunctions.cpp:19346:14: note: '_omcQuot_24746D705661723138_' declared here double _omcQuot_24746D705661723138_; ^ 6 errors generated. : recipe for target 'OMCppModelicaTest_trunk_cpp_ModelicaTest.Math.Random.TestDistributionsCalcHelperMain.o' failed make: *** [OMCppModelicaTest_trunk_cpp_ModelicaTest.Math.Random.TestDistributionsCalcHelperMain.o] Error 1