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.002333/0.002337, allocations: 177.8 kB / 8.363 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.132/2.132, allocations: 205.3 MB / 214.1 MB, free: 14.14 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.001108/0.001108, allocations: 92.47 kB / 262.1 MB, free: 13.88 MB / 219.1 MB Notification: Performance of FrontEnd - loaded program: time 2.147e-05/2.15e-05, allocations: 4 kB / 314.8 MB, free: 9.164 MB / 267.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.344/0.344, allocations: 47.56 MB / 362.3 MB, free: 45.84 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1255/0.4696, allocations: 75.39 MB / 437.7 MB, free: 10.96 MB / 331.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002718/0.4699, allocations: 67.97 kB / 437.8 MB, free: 10.89 MB / 331.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.01831/0.4882, allocations: 4.109 MB / 441.9 MB, free: 6.801 MB / 331.1 MB Notification: Performance of FrontEnd: time 1.794e-06/0.4883, allocations: 0 / 441.9 MB, free: 6.801 MB / 331.1 MB Notification: Performance of Transformations before backend: time 9.288e-06/0.4883, allocations: 0 / 441.9 MB, free: 6.801 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0008098/0.4891, allocations: 427.6 kB / 442.3 MB, free: 6.344 MB / 331.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.016e-05/0.4892, allocations: 12.03 kB / 442.3 MB, free: 6.332 MB / 331.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004368/0.4896, allocations: 44.72 kB / 442.4 MB, free: 6.289 MB / 331.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002348/0.4899, allocations: 190.8 kB / 442.6 MB, free: 6.062 MB / 331.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.696e-05/0.4899, allocations: 3.625 kB / 442.6 MB, free: 6.062 MB / 331.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.73e-05/0.49, allocations: 14.02 kB / 442.6 MB, free: 6.051 MB / 331.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001492/0.4901, allocations: 35.98 kB / 442.6 MB, free: 6.016 MB / 331.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000244/0.4904, allocations: 95.36 kB / 442.7 MB, free: 5.91 MB / 331.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.028e-05/0.4904, allocations: 4 kB / 442.7 MB, free: 5.906 MB / 331.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.066e-05/0.4905, allocations: 3.984 kB / 442.7 MB, free: 5.902 MB / 331.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.302e-06/0.4905, allocations: 2.156 kB / 442.7 MB, free: 5.902 MB / 331.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009005/0.4914, allocations: 366 kB / 443.1 MB, free: 5.508 MB / 331.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002597/0.4917, allocations: 91.17 kB / 443.2 MB, free: 5.402 MB / 331.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001117/0.4918, allocations: 52.17 kB / 443.2 MB, free: 5.348 MB / 331.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.448e-05/0.4918, allocations: 0 / 443.2 MB, free: 5.348 MB / 331.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002928/0.4921, allocations: 138.7 kB / 443.3 MB, free: 5.195 MB / 331.1 MB Notification: Performance of pre-optimization done (n=16): time 1.844e-06/0.4921, allocations: 0 / 443.3 MB, free: 5.195 MB / 331.1 MB Notification: Performance of matching and sorting (n=16): time 0.0004937/0.4926, allocations: 165.4 kB / 443.5 MB, free: 5.027 MB / 331.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.032e-05/0.4927, allocations: 89.11 kB / 443.6 MB, free: 4.922 MB / 331.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002305/0.493, allocations: 154.2 kB / 443.7 MB, free: 4.766 MB / 331.1 MB Notification: Performance of collectPreVariables (initialization): time 7.19e-05/0.4931, allocations: 45.62 kB / 443.8 MB, free: 4.715 MB / 331.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001294/0.4932, allocations: 171 kB / 444 MB, free: 4.543 MB / 331.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.911e-05/0.4933, allocations: 35.61 kB / 444 MB, free: 4.508 MB / 331.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.737e-05/0.4933, allocations: 0 / 444 MB, free: 4.508 MB / 331.1 MB Notification: Performance of setup shared object (initialization): time 0.000156/0.4935, allocations: 326.8 kB / 444.3 MB, free: 4.18 MB / 331.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002124/0.4937, allocations: 72.5 kB / 444.4 MB, free: 4.102 MB / 331.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002402/0.494, allocations: 99.34 kB / 444.5 MB, free: 3.996 MB / 331.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004173/0.4944, allocations: 91.94 kB / 444.6 MB, free: 3.906 MB / 331.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.288e-06/0.4944, allocations: 0 / 444.6 MB, free: 3.906 MB / 331.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0007413/0.4952, allocations: 245.4 kB / 444.8 MB, free: 3.66 MB / 331.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.35e-05/0.4952, allocations: 8.062 kB / 444.8 MB, free: 3.652 MB / 331.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.641e-05/0.4952, allocations: 4 kB / 444.8 MB, free: 3.648 MB / 331.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.804e-05/0.4953, allocations: 0 / 444.8 MB, free: 3.648 MB / 331.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002539/0.4955, allocations: 29.05 kB / 444.8 MB, free: 3.621 MB / 331.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.475e-05/0.4956, allocations: 7.938 kB / 444.9 MB, free: 3.613 MB / 331.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001542/0.4957, allocations: 15.8 kB / 444.9 MB, free: 3.598 MB / 331.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.079e-05/0.4958, allocations: 16 kB / 444.9 MB, free: 3.582 MB / 331.1 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.0002004/0.496, allocations: 132 kB / 445 MB, free: 3.445 MB / 331.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.399e-05/0.4961, allocations: 15.77 kB / 445 MB, free: 3.43 MB / 331.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.984e-05/0.4961, allocations: 13.84 kB / 445 MB, free: 3.418 MB / 331.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.709e-06/0.4962, allocations: 0 / 445 MB, free: 3.418 MB / 331.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.073e-06/0.4962, allocations: 3.062 kB / 445 MB, free: 3.418 MB / 331.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.08e-06/0.4962, allocations: 0 / 445 MB, free: 3.418 MB / 331.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002976/0.4965, allocations: 190.1 kB / 445.2 MB, free: 3.195 MB / 331.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/0.4965, allocations: 96 / 445.2 MB, free: 3.195 MB / 331.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.882e-05/0.4966, allocations: 13.03 kB / 445.2 MB, free: 3.184 MB / 331.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.726e-06/0.4967, allocations: 7.984 kB / 445.3 MB, free: 3.176 MB / 331.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.193e-05/0.4967, allocations: 7.938 kB / 445.3 MB, free: 3.168 MB / 331.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.11e-06/0.4967, allocations: 4 kB / 445.3 MB, free: 3.164 MB / 331.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/0.4967, allocations: 0 / 445.3 MB, free: 3.164 MB / 331.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004972/0.4972, allocations: 211.2 kB / 445.5 MB, free: 2.934 MB / 331.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.964e-05/0.4973, allocations: 96.91 kB / 445.6 MB, free: 2.82 MB / 331.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.657e-05/0.4974, allocations: 11.95 kB / 445.6 MB, free: 2.809 MB / 331.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001247/0.4975, allocations: 7.984 kB / 445.6 MB, free: 2.801 MB / 331.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.37e-05/0.4976, allocations: 11.98 kB / 445.6 MB, free: 2.789 MB / 331.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.802e-05/0.4977, allocations: 7.984 kB / 445.6 MB, free: 2.781 MB / 331.1 MB Notification: Performance of sorting global known variables: time 0.0001407/0.4978, allocations: 122.8 kB / 445.7 MB, free: 2.664 MB / 331.1 MB Notification: Performance of sort global known variables: time 3.8e-07/0.4978, allocations: 0 / 445.7 MB, free: 2.664 MB / 331.1 MB Notification: Performance of remove unused functions: time 0.0005142/0.4983, allocations: 59.88 kB / 445.8 MB, free: 2.605 MB / 331.1 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.0007297/0.4991, allocations: 232.6 kB / 446 MB, free: 2.402 MB / 331.1 MB Notification: Performance of simCode: created initialization part: time 0.0005855/0.4997, allocations: 223.2 kB / 446.2 MB, free: 2.172 MB / 331.1 MB Notification: Performance of simCode: created event and clocks part: time 4.248e-06/0.4997, allocations: 0 / 446.2 MB, free: 2.172 MB / 331.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001433/0.4999, allocations: 51.98 kB / 446.3 MB, free: 2.121 MB / 331.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002102/0.5001, allocations: 5.719 kB / 446.3 MB, free: 2.117 MB / 331.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005633/0.5007, allocations: 211.3 kB / 446.5 MB, free: 1.883 MB / 331.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004126/0.5011, allocations: 0.7119 MB / 447.2 MB, free: 1.145 MB / 331.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.785e-05/0.5012, allocations: 11.44 kB / 447.2 MB, free: 1.133 MB / 331.1 MB Notification: Performance of SimCode: time 1.292e-06/0.5012, allocations: 4 kB / 447.2 MB, free: 1.129 MB / 331.1 MB Notification: Performance of Templates: time 0.009124/0.5103, allocations: 2.691 MB / 449.9 MB, free: 14.46 MB / 347.1 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/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.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'