Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Math.Random.TestDistributions.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Math.Random.TestDistributions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Math.Random.TestDistributions") translateModel(ModelicaTest.Math.Random.TestDistributions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Math.Random.TestDistributions") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001487/0.001487, allocations: 185.9 kB / 16.41 MB, free: 5.727 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.939/1.939, allocations: 205.4 MB / 222.5 MB, free: 9.137 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001104/0.001104, allocations: 92.36 kB / 270.9 MB, free: 8.387 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.5198/0.5198, allocations: 43.55 MB / 362.7 MB, free: 52.16 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000478/0.0004781, allocations: 8 kB / 431.4 MB, free: 6.199 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1271/0.1276, allocations: 58.86 MB / 490.2 MB, free: 11.26 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.46/0.5877, allocations: 87.05 MB / 0.5637 GB, free: 15.71 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002642/0.588, allocations: 67.97 kB / 0.5638 GB, free: 15.64 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.853/2.441, allocations: 97.18 MB / 0.6587 GB, free: 14.36 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.485e-06/2.441, allocations: 0 / 0.6587 GB, free: 14.36 MB / 490.7 MB Notification: Performance of Transformations before backend: time 7.314e-06/2.441, allocations: 0 / 0.6587 GB, free: 14.36 MB / 490.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.006067/2.448, allocations: 444.8 kB / 0.6591 GB, free: 13.87 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.239e-05/2.448, allocations: 8.031 kB / 0.6591 GB, free: 13.86 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.623e-05/2.448, allocations: 3.438 kB / 0.6591 GB, free: 13.86 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001431/2.448, allocations: 163 kB / 0.6593 GB, free: 13.66 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.498e-05/2.448, allocations: 0 / 0.6593 GB, free: 13.66 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.914e-05/2.448, allocations: 7.984 kB / 0.6593 GB, free: 13.65 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.709e-05/2.448, allocations: 25.7 kB / 0.6593 GB, free: 13.62 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.793e-06/2.448, allocations: 0 / 0.6593 GB, free: 13.62 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.074e-05/2.448, allocations: 5.031 kB / 0.6593 GB, free: 13.62 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.678e-06/2.448, allocations: 0 / 0.6593 GB, free: 13.62 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.234e-05/2.448, allocations: 4 kB / 0.6593 GB, free: 13.61 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001617/2.448, allocations: 145.6 kB / 0.6595 GB, free: 13.42 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.306e-05/2.448, allocations: 30.53 kB / 0.6595 GB, free: 13.38 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.316e-06/2.448, allocations: 0 / 0.6595 GB, free: 13.38 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.693e-05/2.448, allocations: 60.27 kB / 0.6596 GB, free: 13.31 MB / 490.7 MB Notification: Performance of pre-optimization done (n=1): time 1.392e-06/2.448, allocations: 7.656 kB / 0.6596 GB, free: 13.3 MB / 490.7 MB Notification: Performance of matching and sorting (n=1): time 0.000188/2.449, allocations: 59.47 kB / 0.6596 GB, free: 13.23 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.555e-05/2.449, allocations: 77.11 kB / 0.6597 GB, free: 13.14 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.719e-05/2.449, allocations: 85.62 kB / 0.6598 GB, free: 13.05 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.886e-05/2.449, allocations: 33.69 kB / 0.6598 GB, free: 13.01 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.182e-05/2.449, allocations: 150.6 kB / 0.66 GB, free: 12.86 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.008e-05/2.449, allocations: 4.938 kB / 0.66 GB, free: 12.86 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.09e-06/2.449, allocations: 0 / 0.66 GB, free: 12.86 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001372/2.449, allocations: 318.9 kB / 0.6603 GB, free: 12.54 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.029e-05/2.449, allocations: 4 kB / 0.6603 GB, free: 12.54 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.534e-06/2.449, allocations: 0 / 0.6603 GB, free: 12.54 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.728e-05/2.449, allocations: 30.42 kB / 0.6603 GB, free: 12.5 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.459e-06/2.449, allocations: 0 / 0.6603 GB, free: 12.5 MB / 490.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.187e-05/2.449, allocations: 63.34 kB / 0.6604 GB, free: 12.43 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.132e-05/2.449, allocations: 37.69 kB / 0.6604 GB, free: 12.38 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/2.449, allocations: 0 / 0.6604 GB, free: 12.38 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.337e-05/2.449, allocations: 0 / 0.6604 GB, free: 12.38 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.322e-06/2.449, allocations: 0 / 0.6604 GB, free: 12.38 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.34e-06/2.449, allocations: 4.094 kB / 0.6604 GB, free: 12.38 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.84e-05/2.449, allocations: 0 / 0.6604 GB, free: 12.38 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.485e-06/2.449, allocations: 4 kB / 0.6604 GB, free: 12.38 MB / 490.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 0.0001092/2.449, allocations: 139.5 kB / 0.6605 GB, free: 12.22 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.264e-05/2.45, allocations: 4 kB / 0.6605 GB, free: 12.22 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.324e-05/2.45, allocations: 3.125 kB / 0.6605 GB, free: 12.22 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.032e-06/2.45, allocations: 3.984 kB / 0.6605 GB, free: 12.21 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/2.45, allocations: 3.938 kB / 0.6605 GB, free: 12.21 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.445e-06/2.45, allocations: 0 / 0.6605 GB, free: 12.21 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001128/2.45, allocations: 149.6 kB / 0.6607 GB, free: 12.02 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.432e-06/2.45, allocations: 0 / 0.6607 GB, free: 12.02 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.002e-06/2.45, allocations: 0 / 0.6607 GB, free: 12.02 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.335e-06/2.45, allocations: 4 kB / 0.6607 GB, free: 12.01 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.576e-06/2.45, allocations: 3.938 kB / 0.6607 GB, free: 12.01 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/2.45, allocations: 0 / 0.6607 GB, free: 12.01 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/2.45, allocations: 0 / 0.6607 GB, free: 12.01 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000125/2.45, allocations: 94.83 kB / 0.6608 GB, free: 11.89 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.816e-05/2.45, allocations: 83.09 kB / 0.6609 GB, free: 11.8 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.498e-05/2.45, allocations: 0 / 0.6609 GB, free: 11.8 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.512e-05/2.45, allocations: 3.984 kB / 0.6609 GB, free: 11.79 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.818e-05/2.45, allocations: 4 kB / 0.6609 GB, free: 11.79 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.282e-06/2.45, allocations: 4.75 kB / 0.6609 GB, free: 11.79 MB / 490.7 MB Notification: Performance of sorting global known variables: time 3.467e-05/2.45, allocations: 75.28 kB / 0.661 GB, free: 11.71 MB / 490.7 MB Notification: Performance of sort global known variables: time 3.71e-07/2.45, allocations: 0 / 0.661 GB, free: 11.71 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.01335/2.463, allocations: 2.152 MB / 0.6631 GB, free: 9.559 MB / 490.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.02131/2.485, allocations: 2.268 MB / 0.6653 GB, free: 7.289 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0001505/2.485, allocations: 67.39 kB / 0.6653 GB, free: 7.211 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.055e-06/2.485, allocations: 0 / 0.6653 GB, free: 7.211 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 4.558e-05/2.485, allocations: 55.41 kB / 0.6654 GB, free: 7.145 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001066/2.485, allocations: 4.125 kB / 0.6654 GB, free: 7.141 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002322/2.485, allocations: 95.22 kB / 0.6655 GB, free: 7.016 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003154/2.486, allocations: 0.6809 MB / 0.6661 GB, free: 6.309 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.35e-05/2.486, allocations: 11.44 kB / 0.6662 GB, free: 6.297 MB / 490.7 MB Notification: Performance of SimCode: time 1.032e-06/2.486, allocations: 3.938 kB / 0.6662 GB, free: 6.293 MB / 490.7 MB Notification: Performance of Templates: time 0.5935/3.079, allocations: 119.4 MB / 0.7828 GB, free: 63.43 MB / 490.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Math.Random.TestDistributions.makefile make -j1 -f ModelicaTest_3.2.3_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=2 -DSUNDIALS_MINOR_VERSION=6 -DPMC_USE_SUNDIALS -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelicaTest_3.2.3_cpp_ModelicaTest.Math.Random.TestDistributionsCalcHelperMain.o OMCppModelicaTest_3.2.3_cpp_ModelicaTest.Math.Random.TestDistributionsCalcHelperMain.cpp\nIn file included from OMCppModelicaTest_3.2.3_cpp_ModelicaTest.Math.Random.TestDistributionsCalcHelperMain.cpp:28:\n./OMCppModelicaTest_3.2.3_cpp_ModelicaTest.Math.Random.TestDistributionsFunctions.cpp:12038:39: error: use of undeclared identifier \'_omcQ_24tmpVar4_\'; did you mean \'_omcQ_24tmpVar5_\'?\n _omcQ_24tmpVar5_ = std::abs(_omcQ_24tmpVar4_);\n ^~~~~~~~~~~~~~~~\n _omcQ_24tmpVar5_\n./OMCppModelicaTest_3.2.3_cpp_ModelicaTest.Math.Random.TestDistributionsFunctions.cpp:12013:14: note: \'_omcQ_24tmpVar5_\' declared here\n double _omcQ_24tmpVar5_;\n ^\n./OMCppModelicaTest_3.2.3_cpp_ModelicaTest.Math.Random.TestDistributionsFunctions.cpp:13095:58: error: use of undeclared identifier \'_omcQ_24tmpVar7_\'; did you mean \'_omcQ_24tmpVar8_\'?\n Modelica_Math_Distributions_Uniform_cumulative(_omcQ_24tmpVar7_, -1.0, 2.0,tmp3074);\n ^~~~~~~~~~~~~~~~\n _omcQ_24tmpVar8_\n./OMCppModelicaTest_3.2.3_cpp_ModelicaTest.Math.Random.TestDistributionsFunctions.cpp:13072:14: note: \'_omcQ_24tmpVar8_\' declared here\n double _omcQ_24tmpVar8_;\n ^\n./OMCppModelicaTest_3.2.3_cpp_ModelicaTest.Math.Random.TestDistributionsFunctions.cpp:15169:40: error: use of undeclared identifier \'_omcQ_24tmpVar10_\'; did you mean \'_omcQ_24tmpVar11_\'?\n _omcQ_24tmpVar11_ = std::abs(_omcQ_24tmpVar10_);\n ^~~~~~~~~~~~~~~~~\n _omcQ_24tmpVar11_\n./OMCppModelicaTest_3.2.3_cpp_ModelicaTest.Math.Random.TestDistributionsFunctions.cpp:15144:14: note: \'_omcQ_24tmpVar11_\' declared here\n double _omcQ_24tmpVar11_;\n ^\n./OMCppModelicaTest_3.2.3_cpp_ModelicaTest.Math.Random.TestDistributionsFunctions.cpp:16226:57: error: use of undeclared identifier \'_omcQ_24tmpVar13_\'; did you mean \'_omcQ_24tmpVar14_\'?\n Modelica_Math_Distributions_Normal_cumulative(_omcQ_24tmpVar13_, 1.0, 0.5,tmp6096);\n ^~~~~~~~~~~~~~~~~\n _omcQ_24tmpVar14_\n./OMCppModelicaTest_3.2.3_cpp_ModelicaTest.Math.Random.TestDistributionsFunctions.cpp:16203:14: note: \'_omcQ_24tmpVar14_\' declared here\n double _omcQ_24tmpVar14_;\n ^\n./OMCppModelicaTest_3.2.3_cpp_ModelicaTest.Math.Random.TestDistributionsFunctions.cpp:18300:40: error: use of undeclared identifier \'_omcQ_24tmpVar16_\'; did you mean \'_omcQ_24tmpVar17_\'?\n _omcQ_24tmpVar17_ = std::abs(_omcQ_24tmpVar16_);\n ^~~~~~~~~~~~~~~~~\n _omcQ_24tmpVar17_\n./OMCppModelicaTest_3.2.3_cpp_ModelicaTest.Math.Random.TestDistributionsFunctions.cpp:18275:14: note: \'_omcQ_24tmpVar17_\' declared here\n double _omcQ_24tmpVar17_;\n ^\n./OMCppModelicaTest_3.2.3_cpp_ModelicaTest.Math.Random.TestDistributionsFunctions.cpp:19357:58: error: use of undeclared identifier \'_omcQ_24tmpVar19_\'; did you mean \'_omcQ_24tmpVar20_\'?\n Modelica_Math_Distributions_Weibull_cumulative(_omcQ_24tmpVar19_, 0.5, 2.0,tmp9118);\n ^~~~~~~~~~~~~~~~~\n _omcQ_24tmpVar20_\n./OMCppModelicaTest_3.2.3_cpp_ModelicaTest.Math.Random.TestDistributionsFunctions.cpp:19334:14: note: \'_omcQ_24tmpVar20_\' declared here\n double _omcQ_24tmpVar20_;\n ^\n6 errors generated.\n: recipe for target \'OMCppModelicaTest_3.2.3_cpp_ModelicaTest.Math.Random.TestDistributionsCalcHelperMain.o\' failed\nmake: *** [OMCppModelicaTest_3.2.3_cpp_ModelicaTest.Math.Random.TestDistributionsCalcHelperMain.o] Error 1\n'