Running command: translateModel(Modelica_Noise.Math.Random.Examples.GenerateRandomNumbers,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_Noise_Modelica_Noise.Math.Random.Examples.GenerateRandomNumbers") Notification: Performance of loadModel(Modelica_Noise): time 1.73/1.73, allocations: 174.3 MB / 188.9 MB, free: 15.06 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.975e-05/2.973e-05, allocations: 0 / 231.9 MB, free: 4.234 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08315/0.08321, allocations: 39.39 MB / 271.3 MB, free: 12.76 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica_Noise.Math.Random.Examples.GenerateRandomNumbers): time 0.00149/0.08476, allocations: 0.9256 MB / 272.3 MB, free: 11.82 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001693/0.08648, allocations: 0.7342 MB / 273 MB, free: 11.08 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.041e-05/0.08654, allocations: 0 / 273 MB, free: 11.08 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 3.683e-05/0.08659, allocations: 3.938 kB / 273 MB, free: 11.07 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 3.119e-05/0.08663, allocations: 3.938 kB / 273 MB, free: 11.07 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005133/0.08716, allocations: 115.6 kB / 273.1 MB, free: 10.96 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 5.653e-05/0.08723, allocations: 19.97 kB / 273.1 MB, free: 10.94 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.379e-05/0.08727, allocations: 0 / 273.1 MB, free: 10.94 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.109e-05/0.08734, allocations: 19.92 kB / 273.1 MB, free: 10.92 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.297e-05/0.0874, allocations: 19.98 kB / 273.2 MB, free: 10.9 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002938/0.0877, allocations: 99.86 kB / 273.3 MB, free: 10.8 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 3.705e-05/0.08776, allocations: 8 kB / 273.3 MB, free: 10.79 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 4.793e-05/0.08781, allocations: 39.83 kB / 273.3 MB, free: 10.75 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 3.909e-05/0.08786, allocations: 12 kB / 273.3 MB, free: 10.74 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002564/0.08813, allocations: 131.7 kB / 273.4 MB, free: 10.61 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.397e-06/0.08815, allocations: 4 kB / 273.5 MB, free: 10.61 MB / 234.7 MB Notification: Performance of FrontEnd: time 2.053e-06/0.08816, allocations: 0 / 273.5 MB, free: 10.61 MB / 234.7 MB Notification: Performance of Transformations before backend: time 9.097e-06/0.08818, allocations: 0 / 273.5 MB, free: 10.61 MB / 234.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 45 * Number of variables: 45 Notification: Performance of Generate backend data structure: time 0.0006172/0.0888, allocations: 0.5569 MB / 274 MB, free: 9.992 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.247e-05/0.08886, allocations: 8.031 kB / 274 MB, free: 9.984 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001979/0.08907, allocations: 19.81 kB / 274 MB, free: 9.965 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001503/0.08923, allocations: 178.9 kB / 274.2 MB, free: 9.75 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.987e-05/0.08926, allocations: 4 kB / 274.2 MB, free: 9.746 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.559e-05/0.0893, allocations: 4 kB / 274.2 MB, free: 9.742 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004315/0.08974, allocations: 276.4 kB / 274.5 MB, free: 9.457 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.738e-06/0.08976, allocations: 0 / 274.5 MB, free: 9.457 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.016e-05/0.08979, allocations: 11.92 kB / 274.5 MB, free: 9.445 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.08981, allocations: 0 / 274.5 MB, free: 9.445 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002356/0.09005, allocations: 147.9 kB / 274.6 MB, free: 9.301 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002295/0.09029, allocations: 198.3 kB / 274.8 MB, free: 9.055 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006197/0.09093, allocations: 0.4932 MB / 275.3 MB, free: 8.543 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.613e-06/0.09095, allocations: 0 / 275.3 MB, free: 8.543 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006381/0.0916, allocations: 482.8 kB / 275.8 MB, free: 8.031 MB / 234.7 MB Notification: Performance of pre-optimization done (n=47): time 1.623e-06/0.09161, allocations: 0 / 275.8 MB, free: 8.031 MB / 234.7 MB Notification: Performance of matching and sorting (n=47): time 0.001462/0.09308, allocations: 0.901 MB / 276.7 MB, free: 7.074 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000124/0.09323, allocations: 160.5 kB / 276.9 MB, free: 6.887 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.468e-05/0.09332, allocations: 96.98 kB / 277 MB, free: 6.785 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 1.917e-05/0.09336, allocations: 25.7 kB / 277 MB, free: 6.754 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.978e-05/0.09342, allocations: 85.12 kB / 277.1 MB, free: 6.668 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001036/0.09353, allocations: 94.69 kB / 277.2 MB, free: 6.574 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.548e-06/0.09355, allocations: 4 kB / 277.2 MB, free: 6.57 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 0.0001421/0.0937, allocations: 322.8 kB / 277.5 MB, free: 6.246 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001333/0.09385, allocations: 88.47 kB / 277.6 MB, free: 6.16 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001616/0.09402, allocations: 116.3 kB / 277.7 MB, free: 6.039 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002695/0.0943, allocations: 196.4 kB / 277.9 MB, free: 5.836 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.09432, allocations: 0 / 277.9 MB, free: 5.836 MB / 234.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0005605/0.09489, allocations: 364.6 kB / 278.2 MB, free: 5.461 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000134/0.09504, allocations: 107.3 kB / 278.3 MB, free: 5.344 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.683e-06/0.09506, allocations: 0 / 278.3 MB, free: 5.344 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.776e-05/0.09508, allocations: 3.984 kB / 278.3 MB, free: 5.34 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.393e-06/0.09509, allocations: 0 / 278.3 MB, free: 5.34 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.212e-06/0.09511, allocations: 4.094 kB / 278.3 MB, free: 5.336 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001073/0.09523, allocations: 27.69 kB / 278.4 MB, free: 5.309 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.131e-05/0.09527, allocations: 8 kB / 278.4 MB, free: 5.301 MB / 234.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 47 ($whenCondition2,r64,r128,r1024,state64[1],state64[2],state128[1],state128[2],state128[3],state128[4],state1024[1],state1024[2],state1024[3],state1024[4],state1024[5],state1024[6],state1024[7],state1024[8],state1024[9],state1024[10],state1024[11],state1024[12],state1024[13],state1024[14],state1024[15],state1024[16],state1024[17],state1024[18],state1024[19],state1024[20],state1024[21],state1024[22],state1024[23],state1024[24],state1024[25],state1024[26],state1024[27],state1024[28],state1024[29],state1024[30],state1024[31],state1024[32],state1024[33],$whenCondition1,id,rImpure,iImpure) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 0 * 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.0003787/0.09566, allocations: 295.7 kB / 278.7 MB, free: 4.988 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.191e-05/0.09574, allocations: 31.75 kB / 278.7 MB, free: 4.957 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.234e-05/0.09577, allocations: 9.562 kB / 278.7 MB, free: 4.941 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.46e-06/0.09579, allocations: 4 kB / 278.7 MB, free: 4.938 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.0958, allocations: 0 / 278.7 MB, free: 4.938 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.09581, allocations: 0 / 278.7 MB, free: 4.938 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002553/0.09608, allocations: 233.3 kB / 278.9 MB, free: 4.66 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.908e-06/0.09609, allocations: 4 kB / 278.9 MB, free: 4.656 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.132e-06/0.0961, allocations: 0 / 278.9 MB, free: 4.656 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.462e-06/0.09612, allocations: 3.984 kB / 278.9 MB, free: 4.652 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.459e-05/0.09617, allocations: 27.89 kB / 279 MB, free: 4.625 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.348e-06/0.09619, allocations: 3.984 kB / 279 MB, free: 4.621 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.938e-06/0.0962, allocations: 4 kB / 279 MB, free: 4.617 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001973/0.09818, allocations: 1.24 MB / 280.2 MB, free: 3.336 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.154e-05/0.09828, allocations: 97.14 kB / 280.3 MB, free: 3.223 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001838/0.09848, allocations: 67.94 kB / 280.4 MB, free: 3.156 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001162/0.09861, allocations: 12.03 kB / 280.4 MB, free: 3.145 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.069e-05/0.09868, allocations: 11.98 kB / 280.4 MB, free: 3.133 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.014e-05/0.09874, allocations: 19.98 kB / 280.4 MB, free: 3.113 MB / 234.7 MB Notification: Performance of sorting global known variables: time 5.267e-05/0.0988, allocations: 83.27 kB / 280.5 MB, free: 3.031 MB / 234.7 MB Notification: Performance of sort global known variables: time 3.61e-07/0.09881, allocations: 0 / 280.5 MB, free: 3.031 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.0004894/0.09931, allocations: 99.98 kB / 280.6 MB, free: 2.934 MB / 234.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: 47 ($whenCondition2,r64,r128,r1024,state64[1],state64[2],state128[1],state128[2],state128[3],state128[4],state1024[1],state1024[2],state1024[3],state1024[4],state1024[5],state1024[6],state1024[7],state1024[8],state1024[9],state1024[10],state1024[11],state1024[12],state1024[13],state1024[14],state1024[15],state1024[16],state1024[17],state1024[18],state1024[19],state1024[20],state1024[21],state1024[22],state1024[23],state1024[24],state1024[25],state1024[26],state1024[27],state1024[28],state1024[29],state1024[30],state1024[31],state1024[32],state1024[33],$whenCondition1,id,rImpure,iImpure) * Number of discrete states: 47 (iImpure,rImpure,id,$whenCondition1,r1024,r128,r64,state1024[33],state1024[32],state1024[31],state1024[30],state1024[29],state1024[28],state1024[27],state1024[26],state1024[25],state1024[24],state1024[23],state1024[22],state1024[21],state1024[20],state1024[19],state1024[18],state1024[17],state1024[16],state1024[15],state1024[14],state1024[13],state1024[12],state1024[11],state1024[10],state1024[9],state1024[8],state1024[7],state1024[6],state1024[5],state1024[4],state1024[3],state1024[2],state1024[1],state128[4],state128[3],state128[2],state128[1],state64[2],state64[1],$whenCondition2) * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 0 * 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.0006481/0.09997, allocations: 254.2 kB / 280.8 MB, free: 2.684 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 0.002681/0.1027, allocations: 2.132 MB / 283 MB, free: 0.5273 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/0.1027, allocations: 8 kB / 283 MB, free: 0.5195 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00248/0.1052, allocations: 2.19 MB / 285.2 MB, free: 14.3 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001982/0.1054, allocations: 12 kB / 285.2 MB, free: 14.29 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009079/0.1064, allocations: 415.4 kB / 285.6 MB, free: 13.86 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003644/0.1067, allocations: 0.7286 MB / 286.3 MB, free: 13.1 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 6.923e-06/0.1068, allocations: 0 / 286.3 MB, free: 13.1 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.525e-05/0.1068, allocations: 15.38 kB / 286.3 MB, free: 13.09 MB / 250.7 MB Notification: Performance of SimCode: time 1.242e-06/0.1068, allocations: 0 / 286.3 MB, free: 13.09 MB / 250.7 MB Notification: Performance of Templates: time 0.009203/0.116, allocations: 2.873 MB / 289.2 MB, free: 10.21 MB / 250.7 MB make -j1 -f Modelica_Noise_Modelica_Noise.Math.Random.Examples.GenerateRandomNumbers.makefile clang -Os -fPIC -mfpmath=sse -fno-dollars-in-identifiers "-I/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica_Noise 1.0 Beta.1/Resources/Include" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Modelica_Noise_Modelica_Noise_Math_Random_Examples_GenerateRandomNumbers -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 Modelica_Noise_Modelica_Noise.Math.Random.Examples.GenerateRandomNumbers.o Modelica_Noise_Modelica_Noise.Math.Random.Examples.GenerateRandomNumbers.c Modelica_Noise_Modelica_Noise.Math.Random.Examples.GenerateRandomNumbers.c:307:59: error: use of undeclared identifier 'state'; did you mean 'stat'? integer_array_create(&tmp3, ((modelica_integer*)&((&state)[calc_base_index_dims_subs(1, stateSize, ((modelica_integer) 1))])), 1, stateSize); ^~~~~ stat /usr/include/x86_64-linux-gnu/sys/stat.h:205:12: note: 'stat' declared here extern int stat (const char *__restrict __file, ^ Modelica_Noise_Modelica_Noise.Math.Random.Examples.GenerateRandomNumbers.c:307:95: error: use of undeclared identifier 'stateSize' integer_array_create(&tmp3, ((modelica_integer*)&((&state)[calc_base_index_dims_subs(1, stateSize, ((modelica_integer) 1))])), 1, stateSize); ^ Modelica_Noise_Modelica_Noise.Math.Random.Examples.GenerateRandomNumbers.c:307:137: error: use of undeclared identifier 'stateSize' integer_array_create(&tmp3, ((modelica_integer*)&((&state)[calc_base_index_dims_subs(1, stateSize, ((modelica_integer) 1))])), 1, stateSize); ^ Modelica_Noise_Modelica_Noise.Math.Random.Examples.GenerateRandomNumbers.c:312:59: error: use of undeclared identifier 'state'; did you mean 'stat'? integer_array_create(&tmp6, ((modelica_integer*)&((&state)[calc_base_index_dims_subs(1, stateSize, ((modelica_integer) 1))])), 1, stateSize); ^~~~~ stat /usr/include/x86_64-linux-gnu/sys/stat.h:205:12: note: 'stat' declared here extern int stat (const char *__restrict __file, ^ Modelica_Noise_Modelica_Noise.Math.Random.Examples.GenerateRandomNumbers.c:312:95: error: use of undeclared identifier 'stateSize' integer_array_create(&tmp6, ((modelica_integer*)&((&state)[calc_base_index_dims_subs(1, stateSize, ((modelica_integer) 1))])), 1, stateSize); ^ Modelica_Noise_Modelica_Noise.Math.Random.Examples.GenerateRandomNumbers.c:312:137: error: use of undeclared identifier 'stateSize' integer_array_create(&tmp6, ((modelica_integer*)&((&state)[calc_base_index_dims_subs(1, stateSize, ((modelica_integer) 1))])), 1, stateSize); ^ 6 errors generated. : recipe for target 'Modelica_Noise_Modelica_Noise.Math.Random.Examples.GenerateRandomNumbers.o' failed make: *** [Modelica_Noise_Modelica_Noise.Math.Random.Examples.GenerateRandomNumbers.o] Error 1