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.00113/0.00113, allocations: 165 kB / 15.76 MB, free: 6.332 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.016/1.016, allocations: 170.8 MB / 187.3 MB, free: 1.129 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.001412/0.001412, allocations: 113.1 kB / 226.8 MB, free: 10.11 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.01902/0.01902, allocations: 3.123 MB / 269.4 MB, free: 15.46 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000312/0.000312, allocations: 8 kB / 319.3 MB, free: 63.26 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05305/0.05338, allocations: 39.4 MB / 358.7 MB, free: 23.98 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica_Noise.Blocks.Examples.NoiseExamples.AutomaticSeed): time 0.001429/0.05485, allocations: 1.546 MB / 360.2 MB, free: 22.42 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001312/0.05619, allocations: 1.01 MB / 361.2 MB, free: 21.4 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001136/0.05633, allocations: 0 / 361.2 MB, free: 21.4 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001015/0.05644, allocations: 19.75 kB / 361.3 MB, free: 21.38 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004687/0.05692, allocations: 115.5 kB / 361.4 MB, free: 21.27 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003263/0.05726, allocations: 191.6 kB / 361.6 MB, free: 21.08 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002238/0.0575, allocations: 319 kB / 361.9 MB, free: 20.77 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.692e-05/0.05757, allocations: 28.72 kB / 361.9 MB, free: 20.74 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001411/0.05772, allocations: 131.5 kB / 362 MB, free: 20.61 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001115/0.05784, allocations: 151.3 kB / 362.2 MB, free: 20.46 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 5.798e-05/0.0579, allocations: 16 kB / 362.2 MB, free: 20.45 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002516/0.05816, allocations: 139.8 kB / 362.3 MB, free: 20.31 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 6.286e-05/0.05823, allocations: 91.58 kB / 362.4 MB, free: 20.22 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 5.323e-05/0.05829, allocations: 73.5 kB / 362.5 MB, free: 20.14 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002585/0.05856, allocations: 295.4 kB / 362.8 MB, free: 19.86 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.039e-06/0.05857, allocations: 4 kB / 362.8 MB, free: 19.85 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.493e-06/0.05858, allocations: 0 / 362.8 MB, free: 19.85 MB / 250.7 MB Notification: Performance of Transformations before backend: time 6.463e-06/0.05859, allocations: 0 / 362.8 MB, free: 19.85 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.0008137/0.05941, allocations: 0.6295 MB / 363.4 MB, free: 19.17 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.141e-05/0.05944, allocations: 12.03 kB / 363.4 MB, free: 19.16 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006562/0.06011, allocations: 119.4 kB / 363.5 MB, free: 19.04 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000171/0.06029, allocations: 259 kB / 363.8 MB, free: 18.75 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.962e-05/0.06032, allocations: 15.95 kB / 363.8 MB, free: 18.73 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.548e-05/0.06036, allocations: 23.98 kB / 363.8 MB, free: 18.71 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004316/0.0608, allocations: 358.1 kB / 364.2 MB, free: 18.32 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.217e-06/0.06082, allocations: 8 kB / 364.2 MB, free: 18.32 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.074e-05/0.06085, allocations: 0 / 364.2 MB, free: 18.32 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.182e-06/0.06086, allocations: 7.984 kB / 364.2 MB, free: 18.31 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000418/0.06128, allocations: 215.7 kB / 364.4 MB, free: 18.1 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003146/0.06161, allocations: 439 kB / 364.8 MB, free: 17.59 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007239/0.06234, allocations: 0.5304 MB / 365.4 MB, free: 16.95 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002937/0.06264, allocations: 230.2 kB / 365.6 MB, free: 16.68 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.424e-05/0.06266, allocations: 4 kB / 365.6 MB, free: 16.68 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005001/0.06317, allocations: 424.5 kB / 366 MB, free: 16.21 MB / 250.7 MB Notification: Performance of pre-optimization done (n=54): time 1.784e-06/0.06318, allocations: 4 kB / 366 MB, free: 16.21 MB / 250.7 MB Notification: Performance of matching and sorting (n=54): time 0.001197/0.06438, allocations: 0.7522 MB / 366.8 MB, free: 15.45 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.497e-05/0.06448, allocations: 386.2 kB / 367.1 MB, free: 15 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002199/0.06471, allocations: 312.5 kB / 367.4 MB, free: 14.68 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 6.395e-05/0.06478, allocations: 85.67 kB / 367.5 MB, free: 14.59 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.915e-05/0.06484, allocations: 145.1 kB / 367.7 MB, free: 14.45 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.505e-05/0.06493, allocations: 142.3 kB / 367.8 MB, free: 14.3 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.08e-05/0.06496, allocations: 8 kB / 367.8 MB, free: 14.3 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 7.017e-05/0.06503, allocations: 362.8 kB / 368.2 MB, free: 13.93 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004062/0.06545, allocations: 285.4 kB / 368.4 MB, free: 13.65 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00044/0.06589, allocations: 390.8 kB / 368.8 MB, free: 13.24 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004369/0.06634, allocations: 318.6 kB / 369.1 MB, free: 12.93 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.986e-06/0.06635, allocations: 4 kB / 369.1 MB, free: 12.93 MB / 250.7 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.0009961/0.06735, allocations: 0.7821 MB / 369.9 MB, free: 12.14 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.519e-05/0.06738, allocations: 8 kB / 369.9 MB, free: 12.13 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.025e-06/0.06739, allocations: 0 / 369.9 MB, free: 12.13 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.541e-05/0.06741, allocations: 8.281 kB / 369.9 MB, free: 12.12 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002853/0.0677, allocations: 83.94 kB / 370 MB, free: 12.04 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.788e-06/0.06772, allocations: 4 kB / 370 MB, free: 12.04 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001811/0.0679, allocations: 59.52 kB / 370.1 MB, free: 11.98 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.269e-05/0.06794, allocations: 23.94 kB / 370.1 MB, free: 11.96 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,$PRE.manualSeed3.state[1],manualSeed3.state[1],$PRE.manualSeed3.state[2],manualSeed3.state[2],$PRE.manualSeed3.state[3],manualSeed3.state[3],$PRE.manualSeed3.state[4],manualSeed3.state[4],$PRE.manualSeed3.r,manualSeed3.r,$PRE.manualSeed3.r_raw,manualSeed3.r_raw,manualSeed3.localSeed,$whenCondition5,$PRE.manualSeed2.state[1],manualSeed2.state[1],$PRE.manualSeed2.state[2],manualSeed2.state[2],$PRE.manualSeed2.state[3],manualSeed2.state[3],$PRE.manualSeed2.state[4],manualSeed2.state[4],$PRE.manualSeed2.r,manualSeed2.r,$PRE.manualSeed2.r_raw,manualSeed2.r_raw,manualSeed2.localSeed,$whenCondition4,$PRE.manualSeed1.state[1],manualSeed1.state[1],$PRE.manualSeed1.state[2],manualSeed1.state[2],$PRE.manualSeed1.state[3],manualSeed1.state[3],$PRE.manualSeed1.state[4],manualSeed1.state[4],$PRE.manualSeed1.r,manualSeed1.r,$PRE.manualSeed1.r_raw,manualSeed1.r_raw,manualSeed1.localSeed,$whenCondition3,$PRE.automaticSeed3.state[1],automaticSeed3.state[1],$PRE.automaticSeed3.state[2],automaticSeed3.state[2],$PRE.automaticSeed3.state[3],automaticSeed3.state[3],$PRE.automaticSeed3.state[4],automaticSeed3.state[4],$PRE.automaticSeed3.r,automaticSeed3.r,$PRE.automaticSeed3.r_raw,automaticSeed3.r_raw,automaticSeed3.localSeed,$whenCondition2,$PRE.automaticSeed2.state[1],automaticSeed2.state[1],$PRE.automaticSeed2.state[2],automaticSeed2.state[2],$PRE.automaticSeed2.state[3],automaticSeed2.state[3],$PRE.automaticSeed2.state[4],automaticSeed2.state[4],$PRE.automaticSeed2.r,automaticSeed2.r,$PRE.automaticSeed2.r_raw,automaticSeed2.r_raw,automaticSeed2.localSeed,$whenCondition1,$PRE.automaticSeed1.state[1],automaticSeed1.state[1],$PRE.automaticSeed1.state[2],automaticSeed1.state[2],$PRE.automaticSeed1.state[3],automaticSeed1.state[3],$PRE.automaticSeed1.state[4],automaticSeed1.state[4],$PRE.automaticSeed1.r,automaticSeed1.r,$PRE.automaticSeed1.r_raw,automaticSeed1.r_raw,automaticSeed1.localSeed) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001735/0.06812, allocations: 223.6 kB / 370.3 MB, free: 11.73 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.196e-05/0.06818, allocations: 47.47 kB / 370.4 MB, free: 11.68 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.768e-05/0.06823, allocations: 37.89 kB / 370.4 MB, free: 11.64 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.779e-06/0.06824, allocations: 4 kB / 370.4 MB, free: 11.64 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.234e-06/0.06826, allocations: 4 kB / 370.4 MB, free: 11.63 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.21e-06/0.06827, allocations: 4 kB / 370.4 MB, free: 11.63 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002484/0.06852, allocations: 337.1 kB / 370.8 MB, free: 11.25 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.905e-06/0.06853, allocations: 7.984 kB / 370.8 MB, free: 11.24 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001046/0.06864, allocations: 39.92 kB / 370.8 MB, free: 11.2 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.499e-06/0.06865, allocations: 7.953 kB / 370.8 MB, free: 11.2 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.117e-05/0.06868, allocations: 11.98 kB / 370.8 MB, free: 11.18 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.126e-06/0.06868, allocations: 4 kB / 370.8 MB, free: 11.18 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.06869, allocations: 4 kB / 370.8 MB, free: 11.18 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007714/0.06947, allocations: 0.6659 MB / 371.5 MB, free: 10.46 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.767e-05/0.06952, allocations: 124.4 kB / 371.6 MB, free: 10.32 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.324e-05/0.06958, allocations: 39.92 kB / 371.7 MB, free: 10.28 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001568/0.06975, allocations: 27.98 kB / 371.7 MB, free: 10.25 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.221e-05/0.06983, allocations: 51.86 kB / 371.7 MB, free: 10.2 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.08e-05/0.06986, allocations: 16 kB / 371.7 MB, free: 10.19 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0001567/0.07002, allocations: 207.1 kB / 371.9 MB, free: 9.984 MB / 250.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.07003, allocations: 0 / 371.9 MB, free: 9.984 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0003587/0.07039, allocations: 107.9 kB / 372.1 MB, free: 9.879 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002913/0.07069, allocations: 240.6 kB / 372.3 MB, free: 9.645 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0008053/0.07151, allocations: 0.5519 MB / 372.8 MB, free: 9.09 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 2.053e-06/0.07152, allocations: 0 / 372.8 MB, free: 9.09 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003961/0.07192, allocations: 256.1 kB / 373.1 MB, free: 8.84 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002535/0.07218, allocations: 33.91 kB / 373.1 MB, free: 8.809 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007276/0.07292, allocations: 0.7195 MB / 373.8 MB, free: 8.023 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001508/0.07308, allocations: 0.7925 MB / 374.6 MB, free: 7.199 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.652e-05/0.07316, allocations: 31.42 kB / 374.7 MB, free: 7.168 MB / 250.7 MB Notification: Performance of SimCode: time 2.3e-07/0.07317, allocations: 0 / 374.7 MB, free: 7.168 MB / 250.7 MB Notification: Performance of Templates: time 0.005389/0.07856, allocations: 5.193 MB / 379.9 MB, free: 1.98 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++ -Winvalid-pch -O0 -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/c/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:211: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:227: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:344: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:360: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:477: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:493: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:610: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:626: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:743: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:759: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:876: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:892: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