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.002411/0.002411, allocations: 181.6 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.098/2.098, 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.001069/0.001069, allocations: 90.64 kB / 267.5 MB, free: 14.05 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.955e-05/2.972e-05, allocations: 8 kB / 321.5 MB, free: 17.85 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09475/0.0948, allocations: 47.57 MB / 369.1 MB, free: 2.211 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4032/0.498, allocations: 78.89 MB / 448 MB, free: 14.38 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002665/0.4984, allocations: 73.41 kB / 448.1 MB, free: 14.34 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03136/0.5297, allocations: 6.657 MB / 454.7 MB, free: 8.578 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.663e-06/0.5298, allocations: 0 / 454.7 MB, free: 8.578 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.9e-05/0.5298, allocations: 4 kB / 454.7 MB, free: 8.574 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: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.001342/0.5312, allocations: 0.547 MB / 455.3 MB, free: 7.992 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.736e-05/0.5312, allocations: 8.031 kB / 455.3 MB, free: 7.984 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002916/0.5315, allocations: 35.7 kB / 455.3 MB, free: 7.949 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000374/0.5319, allocations: 239.2 kB / 455.5 MB, free: 7.691 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.447e-05/0.532, allocations: 20.11 kB / 455.6 MB, free: 7.676 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.596e-05/0.5321, allocations: 23.56 kB / 455.6 MB, free: 7.66 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004331/0.5325, allocations: 156.5 kB / 455.7 MB, free: 7.543 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.09e-05/0.5325, allocations: 4 kB / 455.7 MB, free: 7.539 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.992e-05/0.5326, allocations: 3.875 kB / 455.7 MB, free: 7.539 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.388e-06/0.5326, allocations: 4 kB / 455.7 MB, free: 7.535 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003286/0.5329, allocations: 102.5 kB / 455.8 MB, free: 7.465 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001561/0.5345, allocations: 0.6003 MB / 456.4 MB, free: 6.91 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009971/0.5355, allocations: 232.7 kB / 456.7 MB, free: 6.719 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002116/0.5358, allocations: 79.16 kB / 456.7 MB, free: 6.664 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.336e-05/0.5358, allocations: 7.766 kB / 456.8 MB, free: 6.66 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000335/0.5362, allocations: 131.1 kB / 456.9 MB, free: 6.547 MB / 330.7 MB Notification: Performance of pre-optimization done (n=22): time 4.027e-06/0.5362, allocations: 4 kB / 456.9 MB, free: 6.543 MB / 330.7 MB Notification: Performance of matching and sorting (n=22): time 0.0006144/0.5368, allocations: 213.2 kB / 457.1 MB, free: 6.371 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.766e-05/0.5369, allocations: 55.59 kB / 457.2 MB, free: 6.305 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002722/0.5372, allocations: 189.9 kB / 457.3 MB, free: 6.137 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 5.61e-05/0.5372, allocations: 37.58 kB / 457.4 MB, free: 6.102 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001325/0.5374, allocations: 190.2 kB / 457.6 MB, free: 5.93 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.53e-05/0.5375, allocations: 74.69 kB / 457.6 MB, free: 5.867 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.79e-05/0.5375, allocations: 7.875 kB / 457.6 MB, free: 5.863 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001568/0.5377, allocations: 326.7 kB / 458 MB, free: 5.543 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002809/0.538, allocations: 93.64 kB / 458.1 MB, free: 5.484 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000308/0.5383, allocations: 120.6 kB / 458.2 MB, free: 5.398 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00028/0.5386, allocations: 94.02 kB / 458.3 MB, free: 5.34 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.477e-06/0.5386, allocations: 0 / 458.3 MB, free: 5.34 MB / 330.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.000741/0.5394, allocations: 287.7 kB / 458.5 MB, free: 5.125 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.431e-05/0.5394, allocations: 11.95 kB / 458.6 MB, free: 5.113 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.865e-05/0.5394, allocations: 0 / 458.6 MB, free: 5.113 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.991e-05/0.5395, allocations: 8.031 kB / 458.6 MB, free: 5.105 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005957/0.5401, allocations: 75.88 kB / 458.6 MB, free: 5.031 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.055e-05/0.5401, allocations: 0 / 458.6 MB, free: 5.031 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003294/0.5404, allocations: 51.66 kB / 458.7 MB, free: 4.984 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.338e-05/0.5405, allocations: 11.94 kB / 458.7 MB, free: 4.977 MB / 330.7 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.0001529/0.5407, allocations: 124.9 kB / 458.8 MB, free: 4.855 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.342e-05/0.5407, allocations: 23.7 kB / 458.8 MB, free: 4.832 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.226e-05/0.5408, allocations: 24.92 kB / 458.9 MB, free: 4.812 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.354e-06/0.5408, allocations: 7.938 kB / 458.9 MB, free: 4.805 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.022e-06/0.5409, allocations: 4 kB / 458.9 MB, free: 4.801 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.621e-06/0.5409, allocations: 0 / 458.9 MB, free: 4.801 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00127/0.5422, allocations: 0.5806 MB / 459.5 MB, free: 4.25 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.517e-06/0.5422, allocations: 0 / 459.5 MB, free: 4.25 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005001/0.5427, allocations: 55.95 kB / 459.5 MB, free: 4.195 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.693e-06/0.5427, allocations: 0 / 459.5 MB, free: 4.195 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.683e-05/0.5428, allocations: 11.86 kB / 459.5 MB, free: 4.188 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.126e-06/0.5428, allocations: 0 / 459.5 MB, free: 4.188 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.883e-06/0.5428, allocations: 0 / 459.5 MB, free: 4.188 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008069/0.5436, allocations: 387.8 kB / 459.9 MB, free: 3.863 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.916e-05/0.5437, allocations: 100.8 kB / 460 MB, free: 3.746 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.627e-05/0.5438, allocations: 11.23 kB / 460 MB, free: 3.738 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003211/0.5441, allocations: 23.61 kB / 460 MB, free: 3.719 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.413e-05/0.5442, allocations: 15.97 kB / 460.1 MB, free: 3.703 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.226e-05/0.5442, allocations: 11.88 kB / 460.1 MB, free: 3.695 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001861/0.5444, allocations: 144.9 kB / 460.2 MB, free: 3.57 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.3e-07/0.5445, allocations: 0 / 460.2 MB, free: 3.57 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0006911/0.5452, allocations: 136.7 kB / 460.3 MB, free: 3.449 MB / 330.7 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.001095/0.5463, allocations: 319.5 kB / 460.7 MB, free: 3.141 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0006686/0.547, allocations: 240.1 kB / 460.9 MB, free: 2.961 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.866e-06/0.547, allocations: 64 / 460.9 MB, free: 2.961 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002276/0.5472, allocations: 82.55 kB / 461 MB, free: 2.902 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003545/0.5476, allocations: 19.73 kB / 461 MB, free: 2.891 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008452/0.5484, allocations: 362.2 kB / 461.3 MB, free: 2.547 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003605/0.5488, allocations: 0.7554 MB / 462.1 MB, free: 1.762 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001606/0.549, allocations: 26.98 kB / 462.1 MB, free: 1.738 MB / 330.7 MB Notification: Performance of SimCode: time 1.032e-06/0.549, allocations: 0 / 462.1 MB, free: 1.738 MB / 330.7 MB Notification: Performance of Templates: time 0.01143/0.5605, allocations: 4.394 MB / 466.5 MB, free: 13.36 MB / 346.7 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/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.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'