Running command: translateModel(Modelica.Blocks.Examples.Noise.ImpureGenerator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_trunk_cpp_Modelica.Blocks.Examples.Noise.ImpureGenerator") Notification: Performance of loadModel(Modelica): time 2.143/2.143, allocations: 224.7 MB / 241.1 MB, free: 1.684 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.921e-05/2.919e-05, allocations: 4 kB / 294.6 MB, free: 11.4 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1075/0.1076, allocations: 50.41 MB / 345 MB, free: 8.945 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.ImpureGenerator): time 0.001809/0.1095, allocations: 1.071 MB / 346 MB, free: 7.859 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.000893/0.1104, allocations: 335.3 kB / 346.4 MB, free: 7.531 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.492e-05/0.1105, allocations: 0 / 346.4 MB, free: 7.531 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 1.984e-05/0.1105, allocations: 0 / 346.4 MB, free: 7.531 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 5.437e-05/0.1106, allocations: 7.984 kB / 346.4 MB, free: 7.523 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003797/0.111, allocations: 51.75 kB / 346.4 MB, free: 7.473 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 5.6e-05/0.111, allocations: 15.97 kB / 346.4 MB, free: 7.457 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.604e-05/0.1111, allocations: 3.938 kB / 346.4 MB, free: 7.453 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.425e-05/0.1111, allocations: 8 kB / 346.5 MB, free: 7.445 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.431e-05/0.1112, allocations: 4 kB / 346.5 MB, free: 7.441 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001916/0.1114, allocations: 63.83 kB / 346.5 MB, free: 7.379 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.503e-05/0.1114, allocations: 4 kB / 346.5 MB, free: 7.375 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 1.435e-05/0.1114, allocations: 0 / 346.5 MB, free: 7.375 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 1.429e-05/0.1114, allocations: 0 / 346.5 MB, free: 7.375 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001823/0.1116, allocations: 63.89 kB / 346.6 MB, free: 7.312 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.497e-06/0.1116, allocations: 0 / 346.6 MB, free: 7.312 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.505e-06/0.1117, allocations: 0 / 346.6 MB, free: 7.312 MB / 282.7 MB Notification: Performance of Transformations before backend: time 9.227e-06/0.1117, allocations: 0 / 346.6 MB, free: 7.312 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0004139/0.1121, allocations: 335.4 kB / 346.9 MB, free: 6.938 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.664e-05/0.1122, allocations: 12.03 kB / 346.9 MB, free: 6.926 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.82e-05/0.1122, allocations: 7.859 kB / 346.9 MB, free: 6.918 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000143/0.1124, allocations: 167.3 kB / 347.1 MB, free: 6.715 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.242e-05/0.1124, allocations: 7.922 kB / 347.1 MB, free: 6.707 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.787e-05/0.1124, allocations: 3.938 kB / 347.1 MB, free: 6.703 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001076/0.1126, allocations: 33.7 kB / 347.1 MB, free: 6.664 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.346e-06/0.1126, allocations: 0 / 347.1 MB, free: 6.664 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.012e-05/0.1126, allocations: 0 / 347.1 MB, free: 6.664 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.1126, allocations: 4 kB / 347.1 MB, free: 6.66 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.355e-05/0.1126, allocations: 11.94 kB / 347.2 MB, free: 6.648 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003804/0.113, allocations: 236.9 kB / 347.4 MB, free: 6.367 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.231e-05/0.1131, allocations: 38.48 kB / 347.4 MB, free: 6.32 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.086e-05/0.1132, allocations: 0 / 347.4 MB, free: 6.32 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001296/0.1133, allocations: 55.47 kB / 347.5 MB, free: 6.254 MB / 282.7 MB Notification: Performance of pre-optimization done (n=3): time 1.653e-06/0.1133, allocations: 0 / 347.5 MB, free: 6.254 MB / 282.7 MB Notification: Performance of matching and sorting (n=3): time 0.0002022/0.1135, allocations: 53.64 kB / 347.5 MB, free: 6.195 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.949e-05/0.1136, allocations: 55.34 kB / 347.6 MB, free: 6.129 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.573e-05/0.1137, allocations: 101 kB / 347.7 MB, free: 6.023 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.852e-05/0.1137, allocations: 29.7 kB / 347.7 MB, free: 5.988 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.895e-05/0.1138, allocations: 154.5 kB / 347.9 MB, free: 5.836 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.734e-05/0.1138, allocations: 0 / 347.9 MB, free: 5.836 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.298e-06/0.1138, allocations: 0 / 347.9 MB, free: 5.836 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001237/0.114, allocations: 322.8 kB / 348.2 MB, free: 5.512 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.935e-05/0.114, allocations: 4 kB / 348.2 MB, free: 5.508 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.337e-05/0.1141, allocations: 21.72 kB / 348.2 MB, free: 5.48 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.098e-05/0.1141, allocations: 8 kB / 348.2 MB, free: 5.473 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.1141, allocations: 0 / 348.2 MB, free: 5.473 MB / 282.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001364/0.1143, allocations: 61.52 kB / 348.3 MB, free: 5.406 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.996e-05/0.1143, allocations: 4 kB / 348.3 MB, free: 5.402 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.1143, allocations: 8.031 kB / 348.3 MB, free: 5.395 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.43e-05/0.1143, allocations: 3.938 kB / 348.3 MB, free: 5.391 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.875e-05/0.1144, allocations: 4 kB / 348.3 MB, free: 5.387 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.122e-05/0.1145, allocations: 7.953 kB / 348.3 MB, free: 5.379 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.997e-05/0.1145, allocations: 8.312 kB / 348.3 MB, free: 5.371 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.847e-06/0.1145, allocations: 0 / 348.3 MB, free: 5.371 MB / 282.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: 4 ($whenCondition1,impureRandom.y,globalSeed.seed,globalSeed.id_impure) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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.0001103/0.1146, allocations: 109.8 kB / 348.4 MB, free: 5.254 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.649e-05/0.1147, allocations: 3.984 kB / 348.4 MB, free: 5.25 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.437e-05/0.1147, allocations: 11.91 kB / 348.4 MB, free: 5.234 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.723e-06/0.1147, allocations: 8 kB / 348.4 MB, free: 5.227 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.843e-06/0.1147, allocations: 0 / 348.4 MB, free: 5.227 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.73e-06/0.1147, allocations: 7.891 kB / 348.4 MB, free: 5.219 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003171/0.1151, allocations: 274.6 kB / 348.7 MB, free: 4.895 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.1151, allocations: 0 / 348.7 MB, free: 4.895 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.105e-05/0.1151, allocations: 4 kB / 348.7 MB, free: 4.891 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.266e-06/0.1151, allocations: 0 / 348.7 MB, free: 4.891 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.134e-05/0.1152, allocations: 3.984 kB / 348.7 MB, free: 4.887 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.08e-06/0.1152, allocations: 3.953 kB / 348.7 MB, free: 4.883 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.689e-06/0.1152, allocations: 4 kB / 348.7 MB, free: 4.879 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001697/0.1154, allocations: 151.4 kB / 348.9 MB, free: 4.715 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.519e-05/0.1154, allocations: 81.11 kB / 349 MB, free: 4.617 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.778e-05/0.1155, allocations: 336 / 349 MB, free: 4.617 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.682e-05/0.1155, allocations: 0 / 349 MB, free: 4.617 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.026e-05/0.1156, allocations: 3.953 kB / 349 MB, free: 4.613 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.058e-05/0.1156, allocations: 7.984 kB / 349 MB, free: 4.605 MB / 282.7 MB Notification: Performance of sorting global known variables: time 5.586e-05/0.1157, allocations: 83.28 kB / 349.1 MB, free: 4.523 MB / 282.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.1157, allocations: 4 kB / 349.1 MB, free: 4.52 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003519/0.116, allocations: 20 kB / 349.1 MB, free: 4.5 MB / 282.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: 2 ($whenCondition1,impureRandom.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.0005208/0.1166, allocations: 201.9 kB / 349.3 MB, free: 4.324 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001502/0.1167, allocations: 27.86 kB / 349.3 MB, free: 4.297 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.1168, allocations: 3.938 kB / 349.3 MB, free: 4.293 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 4.267e-05/0.1168, allocations: 4.094 kB / 349.3 MB, free: 4.289 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001785/0.117, allocations: 3.984 kB / 349.3 MB, free: 4.285 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003825/0.1174, allocations: 138.6 kB / 349.4 MB, free: 4.113 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002986/0.1177, allocations: 0.6926 MB / 350.1 MB, free: 3.395 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.706e-05/0.1178, allocations: 11.44 kB / 350.2 MB, free: 3.383 MB / 282.7 MB Notification: Performance of SimCode: time 9.42e-07/0.1178, allocations: 0 / 350.2 MB, free: 3.383 MB / 282.7 MB Notification: Performance of Templates: time 0.004087/0.1219, allocations: 1.194 MB / 351.3 MB, free: 2.188 MB / 282.7 MB make -j1 -f Modelica_trunk_cpp_Modelica.Blocks.Examples.Noise.ImpureGenerator.makefile 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 -DENABLE_OMSI -I"." -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/omsi/" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/omsi/base" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/omsi/solver" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/omsicpp/" -I. "-I/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica trunk/Resources/C-Sources" -I"." -I"." -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" "-I/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica trunk/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelica_trunk_cpp_Modelica.Blocks.Examples.Noise.ImpureGeneratorCalcHelperMain.o OMCppModelica_trunk_cpp_Modelica.Blocks.Examples.Noise.ImpureGeneratorCalcHelperMain.cpp In file included from OMCppModelica_trunk_cpp_Modelica.Blocks.Examples.Noise.ImpureGeneratorCalcHelperMain.cpp:29: ./OMCppModelica_trunk_cpp_Modelica.Blocks.Examples.Noise.ImpureGeneratorFunctions.cpp:132:3: error: no matching function for call to 'ModelicaRandom_xorshift64star' ModelicaRandom_xorshift64star(ConstArray(stateIn_).getData(), stateOut_.getData(), &result__ext); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica trunk/Resources/C-Sources/ModelicaRandom.h:72:22: note: candidate function not viable: 1st argument ('const int *') would lose const qualifier MODELICA_EXPORT void ModelicaRandom_xorshift64star(_In_ int* state_in, ^ In file included from OMCppModelica_trunk_cpp_Modelica.Blocks.Examples.Noise.ImpureGeneratorCalcHelperMain.cpp:29: ./OMCppModelica_trunk_cpp_Modelica.Blocks.Examples.Noise.ImpureGeneratorFunctions.cpp:322:3: error: no matching function for call to 'ModelicaRandom_setInternalState_xorshift1024star' ModelicaRandom_setInternalState_xorshift1024star(ConstArray(rngState_).getData(), rngState_.getDim(1), id__ext); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica trunk/Resources/C-Sources/ModelicaRandom.h:78:22: note: candidate function not viable: 1st argument ('const int *') would lose const qualifier MODELICA_EXPORT void ModelicaRandom_setInternalState_xorshift1024star( ^ 2 errors generated. : recipe for target 'OMCppModelica_trunk_cpp_Modelica.Blocks.Examples.Noise.ImpureGeneratorCalcHelperMain.o' failed make: *** [OMCppModelica_trunk_cpp_Modelica.Blocks.Examples.Noise.ImpureGeneratorCalcHelperMain.o] Error 1