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.001932/0.001933, allocations: 168.1 kB / 16.06 MB, free: 5.539 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.5 MB / 187.3 MB, free: 1.188 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.001601/0.001601, allocations: 106.1 kB / 226.6 MB, free: 10.32 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.02093/0.02093, allocations: 3.103 MB / 268.9 MB, free: 15.92 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004149/0.0004147, allocations: 12 kB / 318.8 MB, free: 63.32 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07841/0.07885, allocations: 39.13 MB / 357.9 MB, free: 24.3 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica_Noise.Blocks.Examples.NoiseExamples.ActuatorWithNoise): time 0.01273/0.09162, allocations: 13.1 MB / 371 MB, free: 11.14 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.01094/0.1026, allocations: 5.047 MB / 376.1 MB, free: 6.078 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003621/0.1063, allocations: 67.69 kB / 376.1 MB, free: 6.012 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003306/0.1096, allocations: 0.804 MB / 376.9 MB, free: 5.203 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004759/0.1144, allocations: 1.037 MB / 378 MB, free: 4.16 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002477/0.1169, allocations: 0.8272 MB / 378.8 MB, free: 3.332 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.005308/0.1222, allocations: 4.412 MB / 383.2 MB, free: 14.91 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004468/0.1267, allocations: 2.573 MB / 385.8 MB, free: 12.27 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002943/0.1297, allocations: 1.389 MB / 387.2 MB, free: 10.87 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003742/0.1335, allocations: 1.805 MB / 389 MB, free: 9.059 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001266/0.1347, allocations: 204 kB / 389.2 MB, free: 8.859 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002487/0.1372, allocations: 0.5073 MB / 389.7 MB, free: 8.352 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002174/0.1394, allocations: 1.004 MB / 390.7 MB, free: 7.344 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.004103/0.1436, allocations: 1.78 MB / 392.5 MB, free: 5.555 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008174/0.1518, allocations: 5.964 MB / 398.4 MB, free: 15.57 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.342e-06/0.1518, allocations: 0 / 398.4 MB, free: 15.57 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.845e-06/0.1518, allocations: 0 / 398.4 MB, free: 15.57 MB / 282.7 MB Notification: Performance of Transformations before backend: time 0.0002724/0.1521, allocations: 0 / 398.4 MB, free: 15.57 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: 813 * Number of variables: 813 Notification: Performance of Generate backend data structure: time 0.01082/0.1629, allocations: 3.564 MB / 402 MB, free: 11.94 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.123e-05/0.163, allocations: 12.03 kB / 402 MB, free: 11.93 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002411/0.1654, allocations: 451.5 kB / 402.4 MB, free: 11.48 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005556/0.171, allocations: 2.166 MB / 404.6 MB, free: 9.262 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009149/0.1719, allocations: 411.2 kB / 405 MB, free: 8.84 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001359/0.1733, allocations: 323.7 kB / 405.3 MB, free: 8.523 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01009/0.1834, allocations: 4.258 MB / 409.6 MB, free: 4.191 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.905e-05/0.1836, allocations: 11.84 kB / 409.6 MB, free: 4.18 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003454/0.1839, allocations: 124 kB / 409.7 MB, free: 4.059 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001689/0.1841, allocations: 158 kB / 409.9 MB, free: 3.902 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007532/0.1916, allocations: 3.838 MB / 413.7 MB, free: 56 kB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2232/0.4149, allocations: 14.14 MB / 427.8 MB, free: 43.12 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003162/0.4181, allocations: 2.12 MB / 430 MB, free: 41.84 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002065/0.4202, allocations: 1.289 MB / 431.3 MB, free: 41.2 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003039/0.4205, allocations: 137.9 kB / 431.4 MB, free: 41.09 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002506/0.423, allocations: 1.306 MB / 432.7 MB, free: 40.3 MB / 282.7 MB Notification: Performance of pre-optimization done (n=184): time 5.641e-06/0.423, allocations: 0 / 432.7 MB, free: 40.3 MB / 282.7 MB Notification: Performance of matching and sorting (n=232): time 0.0296/0.4526, allocations: 13.29 MB / 446 MB, free: 31.91 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.003251/0.4559, allocations: 3.277 MB / 449.3 MB, free: 28.45 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003301/0.4593, allocations: 2.129 MB / 451.4 MB, free: 26.29 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004968/0.4598, allocations: 81.69 kB / 451.5 MB, free: 26.2 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001186/0.461, allocations: 1.464 MB / 452.9 MB, free: 24.73 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007841/0.4618, allocations: 0.7763 MB / 453.7 MB, free: 23.96 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002502/0.462, allocations: 207.7 kB / 453.9 MB, free: 23.75 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 9.178e-05/0.4621, allocations: 313.1 kB / 454.2 MB, free: 23.45 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001881/0.464, allocations: 1.258 MB / 455.5 MB, free: 22.18 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002068/0.4661, allocations: 1.913 MB / 457.4 MB, free: 20.01 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003912/0.47, allocations: 3.264 MB / 460.6 MB, free: 16.48 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.187e-05/0.47, allocations: 7.938 kB / 460.7 MB, free: 16.47 MB / 282.7 MB Notification: Performance of matching and sorting (n=333) (initialization): time 0.006166/0.4762, allocations: 3.826 MB / 464.5 MB, free: 12.59 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.79e-05/0.4763, allocations: 12.66 kB / 464.5 MB, free: 12.58 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.089e-05/0.4763, allocations: 16 kB / 464.5 MB, free: 12.56 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001236/0.4776, allocations: 0.5012 MB / 465 MB, free: 12.05 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002225/0.4798, allocations: 0.6435 MB / 465.7 MB, free: 11.41 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004641/0.4845, allocations: 4.669 MB / 470.3 MB, free: 6.461 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002514/0.487, allocations: 187.8 kB / 470.5 MB, free: 6.277 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002001/0.4872, allocations: 108 kB / 470.6 MB, free: 6.172 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,gearbox.lossyGear.ideal,gearbox.lossyGear.mode,$PRE.gearbox.lossyGear.mode,gearbox.lossyGear.locked,gearbox.lossyGear.startBackward,gearbox.lossyGear.startForward,gearbox.lossyGear.tau_aPos,motor.uniformNoise.r_raw,$PRE.motor.uniformNoise.r_raw,motor.uniformNoise.r,$PRE.motor.uniformNoise.r,motor.uniformNoise.state[4],$PRE.motor.uniformNoise.state[4],motor.uniformNoise.state[3],$PRE.motor.uniformNoise.state[3],motor.uniformNoise.state[2],$PRE.motor.uniformNoise.state[2],motor.uniformNoise.state[1],$PRE.motor.uniformNoise.state[1],motor.uniformNoise.localSeed) * 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.002404/0.4896, allocations: 1.074 MB / 471.7 MB, free: 5.09 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008114/0.4904, allocations: 256.8 kB / 471.9 MB, free: 4.836 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005855/0.4963, allocations: 3.581 MB / 475.5 MB, free: 1.227 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.91e-05/0.4963, allocations: 24.05 kB / 475.5 MB, free: 1.203 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.074e-05/0.4964, allocations: 15.92 kB / 475.6 MB, free: 1.188 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.243e-05/0.4964, allocations: 15.95 kB / 475.6 MB, free: 1.172 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.01715/0.5135, allocations: 9.265 MB / 484.8 MB, free: 7.816 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.063e-05/0.5136, allocations: 0 / 484.8 MB, free: 7.816 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001778/0.5154, allocations: 419.6 kB / 485.2 MB, free: 7.406 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001717/0.5171, allocations: 0.627 MB / 485.9 MB, free: 6.77 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001891/0.5173, allocations: 55.97 kB / 485.9 MB, free: 6.715 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009731/0.527, allocations: 7.474 MB / 493.4 MB, free: 14.84 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.003882/0.531, allocations: 3 MB / 496.4 MB, free: 11.7 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01056/0.5416, allocations: 5.353 MB / 0.49 GB, free: 6.297 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001957/0.5436, allocations: 0.6188 MB / 0.4906 GB, free: 5.656 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005559/0.5441, allocations: 48 kB / 0.4906 GB, free: 5.609 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00151/0.5457, allocations: 163.8 kB / 0.4908 GB, free: 5.449 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006146/0.5463, allocations: 181.7 kB / 0.491 GB, free: 5.27 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001489/0.5464, allocations: 68.44 kB / 0.491 GB, free: 5.203 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.002597/0.549, allocations: 1.448 MB / 0.4925 GB, free: 3.738 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.5491, allocations: 0 / 0.4925 GB, free: 3.738 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.003391/0.5525, allocations: 0.7701 MB / 0.4932 GB, free: 2.98 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.0008428/0.5533, allocations: 341.2 kB / 0.4935 GB, free: 2.664 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.007013/0.5603, allocations: 3.64 MB / 0.4971 GB, free: 14.95 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 6.973e-06/0.5604, allocations: 0 / 0.4971 GB, free: 14.95 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003901/0.5643, allocations: 2.238 MB / 0.4993 GB, free: 12.66 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003662/0.5679, allocations: 0.5889 MB / 0.4998 GB, free: 12.08 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01471/0.5827, allocations: 8.548 MB / 0.5082 GB, free: 3.477 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002368/0.5851, allocations: 2.34 MB / 0.5105 GB, free: 1.105 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001125/0.5862, allocations: 203.4 kB / 0.5107 GB, free: 0.9062 MB / 330.7 MB Notification: Performance of SimCode: time 1.262e-06/0.5862, allocations: 0 / 0.5107 GB, free: 0.9062 MB / 330.7 MB Notification: Performance of Templates: time 0.3432/0.9294, allocations: 112.6 MB / 0.6207 GB, free: 56.55 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