Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Blocks.Examples.NoiseExamples.UniformNoise.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.UniformNoise,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|uniformNoise2_y",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Blocks.Examples.NoiseExamples.UniformNoise") translateModel(Modelica.Blocks.Examples.NoiseExamples.UniformNoise,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|uniformNoise2_y",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Blocks.Examples.NoiseExamples.UniformNoise") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001625/0.001625, allocations: 181.2 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.007/2.007, 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.001071/0.00107, allocations: 86.7 kB / 267.5 MB, free: 14.05 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.007e-05/3.022e-05, allocations: 4 kB / 321.5 MB, free: 17.85 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1115/0.1115, allocations: 47.57 MB / 369.1 MB, free: 2.211 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4371/0.5487, allocations: 76.06 MB / 445.1 MB, free: 1.105 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002738/0.5491, allocations: 62.59 kB / 445.2 MB, free: 1.074 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01825/0.5673, allocations: 4.123 MB / 449.3 MB, free: 13.5 MB / 330.7 MB Notification: Performance of FrontEnd: time 5.28e-06/0.5674, allocations: 4 kB / 449.3 MB, free: 13.49 MB / 330.7 MB Notification: Performance of Transformations before backend: time 9.759e-06/0.5674, allocations: 0 / 449.3 MB, free: 13.49 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0007853/0.5682, allocations: 427.5 kB / 449.7 MB, free: 13.04 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.194e-05/0.5683, allocations: 16.03 kB / 449.8 MB, free: 13.03 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004254/0.5687, allocations: 44.03 kB / 449.8 MB, free: 12.99 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001999/0.5689, allocations: 194.8 kB / 450 MB, free: 12.76 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.08e-05/0.569, allocations: 3.438 kB / 450 MB, free: 12.76 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.948e-05/0.569, allocations: 11.95 kB / 450 MB, free: 12.75 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000258/0.5693, allocations: 99.55 kB / 450.1 MB, free: 12.65 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.054e-05/0.5694, allocations: 0 / 450.1 MB, free: 12.65 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.986e-05/0.5694, allocations: 7.312 kB / 450.1 MB, free: 12.65 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.016e-05/0.5694, allocations: 0 / 450.1 MB, free: 12.65 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001323/0.5696, allocations: 41.3 kB / 450.2 MB, free: 12.62 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009141/0.5705, allocations: 396.6 kB / 450.5 MB, free: 12.22 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002831/0.5708, allocations: 103.2 kB / 450.6 MB, free: 12.12 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001243/0.5709, allocations: 50.3 kB / 450.7 MB, free: 12.08 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.363e-05/0.571, allocations: 0 / 450.7 MB, free: 12.08 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003071/0.5713, allocations: 132.6 kB / 450.8 MB, free: 11.95 MB / 330.7 MB Notification: Performance of pre-optimization done (n=16): time 2.134e-06/0.5713, allocations: 0 / 450.8 MB, free: 11.95 MB / 330.7 MB Notification: Performance of matching and sorting (n=16): time 0.0005023/0.5718, allocations: 163.7 kB / 451 MB, free: 11.81 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.016e-05/0.5719, allocations: 100.1 kB / 451.1 MB, free: 11.7 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002145/0.5721, allocations: 158.6 kB / 451.2 MB, free: 11.56 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 6.902e-05/0.5722, allocations: 49.44 kB / 451.3 MB, free: 11.51 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000117/0.5723, allocations: 173 kB / 451.4 MB, free: 11.35 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.012e-05/0.5724, allocations: 34.05 kB / 451.5 MB, free: 11.32 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.352e-05/0.5724, allocations: 15.3 kB / 451.5 MB, free: 11.31 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001328/0.5726, allocations: 325.4 kB / 451.8 MB, free: 10.99 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002305/0.5728, allocations: 76 kB / 451.9 MB, free: 10.93 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000275/0.5731, allocations: 104.9 kB / 452 MB, free: 10.86 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000259/0.5734, allocations: 94.33 kB / 452.1 MB, free: 10.79 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.507e-06/0.5734, allocations: 0 / 452.1 MB, free: 10.79 MB / 330.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0006573/0.5741, allocations: 249.9 kB / 452.3 MB, free: 10.6 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.14e-05/0.5741, allocations: 4 kB / 452.3 MB, free: 10.59 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.853e-05/0.5742, allocations: 7.188 kB / 452.3 MB, free: 10.59 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.949e-05/0.5742, allocations: 0 / 452.3 MB, free: 10.59 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000276/0.5745, allocations: 27.92 kB / 452.4 MB, free: 10.56 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.279e-05/0.5745, allocations: 7.938 kB / 452.4 MB, free: 10.55 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001543/0.5747, allocations: 22.8 kB / 452.4 MB, free: 10.54 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.934e-05/0.5747, allocations: 14.75 kB / 452.4 MB, free: 10.52 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 32 ($whenCondition2,$whenCondition1,$PRE.uniformNoise2.state[1],uniformNoise2.state[1],$PRE.uniformNoise2.state[2],uniformNoise2.state[2],$PRE.uniformNoise2.state[3],uniformNoise2.state[3],$PRE.uniformNoise2.state[4],uniformNoise2.state[4],$PRE.uniformNoise2.r,uniformNoise2.r,$PRE.uniformNoise2.r_raw,uniformNoise2.r_raw,$PRE.uniformNoise1.state[1],uniformNoise1.state[1],$PRE.uniformNoise1.state[2],uniformNoise1.state[2],$PRE.uniformNoise1.state[3],uniformNoise1.state[3],$PRE.uniformNoise1.state[4],uniformNoise1.state[4],$PRE.uniformNoise1.r,uniformNoise1.r,$PRE.uniformNoise1.r_raw,uniformNoise1.r_raw,globalSeed.id_impure,uniformNoise1.localSeed,uniformNoise1.actualGlobalSeed,uniformNoise2.localSeed,uniformNoise2.actualGlobalSeed,globalSeed.seed) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (28): * Single equations (assignments): 24 * 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.0001823/0.5749, allocations: 142 kB / 452.5 MB, free: 10.38 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.184e-05/0.575, allocations: 15.81 kB / 452.6 MB, free: 10.37 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.674e-05/0.575, allocations: 11.91 kB / 452.6 MB, free: 10.36 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.085e-06/0.5751, allocations: 4 kB / 452.6 MB, free: 10.36 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.092e-06/0.5751, allocations: 0 / 452.6 MB, free: 10.36 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.164e-06/0.5751, allocations: 3.984 kB / 452.6 MB, free: 10.36 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002825/0.5754, allocations: 205.4 kB / 452.8 MB, free: 10.12 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.408e-06/0.5754, allocations: 7.953 kB / 452.8 MB, free: 10.11 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.557e-05/0.5755, allocations: 11.98 kB / 452.8 MB, free: 10.1 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.767e-06/0.5755, allocations: 0 / 452.8 MB, free: 10.1 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.039e-05/0.5755, allocations: 4 kB / 452.8 MB, free: 10.1 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.495e-06/0.5756, allocations: 0 / 452.8 MB, free: 10.1 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.824e-06/0.5756, allocations: 0 / 452.8 MB, free: 10.1 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004484/0.576, allocations: 226.8 kB / 453 MB, free: 9.883 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.944e-05/0.5761, allocations: 92.3 kB / 453.1 MB, free: 9.777 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.816e-05/0.5762, allocations: 7.984 kB / 453.1 MB, free: 9.77 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001084/0.5763, allocations: 15.36 kB / 453.1 MB, free: 9.758 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.123e-05/0.5764, allocations: 7.984 kB / 453.1 MB, free: 9.75 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.74e-05/0.5764, allocations: 4 kB / 453.2 MB, free: 9.746 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001449/0.5766, allocations: 121.6 kB / 453.3 MB, free: 9.641 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.5766, allocations: 0 / 453.3 MB, free: 9.641 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0005093/0.5771, allocations: 75.17 kB / 453.3 MB, free: 9.574 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 14 ($whenCondition2,uniformNoise1.state[1],uniformNoise1.state[2],uniformNoise1.state[3],uniformNoise1.state[4],uniformNoise1.r,uniformNoise1.r_raw,$whenCondition1,uniformNoise2.state[1],uniformNoise2.state[2],uniformNoise2.state[3],uniformNoise2.state[4],uniformNoise2.r,uniformNoise2.r_raw) * Number of discrete states: 8 (uniformNoise2.state[1],uniformNoise2.state[2],uniformNoise2.state[3],uniformNoise2.state[4],uniformNoise1.state[1],uniformNoise1.state[2],uniformNoise1.state[3],uniformNoise1.state[4]) * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 4 * 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.0006915/0.5778, allocations: 244 kB / 453.6 MB, free: 9.348 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0005312/0.5784, allocations: 221.4 kB / 453.8 MB, free: 9.164 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.426e-06/0.5784, allocations: 0 / 453.8 MB, free: 9.164 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001482/0.5785, allocations: 55.3 kB / 453.9 MB, free: 9.125 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000176/0.5787, allocations: 11.33 kB / 453.9 MB, free: 9.117 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000549/0.5793, allocations: 203.1 kB / 454.1 MB, free: 8.91 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003388/0.5796, allocations: 0.7201 MB / 454.8 MB, free: 8.164 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.725e-05/0.5797, allocations: 15.44 kB / 454.8 MB, free: 8.148 MB / 330.7 MB Notification: Performance of SimCode: time 8.02e-07/0.5797, allocations: 0 / 454.8 MB, free: 8.148 MB / 330.7 MB Notification: Performance of Templates: time 0.007509/0.5873, allocations: 2.689 MB / 457.5 MB, free: 5.465 MB / 330.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Blocks.Examples.NoiseExamples.UniformNoise.makefile make -j1 -f Modelica_3.2.3_cpp_Modelica.Blocks.Examples.NoiseExamples.UniformNoise.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.UniformNoiseCalcHelperMain.o OMCppModelica_3.2.3_cpp_Modelica.Blocks.Examples.NoiseExamples.UniformNoiseCalcHelperMain.cpp\nIn file included from OMCppModelica_3.2.3_cpp_Modelica.Blocks.Examples.NoiseExamples.UniformNoiseCalcHelperMain.cpp:29:\n./OMCppModelica_3.2.3_cpp_Modelica.Blocks.Examples.NoiseExamples.UniformNoiseInitialize.cpp:244:3: error: use of undeclared identifier \'$PRE_P_uniformNoise2_P_state_\'; did you mean \'_uniformNoise2_P_state_\'?\n $PRE_P_uniformNoise2_P_state_.assign(tmp41);\n ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n _uniformNoise2_P_state_\n./OMCppModelica_3.2.3_cpp_Modelica.Blocks.Examples.NoiseExamples.UniformNoise.h:198:33: note: \'_uniformNoise2_P_state_\' declared here\n StatArrayDim1 _uniformNoise2_P_state_;\n ^\nIn file included from OMCppModelica_3.2.3_cpp_Modelica.Blocks.Examples.NoiseExamples.UniformNoiseCalcHelperMain.cpp:29:\n./OMCppModelica_3.2.3_cpp_Modelica.Blocks.Examples.NoiseExamples.UniformNoiseInitialize.cpp:370:3: error: use of undeclared identifier \'$PRE_P_uniformNoise1_P_state_\'; did you mean \'_uniformNoise1_P_state_\'?\n $PRE_P_uniformNoise1_P_state_.assign(tmp45);\n ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n _uniformNoise1_P_state_\n./OMCppModelica_3.2.3_cpp_Modelica.Blocks.Examples.NoiseExamples.UniformNoise.h:197:33: note: \'_uniformNoise1_P_state_\' declared here\n StatArrayDim1 _uniformNoise1_P_state_;\n ^\n2 errors generated.\n: recipe for target \'OMCppModelica_3.2.3_cpp_Modelica.Blocks.Examples.NoiseExamples.UniformNoiseCalcHelperMain.o\' failed\nmake: *** [OMCppModelica_3.2.3_cpp_Modelica.Blocks.Examples.NoiseExamples.UniformNoiseCalcHelperMain.o] Error 1\n'