Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.AutomaticSeed.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.AutomaticSeed,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.AutomaticSeed") translateModel(Modelica_Noise.Blocks.Examples.NoiseExamples.AutomaticSeed,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.AutomaticSeed") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001181/0.001181, allocations: 170.2 kB / 16.07 MB, free: 5.602 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.165/1.165, allocations: 170.5 MB / 187.3 MB, free: 10.42 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.001577/0.001577, allocations: 122.7 kB / 226.6 MB, free: 3.07 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.01874/0.01874, allocations: 3.099 MB / 268.9 MB, free: 23.5 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003959/0.0003959, allocations: 8 kB / 318.8 MB, free: 5.543 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2026/0.2031, allocations: 39.12 MB / 357.9 MB, free: 37.58 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica_Noise.Blocks.Examples.NoiseExamples.AutomaticSeed): time 0.001826/0.2049, allocations: 1.615 MB / 359.5 MB, free: 36.29 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001683/0.2066, allocations: 1.074 MB / 360.6 MB, free: 35.46 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.937e-05/0.2067, allocations: 1.125 kB / 360.6 MB, free: 35.46 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001411/0.2069, allocations: 12.95 kB / 360.6 MB, free: 35.45 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004817/0.2074, allocations: 118.7 kB / 360.7 MB, free: 35.36 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003142/0.2077, allocations: 182.4 kB / 360.9 MB, free: 35.24 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002939/0.208, allocations: 340.4 kB / 361.2 MB, free: 35.04 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.881e-05/0.2081, allocations: 31.39 kB / 361.3 MB, free: 35.03 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001587/0.2083, allocations: 147 kB / 361.4 MB, free: 34.93 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001238/0.2084, allocations: 152.3 kB / 361.6 MB, free: 34.83 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 4.373e-05/0.2085, allocations: 15.91 kB / 361.6 MB, free: 34.83 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002946/0.2088, allocations: 155.8 kB / 361.7 MB, free: 34.75 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 8.23e-05/0.2089, allocations: 91.52 kB / 361.8 MB, free: 34.68 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001078/0.209, allocations: 146.6 kB / 362 MB, free: 34.57 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003246/0.2093, allocations: 295.8 kB / 362.2 MB, free: 34.37 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.558e-06/0.2093, allocations: 4 kB / 362.2 MB, free: 34.37 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.372e-06/0.2093, allocations: 0 / 362.2 MB, free: 34.37 MB / 250.7 MB Notification: Performance of Transformations before backend: time 5.881e-06/0.2093, allocations: 0 / 362.2 MB, free: 34.37 MB / 250.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 48 * Number of variables: 48 Notification: Performance of Generate backend data structure: time 0.0008758/0.2102, allocations: 0.6299 MB / 362.9 MB, free: 33.79 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.33e-05/0.2103, allocations: 8.5 kB / 362.9 MB, free: 33.79 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007299/0.211, allocations: 122.7 kB / 363 MB, free: 33.75 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001929/0.2112, allocations: 264.8 kB / 363.3 MB, free: 33.48 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.559e-05/0.2113, allocations: 16.7 kB / 363.3 MB, free: 33.48 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.116e-05/0.2113, allocations: 16.09 kB / 363.3 MB, free: 33.47 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004774/0.2118, allocations: 359.1 kB / 363.6 MB, free: 33.14 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.949e-06/0.2118, allocations: 4 kB / 363.6 MB, free: 33.14 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.328e-05/0.2118, allocations: 11.98 kB / 363.7 MB, free: 33.12 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.522e-06/0.2118, allocations: 4 kB / 363.7 MB, free: 33.12 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000455/0.2123, allocations: 207.7 kB / 363.9 MB, free: 32.92 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003495/0.2127, allocations: 451 kB / 364.3 MB, free: 32.39 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007413/0.2134, allocations: 0.5265 MB / 364.8 MB, free: 31.76 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002962/0.2137, allocations: 226.4 kB / 365.1 MB, free: 31.5 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.223e-05/0.2138, allocations: 7.922 kB / 365.1 MB, free: 31.49 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005548/0.2143, allocations: 437 kB / 365.5 MB, free: 31.02 MB / 250.7 MB Notification: Performance of pre-optimization done (n=54): time 2.094e-06/0.2143, allocations: 7.938 kB / 365.5 MB, free: 31.01 MB / 250.7 MB Notification: Performance of matching and sorting (n=54): time 0.001269/0.2156, allocations: 0.7526 MB / 366.3 MB, free: 30.25 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001029/0.2157, allocations: 390.2 kB / 366.6 MB, free: 29.79 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002379/0.216, allocations: 312.4 kB / 366.9 MB, free: 29.48 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 6.47e-05/0.216, allocations: 81.67 kB / 367 MB, free: 29.39 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.952e-05/0.2161, allocations: 153.1 kB / 367.2 MB, free: 29.24 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.587e-05/0.2162, allocations: 134.4 kB / 367.3 MB, free: 29.11 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.028e-05/0.2163, allocations: 77.67 kB / 367.4 MB, free: 29.02 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 8.294e-05/0.2164, allocations: 358.8 kB / 367.7 MB, free: 28.66 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004036/0.2168, allocations: 285.5 kB / 368 MB, free: 28.38 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000433/0.2172, allocations: 398.7 kB / 368.4 MB, free: 27.96 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008187/0.2181, allocations: 0.6528 MB / 369 MB, free: 27.28 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.357e-06/0.2181, allocations: 4 kB / 369 MB, free: 27.27 MB / 250.7 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.00104/0.2191, allocations: 0.7775 MB / 369.8 MB, free: 26.49 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.783e-05/0.2192, allocations: 8 kB / 369.8 MB, free: 26.48 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.417e-06/0.2192, allocations: 4 kB / 369.8 MB, free: 26.48 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.664e-05/0.2192, allocations: 7.938 kB / 369.8 MB, free: 26.47 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002921/0.2195, allocations: 83.94 kB / 369.9 MB, free: 26.39 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.162e-05/0.2195, allocations: 8 kB / 369.9 MB, free: 26.38 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001784/0.2197, allocations: 59.5 kB / 370 MB, free: 26.32 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.446e-05/0.2197, allocations: 24 kB / 370 MB, free: 26.3 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 84 ($whenCondition6,manualSeed3.localSeed,manualSeed3.r_raw,$PRE.manualSeed3.r_raw,manualSeed3.r,$PRE.manualSeed3.r,manualSeed3.state[4],$PRE.manualSeed3.state[4],manualSeed3.state[3],$PRE.manualSeed3.state[3],manualSeed3.state[2],$PRE.manualSeed3.state[2],manualSeed3.state[1],$PRE.manualSeed3.state[1],$whenCondition5,manualSeed2.localSeed,manualSeed2.r_raw,$PRE.manualSeed2.r_raw,manualSeed2.r,$PRE.manualSeed2.r,manualSeed2.state[4],$PRE.manualSeed2.state[4],manualSeed2.state[3],$PRE.manualSeed2.state[3],manualSeed2.state[2],$PRE.manualSeed2.state[2],manualSeed2.state[1],$PRE.manualSeed2.state[1],$whenCondition4,manualSeed1.localSeed,manualSeed1.r_raw,$PRE.manualSeed1.r_raw,manualSeed1.r,$PRE.manualSeed1.r,manualSeed1.state[4],$PRE.manualSeed1.state[4],manualSeed1.state[3],$PRE.manualSeed1.state[3],manualSeed1.state[2],$PRE.manualSeed1.state[2],manualSeed1.state[1],$PRE.manualSeed1.state[1],$whenCondition3,automaticSeed3.localSeed,automaticSeed3.r_raw,$PRE.automaticSeed3.r_raw,automaticSeed3.r,$PRE.automaticSeed3.r,automaticSeed3.state[4],$PRE.automaticSeed3.state[4],automaticSeed3.state[3],$PRE.automaticSeed3.state[3],automaticSeed3.state[2],$PRE.automaticSeed3.state[2],automaticSeed3.state[1],$PRE.automaticSeed3.state[1],$whenCondition2,automaticSeed2.localSeed,automaticSeed2.r_raw,$PRE.automaticSeed2.r_raw,automaticSeed2.r,$PRE.automaticSeed2.r,automaticSeed2.state[4],$PRE.automaticSeed2.state[4],automaticSeed2.state[3],$PRE.automaticSeed2.state[3],automaticSeed2.state[2],$PRE.automaticSeed2.state[2],automaticSeed2.state[1],$PRE.automaticSeed2.state[1],$whenCondition1,automaticSeed1.localSeed,automaticSeed1.r_raw,$PRE.automaticSeed1.r_raw,automaticSeed1.r,$PRE.automaticSeed1.r,automaticSeed1.state[4],$PRE.automaticSeed1.state[4],automaticSeed1.state[3],$PRE.automaticSeed1.state[3],automaticSeed1.state[2],$PRE.automaticSeed1.state[2],automaticSeed1.state[1],$PRE.automaticSeed1.state[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (72): * Single equations (assignments): 66 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001857/0.2199, allocations: 217.9 kB / 370.2 MB, free: 26.08 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.922e-05/0.22, allocations: 39.47 kB / 370.3 MB, free: 26.04 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.941e-05/0.22, allocations: 37.88 kB / 370.3 MB, free: 26 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.16e-06/0.2201, allocations: 4 kB / 370.3 MB, free: 26 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.885e-06/0.2201, allocations: 4 kB / 370.3 MB, free: 25.99 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.252e-06/0.2201, allocations: 4 kB / 370.3 MB, free: 25.99 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002888/0.2204, allocations: 349 kB / 370.7 MB, free: 25.6 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.247e-06/0.2204, allocations: 4 kB / 370.7 MB, free: 25.59 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001077/0.2205, allocations: 39.91 kB / 370.7 MB, free: 25.55 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.837e-06/0.2205, allocations: 4 kB / 370.7 MB, free: 25.55 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.536e-05/0.2205, allocations: 15.98 kB / 370.7 MB, free: 25.54 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.767e-06/0.2205, allocations: 4 kB / 370.7 MB, free: 25.53 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.2206, allocations: 7.938 kB / 370.7 MB, free: 25.52 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008285/0.2214, allocations: 0.6696 MB / 371.4 MB, free: 24.8 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.449e-05/0.2215, allocations: 128.4 kB / 371.5 MB, free: 24.66 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.874e-05/0.2215, allocations: 35.97 kB / 371.6 MB, free: 24.62 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001549/0.2217, allocations: 27.98 kB / 371.6 MB, free: 24.59 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.458e-05/0.2218, allocations: 47.88 kB / 371.6 MB, free: 24.55 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.228e-05/0.2218, allocations: 15.98 kB / 371.7 MB, free: 24.53 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0001551/0.222, allocations: 211.1 kB / 371.9 MB, free: 24.32 MB / 250.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.222, allocations: 0 / 371.9 MB, free: 24.32 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0003879/0.2224, allocations: 107.9 kB / 372 MB, free: 24.22 MB / 250.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 48 (manualSeed3.localSeed,$whenCondition6,manualSeed3.state[1],manualSeed3.state[2],manualSeed3.state[3],manualSeed3.state[4],manualSeed3.r,manualSeed3.r_raw,manualSeed2.localSeed,$whenCondition5,manualSeed2.state[1],manualSeed2.state[2],manualSeed2.state[3],manualSeed2.state[4],manualSeed2.r,manualSeed2.r_raw,manualSeed1.localSeed,$whenCondition4,manualSeed1.state[1],manualSeed1.state[2],manualSeed1.state[3],manualSeed1.state[4],manualSeed1.r,manualSeed1.r_raw,automaticSeed3.localSeed,$whenCondition3,automaticSeed3.state[1],automaticSeed3.state[2],automaticSeed3.state[3],automaticSeed3.state[4],automaticSeed3.r,automaticSeed3.r_raw,automaticSeed2.localSeed,$whenCondition2,automaticSeed2.state[1],automaticSeed2.state[2],automaticSeed2.state[3],automaticSeed2.state[4],automaticSeed2.r,automaticSeed2.r_raw,automaticSeed1.localSeed,$whenCondition1,automaticSeed1.state[1],automaticSeed1.state[2],automaticSeed1.state[3],automaticSeed1.state[4],automaticSeed1.r,automaticSeed1.r_raw) * Number of discrete states: 24 (automaticSeed1.state[1],automaticSeed1.state[2],automaticSeed1.state[3],automaticSeed1.state[4],automaticSeed2.state[1],automaticSeed2.state[2],automaticSeed2.state[3],automaticSeed2.state[4],automaticSeed3.state[1],automaticSeed3.state[2],automaticSeed3.state[3],automaticSeed3.state[4],manualSeed1.state[1],manualSeed1.state[2],manualSeed1.state[3],manualSeed1.state[4],manualSeed2.state[1],manualSeed2.state[2],manualSeed2.state[3],manualSeed2.state[4],manualSeed3.state[1],manualSeed3.state[2],manualSeed3.state[3],manualSeed3.state[4]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (30): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 18 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003385/0.2227, allocations: 225.9 kB / 372.2 MB, free: 24 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0008238/0.2235, allocations: 0.5508 MB / 372.7 MB, free: 23.45 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.2236, allocations: 0 / 372.7 MB, free: 23.45 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004128/0.224, allocations: 264.3 kB / 373 MB, free: 23.19 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003723/0.2244, allocations: 28.64 kB / 373 MB, free: 23.16 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008561/0.2252, allocations: 0.749 MB / 373.8 MB, free: 22.35 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001782/0.2254, allocations: 0.7847 MB / 374.6 MB, free: 21.54 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.185e-05/0.2255, allocations: 35.42 kB / 374.6 MB, free: 21.5 MB / 250.7 MB Notification: Performance of SimCode: time 1.202e-06/0.2255, allocations: 0 / 374.6 MB, free: 21.5 MB / 250.7 MB Notification: Performance of Templates: time 0.005949/0.2315, allocations: 5.185 MB / 379.8 MB, free: 16.33 MB / 250.7 MB make -j1 -f Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.AutomaticSeed.makefile make -j1 -f Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.AutomaticSeed.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.AutomaticSeedCalcHelperMain.o OMCppModelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.AutomaticSeedCalcHelperMain.cpp In file included from OMCppModelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.AutomaticSeedCalcHelperMain.cpp:28: In file included from ./OMCppModelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.AutomaticSeedFunctions.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.AutomaticSeedCalcHelperMain.cpp:28: ./OMCppModelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.AutomaticSeedFunctions.cpp:81: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.AutomaticSeedCalcHelperMain.cpp:28: ./OMCppModelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.AutomaticSeedFunctions.cpp:163: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.AutomaticSeedCalcHelperMain.cpp:28: ./OMCppModelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.AutomaticSeedFunctions.cpp:357: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.AutomaticSeedCalcHelperMain.cpp:29: ./OMCppModelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.AutomaticSeedInitialize.cpp:140: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, tmp1); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~ ./OMCppModelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.AutomaticSeedInitialize.cpp:156:149: error: use of undeclared identifier 'state_' _functions->Modelica__Noise_Math_Random_Utilities_initialStateWithXorshift64star(_automaticSeed1_P_localSeed_,_automaticSeed1_P_actualGlobalSeed_,state_.getDim(1),tmp3); ^ ./OMCppModelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.AutomaticSeedInitialize.cpp:273: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, tmp6); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~ ./OMCppModelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.AutomaticSeedInitialize.cpp:289:149: error: use of undeclared identifier 'state_' _functions->Modelica__Noise_Math_Random_Utilities_initialStateWithXorshift64star(_automaticSeed2_P_localSeed_,_automaticSeed2_P_actualGlobalSeed_,state_.getDim(1),tmp8); ^ ./OMCppModelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.AutomaticSeedInitialize.cpp:406: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, tmp11); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~ ./OMCppModelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.AutomaticSeedInitialize.cpp:422:149: error: use of undeclared identifier 'state_' _functions->Modelica__Noise_Math_Random_Utilities_initialStateWithXorshift64star(_automaticSeed3_P_localSeed_,_automaticSeed3_P_actualGlobalSeed_,state_.getDim(1),tmp13); ^ ./OMCppModelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.AutomaticSeedInitialize.cpp:539: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, tmp16); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~ ./OMCppModelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.AutomaticSeedInitialize.cpp:555:143: error: use of undeclared identifier 'state_' _functions->Modelica__Noise_Math_Random_Utilities_initialStateWithXorshift64star(_manualSeed1_P_localSeed_,_manualSeed1_P_actualGlobalSeed_,state_.getDim(1),tmp18); ^ ./OMCppModelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.AutomaticSeedInitialize.cpp:672: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, tmp21); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~ ./OMCppModelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.AutomaticSeedInitialize.cpp:688:143: error: use of undeclared identifier 'state_' _functions->Modelica__Noise_Math_Random_Utilities_initialStateWithXorshift64star(_manualSeed2_P_localSeed_,_manualSeed2_P_actualGlobalSeed_,state_.getDim(1),tmp23); ^ ./OMCppModelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.AutomaticSeedInitialize.cpp:805: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, tmp26); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~ ./OMCppModelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.AutomaticSeedInitialize.cpp:821:143: error: use of undeclared identifier 'state_' _functions->Modelica__Noise_Math_Random_Utilities_initialStateWithXorshift64star(_manualSeed3_P_localSeed_,_manualSeed3_P_actualGlobalSeed_,state_.getDim(1),tmp28); ^ In file included from OMCppModelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.AutomaticSeedCalcHelperMain.cpp:33: ./OMCppModelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.AutomaticSeed.cpp:237: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, tmp62); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~ ./OMCppModelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.AutomaticSeed.cpp:347: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, tmp66); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~ ./OMCppModelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.AutomaticSeed.cpp:457: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, tmp70); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~ ./OMCppModelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.AutomaticSeed.cpp:567: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, tmp74); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~ ./OMCppModelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.AutomaticSeed.cpp:677: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, tmp78); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~ ./OMCppModelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.AutomaticSeed.cpp:787: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, tmp82); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~ 12 warnings and 10 errors generated. make: *** [: OMCppModelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.AutomaticSeedCalcHelperMain.o] Error 1