Running command: translateModel(ModelicaTest.Math.Random.TestSpecial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Math.Random.TestSpecial") Notification: Performance of loadModel(ModelicaTest): time 2.385/2.385, allocations: 270 MB / 282.7 MB, free: 1.809 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.965e-05/2.981e-05, allocations: 4 kB / 347 MB, free: 3.16 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.333/0.3331, allocations: 61.88 MB / 408.8 MB, free: 10.77 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1327/0.4658, allocations: 87.5 MB / 496.3 MB, free: 3.152 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002028/0.4661, allocations: 67.95 kB / 496.4 MB, free: 3.086 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.344/1.811, allocations: 48.66 MB / 0.5323 GB, free: 108.5 MB / 442.7 MB Notification: Performance of FrontEnd: time 5.838e-06/1.811, allocations: 7.984 kB / 0.5323 GB, free: 108.5 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.565e-05/1.811, allocations: 0 / 0.5323 GB, free: 108.5 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.004331/1.815, allocations: 431.2 kB / 0.5327 GB, free: 108 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.553e-05/1.815, allocations: 8.031 kB / 0.5327 GB, free: 108 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.899e-05/1.815, allocations: 4 kB / 0.5327 GB, free: 108 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.03e-05/1.815, allocations: 163.1 kB / 0.5329 GB, free: 107.8 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.157e-05/1.815, allocations: 0 / 0.5329 GB, free: 107.8 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.921e-05/1.815, allocations: 3.953 kB / 0.5329 GB, free: 107.8 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001215/1.816, allocations: 33.69 kB / 0.5329 GB, free: 107.8 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.242e-05/1.816, allocations: 0 / 0.5329 GB, free: 107.8 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.349e-05/1.816, allocations: 0 / 0.5329 GB, free: 107.8 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.81e-06/1.816, allocations: 0 / 0.5329 GB, free: 107.8 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.231e-05/1.816, allocations: 0 / 0.5329 GB, free: 107.8 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001649/1.816, allocations: 149.7 kB / 0.5331 GB, free: 107.6 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.633e-05/1.816, allocations: 22.52 kB / 0.5331 GB, free: 107.5 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.711e-05/1.816, allocations: 4.859 kB / 0.5331 GB, free: 107.5 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.051e-06/1.816, allocations: 3.953 kB / 0.5331 GB, free: 107.5 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.213e-05/1.816, allocations: 68.25 kB / 0.5332 GB, free: 107.5 MB / 442.7 MB Notification: Performance of pre-optimization done (n=1): time 3.59e-06/1.816, allocations: 0 / 0.5332 GB, free: 107.5 MB / 442.7 MB Notification: Performance of matching and sorting (n=1): time 0.0002369/1.816, allocations: 55.41 kB / 0.5332 GB, free: 107.4 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.408e-05/1.816, allocations: 89.14 kB / 0.5333 GB, free: 107.3 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.524e-05/1.817, allocations: 85 kB / 0.5334 GB, free: 107.2 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.332e-05/1.817, allocations: 26.69 kB / 0.5334 GB, free: 107.2 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.671e-05/1.817, allocations: 150.6 kB / 0.5335 GB, free: 107 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.533e-05/1.817, allocations: 0 / 0.5335 GB, free: 107 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.875e-06/1.817, allocations: 0 / 0.5335 GB, free: 107 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 7.812e-05/1.817, allocations: 310.8 kB / 0.5338 GB, free: 106.7 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.262e-05/1.817, allocations: 7.938 kB / 0.5338 GB, free: 106.7 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.438e-05/1.817, allocations: 3.984 kB / 0.5338 GB, free: 106.7 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.899e-05/1.817, allocations: 29.77 kB / 0.5339 GB, free: 106.7 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.061e-06/1.817, allocations: 0 / 0.5339 GB, free: 106.7 MB / 442.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001501/1.817, allocations: 60.5 kB / 0.5339 GB, free: 106.6 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.425e-05/1.817, allocations: 37.7 kB / 0.534 GB, free: 106.5 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.97e-06/1.817, allocations: 3.953 kB / 0.534 GB, free: 106.5 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.902e-05/1.817, allocations: 0 / 0.534 GB, free: 106.5 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.215e-06/1.817, allocations: 0.875 kB / 0.534 GB, free: 106.5 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.094e-05/1.817, allocations: 3.984 kB / 0.534 GB, free: 106.5 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.65e-05/1.817, allocations: 0 / 0.534 GB, free: 106.5 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.212e-05/1.817, allocations: 4.031 kB / 0.534 GB, free: 106.5 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 9.525e-05/1.817, allocations: 130.7 kB / 0.5341 GB, free: 106.4 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.275e-05/1.818, allocations: 0 / 0.5341 GB, free: 106.4 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.79e-05/1.818, allocations: 6.953 kB / 0.5341 GB, free: 106.4 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.105e-06/1.818, allocations: 3.953 kB / 0.5341 GB, free: 106.4 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.662e-06/1.818, allocations: 0 / 0.5341 GB, free: 106.4 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.437e-06/1.818, allocations: 4 kB / 0.5341 GB, free: 106.4 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001085/1.818, allocations: 148.4 kB / 0.5343 GB, free: 106.2 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.478e-06/1.818, allocations: 0 / 0.5343 GB, free: 106.2 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.239e-06/1.818, allocations: 0 / 0.5343 GB, free: 106.2 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.444e-06/1.818, allocations: 4 kB / 0.5343 GB, free: 106.2 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.155e-05/1.818, allocations: 3.938 kB / 0.5343 GB, free: 106.2 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.418e-06/1.818, allocations: 4 kB / 0.5343 GB, free: 106.2 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.118e-06/1.818, allocations: 3.953 kB / 0.5343 GB, free: 106.2 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000163/1.818, allocations: 86.83 kB / 0.5344 GB, free: 106.1 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.136e-05/1.818, allocations: 81.11 kB / 0.5344 GB, free: 106 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.699e-05/1.818, allocations: 0 / 0.5344 GB, free: 106 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.891e-05/1.818, allocations: 4.031 kB / 0.5344 GB, free: 106 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.274e-05/1.818, allocations: 3.953 kB / 0.5344 GB, free: 105.9 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.736e-06/1.818, allocations: 0 / 0.5344 GB, free: 105.9 MB / 442.7 MB Notification: Performance of sorting global known variables: time 2.482e-05/1.818, allocations: 79.28 kB / 0.5345 GB, free: 105.9 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.278e-06/1.818, allocations: 3.938 kB / 0.5345 GB, free: 105.9 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.01218/1.831, allocations: 1.313 MB / 0.5358 GB, free: 104.6 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.01824/1.849, allocations: 1.214 MB / 0.537 GB, free: 103.4 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.000177/1.849, allocations: 55.41 kB / 0.537 GB, free: 103.3 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.85e-06/1.849, allocations: 0 / 0.537 GB, free: 103.3 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 4.868e-05/1.849, allocations: 63.47 kB / 0.5371 GB, free: 103.3 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000211/1.849, allocations: 0 / 0.5371 GB, free: 103.3 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000233/1.85, allocations: 77.7 kB / 0.5372 GB, free: 103.2 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001663/1.85, allocations: 0.677 MB / 0.5378 GB, free: 102.4 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.918e-05/1.85, allocations: 11.44 kB / 0.5379 GB, free: 102.4 MB / 442.7 MB Notification: Performance of SimCode: time 2.317e-06/1.85, allocations: 0 / 0.5379 GB, free: 102.4 MB / 442.7 MB Notification: Performance of Templates: time 0.1034/1.953, allocations: 66.92 MB / 0.6032 GB, free: 35.43 MB / 442.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Math.Random.TestSpecial.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.TestSpecialCalcHelperMain.o OMCppModelicaTest_trunk_cpp_ModelicaTest.Math.Random.TestSpecialCalcHelperMain.cpp In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest.Math.Random.TestSpecialCalcHelperMain.cpp:28: ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Math.Random.TestSpecialFunctions.cpp:8923: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.TestSpecialFunctions.cpp:8898:14: note: '_omcQuot_24746D7056617233_' declared here double _omcQuot_24746D7056617233_; ^ ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Math.Random.TestSpecialFunctions.cpp:8976:40: error: use of undeclared identifier '_omcQuot_24746D7056617235_'; did you mean '_omcQuot_24746D7056617236_'? Modelica_Math_Special_erfInv(_omcQuot_24746D7056617235_,tmp2059); ^~~~~~~~~~~~~~~~~~~~~~~~~~ _omcQuot_24746D7056617236_ ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Math.Random.TestSpecialFunctions.cpp:8953:14: note: '_omcQuot_24746D7056617236_' declared here double _omcQuot_24746D7056617236_; ^ ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Math.Random.TestSpecialFunctions.cpp:9016:58: error: use of undeclared identifier '_omcQuot_24746D7056617238_'; did you mean '_omcQuot_24746D7056617239_'? ModelicaTest_Math_Random_Internal_erfInvSimple(_omcQuot_24746D7056617238_,tmp2065); ^~~~~~~~~~~~~~~~~~~~~~~~~~ _omcQuot_24746D7056617239_ ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Math.Random.TestSpecialFunctions.cpp:8993:14: note: '_omcQuot_24746D7056617239_' declared here double _omcQuot_24746D7056617239_; ^ ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Math.Random.TestSpecialFunctions.cpp:9058:51: error: use of undeclared identifier '_omcQuot_24746D705661723131_'; did you mean '_omcQuot_24746D705661723132_'? _omcQuot_24746D705661723132_ = std::abs(_omcQuot_24746D705661723131_); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ _omcQuot_24746D705661723132_ ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Math.Random.TestSpecialFunctions.cpp:9033:14: note: '_omcQuot_24746D705661723132_' declared here double _omcQuot_24746D705661723132_; ^ ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Math.Random.TestSpecialFunctions.cpp:10115:40: error: use of undeclared identifier '_omcQuot_24746D705661723134_'; did you mean '_omcQuot_24746D705661723135_'? Modelica_Math_Special_erfInv(_omcQuot_24746D705661723134_,tmp3080); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ _omcQuot_24746D705661723135_ ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Math.Random.TestSpecialFunctions.cpp:10092:14: note: '_omcQuot_24746D705661723135_' declared here double _omcQuot_24746D705661723135_; ^ ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Math.Random.TestSpecialFunctions.cpp:12187:51: error: use of undeclared identifier '_omcQuot_24746D705661723137_'; did you mean '_omcQuot_24746D705661723138_'? _omcQuot_24746D705661723138_ = std::abs(_omcQuot_24746D705661723137_); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ _omcQuot_24746D705661723138_ ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Math.Random.TestSpecialFunctions.cpp:12162:14: note: '_omcQuot_24746D705661723138_' declared here double _omcQuot_24746D705661723138_; ^ ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Math.Random.TestSpecialFunctions.cpp:13244:41: error: use of undeclared identifier '_omcQuot_24746D705661723230_'; did you mean '_omcQuot_24746D705661723231_'? Modelica_Math_Special_erfcInv(_omcQuot_24746D705661723230_,tmp6102); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ _omcQuot_24746D705661723231_ ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Math.Random.TestSpecialFunctions.cpp:13221:14: note: '_omcQuot_24746D705661723231_' declared here double _omcQuot_24746D705661723231_; ^ 7 errors generated. : recipe for target 'OMCppModelicaTest_trunk_cpp_ModelicaTest.Math.Random.TestSpecialCalcHelperMain.o' failed make: *** [OMCppModelicaTest_trunk_cpp_ModelicaTest.Math.Random.TestSpecialCalcHelperMain.o] Error 1