Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties.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.NormalNoiseProperties,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.NormalNoiseProperties") translateModel(Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties,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.NormalNoiseProperties") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001448/0.001447, 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.012/2.012, 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.001111/0.001111, allocations: 92.06 kB / 262.1 MB, free: 13.88 MB / 219.1 MB Notification: Performance of FrontEnd - loaded program: time 2.017e-05/2.015e-05, allocations: 4 kB / 314.8 MB, free: 9.148 MB / 267.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3308/0.3308, allocations: 47.56 MB / 362.3 MB, free: 45.83 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.126/0.4569, allocations: 78.24 MB / 440.6 MB, free: 8.074 MB / 331.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003071/0.4573, allocations: 71.91 kB / 440.6 MB, free: 8.004 MB / 331.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.03237/0.4897, allocations: 6.617 MB / 447.3 MB, free: 1.418 MB / 331.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.4897, allocations: 0 / 447.3 MB, free: 1.418 MB / 331.1 MB Notification: Performance of Transformations before backend: time 2.024e-05/0.4898, allocations: 8 kB / 447.3 MB, free: 1.41 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.001403/0.4912, allocations: 0.5465 MB / 447.8 MB, free: 0.8164 MB / 331.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.636e-05/0.4912, allocations: 8.031 kB / 447.8 MB, free: 0.8086 MB / 331.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003004/0.4916, allocations: 39.2 kB / 447.9 MB, free: 0.7734 MB / 331.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004159/0.492, allocations: 231.6 kB / 448.1 MB, free: 0.5078 MB / 331.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.051e-05/0.492, allocations: 15.89 kB / 448.1 MB, free: 0.4922 MB / 331.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.539e-05/0.4921, allocations: 12 kB / 448.1 MB, free: 492 kB / 331.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000336/0.4925, allocations: 96.19 kB / 448.2 MB, free: 396 kB / 331.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003837/0.4929, allocations: 139.6 kB / 448.3 MB, free: 252 kB / 331.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.249e-05/0.4929, allocations: 4 kB / 448.3 MB, free: 248 kB / 331.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.7e-05/0.4929, allocations: 0 / 448.3 MB, free: 248 kB / 331.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.023e-06/0.493, allocations: 4 kB / 448.4 MB, free: 244 kB / 331.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001631/0.4946, allocations: 0.5401 MB / 448.9 MB, free: 15.66 MB / 347.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000984/0.4956, allocations: 223.6 kB / 449.1 MB, free: 15.43 MB / 347.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002055/0.4959, allocations: 73.98 kB / 449.2 MB, free: 15.36 MB / 347.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.198e-05/0.4959, allocations: 11.97 kB / 449.2 MB, free: 15.34 MB / 347.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003317/0.4962, allocations: 125.1 kB / 449.3 MB, free: 15.21 MB / 347.1 MB Notification: Performance of pre-optimization done (n=22): time 3.045e-06/0.4963, allocations: 0 / 449.3 MB, free: 15.21 MB / 347.1 MB Notification: Performance of matching and sorting (n=22): time 0.0006247/0.4969, allocations: 184 kB / 449.5 MB, free: 15.03 MB / 347.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.393e-05/0.497, allocations: 63.58 kB / 449.6 MB, free: 14.95 MB / 347.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002572/0.4972, allocations: 166 kB / 449.7 MB, free: 14.78 MB / 347.1 MB Notification: Performance of collectPreVariables (initialization): time 5.829e-05/0.4973, allocations: 34.83 kB / 449.8 MB, free: 14.74 MB / 347.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000144/0.4975, allocations: 199 kB / 449.9 MB, free: 14.55 MB / 347.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.158e-05/0.4976, allocations: 70.95 kB / 450 MB, free: 14.48 MB / 347.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.378e-05/0.4976, allocations: 0 / 450 MB, free: 14.48 MB / 347.1 MB Notification: Performance of setup shared object (initialization): time 0.0001515/0.4978, allocations: 322.8 kB / 450.3 MB, free: 14.15 MB / 347.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002565/0.498, allocations: 83.98 kB / 450.4 MB, free: 14.07 MB / 347.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000288/0.4983, allocations: 109.7 kB / 450.5 MB, free: 13.96 MB / 347.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004144/0.4988, allocations: 97.25 kB / 450.6 MB, free: 13.86 MB / 347.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.398e-06/0.4988, allocations: 4 kB / 450.6 MB, free: 13.86 MB / 347.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0008203/0.4996, allocations: 271.1 kB / 450.9 MB, free: 13.59 MB / 347.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.447e-05/0.4997, allocations: 4 kB / 450.9 MB, free: 13.59 MB / 347.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.879e-05/0.4997, allocations: 0 / 450.9 MB, free: 13.59 MB / 347.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.729e-05/0.4997, allocations: 9.922 kB / 450.9 MB, free: 13.58 MB / 347.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006001/0.5003, allocations: 79.88 kB / 451 MB, free: 13.5 MB / 347.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.985e-06/0.5004, allocations: 4.031 kB / 451 MB, free: 13.5 MB / 347.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003264/0.5007, allocations: 39.73 kB / 451 MB, free: 13.46 MB / 347.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.81e-05/0.5008, allocations: 11.98 kB / 451 MB, free: 13.45 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.0001763/0.501, allocations: 120.9 kB / 451.2 MB, free: 13.32 MB / 347.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.415e-05/0.501, allocations: 11.81 kB / 451.2 MB, free: 13.31 MB / 347.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.969e-05/0.5011, allocations: 17.95 kB / 451.2 MB, free: 13.29 MB / 347.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.498e-06/0.5011, allocations: 11.89 kB / 451.2 MB, free: 13.28 MB / 347.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.352e-06/0.5012, allocations: 0 / 451.2 MB, free: 13.28 MB / 347.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.681e-06/0.5012, allocations: 0 / 451.2 MB, free: 13.28 MB / 347.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001345/0.5025, allocations: 0.5383 MB / 451.7 MB, free: 12.7 MB / 347.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/0.5026, allocations: 0 / 451.7 MB, free: 12.7 MB / 347.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005009/0.5031, allocations: 51.95 kB / 451.8 MB, free: 12.65 MB / 347.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.565e-06/0.5031, allocations: 0 / 451.8 MB, free: 12.65 MB / 347.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.195e-05/0.5032, allocations: 16.81 kB / 451.8 MB, free: 12.63 MB / 347.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.619e-06/0.5032, allocations: 5.016 kB / 451.8 MB, free: 12.63 MB / 347.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.657e-06/0.5032, allocations: 0 / 451.8 MB, free: 12.63 MB / 347.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008209/0.504, allocations: 369.8 kB / 452.2 MB, free: 12.25 MB / 347.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.613e-05/0.5041, allocations: 92.86 kB / 452.3 MB, free: 12.14 MB / 347.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.728e-05/0.5042, allocations: 12.05 kB / 452.3 MB, free: 12.13 MB / 347.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003436/0.5046, allocations: 36.39 kB / 452.3 MB, free: 12.1 MB / 347.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.43e-05/0.5047, allocations: 11.98 kB / 452.3 MB, free: 12.09 MB / 347.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.555e-05/0.5047, allocations: 11.98 kB / 452.3 MB, free: 12.07 MB / 347.1 MB Notification: Performance of sorting global known variables: time 0.0001584/0.5049, allocations: 127.2 kB / 452.4 MB, free: 11.95 MB / 347.1 MB Notification: Performance of sort global known variables: time 4.01e-07/0.5049, allocations: 0 / 452.4 MB, free: 11.95 MB / 347.1 MB Notification: Performance of remove unused functions: time 0.000794/0.5057, allocations: 123.7 kB / 452.6 MB, free: 11.83 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.001173/0.5069, allocations: 326.1 kB / 452.9 MB, free: 11.54 MB / 347.1 MB Notification: Performance of simCode: created initialization part: time 0.0006745/0.5076, allocations: 221.6 kB / 453.1 MB, free: 11.32 MB / 347.1 MB Notification: Performance of simCode: created event and clocks part: time 5.671e-06/0.5076, allocations: 4 kB / 453.1 MB, free: 11.31 MB / 347.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002144/0.5078, allocations: 75.91 kB / 453.2 MB, free: 11.24 MB / 347.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004161/0.5083, allocations: 21.77 kB / 453.2 MB, free: 11.22 MB / 347.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008599/0.5091, allocations: 340.9 kB / 453.5 MB, free: 10.86 MB / 347.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004416/0.5096, allocations: 0.7438 MB / 454.3 MB, free: 10.09 MB / 347.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001695/0.5098, allocations: 31.44 kB / 454.3 MB, free: 10.06 MB / 347.1 MB Notification: Performance of SimCode: time 1.022e-06/0.5098, allocations: 0 / 454.3 MB, free: 10.06 MB / 347.1 MB Notification: Performance of Templates: time 0.01201/0.5218, allocations: 4.361 MB / 458.7 MB, free: 5.727 MB / 347.1 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties.makefile make -j1 -f Modelica_3.2.3_cpp_Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties.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.NormalNoisePropertiesCalcHelperMain.o OMCppModelica_3.2.3_cpp_Modelica.Blocks.Examples.NoiseExamples.NormalNoisePropertiesCalcHelperMain.cpp\nIn file included from OMCppModelica_3.2.3_cpp_Modelica.Blocks.Examples.NoiseExamples.NormalNoisePropertiesCalcHelperMain.cpp:29:\n./OMCppModelica_3.2.3_cpp_Modelica.Blocks.Examples.NoiseExamples.NormalNoisePropertiesInitialize.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(tmp70);\n ^~~~~~~~~~~~~~~~~~~~~\n _noise_P_state_\n./OMCppModelica_3.2.3_cpp_Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties.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.NormalNoisePropertiesCalcHelperMain.o\' failed\nmake: *** [OMCppModelica_3.2.3_cpp_Modelica.Blocks.Examples.NoiseExamples.NormalNoisePropertiesCalcHelperMain.o] Error 1\n'