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.00143/0.001434, allocations: 185.4 kB / 16.41 MB, free: 5.727 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.805/1.805, allocations: 205.4 MB / 222.5 MB, free: 9.137 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.001098/0.001098, allocations: 96.27 kB / 270.9 MB, free: 8.391 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003841/0.0003842, allocations: 8 kB / 327 MB, free: 228 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3135/0.3139, allocations: 47.56 MB / 374.5 MB, free: 45.41 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1134/0.4273, allocations: 76.15 MB / 450.7 MB, free: 4.645 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002479/0.4276, allocations: 71.97 kB / 450.7 MB, free: 4.574 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01726/0.4449, allocations: 4.138 MB / 454.9 MB, free: 432 kB / 330.7 MB Notification: Performance of FrontEnd: time 3.417e-06/0.445, allocations: 4 kB / 454.9 MB, free: 428 kB / 330.7 MB Notification: Performance of Transformations before backend: time 8.055e-06/0.445, allocations: 3.938 kB / 454.9 MB, free: 424 kB / 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.0007305/0.4457, allocations: 455.3 kB / 455.3 MB, free: 15.92 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.006e-05/0.4458, allocations: 8.031 kB / 455.3 MB, free: 15.91 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004075/0.4462, allocations: 47.77 kB / 455.4 MB, free: 15.87 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001772/0.4464, allocations: 190.8 kB / 455.6 MB, free: 15.64 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.881e-05/0.4464, allocations: 7.984 kB / 455.6 MB, free: 15.63 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.67e-05/0.4465, allocations: 7.953 kB / 455.6 MB, free: 15.62 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003325/0.4468, allocations: 119.3 kB / 455.7 MB, free: 15.5 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.017e-06/0.4468, allocations: 0 / 455.7 MB, free: 15.5 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.663e-05/0.4469, allocations: 4 kB / 455.7 MB, free: 15.49 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.4469, allocations: 0 / 455.7 MB, free: 15.49 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002996/0.4472, allocations: 67.89 kB / 455.8 MB, free: 15.43 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008433/0.4481, allocations: 389.5 kB / 456.2 MB, free: 14.99 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005168/0.4486, allocations: 143.3 kB / 456.3 MB, free: 14.84 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.568e-05/0.4486, allocations: 8.062 kB / 456.3 MB, free: 14.83 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003624/0.449, allocations: 141.1 kB / 456.4 MB, free: 14.67 MB / 346.7 MB Notification: Performance of pre-optimization done (n=16): time 2.004e-06/0.449, allocations: 4 kB / 456.5 MB, free: 14.67 MB / 346.7 MB Notification: Performance of matching and sorting (n=16): time 0.0009187/0.4499, allocations: 407.6 kB / 456.8 MB, free: 14.23 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.746e-05/0.45, allocations: 93.03 kB / 456.9 MB, free: 14.12 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002031/0.4502, allocations: 170.1 kB / 457.1 MB, free: 13.95 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 6.606e-05/0.4503, allocations: 41.69 kB / 457.1 MB, free: 13.9 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.575e-05/0.4504, allocations: 175 kB / 457.3 MB, free: 13.73 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.841e-05/0.4505, allocations: 35.61 kB / 457.4 MB, free: 13.69 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.567e-05/0.4505, allocations: 4 kB / 457.4 MB, free: 13.69 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001147/0.4507, allocations: 322.8 kB / 457.7 MB, free: 13.36 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003241/0.451, allocations: 88.47 kB / 457.8 MB, free: 13.27 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003496/0.4514, allocations: 127.5 kB / 457.9 MB, free: 13.14 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003491/0.4517, allocations: 105 kB / 458 MB, free: 13.04 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.011e-06/0.4517, allocations: 3.953 kB / 458 MB, free: 13.03 MB / 346.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0008179/0.4526, allocations: 282.2 kB / 458.3 MB, free: 12.75 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.704e-05/0.4526, allocations: 7.938 kB / 458.3 MB, free: 12.74 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.15e-05/0.4526, allocations: 4 kB / 458.3 MB, free: 12.74 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.408e-05/0.4526, allocations: 0 / 458.3 MB, free: 12.74 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002291/0.4529, allocations: 35.91 kB / 458.3 MB, free: 12.7 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.177e-05/0.4529, allocations: 8 kB / 458.3 MB, free: 12.7 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001306/0.4531, allocations: 19.91 kB / 458.3 MB, free: 12.68 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.197e-05/0.4531, allocations: 12 kB / 458.3 MB, free: 12.66 MB / 346.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 () * Number of clocked 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.000171/0.4533, allocations: 149.8 kB / 458.5 MB, free: 12.51 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.654e-05/0.4533, allocations: 19.77 kB / 458.5 MB, free: 12.49 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.285e-05/0.4534, allocations: 13.39 kB / 458.5 MB, free: 12.47 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.446e-06/0.4534, allocations: 7.938 kB / 458.5 MB, free: 12.46 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.442e-06/0.4534, allocations: 0 / 458.5 MB, free: 12.46 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.057e-06/0.4534, allocations: 3.938 kB / 458.5 MB, free: 12.46 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002466/0.4537, allocations: 209.6 kB / 458.7 MB, free: 12.2 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.4537, allocations: 0 / 458.7 MB, free: 12.2 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.427e-05/0.4538, allocations: 11.95 kB / 458.8 MB, free: 12.19 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.296e-06/0.4538, allocations: 0 / 458.8 MB, free: 12.19 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.254e-05/0.4538, allocations: 11.98 kB / 458.8 MB, free: 12.18 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.334e-06/0.4539, allocations: 0 / 458.8 MB, free: 12.18 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.4539, allocations: 0 / 458.8 MB, free: 12.18 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005786/0.4545, allocations: 247.3 kB / 459 MB, free: 11.91 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.779e-05/0.4545, allocations: 88.92 kB / 459.1 MB, free: 11.8 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.599e-05/0.4546, allocations: 15.98 kB / 459.1 MB, free: 11.79 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001015/0.4547, allocations: 7.984 kB / 459.1 MB, free: 11.78 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.144e-05/0.4548, allocations: 11.98 kB / 459.1 MB, free: 11.77 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.162e-05/0.4548, allocations: 8 kB / 459.1 MB, free: 11.76 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001331/0.455, allocations: 127.2 kB / 459.3 MB, free: 11.64 MB / 346.7 MB Notification: Performance of sort global known variables: time 4e-07/0.455, allocations: 0 / 459.3 MB, free: 11.64 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004216/0.4554, allocations: 63.94 kB / 459.3 MB, free: 11.57 MB / 346.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]) * Number of clocked states: 0 () * 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.0006006/0.456, allocations: 244.2 kB / 459.6 MB, free: 11.36 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0006514/0.4567, allocations: 251.8 kB / 459.8 MB, free: 11.1 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.4567, allocations: 0 / 459.8 MB, free: 11.1 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002336/0.4569, allocations: 63.97 kB / 459.9 MB, free: 11.04 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001518/0.4571, allocations: 11.95 kB / 459.9 MB, free: 11.03 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006131/0.4577, allocations: 300.8 kB / 460.2 MB, free: 10.7 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002807/0.458, allocations: 0.7238 MB / 460.9 MB, free: 9.949 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.784e-05/0.4581, allocations: 11.44 kB / 460.9 MB, free: 9.941 MB / 346.7 MB Notification: Performance of SimCode: time 6.31e-07/0.4581, allocations: 0 / 460.9 MB, free: 9.941 MB / 346.7 MB Notification: Performance of Templates: time 0.006566/0.4647, allocations: 2.697 MB / 463.6 MB, free: 7.246 MB / 346.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'