Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Blocks.Examples.NoiseExamples.UniformNoiseProperties.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.UniformNoiseProperties,tolerance=1e-09,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|mean.mu|standardDeviation.variance.mu|standardDeviation.variance.var|variance.mu|variance.var|meanError_y|sigmaError_y",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Blocks.Examples.NoiseExamples.UniformNoiseProperties") translateModel(Modelica.Blocks.Examples.NoiseExamples.UniformNoiseProperties,tolerance=1e-09,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|mean.mu|standardDeviation.variance.mu|standardDeviation.variance.var|variance.mu|variance.var|meanError_y|sigmaError_y",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Blocks.Examples.NoiseExamples.UniformNoiseProperties") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002088/0.002093, allocations: 177.8 kB / 8.36 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.037/2.037, allocations: 205.3 MB / 214.1 MB, free: 14.13 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001183/0.001182, allocations: 93.58 kB / 262.1 MB, free: 13.87 MB / 219.1 MB Notification: Performance of FrontEnd - loaded program: time 2.119e-05/2.13e-05, allocations: 4 kB / 314.8 MB, free: 9.145 MB / 267.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3388/0.3389, allocations: 47.56 MB / 362.3 MB, free: 45.84 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1334/0.4723, allocations: 77.57 MB / 439.9 MB, free: 8.73 MB / 331.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003172/0.4727, allocations: 75.94 kB / 440 MB, free: 8.656 MB / 331.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.02452/0.4972, allocations: 5.107 MB / 445.1 MB, free: 3.582 MB / 331.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.4973, allocations: 0 / 445.1 MB, free: 3.582 MB / 331.1 MB Notification: Performance of Transformations before backend: time 2.241e-05/0.4973, allocations: 4 kB / 445.1 MB, free: 3.578 MB / 331.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.001266/0.4986, allocations: 0.5167 MB / 445.6 MB, free: 3.02 MB / 331.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.901e-05/0.4987, allocations: 12.03 kB / 445.6 MB, free: 3.008 MB / 331.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002848/0.499, allocations: 35.7 kB / 445.7 MB, free: 2.973 MB / 331.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004009/0.4994, allocations: 239.5 kB / 445.9 MB, free: 2.699 MB / 331.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.683e-05/0.4994, allocations: 4 kB / 445.9 MB, free: 2.695 MB / 331.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.831e-05/0.4995, allocations: 19.95 kB / 445.9 MB, free: 2.676 MB / 331.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003356/0.4998, allocations: 93.08 kB / 446 MB, free: 2.586 MB / 331.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000395/0.5003, allocations: 138.7 kB / 446.1 MB, free: 2.445 MB / 331.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.254e-05/0.5003, allocations: 0 / 446.1 MB, free: 2.445 MB / 331.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.927e-05/0.5003, allocations: 7.984 kB / 446.2 MB, free: 2.438 MB / 331.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.268e-06/0.5003, allocations: 5.031 kB / 446.2 MB, free: 2.434 MB / 331.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001548/0.5019, allocations: 0.5362 MB / 446.7 MB, free: 1.859 MB / 331.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000986/0.5029, allocations: 223.4 kB / 446.9 MB, free: 1.629 MB / 331.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002033/0.5031, allocations: 77.08 kB / 447 MB, free: 1.551 MB / 331.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.004e-05/0.5032, allocations: 7.984 kB / 447 MB, free: 1.543 MB / 331.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003309/0.5035, allocations: 133 kB / 447.1 MB, free: 1.406 MB / 331.1 MB Notification: Performance of pre-optimization done (n=22): time 2.515e-06/0.5036, allocations: 0 / 447.1 MB, free: 1.406 MB / 331.1 MB Notification: Performance of matching and sorting (n=22): time 0.0005928/0.5042, allocations: 188 kB / 447.3 MB, free: 1.219 MB / 331.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.343e-05/0.5042, allocations: 59.59 kB / 447.4 MB, free: 1.148 MB / 331.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002766/0.5045, allocations: 177.9 kB / 447.5 MB, free: 0.9648 MB / 331.1 MB Notification: Performance of collectPreVariables (initialization): time 5.856e-05/0.5046, allocations: 33.69 kB / 447.6 MB, free: 0.9258 MB / 331.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000144/0.5047, allocations: 195 kB / 447.8 MB, free: 0.7344 MB / 331.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.294e-05/0.5048, allocations: 70.95 kB / 447.8 MB, free: 0.6641 MB / 331.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.309e-05/0.5049, allocations: 0 / 447.8 MB, free: 0.6641 MB / 331.1 MB Notification: Performance of setup shared object (initialization): time 0.0001531/0.505, allocations: 330.8 kB / 448.2 MB, free: 340 kB / 331.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000249/0.5053, allocations: 76 kB / 448.2 MB, free: 264 kB / 331.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002953/0.5056, allocations: 113.7 kB / 448.3 MB, free: 144 kB / 331.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003863/0.506, allocations: 93.25 kB / 448.4 MB, free: 48 kB / 331.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.818e-06/0.506, allocations: 8 kB / 448.4 MB, free: 40 kB / 331.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0007921/0.5068, allocations: 267.2 kB / 448.7 MB, free: 15.77 MB / 347.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.592e-05/0.5069, allocations: 6.656 kB / 448.7 MB, free: 15.77 MB / 347.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.757e-05/0.5069, allocations: 6.25 kB / 448.7 MB, free: 15.77 MB / 347.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.139e-05/0.5069, allocations: 3.953 kB / 448.7 MB, free: 15.76 MB / 347.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005781/0.5075, allocations: 71.89 kB / 448.8 MB, free: 15.69 MB / 347.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.718e-06/0.5076, allocations: 8.031 kB / 448.8 MB, free: 15.68 MB / 347.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003299/0.5079, allocations: 39.72 kB / 448.8 MB, free: 15.64 MB / 347.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.425e-05/0.508, allocations: 15.94 kB / 448.9 MB, free: 15.63 MB / 347.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 17 ($whenCondition1,$PRE.noise.state[1],noise.state[1],$PRE.noise.state[2],noise.state[2],$PRE.noise.state[3],noise.state[3],$PRE.noise.state[4],noise.state[4],$PRE.noise.r,noise.r,$PRE.noise.r_raw,noise.r_raw,globalSeed.id_impure,noise.localSeed,noise.actualGlobalSeed,globalSeed.seed) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (38): * Single equations (assignments): 36 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 1 * 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.0001633/0.5081, allocations: 120.9 kB / 449 MB, free: 15.5 MB / 347.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.093e-05/0.5082, allocations: 15.81 kB / 449 MB, free: 15.49 MB / 347.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.616e-05/0.5083, allocations: 17.97 kB / 449 MB, free: 15.47 MB / 347.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.529e-06/0.5083, allocations: 0 / 449 MB, free: 15.47 MB / 347.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.416e-06/0.5083, allocations: 3.953 kB / 449 MB, free: 15.46 MB / 347.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.454e-06/0.5083, allocations: 3.984 kB / 449 MB, free: 15.46 MB / 347.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001262/0.5096, allocations: 0.5342 MB / 449.5 MB, free: 14.89 MB / 347.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.547e-06/0.5096, allocations: 0 / 449.5 MB, free: 14.89 MB / 347.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000503/0.5101, allocations: 51.95 kB / 449.6 MB, free: 14.84 MB / 347.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.522e-06/0.5102, allocations: 0 / 449.6 MB, free: 14.84 MB / 347.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.362e-05/0.5102, allocations: 11.95 kB / 449.6 MB, free: 14.82 MB / 347.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.106e-06/0.5102, allocations: 0 / 449.6 MB, free: 14.82 MB / 347.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.796e-06/0.5102, allocations: 0 / 449.6 MB, free: 14.82 MB / 347.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007792/0.511, allocations: 373.8 kB / 450 MB, free: 14.44 MB / 347.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.307e-05/0.5111, allocations: 92.91 kB / 450.1 MB, free: 14.33 MB / 347.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.112e-05/0.5112, allocations: 8.062 kB / 450.1 MB, free: 14.32 MB / 347.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003482/0.5116, allocations: 35.92 kB / 450.1 MB, free: 14.29 MB / 347.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.211e-05/0.5116, allocations: 11.98 kB / 450.1 MB, free: 14.28 MB / 347.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.457e-05/0.5117, allocations: 10.52 kB / 450.1 MB, free: 14.27 MB / 347.1 MB Notification: Performance of sorting global known variables: time 0.0001631/0.5119, allocations: 131.2 kB / 450.3 MB, free: 14.14 MB / 347.1 MB Notification: Performance of sort global known variables: time 3.61e-07/0.5119, allocations: 0 / 450.3 MB, free: 14.14 MB / 347.1 MB Notification: Performance of remove unused functions: time 0.0006034/0.5125, allocations: 79.77 kB / 450.3 MB, free: 14.06 MB / 347.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (mean.mu,variance.mu,variance.var,standardDeviation.variance.mu,standardDeviation.variance.var) * Number of discrete variables: 7 ($whenCondition1,noise.state[1],noise.state[2],noise.state[3],noise.state[4],noise.r,noise.r_raw) * Number of discrete states: 4 (noise.state[1],noise.state[2],noise.state[3],noise.state[4]) * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0006837/0.5132, allocations: 243 kB / 450.6 MB, free: 13.85 MB / 347.1 MB Notification: Performance of simCode: created initialization part: time 0.0006223/0.5138, allocations: 221.6 kB / 450.8 MB, free: 13.63 MB / 347.1 MB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.5138, allocations: 0 / 450.8 MB, free: 13.63 MB / 347.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002137/0.5141, allocations: 75.92 kB / 450.9 MB, free: 13.55 MB / 347.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003801/0.5145, allocations: 20.73 kB / 450.9 MB, free: 13.54 MB / 347.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008621/0.5153, allocations: 343.1 kB / 451.2 MB, free: 13.18 MB / 347.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004088/0.5158, allocations: 0.7438 MB / 452 MB, free: 12.41 MB / 347.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001556/0.5159, allocations: 27.42 kB / 452 MB, free: 12.38 MB / 347.1 MB Notification: Performance of SimCode: time 8.42e-07/0.516, allocations: 0 / 452 MB, free: 12.38 MB / 347.1 MB Notification: Performance of Templates: time 0.009797/0.5258, allocations: 3.592 MB / 455.6 MB, free: 8.82 MB / 347.1 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Blocks.Examples.NoiseExamples.UniformNoiseProperties.makefile make -j1 -f Modelica_3.2.3_cpp_Modelica.Blocks.Examples.NoiseExamples.UniformNoiseProperties.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/OMCompiler/build/include/omc/cpp/" -I. -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/include/omc/c/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelica_3.2.3_cpp_Modelica.Blocks.Examples.NoiseExamples.UniformNoisePropertiesCalcHelperMain.o OMCppModelica_3.2.3_cpp_Modelica.Blocks.Examples.NoiseExamples.UniformNoisePropertiesCalcHelperMain.cpp\nIn file included from OMCppModelica_3.2.3_cpp_Modelica.Blocks.Examples.NoiseExamples.UniformNoisePropertiesCalcHelperMain.cpp:29:\n./OMCppModelica_3.2.3_cpp_Modelica.Blocks.Examples.NoiseExamples.UniformNoisePropertiesInitialize.cpp:355:3: error: use of undeclared identifier \'$PRE_P_noise_P_state_\'; did you mean \'_noise_P_state_\'?\n $PRE_P_noise_P_state_.assign(tmp47);\n ^~~~~~~~~~~~~~~~~~~~~\n _noise_P_state_\n./OMCppModelica_3.2.3_cpp_Modelica.Blocks.Examples.NoiseExamples.UniformNoiseProperties.h:214:33: note: \'_noise_P_state_\' declared here\n StatArrayDim1 _noise_P_state_;\n ^\n1 error generated.\n: recipe for target \'OMCppModelica_3.2.3_cpp_Modelica.Blocks.Examples.NoiseExamples.UniformNoisePropertiesCalcHelperMain.o\' failed\nmake: *** [OMCppModelica_3.2.3_cpp_Modelica.Blocks.Examples.NoiseExamples.UniformNoisePropertiesCalcHelperMain.o] Error 1\n'