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.007873/0.007873, allocations: 164.1 kB / 15.11 MB, free: 5.559 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.225/1.225, allocations: 170.8 MB / 186.6 MB, free: 1.113 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.00146/0.00146, allocations: 117.3 kB / 226.2 MB, free: 10.09 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.02004/0.02004, allocations: 3.119 MB / 268.7 MB, free: 15.45 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003331/0.0003332, allocations: 9.625 kB / 318.6 MB, free: 63.27 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06981/0.07016, allocations: 39.4 MB / 358 MB, free: 23.99 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica_Noise.Blocks.Examples.NoiseExamples.ActuatorWithNoise): time 0.008761/0.07897, allocations: 11.05 MB / 369.1 MB, free: 12.9 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.008441/0.08746, allocations: 4.949 MB / 374 MB, free: 7.941 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002927/0.09043, allocations: 63.69 kB / 374.1 MB, free: 7.879 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003366/0.09384, allocations: 0.7537 MB / 374.8 MB, free: 7.121 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005565/0.09944, allocations: 1.062 MB / 375.9 MB, free: 6.059 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002778/0.1022, allocations: 0.5693 MB / 376.5 MB, free: 5.488 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.005592/0.1078, allocations: 2.626 MB / 379.1 MB, free: 2.859 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003489/0.1114, allocations: 2.128 MB / 381.2 MB, free: 0.6875 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0027/0.1141, allocations: 1.292 MB / 382.5 MB, free: 15.39 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003321/0.1175, allocations: 1.564 MB / 384.1 MB, free: 13.82 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000848/0.1183, allocations: 200 kB / 384.3 MB, free: 13.62 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001663/0.12, allocations: 439.6 kB / 384.7 MB, free: 13.2 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001404/0.1214, allocations: 0.9542 MB / 385.6 MB, free: 12.24 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00124/0.1227, allocations: 0.7459 MB / 386.4 MB, free: 11.48 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008493/0.1312, allocations: 5.894 MB / 392.3 MB, free: 5.574 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.1313, allocations: 0 / 392.3 MB, free: 5.574 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.665e-06/0.1313, allocations: 0 / 392.3 MB, free: 5.574 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0002122/0.1315, allocations: 0 / 392.3 MB, free: 5.574 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.01098/0.1425, allocations: 3.579 MB / 395.9 MB, free: 1.926 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.123e-05/0.1426, allocations: 8.031 kB / 395.9 MB, free: 1.918 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002494/0.1451, allocations: 451.1 kB / 396.3 MB, free: 1.473 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006253/0.1513, allocations: 2.132 MB / 398.4 MB, free: 15.28 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009924/0.1524, allocations: 411.2 kB / 398.8 MB, free: 14.86 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001008/0.1534, allocations: 315.9 kB / 399.1 MB, free: 14.55 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01009/0.1635, allocations: 4.207 MB / 403.4 MB, free: 10.27 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.659e-05/0.1636, allocations: 7.906 kB / 403.4 MB, free: 10.27 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003393/0.164, allocations: 124 kB / 403.5 MB, free: 10.14 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001634/0.1642, allocations: 146.1 kB / 403.6 MB, free: 10 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006987/0.1712, allocations: 3.818 MB / 407.4 MB, free: 6.172 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1591/0.3303, allocations: 14.06 MB / 421.5 MB, free: 45.11 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003717/0.334, allocations: 2.109 MB / 423.6 MB, free: 44.04 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002753/0.3344, allocations: 140.7 kB / 423.8 MB, free: 43.94 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00216/0.3365, allocations: 1.302 MB / 425.1 MB, free: 43.42 MB / 282.7 MB Notification: Performance of pre-optimization done (n=184): time 4.298e-06/0.3365, allocations: 0 / 425.1 MB, free: 43.42 MB / 282.7 MB Notification: Performance of matching and sorting (n=232): time 0.02718/0.3637, allocations: 13.34 MB / 438.4 MB, free: 36.5 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.003444/0.3672, allocations: 3.37 MB / 441.8 MB, free: 33.89 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00309/0.3703, allocations: 2.054 MB / 443.8 MB, free: 32.62 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004/0.3708, allocations: 77.69 kB / 443.9 MB, free: 32.54 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001059/0.3718, allocations: 1.476 MB / 445.4 MB, free: 31.05 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008017/0.3726, allocations: 0.7748 MB / 446.2 MB, free: 30.28 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001677/0.3728, allocations: 56 kB / 446.2 MB, free: 30.23 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001441/0.373, allocations: 407.2 kB / 446.6 MB, free: 29.82 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001842/0.3748, allocations: 1.262 MB / 447.9 MB, free: 28.56 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001934/0.3768, allocations: 1.889 MB / 449.8 MB, free: 26.41 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001924/0.3787, allocations: 1.521 MB / 451.3 MB, free: 24.87 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.677e-06/0.3787, allocations: 11.5 kB / 451.3 MB, free: 24.86 MB / 282.7 MB Notification: Performance of matching and sorting (n=333) (initialization): time 0.005507/0.3842, allocations: 3.806 MB / 455.1 MB, free: 21 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.378e-05/0.3843, allocations: 12 kB / 455.1 MB, free: 20.99 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.374e-05/0.3844, allocations: 20 kB / 455.1 MB, free: 20.97 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001151/0.3855, allocations: 0.5034 MB / 455.6 MB, free: 20.46 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002453/0.388, allocations: 0.6474 MB / 456.3 MB, free: 19.81 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004622/0.3926, allocations: 4.733 MB / 461 MB, free: 14.81 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002333/0.395, allocations: 191.8 kB / 461.2 MB, free: 14.62 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000215/0.3952, allocations: 104 kB / 461.3 MB, free: 14.52 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.001697/0.3969, allocations: 1.071 MB / 462.4 MB, free: 13.44 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004378/0.3974, allocations: 264.8 kB / 462.6 MB, free: 13.18 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005589/0.403, allocations: 3.593 MB / 466.2 MB, free: 9.559 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.486e-05/0.403, allocations: 20 kB / 466.2 MB, free: 9.539 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.957e-06/0.403, allocations: 11.95 kB / 466.3 MB, free: 9.527 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.916e-05/0.4031, allocations: 11.95 kB / 466.3 MB, free: 9.516 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.01412/0.4172, allocations: 9.212 MB / 475.5 MB, free: 224 kB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.207e-06/0.4172, allocations: 0 / 475.5 MB, free: 224 kB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001762/0.419, allocations: 415.4 kB / 475.9 MB, free: 15.81 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001674/0.4207, allocations: 0.6278 MB / 476.5 MB, free: 15.17 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000211/0.4209, allocations: 56.91 kB / 476.6 MB, free: 15.12 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009335/0.4303, allocations: 7.668 MB / 484.2 MB, free: 7.055 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.003541/0.4339, allocations: 3.087 MB / 487.3 MB, free: 3.828 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009434/0.4433, allocations: 5.472 MB / 492.8 MB, free: 14.26 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001666/0.445, allocations: 0.6071 MB / 493.4 MB, free: 13.63 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000456/0.4455, allocations: 51.98 kB / 493.4 MB, free: 13.58 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001384/0.4469, allocations: 155.8 kB / 493.6 MB, free: 13.43 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004425/0.4473, allocations: 197.6 kB / 493.8 MB, free: 13.23 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001431/0.4475, allocations: 60.08 kB / 493.9 MB, free: 13.17 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.002289/0.4498, allocations: 1.397 MB / 495.2 MB, free: 11.76 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4498, allocations: 0 / 495.2 MB, free: 11.76 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.002861/0.4527, allocations: 0.7721 MB / 496 MB, free: 11 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.0008281/0.4535, allocations: 278.8 kB / 496.3 MB, free: 10.74 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.006806/0.4603, allocations: 3.641 MB / 499.9 MB, free: 7.027 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 6.692e-06/0.4604, allocations: 0 / 499.9 MB, free: 7.027 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00419/0.4646, allocations: 2.242 MB / 0.4904 GB, free: 4.734 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002859/0.4675, allocations: 0.5577 MB / 0.491 GB, free: 4.188 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01313/0.4806, allocations: 8.287 MB / 0.499 GB, free: 11.83 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00226/0.4829, allocations: 2.426 MB / 0.5014 GB, free: 9.375 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.002504/0.4855, allocations: 0.5789 MB / 0.502 GB, free: 8.789 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006756/0.4862, allocations: 187.4 kB / 0.5022 GB, free: 8.605 MB / 330.7 MB Notification: Performance of SimCode: time 7.52e-07/0.4862, allocations: 3.938 kB / 0.5022 GB, free: 8.602 MB / 330.7 MB Notification: Performance of Templates: time 0.06525/0.5514, allocations: 38.09 MB / 0.5394 GB, free: 2.605 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 -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Noise 1.0.0-master/Resources/Include" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_ActuatorWithNoise -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=6 -DOMC_NUM_NONLINEAR_SYSTEMS=2 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.ActuatorWithNoise.o Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.ActuatorWithNoise.c clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Noise 1.0.0-master/Resources/Include" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_ActuatorWithNoise -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=6 -DOMC_NUM_NONLINEAR_SYSTEMS=2 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.ActuatorWithNoise_functions.o Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.ActuatorWithNoise_functions.c In file included from Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.ActuatorWithNoise_functions.c:7: In file included from ./Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.ActuatorWithNoise_includes.h:4: /home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Noise 1.0.0-master/Resources/Include/ModelicaRandom.c:600:10: warning: implicit declaration of function '_getpid' is invalid in C99 [-Wimplicit-function-declaration] pid = ModelicaRandom_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 ^ Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.ActuatorWithNoise_functions.c:187:11: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] if((_nx == ((modelica_integer) 1))) ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.ActuatorWithNoise_functions.c:187:11: note: remove extraneous parentheses around the comparison to silence this warning if((_nx == ((modelica_integer) 1))) ~ ^ ~ Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.ActuatorWithNoise_functions.c:187:11: note: use '=' to turn this equality comparison into an assignment if((_nx == ((modelica_integer) 1))) ^~ = Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.ActuatorWithNoise_functions.c:270:34: warning: passing 'const int *' to parameter of type 'int *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] ModelicaRandom_xorshift128plus((const int*) _stateIn_c89, (int*) _stateOut_c89, &_result_ext); ^~~~~~~~~~~~~~~~~~~~~~~~~ /home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Noise 1.0.0-master/Resources/Include/ModelicaRandom.c:363:57: note: passing argument to parameter 'state_in' here MODELICA_EXPORT void ModelicaRandom_xorshift128plus(int state_in[], int state_out[], double* y) { ^ Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.ActuatorWithNoise_functions.c:355:33: warning: passing 'const int *' to parameter of type 'int *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] ModelicaRandom_xorshift64star((const int*) _stateIn_c89, (int*) _stateOut_c89, &_result_ext); ^~~~~~~~~~~~~~~~~~~~~~~~~ /home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Noise 1.0.0-master/Resources/Include/ModelicaRandom.c:312:56: note: passing argument to parameter 'state_in' here MODELICA_EXPORT void ModelicaRandom_xorshift64star(int state_in[], int state_out[], double* y) { ^ Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.ActuatorWithNoise_functions.c:581:52: warning: passing 'const int *' to parameter of type 'int *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] ModelicaRandom_setInternalState_xorshift1024star((const int*) _rngState_c89, size_of_dimension_base_array(_rngState, ((modelica_integer) 1)), _id_ext); ^~~~~~~~~~~~~~~~~~~~~~~~~~ /home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Noise 1.0.0-master/Resources/Include/ModelicaRandom.c:530:76: note: passing argument to parameter 'state' here MODELICA_EXPORT void ModelicaRandom_setInternalState_xorshift1024star(int* state, size_t nState, int id) { ^ 5 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Noise 1.0.0-master/Resources/Include" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_ActuatorWithNoise -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=6 -DOMC_NUM_NONLINEAR_SYSTEMS=2 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.ActuatorWithNoise_records.o Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.ActuatorWithNoise_records.c clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Noise 1.0.0-master/Resources/Include" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_ActuatorWithNoise -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=6 -DOMC_NUM_NONLINEAR_SYSTEMS=2 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.ActuatorWithNoise_01exo.o Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.ActuatorWithNoise_01exo.c clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Noise 1.0.0-master/Resources/Include" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_ActuatorWithNoise -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=6 -DOMC_NUM_NONLINEAR_SYSTEMS=2 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.ActuatorWithNoise_02nls.o Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.ActuatorWithNoise_02nls.c clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Noise 1.0.0-master/Resources/Include" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_ActuatorWithNoise -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=6 -DOMC_NUM_NONLINEAR_SYSTEMS=2 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.ActuatorWithNoise_03lsy.o Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.ActuatorWithNoise_03lsy.c clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Noise 1.0.0-master/Resources/Include" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_ActuatorWithNoise -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=6 -DOMC_NUM_NONLINEAR_SYSTEMS=2 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.ActuatorWithNoise_04set.o Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.ActuatorWithNoise_04set.c clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Noise 1.0.0-master/Resources/Include" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_ActuatorWithNoise -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=6 -DOMC_NUM_NONLINEAR_SYSTEMS=2 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.ActuatorWithNoise_05evt.o Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.ActuatorWithNoise_05evt.c clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Noise 1.0.0-master/Resources/Include" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_ActuatorWithNoise -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=6 -DOMC_NUM_NONLINEAR_SYSTEMS=2 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.ActuatorWithNoise_06inz.o Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.ActuatorWithNoise_06inz.c Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.ActuatorWithNoise_06inz.c:2017:55: error: use of undeclared identifier 'state' integer_array_create(&tmp8, ((modelica_integer*)&((&state)[calc_base_index_dims_subs(1, (_index_t)stateSize, ((modelica_integer) 1))])), 1, (_index_t)stateSize); ^ Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.ActuatorWithNoise_06inz.c:2017:101: error: use of undeclared identifier 'stateSize' integer_array_create(&tmp8, ((modelica_integer*)&((&state)[calc_base_index_dims_subs(1, (_index_t)stateSize, ((modelica_integer) 1))])), 1, (_index_t)stateSize); ^ Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.ActuatorWithNoise_06inz.c:2017:153: error: use of undeclared identifier 'stateSize' integer_array_create(&tmp8, ((modelica_integer*)&((&state)[calc_base_index_dims_subs(1, (_index_t)stateSize, ((modelica_integer) 1))])), 1, (_index_t)stateSize); ^ 3 errors generated. make: *** [: Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.ActuatorWithNoise_06inz.o] Error 1