Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr AdvancedNoise_AdvancedNoise.Examples.TimeBasedNoise.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AdvancedNoise 1.1.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package AdvancedNoise with version 1.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AdvancedNoise 1.1.0-master/package.mo) Running command: translateModel(AdvancedNoise.Examples.TimeBasedNoise,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AdvancedNoise_AdvancedNoise.Examples.TimeBasedNoise") translateModel(AdvancedNoise.Examples.TimeBasedNoise,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AdvancedNoise_AdvancedNoise.Examples.TimeBasedNoise") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AdvancedNoise 1.1.0-master/package.mo): time 0.06432/0.06432, allocations: 3.783 MB / 16.34 MB, free: 3.145 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002067/0.002066, allocations: 191.9 kB / 17.77 MB, free: 2.449 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.977/1.977, allocations: 221.3 MB / 240.4 MB, free: 14.73 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001091/0.00109, allocations: 98.84 kB / 292.1 MB, free: 6.27 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 4.01e-05/4.038e-05, allocations: 4 kB / 351.1 MB, free: 2.473 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.112/0.1121, allocations: 51.16 MB / 402.3 MB, free: 15.27 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4649/0.577, allocations: 78.86 MB / 481.2 MB, free: 11.47 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001921/0.5773, allocations: 65.5 kB / 481.2 MB, free: 11.44 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02442/0.6017, allocations: 5.894 MB / 487.1 MB, free: 6.406 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.823e-06/0.6018, allocations: 0 / 487.1 MB, free: 6.406 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.976e-05/0.6018, allocations: 4 kB / 487.1 MB, free: 6.402 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.003361/0.6052, allocations: 2.246 MB / 489.4 MB, free: 4.367 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.993e-05/0.6052, allocations: 19.91 kB / 489.4 MB, free: 4.348 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009904/0.6062, allocations: 70.94 kB / 489.5 MB, free: 4.281 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007329/0.607, allocations: 293.1 kB / 489.7 MB, free: 3.977 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.45e-05/0.607, allocations: 4 kB / 489.7 MB, free: 3.973 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.506e-05/0.6071, allocations: 14.38 kB / 489.8 MB, free: 3.961 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004945/0.6076, allocations: 230.3 kB / 490 MB, free: 3.77 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.796e-06/0.6076, allocations: 0 / 490 MB, free: 3.77 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.416e-05/0.6077, allocations: 7.953 kB / 490 MB, free: 3.762 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.508e-06/0.6077, allocations: 0 / 490 MB, free: 3.762 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003791/0.6081, allocations: 175 kB / 490.2 MB, free: 3.633 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002884/0.6084, allocations: 256 kB / 490.4 MB, free: 3.359 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004178/0.6088, allocations: 287.9 kB / 490.7 MB, free: 3.18 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003897/0.6092, allocations: 266.9 kB / 491 MB, free: 3.027 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.233e-05/0.6092, allocations: 0 / 491 MB, free: 3.027 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000625/0.6099, allocations: 495.9 kB / 491.4 MB, free: 2.555 MB / 346.7 MB Notification: Performance of pre-optimization done (n=22): time 1.893e-06/0.6099, allocations: 0 / 491.4 MB, free: 2.555 MB / 346.7 MB Notification: Performance of matching and sorting (n=22): time 0.001052/0.611, allocations: 0.5045 MB / 491.9 MB, free: 2.137 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.555e-05/0.6111, allocations: 160.2 kB / 492.1 MB, free: 1.953 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002202/0.6113, allocations: 195.4 kB / 492.3 MB, free: 1.789 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.967e-05/0.6113, allocations: 29.7 kB / 492.3 MB, free: 1.754 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.014e-05/0.6114, allocations: 111.4 kB / 492.4 MB, free: 1.66 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.687e-05/0.6115, allocations: 51.22 kB / 492.5 MB, free: 1.613 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.443e-05/0.6116, allocations: 4.375 kB / 492.5 MB, free: 1.613 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 7.123e-05/0.6116, allocations: 329.7 kB / 492.8 MB, free: 1.289 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002498/0.6119, allocations: 115.5 kB / 492.9 MB, free: 1.211 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002422/0.6121, allocations: 112.2 kB / 493 MB, free: 1.137 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003159/0.6125, allocations: 204.7 kB / 493.2 MB, free: 0.9648 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.6125, allocations: 0 / 493.2 MB, free: 0.9648 MB / 346.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0007436/0.6133, allocations: 407.5 kB / 493.6 MB, free: 0.582 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.594e-05/0.6134, allocations: 101.7 kB / 493.7 MB, free: 484 kB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.765e-06/0.6134, allocations: 0.6562 kB / 493.7 MB, free: 484 kB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.053e-05/0.6134, allocations: 0.875 kB / 493.7 MB, free: 484 kB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002415/0.6137, allocations: 19.98 kB / 493.7 MB, free: 464 kB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.678e-06/0.6137, allocations: 3.953 kB / 493.7 MB, free: 460 kB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002037/0.6139, allocations: 27.83 kB / 493.8 MB, free: 432 kB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.403e-05/0.614, allocations: 12 kB / 493.8 MB, free: 420 kB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 26 ($whenCondition1,$whenCondition2,timeBasedNoise1.state[1],timeBasedNoise1.state[2],timeBasedNoise1.state[3],timeBasedNoise1.state[4],timeBasedNoise1.buffer[1],timeBasedNoise1.buffer[2],timeBasedNoise1.bufferStartTime,timeBasedNoise1.r,$whenCondition3,$whenCondition4,timeBasedNoise.state[1],timeBasedNoise.state[2],timeBasedNoise.state[3],timeBasedNoise.state[4],timeBasedNoise.buffer[1],timeBasedNoise.buffer[2],timeBasedNoise.bufferStartTime,timeBasedNoise.r,globalSeed.id_impure,timeBasedNoise.localSeed,timeBasedNoise.actualGlobalSeed,timeBasedNoise1.localSeed,timeBasedNoise1.actualGlobalSeed,globalSeed.seed) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * 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.0002508/0.6142, allocations: 240 kB / 494 MB, free: 160 kB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.598e-05/0.6143, allocations: 28.75 kB / 494 MB, free: 132 kB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.893e-05/0.6144, allocations: 17.52 kB / 494.1 MB, free: 120 kB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.428e-06/0.6144, allocations: 4 kB / 494.1 MB, free: 116 kB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.081e-06/0.6144, allocations: 1.062 kB / 494.1 MB, free: 116 kB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.49e-06/0.6144, allocations: 3.953 kB / 494.1 MB, free: 112 kB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003481/0.6148, allocations: 269.5 kB / 494.3 MB, free: 15.8 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.6148, allocations: 0 / 494.3 MB, free: 15.8 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001353/0.6149, allocations: 19.92 kB / 494.4 MB, free: 15.78 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.908e-06/0.615, allocations: 0 / 494.4 MB, free: 15.78 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.373e-05/0.615, allocations: 16 kB / 494.4 MB, free: 15.76 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.436e-06/0.615, allocations: 4.75 kB / 494.4 MB, free: 15.76 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.528e-06/0.615, allocations: 5.672 kB / 494.4 MB, free: 15.75 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001442/0.6165, allocations: 0.6264 MB / 495 MB, free: 15.09 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002322/0.6168, allocations: 148.7 kB / 495.2 MB, free: 14.93 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001118/0.6169, allocations: 23.98 kB / 495.2 MB, free: 14.9 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002186/0.6171, allocations: 12 kB / 495.2 MB, free: 14.89 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001101/0.6172, allocations: 28.48 kB / 495.2 MB, free: 14.86 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001009/0.6174, allocations: 35.89 kB / 495.2 MB, free: 14.83 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001857/0.6176, allocations: 140.7 kB / 495.4 MB, free: 14.69 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.61e-07/0.6176, allocations: 0 / 495.4 MB, free: 14.69 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000515/0.6181, allocations: 99.92 kB / 495.5 MB, free: 14.59 MB / 362.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: 20 ($whenCondition3,$whenCondition4,timeBasedNoise.state[1],timeBasedNoise.state[2],timeBasedNoise.state[3],timeBasedNoise.state[4],timeBasedNoise.buffer[1],timeBasedNoise.buffer[2],timeBasedNoise.bufferStartTime,timeBasedNoise.r,$whenCondition1,$whenCondition2,timeBasedNoise1.state[1],timeBasedNoise1.state[2],timeBasedNoise1.state[3],timeBasedNoise1.state[4],timeBasedNoise1.buffer[1],timeBasedNoise1.buffer[2],timeBasedNoise1.bufferStartTime,timeBasedNoise1.r) * Number of discrete states: 20 (timeBasedNoise1.buffer[2],timeBasedNoise1.buffer[1],timeBasedNoise1.r,timeBasedNoise1.bufferStartTime,timeBasedNoise1.state[4],timeBasedNoise1.state[3],timeBasedNoise1.state[2],timeBasedNoise1.state[1],$whenCondition2,$whenCondition1,timeBasedNoise.buffer[2],timeBasedNoise.buffer[1],timeBasedNoise.r,timeBasedNoise.bufferStartTime,timeBasedNoise.state[4],timeBasedNoise.state[3],timeBasedNoise.state[2],timeBasedNoise.state[1],$whenCondition4,$whenCondition3) * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * 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 Backend phase and start with SimCode phase: time 0.0007024/0.6188, allocations: 265.5 kB / 495.7 MB, free: 14.39 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001338/0.6202, allocations: 0.7216 MB / 496.5 MB, free: 13.64 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/0.6202, allocations: 0 / 496.5 MB, free: 13.64 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000968/0.6212, allocations: 0.6198 MB / 497.1 MB, free: 13 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003044/0.6215, allocations: 30.86 kB / 497.1 MB, free: 12.97 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001024/0.6225, allocations: 406.8 kB / 497.5 MB, free: 12.55 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003655/0.6229, allocations: 0.7316 MB / 498.2 MB, free: 11.79 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 9.901e-05/0.623, allocations: 16.48 kB / 498.3 MB, free: 11.77 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.905e-05/0.6231, allocations: 23.42 kB / 498.3 MB, free: 11.75 MB / 362.7 MB Notification: Performance of SimCode: time 1.312e-06/0.6231, allocations: 0 / 498.3 MB, free: 11.75 MB / 362.7 MB Notification: Performance of Templates: time 0.01243/0.6356, allocations: 3.89 MB / 0.4904 GB, free: 7.969 MB / 362.7 MB make -j1 -f AdvancedNoise_AdvancedNoise.Examples.TimeBasedNoise.makefile make -j1 -f AdvancedNoise_AdvancedNoise.Examples.TimeBasedNoise.makefile b'clang -Os -fPIC -mfpmath=sse -fno-dollars-in-identifiers -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=AdvancedNoise_AdvancedNoise_Examples_TimeBasedNoise -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o AdvancedNoise_AdvancedNoise.Examples.TimeBasedNoise.o AdvancedNoise_AdvancedNoise.Examples.TimeBasedNoise.c\nAdvancedNoise_AdvancedNoise.Examples.TimeBasedNoise.c:259:160: error: use of undeclared identifier \'nBuffer\'; did you mean \'logBuffer\'?\n real_array_create(&tmp25, ((modelica_real*)&((&data->localData[0]->realVars[6] /* timeBasedNoise1.buffer[1] DISCRETE */)[calc_base_index_dims_subs(1, 2, ((nBuffer == ((modelica_integer) 1))?((modelica_integer) 1):((modelica_integer) 1) + (_event_integer(DIVISION_SIM(data->localData[0]->timeValue - data->localData[0]->realVars[8] /* timeBasedNoise1.bufferStartTime DISCRETE */,data->simulationInfo->realParameter[6] /* timeBasedNoise1.samplePeriod PARAM */,"timeBasedNoise1.samplePeriod",equationIndexes), ((modelica_integer) 0), data))))])), 1, 2);\n ^~~~~~~\n logBuffer\n/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/simulation/solver/../../util/omc_error.h:148:13: note: \'logBuffer\' declared here\nextern char logBuffer[2048];\n ^\nAdvancedNoise_AdvancedNoise.Examples.TimeBasedNoise.c:259:168: warning: comparison between pointer and integer (\'char *\' and \'modelica_integer\' (aka \'long\'))\n real_array_create(&tmp25, ((modelica_real*)&((&data->localData[0]->realVars[6] /* timeBasedNoise1.buffer[1] DISCRETE */)[calc_base_index_dims_subs(1, 2, ((nBuffer == ((modelica_integer) 1))?((modelica_integer) 1):((modelica_integer) 1) + (_event_integer(DIVISION_SIM(data->localData[0]->timeValue - data->localData[0]->realVars[8] /* timeBasedNoise1.bufferStartTime DISCRETE */,data->simulationInfo->realParameter[6] /* timeBasedNoise1.samplePeriod PARAM */,"timeBasedNoise1.samplePeriod",equationIndexes), ((modelica_integer) 0), data))))])), 1, 2);\n ~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~\nAdvancedNoise_AdvancedNoise.Examples.TimeBasedNoise.c:260:53: error: use of undeclared identifier \'nBuffer\'; did you mean \'logBuffer\'?\n tmp29 = (*real_array_element_addr1(&tmp25, 1, ((nBuffer == ((modelica_integer) 1))?((modelica_integer) 1):((modelica_integer) 1) + (_event_integer(DIVISION_SIM(data->localData[0]->timeValue - data->localData[0]->realVars[8] /* timeBasedNoise1.bufferStartTime DISCRETE */,data->simulationInfo->realParameter[6] /* timeBasedNoise1.samplePeriod PARAM */,"timeBasedNoise1.samplePeriod",equationIndexes), ((modelica_integer) 0), data)))));\n ^~~~~~~\n logBuffer\n/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/simulation/solver/../../util/omc_error.h:148:13: note: \'logBuffer\' declared here\nextern char logBuffer[2048];\n ^\nAdvancedNoise_AdvancedNoise.Examples.TimeBasedNoise.c:260:61: warning: comparison between pointer and integer (\'char *\' and \'modelica_integer\' (aka \'long\'))\n tmp29 = (*real_array_element_addr1(&tmp25, 1, ((nBuffer == ((modelica_integer) 1))?((modelica_integer) 1):((modelica_integer) 1) + (_event_integer(DIVISION_SIM(data->localData[0]->timeValue - data->localData[0]->realVars[8] /* timeBasedNoise1.bufferStartTime DISCRETE */,data->simulationInfo->realParameter[6] /* timeBasedNoise1.samplePeriod PARAM */,"timeBasedNoise1.samplePeriod",equationIndexes), ((modelica_integer) 0), data)))));\n ~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~\nAdvancedNoise_AdvancedNoise.Examples.TimeBasedNoise.c:441:159: error: use of undeclared identifier \'nBuffer\'; did you mean \'logBuffer\'?\n real_array_create(&tmp53, ((modelica_real*)&((&data->localData[0]->realVars[2] /* timeBasedNoise.buffer[1] DISCRETE */)[calc_base_index_dims_subs(1, 2, ((nBuffer == ((modelica_integer) 1))?((modelica_integer) 1):((modelica_integer) 1) + (_event_integer(DIVISION_SIM(data->localData[0]->timeValue - data->localData[0]->realVars[4] /* timeBasedNoise.bufferStartTime DISCRETE */,data->simulationInfo->realParameter[2] /* timeBasedNoise.samplePeriod PARAM */,"timeBasedNoise.samplePeriod",equationIndexes), ((modelica_integer) 1), data))))])), 1, 2);\n ^~~~~~~\n logBuffer\n/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/simulation/solver/../../util/omc_error.h:148:13: note: \'logBuffer\' declared here\nextern char logBuffer[2048];\n ^\nAdvancedNoise_AdvancedNoise.Examples.TimeBasedNoise.c:441:167: warning: comparison between pointer and integer (\'char *\' and \'modelica_integer\' (aka \'long\'))\n real_array_create(&tmp53, ((modelica_real*)&((&data->localData[0]->realVars[2] /* timeBasedNoise.buffer[1] DISCRETE */)[calc_base_index_dims_subs(1, 2, ((nBuffer == ((modelica_integer) 1))?((modelica_integer) 1):((modelica_integer) 1) + (_event_integer(DIVISION_SIM(data->localData[0]->timeValue - data->localData[0]->realVars[4] /* timeBasedNoise.bufferStartTime DISCRETE */,data->simulationInfo->realParameter[2] /* timeBasedNoise.samplePeriod PARAM */,"timeBasedNoise.samplePeriod",equationIndexes), ((modelica_integer) 1), data))))])), 1, 2);\n ~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~\nAdvancedNoise_AdvancedNoise.Examples.TimeBasedNoise.c:442:53: error: use of undeclared identifier \'nBuffer\'; did you mean \'logBuffer\'?\n tmp57 = (*real_array_element_addr1(&tmp53, 1, ((nBuffer == ((modelica_integer) 1))?((modelica_integer) 1):((modelica_integer) 1) + (_event_integer(DIVISION_SIM(data->localData[0]->timeValue - data->localData[0]->realVars[4] /* timeBasedNoise.bufferStartTime DISCRETE */,data->simulationInfo->realParameter[2] /* timeBasedNoise.samplePeriod PARAM */,"timeBasedNoise.samplePeriod",equationIndexes), ((modelica_integer) 1), data)))));\n ^~~~~~~\n logBuffer\n/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/simulation/solver/../../util/omc_error.h:148:13: note: \'logBuffer\' declared here\nextern char logBuffer[2048];\n ^\nAdvancedNoise_AdvancedNoise.Examples.TimeBasedNoise.c:442:61: warning: comparison between pointer and integer (\'char *\' and \'modelica_integer\' (aka \'long\'))\n tmp57 = (*real_array_element_addr1(&tmp53, 1, ((nBuffer == ((modelica_integer) 1))?((modelica_integer) 1):((modelica_integer) 1) + (_event_integer(DIVISION_SIM(data->localData[0]->timeValue - data->localData[0]->realVars[4] /* timeBasedNoise.bufferStartTime DISCRETE */,data->simulationInfo->realParameter[2] /* timeBasedNoise.samplePeriod PARAM */,"timeBasedNoise.samplePeriod",equationIndexes), ((modelica_integer) 1), data)))));\n ~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~\n4 warnings and 4 errors generated.\n: recipe for target \'AdvancedNoise_AdvancedNoise.Examples.TimeBasedNoise.o\' failed\nmake: *** [AdvancedNoise_AdvancedNoise.Examples.TimeBasedNoise.o] Error 1\n'