Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Math.Random.TestTruncatedDistributions.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.TestTruncatedDistributions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Math.Random.TestTruncatedDistributions") translateModel(ModelicaTest.Math.Random.TestTruncatedDistributions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Math.Random.TestTruncatedDistributions") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00235/0.002355, allocations: 184.6 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 2.035/2.035, allocations: 205.4 MB / 222.5 MB, free: 9.121 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.00112/0.001119, allocations: 99.47 kB / 270.9 MB, free: 8.359 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.5001/0.5001, allocations: 43.56 MB / 362.7 MB, free: 52.26 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006994/0.0006994, allocations: 8 kB / 431.4 MB, free: 6.16 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1662/0.167, allocations: 58.85 MB / 490.2 MB, free: 11.23 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5158/0.6828, allocations: 88.49 MB / 0.5651 GB, free: 14.22 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003454/0.6833, allocations: 71.97 kB / 0.5652 GB, free: 14.15 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.318/2.001, allocations: 71.9 MB / 0.6354 GB, free: 6.184 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.194e-06/2.001, allocations: 0 / 0.6354 GB, free: 6.184 MB / 458.7 MB Notification: Performance of Transformations before backend: time 6.151e-06/2.001, allocations: 0 / 0.6354 GB, free: 6.184 MB / 458.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.004477/2.005, allocations: 469.5 kB / 0.6359 GB, free: 5.672 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.904e-05/2.005, allocations: 12.02 kB / 0.6359 GB, free: 5.66 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.393e-05/2.005, allocations: 11.42 kB / 0.6359 GB, free: 5.652 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.195e-05/2.006, allocations: 159.1 kB / 0.636 GB, free: 5.457 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.492e-05/2.006, allocations: 0 / 0.636 GB, free: 5.457 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.002e-05/2.006, allocations: 4 kB / 0.636 GB, free: 5.453 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.413e-05/2.006, allocations: 29.7 kB / 0.6361 GB, free: 5.418 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.474e-06/2.006, allocations: 3.938 kB / 0.6361 GB, free: 5.414 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.149e-05/2.006, allocations: 4.969 kB / 0.6361 GB, free: 5.41 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-06/2.006, allocations: 4 kB / 0.6361 GB, free: 5.406 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.146e-05/2.006, allocations: 0 / 0.6361 GB, free: 5.406 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000146/2.006, allocations: 158.4 kB / 0.6362 GB, free: 5.203 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.351e-05/2.006, allocations: 18.61 kB / 0.6363 GB, free: 5.176 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.364e-06/2.006, allocations: 0 / 0.6363 GB, free: 5.176 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.686e-05/2.006, allocations: 56.27 kB / 0.6363 GB, free: 5.105 MB / 458.7 MB Notification: Performance of pre-optimization done (n=1): time 1.643e-06/2.006, allocations: 0 / 0.6363 GB, free: 5.105 MB / 458.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001926/2.006, allocations: 73.42 kB / 0.6364 GB, free: 5.023 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.013e-05/2.006, allocations: 77.23 kB / 0.6365 GB, free: 4.93 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.11e-05/2.006, allocations: 89 kB / 0.6365 GB, free: 4.836 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.633e-05/2.006, allocations: 29.7 kB / 0.6366 GB, free: 4.801 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.109e-05/2.007, allocations: 150.6 kB / 0.6367 GB, free: 4.652 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.97e-05/2.007, allocations: 0 / 0.6367 GB, free: 4.652 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.196e-06/2.007, allocations: 0 / 0.6367 GB, free: 4.652 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001135/2.007, allocations: 314.8 kB / 0.637 GB, free: 4.336 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.259e-05/2.007, allocations: 4 kB / 0.637 GB, free: 4.332 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.949e-06/2.007, allocations: 4 kB / 0.637 GB, free: 4.328 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.294e-05/2.007, allocations: 29.77 kB / 0.637 GB, free: 4.293 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.345e-06/2.007, allocations: 0 / 0.637 GB, free: 4.293 MB / 458.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.101e-05/2.007, allocations: 67.33 kB / 0.6371 GB, free: 4.215 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.454e-05/2.007, allocations: 29.7 kB / 0.6371 GB, free: 4.18 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/2.007, allocations: 0 / 0.6371 GB, free: 4.18 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.241e-05/2.007, allocations: 0 / 0.6371 GB, free: 4.18 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.508e-06/2.007, allocations: 4 kB / 0.6371 GB, free: 4.176 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.25e-06/2.007, allocations: 0 / 0.6371 GB, free: 4.176 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.997e-05/2.007, allocations: 4 kB / 0.6371 GB, free: 4.172 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.753e-06/2.007, allocations: 0 / 0.6371 GB, free: 4.172 MB / 458.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.0001026/2.007, allocations: 151.5 kB / 0.6373 GB, free: 4.008 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.117e-06/2.007, allocations: 0 / 0.6373 GB, free: 4.008 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.239e-05/2.007, allocations: 3.125 kB / 0.6373 GB, free: 4.008 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.549e-06/2.007, allocations: 3.984 kB / 0.6373 GB, free: 4.004 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/2.007, allocations: 0 / 0.6373 GB, free: 4.004 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/2.007, allocations: 0 / 0.6373 GB, free: 4.004 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001031/2.007, allocations: 149.6 kB / 0.6374 GB, free: 3.809 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.272e-06/2.007, allocations: 3.984 kB / 0.6374 GB, free: 3.805 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.022e-06/2.007, allocations: 0 / 0.6374 GB, free: 3.805 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/2.007, allocations: 4 kB / 0.6375 GB, free: 3.801 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.448e-06/2.007, allocations: 0 / 0.6375 GB, free: 3.801 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/2.007, allocations: 3.938 kB / 0.6375 GB, free: 3.797 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/2.007, allocations: 0 / 0.6375 GB, free: 3.797 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001271/2.008, allocations: 94.77 kB / 0.6375 GB, free: 3.68 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.397e-05/2.008, allocations: 85 kB / 0.6376 GB, free: 3.578 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.802e-05/2.008, allocations: 4 kB / 0.6376 GB, free: 3.574 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.129e-05/2.008, allocations: 0 / 0.6376 GB, free: 3.574 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.642e-05/2.008, allocations: 4.031 kB / 0.6376 GB, free: 3.57 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.308e-06/2.008, allocations: 0 / 0.6376 GB, free: 3.57 MB / 458.7 MB Notification: Performance of sorting global known variables: time 3.285e-05/2.008, allocations: 75.28 kB / 0.6377 GB, free: 3.496 MB / 458.7 MB Notification: Performance of sort global known variables: time 3.61e-07/2.008, allocations: 0 / 0.6377 GB, free: 3.496 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.009697/2.017, allocations: 1.531 MB / 0.6392 GB, free: 1.965 MB / 458.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.01693/2.034, allocations: 2.036 MB / 0.6412 GB, free: 15.93 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0001346/2.035, allocations: 55.41 kB / 0.6412 GB, free: 15.86 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 3.447e-06/2.035, allocations: 0 / 0.6412 GB, free: 15.86 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 4.066e-05/2.035, allocations: 59.34 kB / 0.6413 GB, free: 15.79 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.955e-05/2.035, allocations: 0 / 0.6413 GB, free: 15.79 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002067/2.035, allocations: 107.2 kB / 0.6414 GB, free: 15.66 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002438/2.035, allocations: 0.6772 MB / 0.6421 GB, free: 14.95 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.79e-05/2.035, allocations: 7.438 kB / 0.6421 GB, free: 14.95 MB / 474.7 MB Notification: Performance of SimCode: time 8.61e-07/2.035, allocations: 0 / 0.6421 GB, free: 14.95 MB / 474.7 MB Notification: Performance of Templates: time 0.8539/2.889, allocations: 84.94 MB / 0.725 GB, free: 103.9 MB / 490.8 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Math.Random.TestTruncatedDistributions.makefile make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Math.Random.TestTruncatedDistributions.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.TestTruncatedDistributionsCalcHelperMain.o OMCppModelicaTest_3.2.3_cpp_ModelicaTest.Math.Random.TestTruncatedDistributionsCalcHelperMain.cpp\nIn file included from OMCppModelicaTest_3.2.3_cpp_ModelicaTest.Math.Random.TestTruncatedDistributionsCalcHelperMain.cpp:28:\n./OMCppModelicaTest_3.2.3_cpp_ModelicaTest.Math.Random.TestTruncatedDistributionsFunctions.cpp:9170: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.TestTruncatedDistributionsFunctions.cpp:9145:14: note: \'_omcQ_24tmpVar5_\' declared here\n double _omcQ_24tmpVar5_;\n ^\n./OMCppModelicaTest_3.2.3_cpp_ModelicaTest.Math.Random.TestTruncatedDistributionsFunctions.cpp:10227:66: error: use of undeclared identifier \'_omcQ_24tmpVar7_\'; did you mean \'_omcQ_24tmpVar8_\'?\n Modelica_Math_Distributions_TruncatedNormal_cumulative(_omcQ_24tmpVar7_, -1.5, 1.5, 0.0, 0.5,tmp3083);\n ^~~~~~~~~~~~~~~~\n _omcQ_24tmpVar8_\n./OMCppModelicaTest_3.2.3_cpp_ModelicaTest.Math.Random.TestTruncatedDistributionsFunctions.cpp:10204:14: note: \'_omcQ_24tmpVar8_\' declared here\n double _omcQ_24tmpVar8_;\n ^\n./OMCppModelicaTest_3.2.3_cpp_ModelicaTest.Math.Random.TestTruncatedDistributionsFunctions.cpp:12301: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.TestTruncatedDistributionsFunctions.cpp:12276:14: note: \'_omcQ_24tmpVar11_\' declared here\n double _omcQ_24tmpVar11_;\n ^\n./OMCppModelicaTest_3.2.3_cpp_ModelicaTest.Math.Random.TestTruncatedDistributionsFunctions.cpp:13358:67: error: use of undeclared identifier \'_omcQ_24tmpVar13_\'; did you mean \'_omcQ_24tmpVar14_\'?\n Modelica_Math_Distributions_TruncatedWeibull_cumulative(_omcQ_24tmpVar13_, 0.0, 0.8, 0.5, 2.0,tmp6105);\n ^~~~~~~~~~~~~~~~~\n _omcQ_24tmpVar14_\n./OMCppModelicaTest_3.2.3_cpp_ModelicaTest.Math.Random.TestTruncatedDistributionsFunctions.cpp:13335:14: note: \'_omcQ_24tmpVar14_\' declared here\n double _omcQ_24tmpVar14_;\n ^\n4 errors generated.\n: recipe for target \'OMCppModelicaTest_3.2.3_cpp_ModelicaTest.Math.Random.TestTruncatedDistributionsCalcHelperMain.o\' failed\nmake: *** [OMCppModelicaTest_3.2.3_cpp_ModelicaTest.Math.Random.TestTruncatedDistributionsCalcHelperMain.o] Error 1\n'