Running command: translateModel(ModelicaTest.Math.Random.TestTruncatedDistributions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Math.Random.TestTruncatedDistributions") Notification: Performance of loadModel(ModelicaTest): time 2.311/2.311, allocations: 270 MB / 282.7 MB, free: 1.77 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.262e-05/3.265e-05, allocations: 7.984 kB / 347 MB, free: 3.129 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4089/0.409, allocations: 61.87 MB / 408.8 MB, free: 10.76 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.136/0.545, allocations: 89.42 MB / 498.3 MB, free: 1.211 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001877/0.5453, allocations: 63.97 kB / 498.3 MB, free: 1.148 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.327/1.872, allocations: 71.9 MB / 0.5569 GB, free: 81.31 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.181e-06/1.872, allocations: 0 / 0.5569 GB, free: 81.31 MB / 442.7 MB Notification: Performance of Transformations before backend: time 5.808e-06/1.873, allocations: 0 / 0.5569 GB, free: 81.31 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.00291/1.875, allocations: 457.3 kB / 0.5573 GB, free: 80.85 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.846e-05/1.875, allocations: 19.91 kB / 0.5573 GB, free: 80.83 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.309e-05/1.876, allocations: 0 / 0.5573 GB, free: 80.83 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.849e-05/1.876, allocations: 159.6 kB / 0.5575 GB, free: 80.63 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.378e-05/1.876, allocations: 3.953 kB / 0.5575 GB, free: 80.63 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.718e-06/1.876, allocations: 0 / 0.5575 GB, free: 80.63 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.849e-05/1.876, allocations: 37.69 kB / 0.5575 GB, free: 80.59 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.731e-06/1.876, allocations: 0 / 0.5575 GB, free: 80.59 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.32e-06/1.876, allocations: 0 / 0.5575 GB, free: 80.59 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.208e-06/1.876, allocations: 0 / 0.5575 GB, free: 80.59 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.737e-05/1.876, allocations: 4 kB / 0.5575 GB, free: 80.58 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.999e-05/1.876, allocations: 145.7 kB / 0.5576 GB, free: 80.39 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.244e-05/1.876, allocations: 18.52 kB / 0.5577 GB, free: 80.36 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.701e-05/1.876, allocations: 12.91 kB / 0.5577 GB, free: 80.35 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.754e-06/1.876, allocations: 4 kB / 0.5577 GB, free: 80.34 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.824e-05/1.876, allocations: 56.27 kB / 0.5577 GB, free: 80.27 MB / 442.7 MB Notification: Performance of pre-optimization done (n=1): time 1.969e-06/1.876, allocations: 0 / 0.5577 GB, free: 80.27 MB / 442.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001422/1.876, allocations: 63.39 kB / 0.5578 GB, free: 80.2 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.952e-05/1.876, allocations: 84.61 kB / 0.5579 GB, free: 80.1 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.955e-05/1.876, allocations: 85 kB / 0.558 GB, free: 80.01 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 7.818e-06/1.876, allocations: 25.7 kB / 0.558 GB, free: 79.98 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.16e-05/1.876, allocations: 154.6 kB / 0.5581 GB, free: 79.83 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.89e-05/1.876, allocations: 4 kB / 0.5581 GB, free: 79.82 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.595e-06/1.876, allocations: 0 / 0.5581 GB, free: 79.82 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 4.69e-05/1.876, allocations: 310.8 kB / 0.5584 GB, free: 79.51 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.999e-05/1.876, allocations: 0 / 0.5584 GB, free: 79.51 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.779e-06/1.876, allocations: 3.938 kB / 0.5584 GB, free: 79.51 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.447e-05/1.876, allocations: 33.69 kB / 0.5585 GB, free: 79.47 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.426e-06/1.876, allocations: 0 / 0.5585 GB, free: 79.47 MB / 442.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.074e-05/1.877, allocations: 63.47 kB / 0.5585 GB, free: 79.39 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.732e-05/1.877, allocations: 33.66 kB / 0.5586 GB, free: 79.36 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.873e-06/1.877, allocations: 0 / 0.5586 GB, free: 79.36 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.185e-05/1.877, allocations: 0 / 0.5586 GB, free: 79.36 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.657e-06/1.877, allocations: 0.875 kB / 0.5586 GB, free: 79.36 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.043e-06/1.877, allocations: 0 / 0.5586 GB, free: 79.36 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.092e-05/1.877, allocations: 11.98 kB / 0.5586 GB, free: 79.34 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.816e-06/1.877, allocations: 0 / 0.5586 GB, free: 79.34 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.129e-05/1.877, allocations: 130.7 kB / 0.5587 GB, free: 79.2 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.085e-05/1.877, allocations: 4 kB / 0.5587 GB, free: 79.2 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.095e-05/1.877, allocations: 11.11 kB / 0.5587 GB, free: 79.18 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.03e-06/1.877, allocations: 0 / 0.5587 GB, free: 79.18 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-06/1.877, allocations: 0 / 0.5587 GB, free: 79.18 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.162e-06/1.877, allocations: 0 / 0.5587 GB, free: 79.18 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.772e-05/1.877, allocations: 152.2 kB / 0.5589 GB, free: 78.99 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.661e-06/1.877, allocations: 0 / 0.5589 GB, free: 78.99 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.17e-06/1.877, allocations: 0 / 0.5589 GB, free: 78.99 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.395e-06/1.877, allocations: 4 kB / 0.5589 GB, free: 78.98 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.998e-06/1.877, allocations: 0 / 0.5589 GB, free: 78.98 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.458e-06/1.877, allocations: 3.953 kB / 0.5589 GB, free: 78.98 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.272e-06/1.877, allocations: 3.938 kB / 0.5589 GB, free: 78.98 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.637e-05/1.877, allocations: 99.62 kB / 0.559 GB, free: 78.86 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.53e-05/1.877, allocations: 77.11 kB / 0.559 GB, free: 78.77 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.36e-05/1.877, allocations: 0 / 0.559 GB, free: 78.77 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.241e-05/1.877, allocations: 0 / 0.559 GB, free: 78.77 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.697e-05/1.877, allocations: 7.953 kB / 0.559 GB, free: 78.76 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.488e-06/1.877, allocations: 0 / 0.559 GB, free: 78.76 MB / 442.7 MB Notification: Performance of sorting global known variables: time 1.596e-05/1.877, allocations: 79.31 kB / 0.5591 GB, free: 78.68 MB / 442.7 MB Notification: Performance of sort global known variables: time 6.79e-07/1.877, allocations: 0 / 0.5591 GB, free: 78.68 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.00654/1.884, allocations: 1.524 MB / 0.5606 GB, free: 77.18 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.0113/1.895, allocations: 2.049 MB / 0.5626 GB, free: 75.17 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 9.855e-05/1.895, allocations: 55.41 kB / 0.5627 GB, free: 75.11 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.906e-06/1.895, allocations: 0 / 0.5627 GB, free: 75.11 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 2.64e-05/1.895, allocations: 55.41 kB / 0.5627 GB, free: 75.04 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001023/1.895, allocations: 3.938 kB / 0.5627 GB, free: 75.04 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001351/1.896, allocations: 75 kB / 0.5628 GB, free: 74.93 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001/1.896, allocations: 0.6731 MB / 0.5634 GB, free: 74.23 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.072e-05/1.896, allocations: 7.438 kB / 0.5634 GB, free: 74.23 MB / 442.7 MB Notification: Performance of SimCode: time 1.495e-06/1.896, allocations: 4.125 kB / 0.5635 GB, free: 74.22 MB / 442.7 MB Notification: Performance of Templates: time 0.1399/2.036, allocations: 84.2 MB / 0.6457 GB, free: 5.895 MB / 458.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Math.Random.TestTruncatedDistributions.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.TestTruncatedDistributionsCalcHelperMain.o OMCppModelicaTest_trunk_cpp_ModelicaTest.Math.Random.TestTruncatedDistributionsCalcHelperMain.cpp In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest.Math.Random.TestTruncatedDistributionsCalcHelperMain.cpp:28: ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Math.Random.TestTruncatedDistributionsFunctions.cpp:9182: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.TestTruncatedDistributionsFunctions.cpp:9157:14: note: '_omcQuot_24746D7056617233_' declared here double _omcQuot_24746D7056617233_; ^ ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Math.Random.TestTruncatedDistributionsFunctions.cpp:10239:66: error: use of undeclared identifier '_omcQuot_24746D7056617235_'; did you mean '_omcQuot_24746D7056617236_'? Modelica_Math_Distributions_TruncatedNormal_cumulative(_omcQuot_24746D7056617235_, -1.5, 1.5, 0.0, 0.5,tmp3083); ^~~~~~~~~~~~~~~~~~~~~~~~~~ _omcQuot_24746D7056617236_ ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Math.Random.TestTruncatedDistributionsFunctions.cpp:10216:14: note: '_omcQuot_24746D7056617236_' declared here double _omcQuot_24746D7056617236_; ^ ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Math.Random.TestTruncatedDistributionsFunctions.cpp:12313: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.TestTruncatedDistributionsFunctions.cpp:12288:14: note: '_omcQuot_24746D7056617239_' declared here double _omcQuot_24746D7056617239_; ^ ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Math.Random.TestTruncatedDistributionsFunctions.cpp:13370:67: error: use of undeclared identifier '_omcQuot_24746D705661723131_'; did you mean '_omcQuot_24746D705661723132_'? Modelica_Math_Distributions_TruncatedWeibull_cumulative(_omcQuot_24746D705661723131_, 0.0, 0.8, 0.5, 2.0,tmp6105); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ _omcQuot_24746D705661723132_ ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Math.Random.TestTruncatedDistributionsFunctions.cpp:13347:14: note: '_omcQuot_24746D705661723132_' declared here double _omcQuot_24746D705661723132_; ^ 4 errors generated. : recipe for target 'OMCppModelicaTest_trunk_cpp_ModelicaTest.Math.Random.TestTruncatedDistributionsCalcHelperMain.o' failed make: *** [OMCppModelicaTest_trunk_cpp_ModelicaTest.Math.Random.TestTruncatedDistributionsCalcHelperMain.o] Error 1