Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.ActuatorWithNoise.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Noise 1.0.0-master/package.mo", uses=false) Using package Modelica_Noise with version 1.0 Beta.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Noise 1.0.0-master/package.mo) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(Modelica_Noise.Blocks.Examples.NoiseExamples.ActuatorWithNoise,tolerance=1e-05,outputFormat="empty",numberOfIntervals=1600,variableFilter="",fileNamePrefix="Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.ActuatorWithNoise") translateModel(Modelica_Noise.Blocks.Examples.NoiseExamples.ActuatorWithNoise,tolerance=1e-05,outputFormat="empty",numberOfIntervals=1600,variableFilter="",fileNamePrefix="Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.ActuatorWithNoise") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.0008497/0.0008497, allocations: 169.2 kB / 15.77 MB, free: 6.348 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.09/1.09, allocations: 170.8 MB / 187.3 MB, free: 1.035 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001407/0.001407, allocations: 114 kB / 226.8 MB, free: 10.1 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Noise 1.0.0-master/package.mo): time 0.01871/0.01871, allocations: 3.108 MB / 269.4 MB, free: 15.45 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003148/0.0003148, allocations: 12 kB / 319.3 MB, free: 63.25 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05669/0.05702, allocations: 39.4 MB / 358.7 MB, free: 23.96 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica_Noise.Blocks.Examples.NoiseExamples.ActuatorWithNoise): time 0.008564/0.06563, allocations: 11.98 MB / 370.7 MB, free: 11.94 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.006928/0.0726, allocations: 4.823 MB / 375.5 MB, free: 7.105 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001532/0.07416, allocations: 63.69 kB / 375.6 MB, free: 7.043 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001476/0.07565, allocations: 0.7259 MB / 376.3 MB, free: 6.312 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002141/0.07781, allocations: 0.9512 MB / 377.2 MB, free: 5.359 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001174/0.07899, allocations: 0.5655 MB / 377.8 MB, free: 4.793 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.00293/0.08193, allocations: 4.046 MB / 381.8 MB, free: 0.7344 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002222/0.08416, allocations: 2.121 MB / 384 MB, free: 14.57 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001905/0.08608, allocations: 1.358 MB / 385.3 MB, free: 13.21 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001886/0.08797, allocations: 1.727 MB / 387 MB, free: 11.47 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003716/0.08836, allocations: 208 kB / 387.2 MB, free: 11.27 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001033/0.0894, allocations: 471.5 kB / 387.7 MB, free: 10.81 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009007/0.09031, allocations: 0.993 MB / 388.7 MB, free: 9.812 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007493/0.09107, allocations: 0.7459 MB / 389.4 MB, free: 9.059 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004971/0.09605, allocations: 5.964 MB / 395.4 MB, free: 3.078 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.388e-06/0.09608, allocations: 11.94 kB / 395.4 MB, free: 3.066 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.665e-06/0.09609, allocations: 0 / 395.4 MB, free: 3.066 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001832/0.09628, allocations: 0 / 395.4 MB, free: 3.066 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 813 * Number of variables: 813 Notification: Performance of Generate backend data structure: time 0.007991/0.1043, allocations: 3.599 MB / 399 MB, free: 15.39 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.057e-05/0.1043, allocations: 12.03 kB / 399 MB, free: 15.38 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001399/0.1057, allocations: 451 kB / 399.5 MB, free: 14.94 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003228/0.109, allocations: 2.097 MB / 401.6 MB, free: 12.79 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006523/0.1096, allocations: 419.2 kB / 402 MB, free: 12.36 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004507/0.1101, allocations: 307.9 kB / 402.3 MB, free: 12.06 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00702/0.1171, allocations: 4.227 MB / 406.5 MB, free: 7.758 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.913e-05/0.1172, allocations: 15.83 kB / 406.5 MB, free: 7.742 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003026/0.1175, allocations: 132 kB / 406.7 MB, free: 7.613 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001323/0.1177, allocations: 146.1 kB / 406.8 MB, free: 7.469 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006341/0.124, allocations: 3.811 MB / 410.6 MB, free: 3.648 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1371/0.2612, allocations: 14.12 MB / 424.7 MB, free: 45.47 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002772/0.264, allocations: 2.129 MB / 426.9 MB, free: 44.17 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001799/0.2658, allocations: 1.281 MB / 428.1 MB, free: 43.54 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002182/0.2661, allocations: 138.9 kB / 428.3 MB, free: 43.43 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001834/0.2679, allocations: 1.3 MB / 429.6 MB, free: 42.64 MB / 282.7 MB Notification: Performance of pre-optimization done (n=184): time 3.567e-06/0.2679, allocations: 0 / 429.6 MB, free: 42.64 MB / 282.7 MB Notification: Performance of matching and sorting (n=232): time 0.02547/0.2934, allocations: 13.26 MB / 442.8 MB, free: 34.64 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.002692/0.2961, allocations: 3.263 MB / 446.1 MB, free: 31.19 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002436/0.2986, allocations: 2.117 MB / 448.2 MB, free: 29.04 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003231/0.2989, allocations: 77.7 kB / 448.3 MB, free: 28.96 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007893/0.2997, allocations: 1.461 MB / 449.8 MB, free: 27.48 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004781/0.3002, allocations: 0.7808 MB / 450.5 MB, free: 26.71 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000122/0.3003, allocations: 52 kB / 450.6 MB, free: 26.66 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 9.453e-05/0.3004, allocations: 411.3 kB / 451 MB, free: 26.25 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001683/0.3021, allocations: 1.254 MB / 452.2 MB, free: 25 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001855/0.304, allocations: 1.901 MB / 454.1 MB, free: 22.84 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001899/0.3059, allocations: 1.517 MB / 455.7 MB, free: 21.3 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.316e-06/0.3059, allocations: 4 kB / 455.7 MB, free: 21.3 MB / 282.7 MB Notification: Performance of matching and sorting (n=333) (initialization): time 0.005058/0.311, allocations: 3.802 MB / 459.5 MB, free: 17.44 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.682e-05/0.311, allocations: 12.66 kB / 459.5 MB, free: 17.43 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.694e-05/0.3111, allocations: 17.64 kB / 459.5 MB, free: 17.41 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00111/0.3122, allocations: 0.5054 MB / 460 MB, free: 16.89 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002234/0.3144, allocations: 0.6435 MB / 460.6 MB, free: 16.25 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004101/0.3185, allocations: 4.655 MB / 465.3 MB, free: 11.32 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001979/0.3205, allocations: 191.8 kB / 465.5 MB, free: 11.13 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001826/0.3207, allocations: 107.3 kB / 465.6 MB, free: 11.03 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 79 * Number of states: 0 () * Number of discrete variables: 21 ($whenCondition1,motor.uniformNoise.localSeed,$PRE.motor.uniformNoise.state[1],motor.uniformNoise.state[1],$PRE.motor.uniformNoise.state[2],motor.uniformNoise.state[2],$PRE.motor.uniformNoise.state[3],motor.uniformNoise.state[3],$PRE.motor.uniformNoise.state[4],motor.uniformNoise.state[4],$PRE.motor.uniformNoise.r,motor.uniformNoise.r,$PRE.motor.uniformNoise.r_raw,motor.uniformNoise.r_raw,gearbox.lossyGear.tau_aPos,gearbox.lossyGear.startForward,gearbox.lossyGear.startBackward,gearbox.lossyGear.locked,$PRE.gearbox.lossyGear.mode,gearbox.lossyGear.mode,gearbox.lossyGear.ideal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (302): * Single equations (assignments): 297 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 1} * Non-linear torn systems: 1 {2 23} Notification: Performance of prepare postOptimizeDAE: time 0.001549/0.3223, allocations: 1.078 MB / 466.7 MB, free: 9.941 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003712/0.3227, allocations: 264.8 kB / 466.9 MB, free: 9.68 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005187/0.3279, allocations: 3.577 MB / 470.5 MB, free: 6.07 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.232e-05/0.3279, allocations: 20 kB / 470.5 MB, free: 6.051 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.993e-06/0.3279, allocations: 4 kB / 470.5 MB, free: 6.047 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.782e-05/0.3279, allocations: 15.91 kB / 470.5 MB, free: 6.031 MB / 282.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01288/0.3408, allocations: 9.246 MB / 479.8 MB, free: 12.7 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.786e-06/0.3408, allocations: 4 kB / 479.8 MB, free: 12.69 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001713/0.3425, allocations: 415.6 kB / 480.2 MB, free: 12.29 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001546/0.3441, allocations: 0.6277 MB / 480.8 MB, free: 11.64 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001445/0.3443, allocations: 51.98 kB / 480.9 MB, free: 11.59 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008267/0.3525, allocations: 7.467 MB / 488.3 MB, free: 3.727 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.00327/0.3558, allocations: 2.992 MB / 491.3 MB, free: 0.6016 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008796/0.3647, allocations: 5.333 MB / 496.7 MB, free: 11.21 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001335/0.366, allocations: 0.6189 MB / 497.3 MB, free: 10.57 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000371/0.3664, allocations: 51.98 kB / 497.3 MB, free: 10.52 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001331/0.3678, allocations: 151.8 kB / 497.5 MB, free: 10.37 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003866/0.3682, allocations: 197.6 kB / 497.7 MB, free: 10.18 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001338/0.3683, allocations: 68.44 kB / 497.7 MB, free: 10.11 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.002141/0.3704, allocations: 1.437 MB / 499.2 MB, free: 8.66 MB / 314.7 MB Notification: Performance of sort global known variables: time 2.31e-07/0.3705, allocations: 0 / 499.2 MB, free: 8.66 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.002312/0.3728, allocations: 0.7824 MB / 500 MB, free: 7.891 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 11 ($STATESET1.x,controller.speed_PI.x,controller.positionToSpeed.x,controller.position_PI.x,gearbox.phi_rel,gearbox.w_rel,slewRateLimiter.y,rodMass.s,rodMass.v,elastoGap.s_rel,elastoGap.v_rel) * Number of discrete variables: 13 (motor.uniformNoise.localSeed,$whenCondition1,motor.uniformNoise.state[1],motor.uniformNoise.state[2],motor.uniformNoise.state[3],motor.uniformNoise.state[4],motor.uniformNoise.r,motor.uniformNoise.r_raw,gearbox.lossyGear.tau_aPos,gearbox.lossyGear.startForward,gearbox.lossyGear.startBackward,gearbox.lossyGear.locked,gearbox.lossyGear.mode) * Number of discrete states: 5 (motor.uniformNoise.state[1],motor.uniformNoise.state[2],motor.uniformNoise.state[3],motor.uniformNoise.state[4],gearbox.lossyGear.mode) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (195): * Single equations (assignments): 188 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 1,(3,100.0%) 8} * Non-linear torn systems: 1 {2 22} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005885/0.3734, allocations: 283.5 kB / 0.4885 GB, free: 7.629 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.005723/0.3791, allocations: 3.637 MB / 0.4921 GB, free: 3.922 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.789e-06/0.3791, allocations: 0 / 0.4921 GB, free: 3.922 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00352/0.3827, allocations: 2.234 MB / 0.4942 GB, free: 1.633 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002895/0.3856, allocations: 0.5893 MB / 0.4948 GB, free: 1.051 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01177/0.3973, allocations: 8.372 MB / 0.503 GB, free: 8.621 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001952/0.3993, allocations: 2.336 MB / 0.5053 GB, free: 6.25 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009449/0.4003, allocations: 207.4 kB / 0.5055 GB, free: 6.047 MB / 330.7 MB Notification: Performance of SimCode: time 6.71e-07/0.4003, allocations: 0 / 0.5055 GB, free: 6.047 MB / 330.7 MB Notification: Performance of Templates: time 0.2083/0.6086, allocations: 112.6 MB / 0.6155 GB, free: 61.42 MB / 362.7 MB make -j1 -f Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.ActuatorWithNoise.makefile make -j1 -f Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.ActuatorWithNoise.makefile clang++ -Winvalid-pch -O0 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DUSE_THREAD -DSUNDIALS_MAJOR_VERSION=5 -DSUNDIALS_MINOR_VERSION=4 -DPMC_USE_SUNDIALS -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Noise 1.0.0-master/Resources/Include" -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Noise 1.0.0-master/Resources/Include" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.ActuatorWithNoiseCalcHelperMain.o OMCppModelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.ActuatorWithNoiseCalcHelperMain.cpp In file included from OMCppModelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.ActuatorWithNoiseCalcHelperMain.cpp:28: In file included from ./OMCppModelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.ActuatorWithNoiseFunctions.cpp:5: /home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Noise 1.0.0-master/Resources/Include/ModelicaRandom.c:600:10: error: use of undeclared identifier '_getpid'; did you mean 'getpid'? pid = ModelicaRandom_getpid(); ^~~~~~~~~~~~~~~~~~~~~ getpid /home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Noise 1.0.0-master/Resources/Include/ModelicaRandom.c:207:34: note: expanded from macro 'ModelicaRandom_getpid' # define ModelicaRandom_getpid _getpid ^ /usr/include/unistd.h:628:16: note: 'getpid' declared here extern __pid_t getpid (void) __THROW; ^ In file included from OMCppModelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.ActuatorWithNoiseCalcHelperMain.cpp:28: ./OMCppModelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.ActuatorWithNoiseFunctions.cpp:267:3: error: no matching function for call to 'ModelicaRandom_xorshift128plus' ModelicaRandom_xorshift128plus(ConstArray(stateIn_).getData(), stateOut_.getData(), &result__ext); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Noise 1.0.0-master/Resources/Include/ModelicaRandom.c:363:22: note: candidate function not viable: 1st argument ('const int *') would lose const qualifier MODELICA_EXPORT void ModelicaRandom_xorshift128plus(int state_in[], int state_out[], double* y) { ^ In file included from OMCppModelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.ActuatorWithNoiseCalcHelperMain.cpp:28: ./OMCppModelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.ActuatorWithNoiseFunctions.cpp:349:3: error: no matching function for call to 'ModelicaRandom_xorshift64star' ModelicaRandom_xorshift64star(ConstArray(stateIn_).getData(), stateOut_.getData(), &result__ext); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Noise 1.0.0-master/Resources/Include/ModelicaRandom.c:312:22: note: candidate function not viable: 1st argument ('const int *') would lose const qualifier MODELICA_EXPORT void ModelicaRandom_xorshift64star(int state_in[], int state_out[], double* y) { ^ In file included from OMCppModelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.ActuatorWithNoiseCalcHelperMain.cpp:28: ./OMCppModelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.ActuatorWithNoiseFunctions.cpp:543:3: error: no matching function for call to 'ModelicaRandom_setInternalState_xorshift1024star' ModelicaRandom_setInternalState_xorshift1024star(ConstArray(rngState_).getData(), rngState_.getDim(1), id__ext); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Noise 1.0.0-master/Resources/Include/ModelicaRandom.c:530:22: note: candidate function not viable: 1st argument ('const int *') would lose const qualifier MODELICA_EXPORT void ModelicaRandom_setInternalState_xorshift1024star(int* state, size_t nState, int id) { ^ In file included from OMCppModelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.ActuatorWithNoiseCalcHelperMain.cpp:29: ./OMCppModelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.ActuatorWithNoiseInitialize.cpp:653:104: warning: implicit conversion from 'long' to 'int' changes value from 4611686018427387903 to -1 [-Wconstant-conversion] _functions->Modelica__Noise_Math_Random_Utilities_impureRandomInteger(_globalSeed_P_id_impure_, 1, 4611686018427387903, tmp2); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~ ./OMCppModelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.ActuatorWithNoiseInitialize.cpp:2888:161: error: use of undeclared identifier 'state_' _functions->Modelica__Noise_Math_Random_Utilities_initialStateWithXorshift64star(_motor_P_uniformNoise_P_localSeed_,_motor_P_uniformNoise_P_actualGlobalSeed_,state_.getDim(1),tmp43); ^ In file included from OMCppModelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.ActuatorWithNoiseCalcHelperMain.cpp:33: ./OMCppModelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.ActuatorWithNoise.cpp:2431:106: warning: implicit conversion from 'long' to 'int' changes value from 4611686018427387903 to -1 [-Wconstant-conversion] _functions->Modelica__Noise_Math_Random_Utilities_impureRandomInteger(_globalSeed_P_id_impure_, 1, 4611686018427387903, tmp366); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~ 2 warnings and 5 errors generated. make: *** [: OMCppModelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.ActuatorWithNoiseCalcHelperMain.o] Error 1