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.001243/0.001243, allocations: 167.1 kB / 16.1 MB, free: 5.691 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.158/1.158, allocations: 170.8 MB / 187.6 MB, free: 10.45 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.001487/0.001487, allocations: 106.8 kB / 227.2 MB, free: 2.836 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.01775/0.01775, allocations: 3.104 MB / 269.8 MB, free: 23.14 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003491/0.0003492, allocations: 8 kB / 319.9 MB, free: 4.891 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1544/0.1548, allocations: 39.38 MB / 359.3 MB, free: 37.41 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica_Noise.Blocks.Examples.NoiseExamples.AutomaticSeed): time 0.001546/0.1564, allocations: 1.581 MB / 360.9 MB, free: 36.16 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001483/0.1579, allocations: 1.058 MB / 362 MB, free: 35.34 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.313e-05/0.158, allocations: 2.406 kB / 362 MB, free: 35.34 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 9.347e-05/0.1581, allocations: 23.8 kB / 362 MB, free: 35.32 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004586/0.1585, allocations: 102.9 kB / 362.1 MB, free: 35.24 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002969/0.1588, allocations: 194.7 kB / 362.3 MB, free: 35.11 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002467/0.1591, allocations: 340.3 kB / 362.6 MB, free: 34.91 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.57e-05/0.1592, allocations: 30.89 kB / 362.6 MB, free: 34.89 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001275/0.1593, allocations: 139.3 kB / 362.8 MB, free: 34.81 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001166/0.1594, allocations: 151.9 kB / 362.9 MB, free: 34.7 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 4.256e-05/0.1595, allocations: 19.78 kB / 362.9 MB, free: 34.7 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002545/0.1598, allocations: 157 kB / 363.1 MB, free: 34.58 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 7.271e-05/0.1598, allocations: 87.61 kB / 363.2 MB, free: 34.5 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001019/0.1599, allocations: 176.7 kB / 363.4 MB, free: 34.32 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002495/0.1602, allocations: 295.3 kB / 363.6 MB, free: 34.03 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.1602, allocations: 0 / 363.6 MB, free: 34.03 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.963e-06/0.1602, allocations: 0 / 363.6 MB, free: 34.03 MB / 250.7 MB Notification: Performance of Transformations before backend: time 5.421e-06/0.1602, allocations: 0 / 363.6 MB, free: 34.03 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.0008157/0.161, allocations: 0.6296 MB / 364.3 MB, free: 33.35 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.721e-05/0.1611, allocations: 8.031 kB / 364.3 MB, free: 33.34 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006966/0.1618, allocations: 132.4 kB / 364.4 MB, free: 33.21 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001643/0.162, allocations: 260.1 kB / 364.7 MB, free: 32.92 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.602e-05/0.162, allocations: 12.38 kB / 364.7 MB, free: 32.91 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.594e-05/0.162, allocations: 20.36 kB / 364.7 MB, free: 32.89 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004226/0.1625, allocations: 350.9 kB / 365 MB, free: 32.51 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.468e-06/0.1625, allocations: 7.938 kB / 365 MB, free: 32.5 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.28e-05/0.1625, allocations: 7.984 kB / 365.1 MB, free: 32.49 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.753e-06/0.1625, allocations: 4 kB / 365.1 MB, free: 32.49 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004015/0.1629, allocations: 211.7 kB / 365.3 MB, free: 32.28 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003408/0.1633, allocations: 446.8 kB / 365.7 MB, free: 31.76 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006979/0.164, allocations: 0.5304 MB / 366.2 MB, free: 31.12 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002849/0.1643, allocations: 222.3 kB / 366.4 MB, free: 30.87 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.788e-05/0.1643, allocations: 7.938 kB / 366.5 MB, free: 30.86 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005177/0.1648, allocations: 441 kB / 366.9 MB, free: 30.38 MB / 250.7 MB Notification: Performance of pre-optimization done (n=54): time 2.265e-06/0.1649, allocations: 0 / 366.9 MB, free: 30.38 MB / 250.7 MB Notification: Performance of matching and sorting (n=54): time 0.001302/0.1662, allocations: 0.7632 MB / 367.6 MB, free: 29.61 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001126/0.1663, allocations: 386.2 kB / 368 MB, free: 29.16 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002398/0.1665, allocations: 312.4 kB / 368.3 MB, free: 28.84 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 7.823e-05/0.1666, allocations: 85.67 kB / 368.4 MB, free: 28.75 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.625e-05/0.1667, allocations: 149.1 kB / 368.6 MB, free: 28.6 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001026/0.1668, allocations: 138.4 kB / 368.7 MB, free: 28.46 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.391e-05/0.1668, allocations: 12 kB / 368.7 MB, free: 28.45 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 7.314e-05/0.1669, allocations: 358.8 kB / 369.1 MB, free: 28.09 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004062/0.1673, allocations: 285.5 kB / 369.3 MB, free: 27.81 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004197/0.1678, allocations: 394.7 kB / 369.7 MB, free: 27.39 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007842/0.1686, allocations: 0.6566 MB / 370.4 MB, free: 26.71 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.078e-06/0.1686, allocations: 0 / 370.4 MB, free: 26.71 MB / 250.7 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001058/0.1696, allocations: 0.7821 MB / 371.2 MB, free: 25.92 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.618e-05/0.1697, allocations: 8 kB / 371.2 MB, free: 25.91 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.616e-06/0.1697, allocations: 0 / 371.2 MB, free: 25.91 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.76e-05/0.1697, allocations: 11.98 kB / 371.2 MB, free: 25.9 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002886/0.17, allocations: 83.95 kB / 371.3 MB, free: 25.82 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.808e-06/0.17, allocations: 5.406 kB / 371.3 MB, free: 25.82 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001955/0.1702, allocations: 63.5 kB / 371.3 MB, free: 25.75 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.322e-05/0.1702, allocations: 20 kB / 371.3 MB, free: 25.73 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001789/0.1704, allocations: 217.7 kB / 371.6 MB, free: 25.51 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.581e-05/0.1705, allocations: 43.47 kB / 371.6 MB, free: 25.47 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.614e-05/0.1705, allocations: 33.89 kB / 371.6 MB, free: 25.43 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.34e-06/0.1706, allocations: 4 kB / 371.6 MB, free: 25.43 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.033e-06/0.1706, allocations: 4 kB / 371.6 MB, free: 25.42 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.63e-06/0.1706, allocations: 7.984 kB / 371.7 MB, free: 25.41 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002752/0.1709, allocations: 353 kB / 372 MB, free: 25.02 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.587e-06/0.1709, allocations: 4 kB / 372 MB, free: 25.02 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001076/0.171, allocations: 35.91 kB / 372 MB, free: 24.98 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.348e-06/0.171, allocations: 4 kB / 372 MB, free: 24.98 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.756e-05/0.171, allocations: 15.98 kB / 372.1 MB, free: 24.96 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.647e-06/0.171, allocations: 4 kB / 372.1 MB, free: 24.96 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.544e-06/0.171, allocations: 4 kB / 372.1 MB, free: 24.95 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007873/0.1718, allocations: 0.6696 MB / 372.7 MB, free: 24.23 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.382e-05/0.1719, allocations: 120.5 kB / 372.9 MB, free: 24.1 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.634e-05/0.172, allocations: 35.98 kB / 372.9 MB, free: 24.06 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00016/0.1721, allocations: 31.97 kB / 372.9 MB, free: 24.03 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.984e-05/0.1722, allocations: 51.81 kB / 373 MB, free: 23.98 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.214e-05/0.1723, allocations: 12 kB / 373 MB, free: 23.97 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0001476/0.1724, allocations: 215.1 kB / 373.2 MB, free: 23.76 MB / 250.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1724, allocations: 0 / 373.2 MB, free: 23.76 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0003803/0.1728, allocations: 107.9 kB / 373.3 MB, free: 23.65 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.0003434/0.1732, allocations: 226.4 kB / 373.5 MB, free: 23.43 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0008454/0.174, allocations: 0.5555 MB / 374.1 MB, free: 22.88 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.174, allocations: 0 / 374.1 MB, free: 22.88 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004059/0.1744, allocations: 256.5 kB / 374.3 MB, free: 22.62 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003546/0.1748, allocations: 28.64 kB / 374.3 MB, free: 22.6 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008424/0.1756, allocations: 0.7468 MB / 375.1 MB, free: 21.79 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001725/0.1758, allocations: 0.7924 MB / 375.9 MB, free: 20.96 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.509e-05/0.1759, allocations: 31.44 kB / 375.9 MB, free: 20.93 MB / 250.7 MB Notification: Performance of SimCode: time 4.1e-07/0.1759, allocations: 0 / 375.9 MB, free: 20.93 MB / 250.7 MB Notification: Performance of Templates: time 0.006658/0.1826, allocations: 5.189 MB / 381.1 MB, free: 15.75 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