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.0008572/0.0008573, allocations: 161.6 kB / 16.09 MB, free: 5.691 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.092/1.092, allocations: 170.8 MB / 187.6 MB, free: 10.43 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.001414/0.001414, allocations: 109.9 kB / 227.2 MB, free: 2.828 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.018/0.018, allocations: 3.108 MB / 269.8 MB, free: 23.13 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003542/0.0003543, allocations: 8 kB / 319.9 MB, free: 4.887 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1617/0.162, allocations: 39.4 MB / 359.3 MB, free: 37.41 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica_Noise.Blocks.Examples.NoiseExamples.ActuatorWithNoise): time 0.0101/0.1722, allocations: 12.79 MB / 372.1 MB, free: 25.53 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.00775/0.18, allocations: 4.996 MB / 377.1 MB, free: 20.52 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002253/0.1823, allocations: 67.62 kB / 377.2 MB, free: 20.45 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002321/0.1846, allocations: 0.804 MB / 378 MB, free: 19.64 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003519/0.1881, allocations: 1.037 MB / 379 MB, free: 18.6 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001572/0.1897, allocations: 0.8272 MB / 379.8 MB, free: 17.77 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.00387/0.1936, allocations: 4.406 MB / 384.3 MB, free: 13.36 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002548/0.1962, allocations: 2.573 MB / 386.8 MB, free: 10.71 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001941/0.1981, allocations: 1.393 MB / 388.2 MB, free: 9.316 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001985/0.2001, allocations: 1.793 MB / 390 MB, free: 7.516 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004606/0.2006, allocations: 204 kB / 390.2 MB, free: 7.316 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001103/0.2017, allocations: 0.519 MB / 390.7 MB, free: 6.797 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008037/0.2025, allocations: 1.004 MB / 391.7 MB, free: 5.789 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001446/0.204, allocations: 1.805 MB / 393.5 MB, free: 3.969 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004336/0.2083, allocations: 5.964 MB / 399.5 MB, free: 13.99 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.171e-06/0.2084, allocations: 0 / 399.5 MB, free: 13.99 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.174e-06/0.2084, allocations: 4 kB / 399.5 MB, free: 13.98 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001773/0.2086, allocations: 0 / 399.5 MB, free: 13.98 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.008147/0.2167, allocations: 3.563 MB / 403.1 MB, free: 10.35 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.197e-05/0.2168, allocations: 8.031 kB / 403.1 MB, free: 10.34 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001583/0.2184, allocations: 455.5 kB / 403.5 MB, free: 9.895 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003652/0.222, allocations: 2.162 MB / 405.7 MB, free: 7.68 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006963/0.2227, allocations: 411.2 kB / 406.1 MB, free: 7.258 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005486/0.2233, allocations: 315.9 kB / 406.4 MB, free: 6.949 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007741/0.2311, allocations: 4.254 MB / 410.6 MB, free: 2.621 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.028e-05/0.2312, allocations: 27.73 kB / 410.7 MB, free: 2.594 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002832/0.2315, allocations: 120 kB / 410.8 MB, free: 2.477 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001559/0.2316, allocations: 158 kB / 410.9 MB, free: 2.32 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00721/0.2388, allocations: 3.834 MB / 414.8 MB, free: 14.47 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02465/0.2635, allocations: 14.15 MB / 428.9 MB, free: 15.94 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003414/0.267, allocations: 2.126 MB / 431.1 MB, free: 13.72 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002224/0.2692, allocations: 1.284 MB / 432.3 MB, free: 12.43 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002726/0.2695, allocations: 139 kB / 432.5 MB, free: 12.28 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002158/0.2717, allocations: 1.298 MB / 433.8 MB, free: 10.95 MB / 298.7 MB Notification: Performance of pre-optimization done (n=184): time 6.081e-06/0.2717, allocations: 0 / 433.8 MB, free: 10.95 MB / 298.7 MB Notification: Performance of matching and sorting (n=232): time 0.02886/0.3006, allocations: 13.29 MB / 447.1 MB, free: 13.55 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.003563/0.3042, allocations: 3.26 MB / 450.3 MB, free: 10.1 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003075/0.3073, allocations: 2.14 MB / 452.5 MB, free: 7.926 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.00028/0.3076, allocations: 69.7 kB / 452.5 MB, free: 7.852 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001202/0.3088, allocations: 1.469 MB / 454 MB, free: 6.363 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007423/0.3095, allocations: 0.7818 MB / 454.8 MB, free: 5.57 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001427/0.3097, allocations: 48 kB / 454.8 MB, free: 5.523 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.000196/0.3099, allocations: 411.2 kB / 455.2 MB, free: 5.117 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002232/0.3121, allocations: 1.262 MB / 456.5 MB, free: 3.852 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003409/0.3156, allocations: 1.917 MB / 458.4 MB, free: 1.676 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.1428/0.4584, allocations: 3.258 MB / 461.7 MB, free: 82.84 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.739e-05/0.4584, allocations: 3.938 kB / 461.7 MB, free: 82.84 MB / 314.7 MB Notification: Performance of matching and sorting (n=333) (initialization): time 0.006127/0.4646, allocations: 3.818 MB / 465.5 MB, free: 81.39 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.302e-05/0.4646, allocations: 12.62 kB / 465.5 MB, free: 81.39 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.144e-05/0.4647, allocations: 21.16 kB / 465.5 MB, free: 81.39 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001188/0.4659, allocations: 0.4975 MB / 466 MB, free: 81.24 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002436/0.4683, allocations: 0.6475 MB / 466.7 MB, free: 81.19 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004258/0.4726, allocations: 4.664 MB / 471.3 MB, free: 77.62 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001858/0.4745, allocations: 200.1 kB / 471.5 MB, free: 77.58 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000172/0.4746, allocations: 104.7 kB / 471.6 MB, free: 77.56 MB / 314.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 (not torn): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,23)} Notification: Performance of prepare postOptimizeDAE: time 0.001582/0.4762, allocations: 1.07 MB / 472.7 MB, free: 76.95 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003721/0.4766, allocations: 263.4 kB / 473 MB, free: 76.95 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005215/0.4818, allocations: 3.587 MB / 476.6 MB, free: 75.45 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.346e-05/0.4819, allocations: 27 kB / 476.6 MB, free: 75.42 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.875e-06/0.4819, allocations: 4 kB / 476.6 MB, free: 75.42 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.795e-05/0.4819, allocations: 9.562 kB / 476.6 MB, free: 75.42 MB / 314.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.01199/0.4939, allocations: 9.272 MB / 485.9 MB, free: 66.4 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.003e-05/0.4939, allocations: 8 kB / 485.9 MB, free: 66.39 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001596/0.4955, allocations: 419.6 kB / 486.3 MB, free: 65.98 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00135/0.4969, allocations: 0.6272 MB / 486.9 MB, free: 65.34 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001346/0.4971, allocations: 47.97 kB / 487 MB, free: 65.3 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00633/0.5034, allocations: 7.479 MB / 494.4 MB, free: 57.51 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.002399/0.5058, allocations: 3.002 MB / 497.4 MB, free: 54.41 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007255/0.5131, allocations: 5.362 MB / 0.491 GB, free: 49.01 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001171/0.5143, allocations: 0.6266 MB / 0.4916 GB, free: 48.36 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003068/0.5146, allocations: 48 kB / 0.4917 GB, free: 48.32 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00124/0.5158, allocations: 151.8 kB / 0.4918 GB, free: 48.17 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003753/0.5162, allocations: 185.7 kB / 0.492 GB, free: 47.99 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001228/0.5164, allocations: 67.97 kB / 0.4921 GB, free: 47.92 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.001692/0.5181, allocations: 1.448 MB / 0.4935 GB, free: 46.46 MB / 314.7 MB Notification: Performance of sort global known variables: time 2.2e-07/0.5181, allocations: 0 / 0.4935 GB, free: 46.46 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.00192/0.52, allocations: 0.7737 MB / 0.4942 GB, free: 45.7 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 (not torn): 1 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,1,100.0%), (3,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,22)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005459/0.5206, allocations: 317.4 kB / 0.4945 GB, free: 45.41 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.004683/0.5252, allocations: 3.661 MB / 0.4981 GB, free: 41.69 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 5.089e-06/0.5253, allocations: 0 / 0.4981 GB, free: 41.69 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002823/0.5281, allocations: 2.235 MB / 0.5003 GB, free: 39.39 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003078/0.5312, allocations: 0.5918 MB / 0.5009 GB, free: 38.82 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01089/0.5421, allocations: 8.724 MB / 0.5094 GB, free: 30.04 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001475/0.5436, allocations: 2.344 MB / 0.5117 GB, free: 27.66 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009679/0.5446, allocations: 203.4 kB / 0.5119 GB, free: 27.46 MB / 314.7 MB Notification: Performance of SimCode: time 7.91e-07/0.5446, allocations: 0 / 0.5119 GB, free: 27.46 MB / 314.7 MB Notification: Performance of Templates: time 0.2276/0.7722, allocations: 112.6 MB / 0.6218 GB, free: 98.24 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++ -std=c++14 -Winvalid-pch -O2 -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/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:291: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:373: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:567: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:351: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:2586: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