Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Math.Random.TestDistributions.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) 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.526/2.526, allocations: 234.9 MB / 251.1 MB, free: 9.688 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001292/0.001293, allocations: 20 kB / 314.9 MB, free: 9.746 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3856/0.3869, allocations: 54.86 MB / 369.8 MB, free: 12.8 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1465/0.5335, allocations: 82.14 MB / 451.9 MB, free: 10.55 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002584/0.5338, allocations: 75.91 kB / 452 MB, free: 10.47 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.142/2.676, allocations: 81.84 MB / 0.5213 GB, free: 112.8 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.076e-06/2.676, allocations: 0 / 0.5213 GB, free: 112.8 MB / 426.7 MB Notification: Performance of Transformations before backend: time 7.053e-06/2.676, allocations: 4 kB / 0.5213 GB, free: 112.8 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.005533/2.682, allocations: 442.8 kB / 0.5218 GB, free: 112.3 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.312e-05/2.682, allocations: 8.031 kB / 0.5218 GB, free: 112.3 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.775e-05/2.682, allocations: 3.953 kB / 0.5218 GB, free: 112.3 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.765e-05/2.682, allocations: 163.1 kB / 0.5219 GB, free: 112.1 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.166e-05/2.682, allocations: 0 / 0.5219 GB, free: 112.1 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.679e-05/2.682, allocations: 4 kB / 0.5219 GB, free: 112.1 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.093e-05/2.682, allocations: 41.23 kB / 0.522 GB, free: 112.1 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.167e-06/2.682, allocations: 0 / 0.522 GB, free: 112.1 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.518e-06/2.682, allocations: 0 / 0.522 GB, free: 112.1 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.162e-06/2.682, allocations: 7.953 kB / 0.522 GB, free: 112 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.893e-05/2.682, allocations: 0 / 0.522 GB, free: 112 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001039/2.682, allocations: 145.7 kB / 0.5221 GB, free: 111.9 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.981e-05/2.682, allocations: 18.61 kB / 0.5221 GB, free: 111.8 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.899e-06/2.682, allocations: 0 / 0.5221 GB, free: 111.8 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.654e-05/2.682, allocations: 60.25 kB / 0.5222 GB, free: 111.8 MB / 426.7 MB Notification: Performance of pre-optimization done (n=1): time 1.342e-06/2.682, allocations: 0 / 0.5222 GB, free: 111.8 MB / 426.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001714/2.682, allocations: 67.41 kB / 0.5223 GB, free: 111.7 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.087e-05/2.682, allocations: 77.11 kB / 0.5223 GB, free: 111.6 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.551e-05/2.682, allocations: 97.89 kB / 0.5224 GB, free: 111.5 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.045e-05/2.682, allocations: 29.7 kB / 0.5225 GB, free: 111.4 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.612e-05/2.682, allocations: 150.6 kB / 0.5226 GB, free: 111.3 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.754e-05/2.683, allocations: 3.984 kB / 0.5226 GB, free: 111.3 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.695e-06/2.683, allocations: 0 / 0.5226 GB, free: 111.3 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 5.878e-05/2.683, allocations: 322.8 kB / 0.5229 GB, free: 111 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.02e-05/2.683, allocations: 0 / 0.5229 GB, free: 111 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.155e-06/2.683, allocations: 4 kB / 0.5229 GB, free: 111 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.541e-05/2.683, allocations: 29.12 kB / 0.5229 GB, free: 110.9 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/2.683, allocations: 4 kB / 0.523 GB, free: 110.9 MB / 426.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.023e-05/2.683, allocations: 63.34 kB / 0.523 GB, free: 110.8 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.998e-05/2.683, allocations: 33.69 kB / 0.523 GB, free: 110.8 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/2.683, allocations: 0 / 0.523 GB, free: 110.8 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.573e-05/2.683, allocations: 0 / 0.523 GB, free: 110.8 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.404e-06/2.683, allocations: 4 kB / 0.523 GB, free: 110.8 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.871e-06/2.683, allocations: 0 / 0.523 GB, free: 110.8 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.695e-05/2.683, allocations: 0 / 0.523 GB, free: 110.8 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.504e-06/2.683, allocations: 3.938 kB / 0.5231 GB, free: 110.8 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 () * Number of clocked 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 6.845e-05/2.683, allocations: 147.5 kB / 0.5232 GB, free: 110.6 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.247e-06/2.683, allocations: 0 / 0.5232 GB, free: 110.6 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.639e-05/2.683, allocations: 3.125 kB / 0.5232 GB, free: 110.6 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.066e-06/2.683, allocations: 3.391 kB / 0.5232 GB, free: 110.6 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/2.683, allocations: 0 / 0.5232 GB, free: 110.6 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/2.683, allocations: 3.984 kB / 0.5232 GB, free: 110.6 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.33e-05/2.683, allocations: 150.5 kB / 0.5233 GB, free: 110.4 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/2.683, allocations: 0 / 0.5233 GB, free: 110.4 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.092e-06/2.683, allocations: 0 / 0.5233 GB, free: 110.4 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/2.683, allocations: 0 / 0.5233 GB, free: 110.4 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.205e-06/2.683, allocations: 4 kB / 0.5234 GB, free: 110.4 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.326e-06/2.683, allocations: 2.125 kB / 0.5234 GB, free: 110.4 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/2.683, allocations: 0 / 0.5234 GB, free: 110.4 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001204/2.683, allocations: 98.72 kB / 0.5234 GB, free: 110.3 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.267e-05/2.683, allocations: 77.11 kB / 0.5235 GB, free: 110.2 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.663e-05/2.683, allocations: 4 kB / 0.5235 GB, free: 110.2 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.225e-05/2.683, allocations: 0 / 0.5235 GB, free: 110.2 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.523e-05/2.683, allocations: 8.016 kB / 0.5235 GB, free: 110.2 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.258e-06/2.683, allocations: 0 / 0.5235 GB, free: 110.2 MB / 426.7 MB Notification: Performance of sorting global known variables: time 1.669e-05/2.683, allocations: 75.28 kB / 0.5236 GB, free: 110.1 MB / 426.7 MB Notification: Performance of sort global known variables: time 3.41e-07/2.683, allocations: 0 / 0.5236 GB, free: 110.1 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.01234/2.696, allocations: 2.155 MB / 0.5257 GB, free: 108 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) * Number of clocked states: 0 () * 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.02056/2.716, allocations: 2.261 MB / 0.5279 GB, free: 105.8 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.00013/2.717, allocations: 55.41 kB / 0.528 GB, free: 105.7 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.788e-06/2.717, allocations: 4 kB / 0.528 GB, free: 105.7 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 2.805e-05/2.717, allocations: 59.33 kB / 0.528 GB, free: 105.6 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001038/2.717, allocations: 14.66 kB / 0.528 GB, free: 105.6 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001809/2.717, allocations: 98.44 kB / 0.5281 GB, free: 105.5 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001182/2.717, allocations: 0.6811 MB / 0.5288 GB, free: 104.8 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.358e-05/2.717, allocations: 7.438 kB / 0.5288 GB, free: 104.8 MB / 426.7 MB Notification: Performance of SimCode: time 7.71e-07/2.717, allocations: 0 / 0.5288 GB, free: 104.8 MB / 426.7 MB Notification: Performance of Templates: time 0.2649/2.982, allocations: 119.2 MB / 0.6453 GB, free: 1.406 MB / 442.7 MB make -j1 -f ModelicaTest_3.2.2_cpp_ModelicaTest.Math.Random.TestDistributions.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=5 -DSUNDIALS_MINOR_VERSION=4 -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\nIn file included from OMCppModelicaTest_3.2.2_cpp_ModelicaTest.Math.Random.TestDistributionsCalcHelperMain.cpp:28:\n./OMCppModelicaTest_3.2.2_cpp_ModelicaTest.Math.Random.TestDistributionsFunctions.cpp:11987:39: error: use of undeclared identifier \'_omcQ_24tmpVar2_\'; did you mean \'_omcQ_24tmpVar3_\'?\n _omcQ_24tmpVar3_ = std::abs(_omcQ_24tmpVar2_);\n ^~~~~~~~~~~~~~~~\n _omcQ_24tmpVar3_\n./OMCppModelicaTest_3.2.2_cpp_ModelicaTest.Math.Random.TestDistributionsFunctions.cpp:11962:14: note: \'_omcQ_24tmpVar3_\' declared here\n double _omcQ_24tmpVar3_;\n ^\n./OMCppModelicaTest_3.2.2_cpp_ModelicaTest.Math.Random.TestDistributionsFunctions.cpp:13044:58: error: use of undeclared identifier \'_omcQ_24tmpVar5_\'; did you mean \'_omcQ_24tmpVar6_\'?\n Modelica_Math_Distributions_Uniform_cumulative(_omcQ_24tmpVar5_, -1.0, 2.0,tmp3068);\n ^~~~~~~~~~~~~~~~\n _omcQ_24tmpVar6_\n./OMCppModelicaTest_3.2.2_cpp_ModelicaTest.Math.Random.TestDistributionsFunctions.cpp:13021:14: note: \'_omcQ_24tmpVar6_\' declared here\n double _omcQ_24tmpVar6_;\n ^\n./OMCppModelicaTest_3.2.2_cpp_ModelicaTest.Math.Random.TestDistributionsFunctions.cpp:15118:39: error: use of undeclared identifier \'_omcQ_24tmpVar8_\'; did you mean \'_omcQ_24tmpVar9_\'?\n _omcQ_24tmpVar9_ = std::abs(_omcQ_24tmpVar8_);\n ^~~~~~~~~~~~~~~~\n _omcQ_24tmpVar9_\n./OMCppModelicaTest_3.2.2_cpp_ModelicaTest.Math.Random.TestDistributionsFunctions.cpp:15093:14: note: \'_omcQ_24tmpVar9_\' declared here\n double _omcQ_24tmpVar9_;\n ^\n./OMCppModelicaTest_3.2.2_cpp_ModelicaTest.Math.Random.TestDistributionsFunctions.cpp:16175:57: error: use of undeclared identifier \'_omcQ_24tmpVar11_\'; did you mean \'_omcQ_24tmpVar12_\'?\n Modelica_Math_Distributions_Normal_cumulative(_omcQ_24tmpVar11_, 1.0, 0.5,tmp6090);\n ^~~~~~~~~~~~~~~~~\n _omcQ_24tmpVar12_\n./OMCppModelicaTest_3.2.2_cpp_ModelicaTest.Math.Random.TestDistributionsFunctions.cpp:16152:14: note: \'_omcQ_24tmpVar12_\' declared here\n double _omcQ_24tmpVar12_;\n ^\n./OMCppModelicaTest_3.2.2_cpp_ModelicaTest.Math.Random.TestDistributionsFunctions.cpp:18249:40: error: use of undeclared identifier \'_omcQ_24tmpVar14_\'; did you mean \'_omcQ_24tmpVar15_\'?\n _omcQ_24tmpVar15_ = std::abs(_omcQ_24tmpVar14_);\n ^~~~~~~~~~~~~~~~~\n _omcQ_24tmpVar15_\n./OMCppModelicaTest_3.2.2_cpp_ModelicaTest.Math.Random.TestDistributionsFunctions.cpp:18224:14: note: \'_omcQ_24tmpVar15_\' declared here\n double _omcQ_24tmpVar15_;\n ^\n./OMCppModelicaTest_3.2.2_cpp_ModelicaTest.Math.Random.TestDistributionsFunctions.cpp:19306:58: error: use of undeclared identifier \'_omcQ_24tmpVar17_\'; did you mean \'_omcQ_24tmpVar18_\'?\n Modelica_Math_Distributions_Weibull_cumulative(_omcQ_24tmpVar17_, 0.5, 2.0,tmp9112);\n ^~~~~~~~~~~~~~~~~\n _omcQ_24tmpVar18_\n./OMCppModelicaTest_3.2.2_cpp_ModelicaTest.Math.Random.TestDistributionsFunctions.cpp:19283:14: note: \'_omcQ_24tmpVar18_\' declared here\n double _omcQ_24tmpVar18_;\n ^\n6 errors generated.\n: recipe for target \'OMCppModelicaTest_3.2.2_cpp_ModelicaTest.Math.Random.TestDistributionsCalcHelperMain.o\' failed\nmake: *** [OMCppModelicaTest_3.2.2_cpp_ModelicaTest.Math.Random.TestDistributionsCalcHelperMain.o] Error 1\n'