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.0009607/0.0009608, allocations: 174.7 kB / 15.45 MB, free: 6.234 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 MB, free: 1 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.00176/0.00176, allocations: 106.8 kB / 226.5 MB, free: 9.969 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.02064/0.02064, allocations: 3.111 MB / 269.1 MB, free: 15.31 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003672/0.0003672, allocations: 17.89 kB / 319.3 MB, free: 62.88 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.067/0.06738, allocations: 39.41 MB / 358.7 MB, free: 23.57 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica_Noise.Blocks.Examples.NoiseExamples.ActuatorWithNoise): time 0.009785/0.07721, allocations: 12.79 MB / 371.5 MB, free: 10.71 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.008554/0.08583, allocations: 4.988 MB / 376.5 MB, free: 5.715 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002146/0.08801, allocations: 67.69 kB / 376.5 MB, free: 5.648 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002195/0.09023, allocations: 0.8079 MB / 377.3 MB, free: 4.836 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003119/0.09337, allocations: 1.036 MB / 378.4 MB, free: 3.797 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001466/0.09485, allocations: 0.83 MB / 379.2 MB, free: 2.969 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.003865/0.09873, allocations: 4.408 MB / 383.6 MB, free: 14.55 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00288/0.1016, allocations: 2.569 MB / 386.2 MB, free: 11.91 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002037/0.1037, allocations: 1.389 MB / 387.6 MB, free: 10.51 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002003/0.1057, allocations: 1.805 MB / 389.4 MB, free: 8.699 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003912/0.1061, allocations: 208 kB / 389.6 MB, free: 8.496 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001182/0.1073, allocations: 0.5112 MB / 390.1 MB, free: 7.984 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001002/0.1083, allocations: 1.001 MB / 391.1 MB, free: 6.98 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001777/0.1101, allocations: 1.805 MB / 392.9 MB, free: 5.16 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006669/0.1168, allocations: 6.832 MB / 399.7 MB, free: 14.3 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.426e-06/0.1168, allocations: 0 / 399.7 MB, free: 14.3 MB / 282.7 MB Notification: Performance of FrontEnd: time 4.047e-06/0.1168, allocations: 4 kB / 399.7 MB, free: 14.3 MB / 282.7 MB Notification: Performance of Transformations before backend: time 0.0002428/0.1171, allocations: 0 / 399.7 MB, free: 14.3 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.008222/0.1253, allocations: 3.556 MB / 403.3 MB, free: 10.67 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.191e-05/0.1254, allocations: 12.03 kB / 403.3 MB, free: 10.66 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001306/0.1267, allocations: 447.5 kB / 403.7 MB, free: 10.22 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003421/0.1301, allocations: 2.177 MB / 405.9 MB, free: 7.988 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007044/0.1308, allocations: 411.2 kB / 406.3 MB, free: 7.566 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005252/0.1314, allocations: 319.8 kB / 406.6 MB, free: 7.254 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007577/0.1389, allocations: 4.25 MB / 410.9 MB, free: 2.93 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.126e-05/0.1391, allocations: 11.91 kB / 410.9 MB, free: 2.918 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002776/0.1394, allocations: 124 kB / 411 MB, free: 2.797 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001425/0.1395, allocations: 154 kB / 411.2 MB, free: 2.645 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1386/0.2782, allocations: 3.831 MB / 415 MB, free: 51.4 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02179/0.3, allocations: 14.14 MB / 429.1 MB, free: 42.73 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003077/0.3031, allocations: 2.126 MB / 431.3 MB, free: 41.43 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002019/0.3052, allocations: 1.303 MB / 432.6 MB, free: 40.79 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002453/0.3054, allocations: 128.5 kB / 432.7 MB, free: 40.68 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002066/0.3075, allocations: 1.298 MB / 434 MB, free: 39.91 MB / 282.7 MB Notification: Performance of pre-optimization done (n=184): time 4.047e-06/0.3075, allocations: 0.5625 kB / 434 MB, free: 39.91 MB / 282.7 MB Notification: Performance of matching and sorting (n=232): time 0.02529/0.3328, allocations: 13.29 MB / 447.3 MB, free: 30.04 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.002843/0.3357, allocations: 3.266 MB / 450.5 MB, free: 26.59 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002486/0.3382, allocations: 2.133 MB / 452.7 MB, free: 24.43 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002557/0.3385, allocations: 81.69 kB / 452.7 MB, free: 24.34 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007928/0.3393, allocations: 1.466 MB / 454.2 MB, free: 22.86 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004512/0.3398, allocations: 0.7724 MB / 455 MB, free: 22.1 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001321/0.3399, allocations: 56 kB / 455 MB, free: 22.04 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001139/0.34, allocations: 411.2 kB / 455.4 MB, free: 21.64 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001703/0.3417, allocations: 1.266 MB / 456.7 MB, free: 20.37 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001875/0.3436, allocations: 1.909 MB / 458.6 MB, free: 18.2 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003623/0.3472, allocations: 3.256 MB / 461.9 MB, free: 14.67 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.336e-06/0.3473, allocations: 8 kB / 461.9 MB, free: 14.66 MB / 282.7 MB Notification: Performance of matching and sorting (n=333) (initialization): time 0.005282/0.3526, allocations: 3.821 MB / 465.7 MB, free: 10.79 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.068e-05/0.3526, allocations: 12 kB / 465.7 MB, free: 10.78 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.125e-05/0.3526, allocations: 16 kB / 465.7 MB, free: 10.76 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001082/0.3537, allocations: 0.5092 MB / 466.2 MB, free: 10.24 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002268/0.356, allocations: 0.645 MB / 466.9 MB, free: 9.598 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004179/0.3602, allocations: 4.667 MB / 471.5 MB, free: 4.652 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00227/0.3625, allocations: 195.7 kB / 471.7 MB, free: 4.461 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000225/0.3627, allocations: 104 kB / 471.8 MB, free: 4.359 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 (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.001719/0.3645, allocations: 1.07 MB / 472.9 MB, free: 3.281 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004367/0.3649, allocations: 256.9 kB / 473.2 MB, free: 3.027 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005471/0.3704, allocations: 3.588 MB / 476.8 MB, free: 15.41 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.061e-05/0.3704, allocations: 24.08 kB / 476.8 MB, free: 15.39 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.028e-05/0.3704, allocations: 7.938 kB / 476.8 MB, free: 15.38 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.596e-05/0.3705, allocations: 11.95 kB / 476.8 MB, free: 15.37 MB / 298.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.0158/0.3863, allocations: 9.282 MB / 486.1 MB, free: 5.996 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.057e-06/0.3863, allocations: 0 / 486.1 MB, free: 5.996 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001808/0.3881, allocations: 411.5 kB / 486.5 MB, free: 5.594 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001641/0.3898, allocations: 0.6363 MB / 487.1 MB, free: 4.945 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001863/0.39, allocations: 47.98 kB / 487.2 MB, free: 4.898 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008577/0.3986, allocations: 7.488 MB / 494.6 MB, free: 13.02 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.00325/0.4019, allocations: 3 MB / 497.6 MB, free: 9.875 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008875/0.4107, allocations: 5.356 MB / 0.4912 GB, free: 4.465 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00128/0.412, allocations: 0.6189 MB / 0.4918 GB, free: 3.824 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003255/0.4124, allocations: 51.94 kB / 0.4919 GB, free: 3.773 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001322/0.4137, allocations: 155.8 kB / 0.492 GB, free: 3.621 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004431/0.4142, allocations: 181.7 kB / 0.4922 GB, free: 3.441 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00016/0.4143, allocations: 67.97 kB / 0.4923 GB, free: 3.375 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.002087/0.4164, allocations: 1.46 MB / 0.4937 GB, free: 1.898 MB / 314.7 MB Notification: Performance of sort global known variables: time 2.71e-07/0.4164, allocations: 0 / 0.4937 GB, free: 1.898 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.002275/0.4187, allocations: 0.7637 MB / 0.4944 GB, free: 1.145 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.0007173/0.4194, allocations: 327.4 kB / 0.4947 GB, free: 0.8477 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.005838/0.4253, allocations: 3.637 MB / 0.4983 GB, free: 13.14 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.867e-06/0.4253, allocations: 0 / 0.4983 GB, free: 13.14 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003524/0.4288, allocations: 2.253 MB / 0.5005 GB, free: 10.83 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003235/0.4321, allocations: 0.591 MB / 0.5011 GB, free: 10.25 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01266/0.4448, allocations: 8.665 MB / 0.5095 GB, free: 1.523 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002131/0.4469, allocations: 2.36 MB / 0.5118 GB, free: 15.13 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.002087/0.4491, allocations: 0.5867 MB / 0.5124 GB, free: 14.54 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006658/0.4497, allocations: 187.4 kB / 0.5126 GB, free: 14.36 MB / 346.7 MB Notification: Performance of SimCode: time 7.81e-07/0.4497, allocations: 0 / 0.5126 GB, free: 14.36 MB / 346.7 MB Notification: Performance of Templates: time 0.1852/0.635, allocations: 39.84 MB / 0.5515 GB, free: 117.5 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 -Wno-parentheses-equality "-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"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc" -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 -Wno-parentheses-equality "-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"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc" -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: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) { ^ 4 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality "-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"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc" -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 -Wno-parentheses-equality "-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"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc" -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 -Wno-parentheses-equality "-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"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc" -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 -Wno-parentheses-equality "-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"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc" -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 -Wno-parentheses-equality "-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"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc" -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 -Wno-parentheses-equality "-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"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc" -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 -Wno-parentheses-equality "-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"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc" -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:2039:53: error: use of undeclared identifier 'state'; did you mean 'static'? integer_array_create(&tmp8, ((modelica_integer*)&(state)), 1, (_index_t)stateSize); ^~~~~ static Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.ActuatorWithNoise_06inz.c:2039:53: error: address of overloaded function 'status' does not match required type 'long' integer_array_create(&tmp8, ((modelica_integer*)&(state)), 1, (_index_t)stateSize); ^~~~~ Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.ActuatorWithNoise_06inz.c:2039:75: error: use of undeclared identifier 'stateSize' integer_array_create(&tmp8, ((modelica_integer*)&(state)), 1, (_index_t)stateSize); ^ 3 errors generated. make: *** [: Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.ActuatorWithNoise_06inz.o] Error 1