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.001447/0.001447, allocations: 186.2 kB / 16.4 MB, free: 5.746 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.792/1.792, 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.00109/0.001089, allocations: 90.16 kB / 270.9 MB, free: 8.379 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003729/0.000373, allocations: 8 kB / 327 MB, free: 216 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3074/0.3078, allocations: 47.57 MB / 374.5 MB, free: 45.41 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1221/0.4299, allocations: 78.24 MB / 452.8 MB, free: 2.523 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002912/0.4303, allocations: 75.97 kB / 452.9 MB, free: 2.449 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0341/0.4644, allocations: 7.553 MB / 460.4 MB, free: 10.88 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.755e-06/0.4644, allocations: 0 / 460.4 MB, free: 10.88 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.156e-05/0.4645, allocations: 4 kB / 460.4 MB, free: 10.87 MB / 346.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.001028/0.4655, allocations: 0.5221 MB / 460.9 MB, free: 10.3 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.04e-05/0.4655, allocations: 8.031 kB / 460.9 MB, free: 10.29 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000292/0.4658, allocations: 35.8 kB / 461 MB, free: 10.26 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000202/0.4661, allocations: 196.2 kB / 461.2 MB, free: 10.02 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.185e-05/0.4661, allocations: 19.92 kB / 461.2 MB, free: 10 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.995e-05/0.4662, allocations: 8 kB / 461.2 MB, free: 9.996 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003854/0.4666, allocations: 128.1 kB / 461.3 MB, free: 9.855 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.087e-05/0.4666, allocations: 8 kB / 461.3 MB, free: 9.848 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.004e-05/0.4666, allocations: 3.984 kB / 461.3 MB, free: 9.844 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.021e-06/0.4666, allocations: 0 / 461.3 MB, free: 9.844 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003568/0.467, allocations: 67.95 kB / 461.4 MB, free: 9.777 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001055/0.4681, allocations: 0.5749 MB / 462 MB, free: 9.145 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006352/0.4687, allocations: 163.8 kB / 462.1 MB, free: 8.957 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.725e-05/0.4688, allocations: 4 kB / 462.1 MB, free: 8.953 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004432/0.4692, allocations: 158.4 kB / 462.3 MB, free: 8.777 MB / 346.7 MB Notification: Performance of pre-optimization done (n=17): time 1.843e-06/0.4692, allocations: 0 / 462.3 MB, free: 8.777 MB / 346.7 MB Notification: Performance of matching and sorting (n=17): time 0.001159/0.4704, allocations: 431.8 kB / 462.7 MB, free: 8.312 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.23e-05/0.4705, allocations: 110.8 kB / 462.8 MB, free: 8.18 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002587/0.4708, allocations: 186.2 kB / 463 MB, free: 7.992 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 7.583e-05/0.4709, allocations: 49.69 kB / 463 MB, free: 7.938 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001249/0.471, allocations: 179 kB / 463.2 MB, free: 7.762 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.808e-05/0.4711, allocations: 39.55 kB / 463.3 MB, free: 7.723 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.177e-05/0.4711, allocations: 0 / 463.3 MB, free: 7.723 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001429/0.4713, allocations: 330.8 kB / 463.6 MB, free: 7.391 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003521/0.4716, allocations: 91.95 kB / 463.7 MB, free: 7.301 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003981/0.472, allocations: 141.6 kB / 463.8 MB, free: 7.152 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003813/0.4724, allocations: 105 kB / 463.9 MB, free: 7.051 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.507e-06/0.4724, allocations: 0 / 463.9 MB, free: 7.051 MB / 346.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0009104/0.4734, allocations: 297.2 kB / 464.2 MB, free: 6.754 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.92e-05/0.4734, allocations: 7.938 kB / 464.2 MB, free: 6.746 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.312e-05/0.4734, allocations: 7.938 kB / 464.2 MB, free: 6.738 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.602e-05/0.4735, allocations: 0 / 464.2 MB, free: 6.738 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002435/0.4737, allocations: 32.08 kB / 464.3 MB, free: 6.707 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.967e-06/0.4737, allocations: 0 / 464.3 MB, free: 6.707 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001601/0.4739, allocations: 27.77 kB / 464.3 MB, free: 6.68 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.67e-05/0.474, allocations: 12 kB / 464.3 MB, free: 6.668 MB / 346.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 () * Number of clocked 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.0001941/0.4742, allocations: 153.8 kB / 464.4 MB, free: 6.508 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.168e-05/0.4742, allocations: 15.81 kB / 464.5 MB, free: 6.492 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.439e-05/0.4743, allocations: 21.39 kB / 464.5 MB, free: 6.461 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.017e-06/0.4743, allocations: 0 / 464.5 MB, free: 6.461 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.356e-06/0.4743, allocations: 4 kB / 464.5 MB, free: 6.457 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.4743, allocations: 0 / 464.5 MB, free: 6.457 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002817/0.4746, allocations: 225.4 kB / 464.7 MB, free: 6.188 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.4746, allocations: 0 / 464.7 MB, free: 6.188 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001029/0.4748, allocations: 15.94 kB / 464.7 MB, free: 6.172 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.426e-06/0.4748, allocations: 0 / 464.7 MB, free: 6.172 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.52e-05/0.4748, allocations: 11.98 kB / 464.7 MB, free: 6.16 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.735e-06/0.4748, allocations: 4 kB / 464.7 MB, free: 6.156 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.4748, allocations: 0 / 464.7 MB, free: 6.156 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006665/0.4755, allocations: 273.9 kB / 465 MB, free: 5.852 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.757e-05/0.4756, allocations: 96.77 kB / 465.1 MB, free: 5.738 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.977e-05/0.4757, allocations: 15.98 kB / 465.1 MB, free: 5.723 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001192/0.4758, allocations: 4 kB / 465.1 MB, free: 5.719 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.603e-05/0.4759, allocations: 19.97 kB / 465.1 MB, free: 5.699 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.237e-05/0.4759, allocations: 8 kB / 465.1 MB, free: 5.691 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.000169/0.4761, allocations: 141.2 kB / 465.3 MB, free: 5.555 MB / 346.7 MB Notification: Performance of sort global known variables: time 4e-07/0.4761, allocations: 0 / 465.3 MB, free: 5.555 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0007351/0.4768, allocations: 159.7 kB / 465.4 MB, free: 5.398 MB / 346.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]) * Number of clocked states: 0 () * 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.001324/0.4782, allocations: 399.1 kB / 465.8 MB, free: 5.031 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0007657/0.479, allocations: 260 kB / 466.1 MB, free: 4.766 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.437e-06/0.479, allocations: 0 / 466.1 MB, free: 4.766 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002782/0.4793, allocations: 75.95 kB / 466.2 MB, free: 4.691 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001765/0.4795, allocations: 16.06 kB / 466.2 MB, free: 4.672 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007027/0.4802, allocations: 330.6 kB / 466.5 MB, free: 4.312 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002925/0.4805, allocations: 0.724 MB / 467.2 MB, free: 3.562 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.673e-05/0.4806, allocations: 19.42 kB / 467.2 MB, free: 3.547 MB / 346.7 MB Notification: Performance of SimCode: time 9.52e-07/0.4806, allocations: 0 / 467.2 MB, free: 3.547 MB / 346.7 MB Notification: Performance of Templates: time 0.01628/0.4969, allocations: 4.352 MB / 471.6 MB, free: 15.2 MB / 362.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'