Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Blocks.Examples.NoiseExamples.Distributions.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) 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(Modelica.Blocks.Examples.NoiseExamples.Distributions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|uniformNoise_y|truncatedNormalNoise_y",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Blocks.Examples.NoiseExamples.Distributions") translateModel(Modelica.Blocks.Examples.NoiseExamples.Distributions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|uniformNoise_y|truncatedNormalNoise_y",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Blocks.Examples.NoiseExamples.Distributions") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001575/0.001574, allocations: 181 kB / 13.66 MB, free: 1.664 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.024/2.024, allocations: 205.2 MB / 219.4 MB, free: 14.21 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.00102/0.00102, allocations: 86.64 kB / 267.5 MB, free: 14.04 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.702e-05/2.747e-05, allocations: 0 / 321.5 MB, free: 17.84 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09386/0.09392, allocations: 47.57 MB / 369.1 MB, free: 2.207 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4038/0.4978, allocations: 78.15 MB / 447.2 MB, free: 15.1 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002645/0.4981, allocations: 66.89 kB / 447.3 MB, free: 15.06 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03566/0.5338, allocations: 7.507 MB / 454.8 MB, free: 8.559 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.043e-06/0.5338, allocations: 0 / 454.8 MB, free: 8.559 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.216e-05/0.5338, allocations: 4 kB / 454.8 MB, free: 8.555 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.00105/0.5349, allocations: 0.495 MB / 455.3 MB, free: 8.027 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.359e-05/0.535, allocations: 12.03 kB / 455.3 MB, free: 8.016 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003084/0.5353, allocations: 35.05 kB / 455.4 MB, free: 7.984 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000228/0.5355, allocations: 191 kB / 455.5 MB, free: 7.758 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.483e-05/0.5356, allocations: 11.83 kB / 455.6 MB, free: 7.75 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.086e-05/0.5356, allocations: 11.98 kB / 455.6 MB, free: 7.738 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002729/0.5359, allocations: 111.4 kB / 455.7 MB, free: 7.633 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.02e-05/0.5359, allocations: 0 / 455.7 MB, free: 7.633 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.937e-05/0.536, allocations: 0 / 455.7 MB, free: 7.633 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.081e-06/0.536, allocations: 4 kB / 455.7 MB, free: 7.629 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001455/0.5361, allocations: 50.66 kB / 455.7 MB, free: 7.59 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001059/0.5372, allocations: 0.572 MB / 456.3 MB, free: 7.012 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003271/0.5376, allocations: 122.5 kB / 456.4 MB, free: 6.887 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001225/0.5377, allocations: 53.84 kB / 456.5 MB, free: 6.836 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.645e-05/0.5377, allocations: 4 kB / 456.5 MB, free: 6.832 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002974/0.538, allocations: 141.5 kB / 456.6 MB, free: 6.699 MB / 330.7 MB Notification: Performance of pre-optimization done (n=17): time 2.515e-06/0.5381, allocations: 0 / 456.6 MB, free: 6.699 MB / 330.7 MB Notification: Performance of matching and sorting (n=17): time 0.0005462/0.5386, allocations: 192.6 kB / 456.8 MB, free: 6.535 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.521e-05/0.5387, allocations: 118.8 kB / 456.9 MB, free: 6.398 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002408/0.539, allocations: 173.2 kB / 457.1 MB, free: 6.246 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 6.947e-05/0.5391, allocations: 44.81 kB / 457.1 MB, free: 6.203 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001112/0.5392, allocations: 170.5 kB / 457.3 MB, free: 6.043 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.831e-05/0.5393, allocations: 54.81 kB / 457.4 MB, free: 6 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.921e-05/0.5393, allocations: 0 / 457.4 MB, free: 6 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.000123/0.5394, allocations: 331.1 kB / 457.7 MB, free: 5.676 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002241/0.5397, allocations: 77.73 kB / 457.8 MB, free: 5.625 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002666/0.5399, allocations: 125.4 kB / 457.9 MB, free: 5.523 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002495/0.5402, allocations: 94.61 kB / 458 MB, free: 5.457 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.917e-06/0.5402, allocations: 0 / 458 MB, free: 5.457 MB / 330.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0006438/0.5409, allocations: 254.3 kB / 458.2 MB, free: 5.266 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.189e-05/0.5409, allocations: 8 kB / 458.2 MB, free: 5.258 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.558e-05/0.541, allocations: 8.078 kB / 458.2 MB, free: 5.25 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.384e-05/0.541, allocations: 4 kB / 458.2 MB, free: 5.246 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002817/0.5413, allocations: 27.92 kB / 458.3 MB, free: 5.219 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.303e-05/0.5413, allocations: 4 kB / 458.3 MB, free: 5.215 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001744/0.5415, allocations: 27.67 kB / 458.3 MB, free: 5.191 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.113e-05/0.5416, allocations: 11.88 kB / 458.3 MB, free: 5.184 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 33 ($whenCondition2,$whenCondition1,n,$PRE.truncatedNormalNoise.state[1],truncatedNormalNoise.state[1],$PRE.truncatedNormalNoise.state[2],truncatedNormalNoise.state[2],$PRE.truncatedNormalNoise.state[3],truncatedNormalNoise.state[3],$PRE.truncatedNormalNoise.state[4],truncatedNormalNoise.state[4],$PRE.truncatedNormalNoise.r,truncatedNormalNoise.r,$PRE.truncatedNormalNoise.r_raw,truncatedNormalNoise.r_raw,$PRE.uniformNoise.state[1],uniformNoise.state[1],$PRE.uniformNoise.state[2],uniformNoise.state[2],$PRE.uniformNoise.state[3],uniformNoise.state[3],$PRE.uniformNoise.state[4],uniformNoise.state[4],$PRE.uniformNoise.r,uniformNoise.r,$PRE.uniformNoise.r_raw,uniformNoise.r_raw,globalSeed.id_impure,uniformNoise.localSeed,uniformNoise.actualGlobalSeed,truncatedNormalNoise.localSeed,truncatedNormalNoise.actualGlobalSeed,globalSeed.seed) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * Single equations (assignments): 25 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 2 * 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.0001593/0.5417, allocations: 132.7 kB / 458.4 MB, free: 5.051 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.496e-05/0.5418, allocations: 23.48 kB / 458.5 MB, free: 5.031 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.186e-05/0.5418, allocations: 13.47 kB / 458.5 MB, free: 5.02 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.327e-06/0.5419, allocations: 4 kB / 458.5 MB, free: 5.016 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.542e-06/0.5419, allocations: 0 / 458.5 MB, free: 5.016 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5e-06/0.5419, allocations: 0 / 458.5 MB, free: 5.016 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002834/0.5422, allocations: 224 kB / 458.7 MB, free: 4.766 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.504e-06/0.5422, allocations: 4 kB / 458.7 MB, free: 4.762 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001271/0.5423, allocations: 19.92 kB / 458.7 MB, free: 4.742 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.019e-06/0.5424, allocations: 4.094 kB / 458.7 MB, free: 4.738 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.9e-05/0.5424, allocations: 7.812 kB / 458.7 MB, free: 4.734 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.524e-06/0.5424, allocations: 0 / 458.7 MB, free: 4.734 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.635e-06/0.5424, allocations: 11.92 kB / 458.7 MB, free: 4.723 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004567/0.5429, allocations: 240.7 kB / 459 MB, free: 4.484 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.117e-05/0.543, allocations: 92.8 kB / 459.1 MB, free: 4.379 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.641e-05/0.543, allocations: 7.984 kB / 459.1 MB, free: 4.371 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001306/0.5432, allocations: 15.8 kB / 459.1 MB, free: 4.359 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.051e-05/0.5433, allocations: 7.984 kB / 459.1 MB, free: 4.352 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.766e-05/0.5433, allocations: 11.98 kB / 459.1 MB, free: 4.34 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.000158/0.5435, allocations: 144.2 kB / 459.2 MB, free: 4.219 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.5435, allocations: 0 / 459.2 MB, free: 4.219 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0007913/0.5443, allocations: 167.4 kB / 459.4 MB, free: 4.066 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition2,uniformNoise.state[1],uniformNoise.state[2],uniformNoise.state[3],uniformNoise.state[4],uniformNoise.r,uniformNoise.r_raw,$whenCondition1,truncatedNormalNoise.state[1],truncatedNormalNoise.state[2],truncatedNormalNoise.state[3],truncatedNormalNoise.state[4],truncatedNormalNoise.r,truncatedNormalNoise.r_raw,n) * Number of discrete states: 8 (truncatedNormalNoise.state[1],truncatedNormalNoise.state[2],truncatedNormalNoise.state[3],truncatedNormalNoise.state[4],uniformNoise.state[1],uniformNoise.state[2],uniformNoise.state[3],uniformNoise.state[4]) * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001424/0.5457, allocations: 393.8 kB / 459.8 MB, free: 3.691 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0005893/0.5464, allocations: 231 kB / 460 MB, free: 3.5 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.208e-06/0.5464, allocations: 0 / 460 MB, free: 3.5 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001578/0.5465, allocations: 59.23 kB / 460.1 MB, free: 3.457 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001854/0.5467, allocations: 12.25 kB / 460.1 MB, free: 3.445 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005866/0.5473, allocations: 220.2 kB / 460.3 MB, free: 3.219 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000313/0.5477, allocations: 0.7239 MB / 461 MB, free: 2.473 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.008e-05/0.5478, allocations: 15.44 kB / 461 MB, free: 2.457 MB / 330.7 MB Notification: Performance of SimCode: time 8.71e-07/0.5478, allocations: 0 / 461 MB, free: 2.457 MB / 330.7 MB Notification: Performance of Templates: time 0.01128/0.5591, allocations: 4.343 MB / 465.4 MB, free: 14.12 MB / 346.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Blocks.Examples.NoiseExamples.Distributions.makefile make -j1 -f Modelica_3.2.3_cpp_Modelica.Blocks.Examples.NoiseExamples.Distributions.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 OMCppModelica_3.2.3_cpp_Modelica.Blocks.Examples.NoiseExamples.DistributionsCalcHelperMain.o OMCppModelica_3.2.3_cpp_Modelica.Blocks.Examples.NoiseExamples.DistributionsCalcHelperMain.cpp\nIn file included from OMCppModelica_3.2.3_cpp_Modelica.Blocks.Examples.NoiseExamples.DistributionsCalcHelperMain.cpp:29:\n./OMCppModelica_3.2.3_cpp_Modelica.Blocks.Examples.NoiseExamples.DistributionsInitialize.cpp:245:3: error: use of undeclared identifier \'$PRE_P_truncatedNormalNoise_P_state_\'; did you mean \'_truncatedNormalNoise_P_state_\'?\n $PRE_P_truncatedNormalNoise_P_state_.assign(tmp82);\n ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n _truncatedNormalNoise_P_state_\n./OMCppModelica_3.2.3_cpp_Modelica.Blocks.Examples.NoiseExamples.Distributions.h:198:33: note: \'_truncatedNormalNoise_P_state_\' declared here\n StatArrayDim1 _truncatedNormalNoise_P_state_;\n ^\nIn file included from OMCppModelica_3.2.3_cpp_Modelica.Blocks.Examples.NoiseExamples.DistributionsCalcHelperMain.cpp:29:\n./OMCppModelica_3.2.3_cpp_Modelica.Blocks.Examples.NoiseExamples.DistributionsInitialize.cpp:373:3: error: use of undeclared identifier \'$PRE_P_uniformNoise_P_state_\'; did you mean \'_uniformNoise_P_state_\'?\n $PRE_P_uniformNoise_P_state_.assign(tmp87);\n ^~~~~~~~~~~~~~~~~~~~~~~~~~~~\n _uniformNoise_P_state_\n./OMCppModelica_3.2.3_cpp_Modelica.Blocks.Examples.NoiseExamples.Distributions.h:199:33: note: \'_uniformNoise_P_state_\' declared here\n StatArrayDim1 _uniformNoise_P_state_;\n ^\n2 errors generated.\n: recipe for target \'OMCppModelica_3.2.3_cpp_Modelica.Blocks.Examples.NoiseExamples.DistributionsCalcHelperMain.o\' failed\nmake: *** [OMCppModelica_3.2.3_cpp_Modelica.Blocks.Examples.NoiseExamples.DistributionsCalcHelperMain.o] Error 1\n'