Running command: translateModel(AdvancedNoise.Examples.SignalBasedNoise,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AdvancedNoise_AdvancedNoise.Examples.SignalBasedNoise") Notification: Performance of loadModel(AdvancedNoise): time 1.938/1.938, allocations: 209.8 MB / 221.9 MB, free: 4.727 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.36e-05/3.37e-05, allocations: 3.375 kB / 273.2 MB, free: 2.344 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08368/0.08374, allocations: 48.33 MB / 321.5 MB, free: 1.926 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3607/0.4445, allocations: 78.93 MB / 400.4 MB, free: 0.8203 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002057/0.4448, allocations: 66.83 kB / 400.5 MB, free: 0.7852 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02229/0.4671, allocations: 5.051 MB / 405.5 MB, free: 12.46 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.235e-06/0.4671, allocations: 0 / 405.5 MB, free: 12.46 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.793e-05/0.4672, allocations: 4 kB / 405.5 MB, free: 12.46 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0006324/0.4678, allocations: 412.6 kB / 405.9 MB, free: 12.02 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.451e-05/0.4679, allocations: 8.031 kB / 405.9 MB, free: 12.01 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003508/0.4682, allocations: 27.73 kB / 406 MB, free: 11.98 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003839/0.4686, allocations: 208.4 kB / 406.2 MB, free: 11.75 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.334e-05/0.4687, allocations: 11.2 kB / 406.2 MB, free: 11.74 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.106e-05/0.4687, allocations: 4 kB / 406.2 MB, free: 11.73 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002045/0.4689, allocations: 82.45 kB / 406.3 MB, free: 11.66 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.049e-06/0.469, allocations: 0 / 406.3 MB, free: 11.66 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.548e-05/0.469, allocations: 0 / 406.3 MB, free: 11.66 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.696e-06/0.469, allocations: 0 / 406.3 MB, free: 11.66 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001548/0.4692, allocations: 48.84 kB / 406.3 MB, free: 11.62 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008322/0.47, allocations: 345.6 kB / 406.7 MB, free: 11.27 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003716/0.4704, allocations: 82.56 kB / 406.7 MB, free: 11.2 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001645/0.4706, allocations: 31.3 kB / 406.8 MB, free: 11.18 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.552e-05/0.4707, allocations: 7.969 kB / 406.8 MB, free: 11.17 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.673e-05/0.4707, allocations: 30.56 kB / 406.8 MB, free: 11.13 MB / 330.7 MB Notification: Performance of pre-optimization done (n=8): time 7.659e-06/0.4708, allocations: 0 / 406.8 MB, free: 11.13 MB / 330.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006426/0.4714, allocations: 110 kB / 406.9 MB, free: 11.03 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.4e-05/0.4715, allocations: 55.41 kB / 407 MB, free: 10.96 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002611/0.4718, allocations: 139.2 kB / 407.1 MB, free: 10.83 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.948e-05/0.4719, allocations: 25.7 kB / 407.1 MB, free: 10.8 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001058/0.472, allocations: 98.69 kB / 407.2 MB, free: 10.71 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.933e-05/0.4721, allocations: 23.03 kB / 407.2 MB, free: 10.69 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.775e-05/0.4721, allocations: 3.938 kB / 407.2 MB, free: 10.69 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0002211/0.4723, allocations: 325.7 kB / 407.6 MB, free: 10.37 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001757/0.4725, allocations: 30.86 kB / 407.6 MB, free: 10.34 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001577/0.4727, allocations: 29.98 kB / 407.6 MB, free: 10.32 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001811/0.4729, allocations: 34.97 kB / 407.7 MB, free: 10.3 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.313e-06/0.473, allocations: 0 / 407.7 MB, free: 10.3 MB / 330.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0005915/0.4736, allocations: 125.8 kB / 407.8 MB, free: 10.19 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.709e-05/0.4736, allocations: 4 kB / 407.8 MB, free: 10.19 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.195e-05/0.4737, allocations: 4 kB / 407.8 MB, free: 10.18 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.096e-05/0.4737, allocations: 4 kB / 407.8 MB, free: 10.18 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003263/0.474, allocations: 19.97 kB / 407.8 MB, free: 10.16 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.495e-05/0.4741, allocations: 4 kB / 407.8 MB, free: 10.16 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001305/0.4742, allocations: 11.16 kB / 407.8 MB, free: 10.15 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.326e-05/0.4743, allocations: 4 kB / 407.8 MB, free: 10.14 MB / 330.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: 4 (signalBasedNoise.localSeed,globalSeed.id_impure,signalBasedNoise.actualGlobalSeed,globalSeed.seed) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * 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.0001647/0.4745, allocations: 122.7 kB / 407.9 MB, free: 10.02 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.282e-05/0.4746, allocations: 7.906 kB / 408 MB, free: 10.02 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009228/0.4756, allocations: 194.9 kB / 408.1 MB, free: 9.852 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.654e-05/0.4757, allocations: 4 kB / 408.2 MB, free: 9.848 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.654e-06/0.4757, allocations: 0 / 408.2 MB, free: 9.848 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.361e-06/0.4757, allocations: 0 / 408.2 MB, free: 9.848 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006954/0.4764, allocations: 222.8 kB / 408.4 MB, free: 9.598 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.715e-05/0.4765, allocations: 11.86 kB / 408.4 MB, free: 9.586 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001904/0.4767, allocations: 15.94 kB / 408.4 MB, free: 9.57 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.089e-06/0.4767, allocations: 0 / 408.4 MB, free: 9.57 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.768e-05/0.4768, allocations: 11.73 kB / 408.4 MB, free: 9.562 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.531e-06/0.4768, allocations: 0 / 408.4 MB, free: 9.562 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/0.4768, allocations: 0 / 408.4 MB, free: 9.562 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007111/0.4776, allocations: 244.1 kB / 408.6 MB, free: 9.332 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001658/0.4778, allocations: 108.4 kB / 408.8 MB, free: 9.211 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.721e-05/0.4778, allocations: 0 / 408.8 MB, free: 9.211 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002216/0.4781, allocations: 7.75 kB / 408.8 MB, free: 9.207 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.9e-05/0.4782, allocations: 7.984 kB / 408.8 MB, free: 9.199 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.298e-05/0.4782, allocations: 7.984 kB / 408.8 MB, free: 9.191 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001707/0.4784, allocations: 110.3 kB / 408.9 MB, free: 9.094 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.042e-06/0.4785, allocations: 0 / 408.9 MB, free: 9.094 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0009011/0.4794, allocations: 74.81 kB / 409 MB, free: 9.027 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 ($cse2[1],$cse2[2],$cse4[1],$cse4[2],signalBasedNoise.localSeed) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 7 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 2 * When equations: 1 * 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.00109/0.4805, allocations: 274.7 kB / 409.2 MB, free: 8.785 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0004765/0.481, allocations: 96.64 kB / 409.3 MB, free: 8.711 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.961e-06/0.481, allocations: 0 / 409.3 MB, free: 8.711 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000325/0.4814, allocations: 109.3 kB / 409.4 MB, free: 8.605 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000378/0.4818, allocations: 15.23 kB / 409.4 MB, free: 8.594 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000721/0.4825, allocations: 169.7 kB / 409.6 MB, free: 8.426 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005433/0.4831, allocations: 0.716 MB / 410.3 MB, free: 7.684 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0002439/0.4834, allocations: 20.42 kB / 410.3 MB, free: 7.664 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001182/0.4835, allocations: 19.42 kB / 410.4 MB, free: 7.645 MB / 330.7 MB Notification: Performance of SimCode: time 2.281e-06/0.4835, allocations: 0 / 410.4 MB, free: 7.645 MB / 330.7 MB Notification: Performance of Templates: time 0.01234/0.4959, allocations: 2.438 MB / 412.8 MB, free: 5.219 MB / 330.7 MB make -j1 -f AdvancedNoise_AdvancedNoise.Examples.SignalBasedNoise.makefile clang -Os -fPIC -mfpmath=sse -fno-dollars-in-identifiers -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=AdvancedNoise_AdvancedNoise_Examples_SignalBasedNoise -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.SignalBasedNoise.o AdvancedNoise_AdvancedNoise.Examples.SignalBasedNoise.c AdvancedNoise_AdvancedNoise.Examples.SignalBasedNoise.c:252:160: error: use of undeclared identifier '_omcQuot_6E427566666572' real_array_create(&tmp6, ((modelica_real*)&((&data->localData[0]->realVars[3] /* signalBasedNoise.buffer[1] variable */)[calc_base_index_dims_subs(1, 2, ((_omcQuot_6E427566666572 == ((modelica_integer) 1))?((modelica_integer) 1):((modelica_integer) 1) + (_event_integer(data->localData[0]->realVars[5] /* signalBasedNoise.offset variable */ - omc_AdvancedNoise_Sources__omcQuot_5369676E616C42617365644E6F697365247369676E616C42617365644E6F697365_zeroDer(threadData, ((modelica_real)((modelica_integer)floor(data->localData[0]->realVars[5] /* signalBasedNoise.offset variable */))), 0.0), ((modelica_integer) 2), data))))])), 1, 2); ^ AdvancedNoise_AdvancedNoise.Examples.SignalBasedNoise.c:253:52: error: use of undeclared identifier '_omcQuot_6E427566666572' tmp10 = (*real_array_element_addr1(&tmp6, 1, ((_omcQuot_6E427566666572 == ((modelica_integer) 1))?((modelica_integer) 1):((modelica_integer) 1) + (_event_integer(data->localData[0]->realVars[5] /* signalBasedNoise.offset variable */ - omc_AdvancedNoise_Sources__omcQuot_5369676E616C42617365644E6F697365247369676E616C42617365644E6F697365_zeroDer(threadData, ((modelica_real)((modelica_integer)floor(data->localData[0]->realVars[5] /* signalBasedNoise.offset variable */))), 0.0), ((modelica_integer) 2), data))))); ^ 2 errors generated. : recipe for target 'AdvancedNoise_AdvancedNoise.Examples.SignalBasedNoise.o' failed make: *** [AdvancedNoise_AdvancedNoise.Examples.SignalBasedNoise.o] Error 1